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
|
@ -1,2 +1,3 @@
|
|||
setlocal fdm=indent
|
||||
setlocal smartindent
|
||||
setlocal list
|
||||
|
|
|
@ -3,7 +3,7 @@ setlocal tw=0
|
|||
" keep soft breaks between words
|
||||
setlocal linebreak
|
||||
" turn list off as it interferes with soft wrapping
|
||||
setlocal nolist!
|
||||
setlocal nolist
|
||||
" turn off breaking when typing new text
|
||||
setlocal formatoptions-=t
|
||||
" turn off line width hint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue