My style for nix files
This commit is contained in:
+3
-1
@@ -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\+$/
|
||||
|
||||
Reference in New Issue
Block a user