Added underlining for spell checking
This commit is contained in:
parent
7c18c993be
commit
04c6f2e79a
9
.vimrc
9
.vimrc
|
@ -1,4 +1,4 @@
|
||||||
" Preferred global default settings:
|
"" Preferred global default settings:
|
||||||
set number
|
set number
|
||||||
set background=dark
|
set background=dark
|
||||||
set smartindent
|
set smartindent
|
||||||
|
@ -9,6 +9,7 @@ syntax enable
|
||||||
colorscheme solarized
|
colorscheme solarized
|
||||||
set t_Co=256 " use 265 colors in vim
|
set t_Co=256 " use 265 colors in vim
|
||||||
" hi Normal guibg=NONE ctermbg=NONE
|
" hi Normal guibg=NONE ctermbg=NONE
|
||||||
|
hi SpellBad cterm=underline
|
||||||
match ErrorMsg '\s\+$'
|
match ErrorMsg '\s\+$'
|
||||||
|
|
||||||
set rtp+=/run/current-system/sw/share/vim-plugins/vim-airline
|
set rtp+=/run/current-system/sw/share/vim-plugins/vim-airline
|
||||||
|
@ -122,9 +123,9 @@ autocmd BufNewFile,BufFilePre,BufRead *.py :call PythonSettings()
|
||||||
function! MuttSettings()
|
function! MuttSettings()
|
||||||
set textwidth=79
|
set textwidth=79
|
||||||
set spell spelllang=en_au
|
set spell spelllang=en_au
|
||||||
set tabstop=4
|
"set tabstop=4
|
||||||
set shiftwidth=4
|
"set shiftwidth=4
|
||||||
set expandtab
|
"set expandtab
|
||||||
endfunction
|
endfunction
|
||||||
autocmd BufNewFile,BufFilePre,BufRead /tmp/mutt-* :call MuttSettings()
|
autocmd BufNewFile,BufFilePre,BufRead /tmp/mutt-* :call MuttSettings()
|
||||||
autocmd BufNewFile,BufFilePre,BufRead /tmp/neomutt-* :call MuttSettings()
|
autocmd BufNewFile,BufFilePre,BufRead /tmp/neomutt-* :call MuttSettings()
|
||||||
|
|
Loading…
Reference in a new issue