summaryrefslogtreecommitdiffstats
path: root/ftplugin/nix.vim
blob: 19d2097743f96606b18eb6c7410d8737de2f610d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nix') == -1
  
if exists("b:did_ftplugin")
    finish
endif
let b:did_ftplugin=1

setlocal comments=
setlocal commentstring=#\ %s

" Nixpkgs indent settings
setlocal tabstop=2
setlocal softtabstop=2
setlocal shiftwidth=2
setlocal expandtab

endif