mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 10:26:42 +10:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user