vim:ftplugin: Set options locally
I only want to set the wrap settings for the current buffer/window.
This commit is contained in:
@@ -3,4 +3,4 @@
|
||||
setlocal formatoptions+=aw
|
||||
|
||||
" Turn on line-wrapping
|
||||
set wrap
|
||||
setlocal wrap
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
" Turn on line-wrapping
|
||||
set wrap
|
||||
setlocal wrap
|
||||
|
||||
let g:tex_flavor = "latex"
|
||||
let g:vimtex_compiler_progname = 'nvr'
|
||||
|
||||
Reference in New Issue
Block a user