summaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/nix.vim20
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