Hack to set list again after something sets nolist
The main vimrc sets list but opening a buffer with filetype javascript (and maybe others) is nolist. Maybe the syntax support is overriding??
This commit is contained in:
parent
7efce3bc47
commit
922ff312bc
3 changed files with 4 additions and 3 deletions
4
vimrc
4
vimrc
|
@ -34,9 +34,9 @@ set foldmethod=syntax
|
|||
" set a readable width
|
||||
set textwidth=80
|
||||
" make white space visible, where that matters
|
||||
set list
|
||||
set list!
|
||||
" except for help
|
||||
autocmd FileType help set nolist
|
||||
autocmd FileType help setlocal nolist
|
||||
" set up folding preferences
|
||||
set fde=1
|
||||
" vim's spelling is smart enough for code, to only check comments
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue