diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-11-19 21:34:38 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-11-19 21:34:38 +0100 |
commit | dbe9bc927f1114dd447e4ed58a5d23fb1f989246 (patch) | |
tree | 474b3b98b41226b8c435e9f7b237515ba090fe19 /ftplugin | |
parent | d219055bc845253eff2b27d30a23b11b97b7ee9d (diff) | |
download | vim-polyglot-dbe9bc927f1114dd447e4ed58a5d23fb1f989246.tar.gz vim-polyglot-dbe9bc927f1114dd447e4ed58a5d23fb1f989246.zip |
Change nix provider, closes #244
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/nix.vim | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ftplugin/nix.vim b/ftplugin/nix.vim index 19d20977..8f3cf812 100644 --- a/ftplugin/nix.vim +++ b/ftplugin/nix.vim @@ -1,17 +1,17 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nix') == -1 -if exists("b:did_ftplugin") - finish +" Vim filetype plugin +" Language: Nix +" Maintainer: Daiderd Jordan <daiderd@gmail.com> +" URL: https://github.com/LnL7/vim-nix + +if (exists("b:did_ftplugin")) + finish endif -let b:did_ftplugin=1 +let b:did_ftplugin = 1 -setlocal comments= -setlocal commentstring=#\ %s -" Nixpkgs indent settings -setlocal tabstop=2 -setlocal softtabstop=2 -setlocal shiftwidth=2 -setlocal expandtab +setlocal comments=:# +setlocal commentstring=#\ %s endif |