My style for nix files

This commit is contained in:
Greg Hellings
2022-04-18 11:46:53 -05:00
parent 13be0b0895
commit bc1ce9e956
+3 -1
View File
@@ -40,7 +40,6 @@ in
tabstop = 4;
};
extraConfig = ''
set nocompatible
syntax enable
set preserveindent
set softtabstop=0
@@ -54,6 +53,9 @@ set hlsearch
set listchars=tab:\ ,extends:,precedes:,trail:·,eol:¬
set list
" Set filetype to the way I want it
let g:nix_recommended_style = 0
" Highlights bad whitespace
autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/