vim-patch:7c3f9af: runtime(misc): unset compiler in various ftplugins

just to foster best practices

closes: vim/vim#15798

7c3f9af0ed

Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
This commit is contained in:
Christian Clason
2024-10-05 17:41:54 +02:00
parent 4ea0f1ec23
commit 88085c2e80
8 changed files with 42 additions and 18 deletions

View File

@@ -36,7 +36,11 @@ let b:undo_ftplugin = "setl iskeyword< commentstring<"
" pip options contain "-"
setlocal iskeyword+=-
setlocal commentstring=#\ %s
compiler pip_compile
if !exists('current_compiler')
let b:undo_ftplugin ..= "| compiler make"
compiler pip_compile
endif
let &cpoptions = s:save_cpoptions
unlet s:save_cpoptions