diff --git a/home/vim.nix b/home/vim.nix index 01dd602..4ea06f9 100644 --- a/home/vim.nix +++ b/home/vim.nix @@ -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\+$/