vim:ftplugin: Set options locally

I only want to set the wrap settings for the current buffer/window.
This commit is contained in:
2023-02-13 16:43:30 +01:00
parent b489fdbe4b
commit 295f33e62c
2 changed files with 2 additions and 2 deletions

View File

@@ -3,4 +3,4 @@
setlocal formatoptions+=aw
" Turn on line-wrapping
set wrap
setlocal wrap

View File

@@ -1,5 +1,5 @@
" Turn on line-wrapping
set wrap
setlocal wrap
let g:tex_flavor = "latex"
let g:vimtex_compiler_progname = 'nvr'