From dfae7e01bc0f64443d7a27aa48a3698647c795a6 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 30 Sep 2020 18:26:30 +1000 Subject: [PATCH] Added spellfile --- roles/vim.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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