diff --git a/roles/vim.nix b/roles/vim.nix index 33d1adf..e229b5d 100644 --- a/roles/vim.nix +++ b/roles/vim.nix @@ -14,6 +14,7 @@ vim_configurable.customize { colorscheme gruvbox " Set the default colour scheme set t_Co=256 " Use 265 colors in vim set spell spelllang=en_au " Defaul spell checking language + set spellfile=~/.vim-spell.en.utf-8.add " Add the spellfile hi clear SpellBad " Clear any unwanted default settings hi SpellBad cterm=underline " Set the spell checking highlight style hi SpellBad ctermbg=NONE " Set the spell checking highlight background @@ -103,8 +104,8 @@ vim_configurable.customize { " Settings for my Haskell environment: function! HaskellSettings() - set tabstop=4 - set shiftwidth=4 + set tabstop=2 + set shiftwidth=2 set expandtab set textwidth=79 endfunction