HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Program Files/Git/usr/share/vim/vim91/ftplugin/nix.vim
" Vim filetype plugin
" Language:    nix
" Maintainer:  Keith Smiley <[email protected]>
" Last Change: 2023 Jul 22
" 2025 Apr 18 by Vim Project (set 'iskeyword' and b:match_words #17154)

" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
  finish
endif

" Don't load another plugin for this buffer
let b:did_ftplugin = 1

let b:undo_ftplugin = "setl commentstring< comments< iskeyword< | unlet! b:match_words"

let b:match_words = "\<if\>:\<then\>:\<else\>,\<let\>:\<in\>"

setlocal comments=:#
setlocal commentstring=#\ %s
setlocal iskeyword+=-