runtime(misc): unset compiler in various ftplugins

just to foster best practices

closes: #15798

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Konfekt
2024-10-05 17:26:46 +02:00
committed by Christian Brabandt
parent 89872f58a9
commit 7c3f9af0ed
8 changed files with 43 additions and 19 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