aboutsummaryrefslogtreecommitdiff
path: root/runtime/compiler/make.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-09-11 09:23:56 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-09-11 09:47:30 +0200
commit608ef83fc67ddefa3997441ac56caec0d4ae28bf (patch)
tree753580c65d1b74ed62c614e7aadbcbaf22a5cc0c /runtime/compiler/make.vim
parent57db94235c5d52b0fa34120faea158f4ba50db10 (diff)
downloadrneovim-608ef83fc67ddefa3997441ac56caec0d4ae28bf.tar.gz
rneovim-608ef83fc67ddefa3997441ac56caec0d4ae28bf.tar.bz2
rneovim-608ef83fc67ddefa3997441ac56caec0d4ae28bf.zip
vim-patch:077d1d2: runtime(make): add compiler/make.vim to reset compiler plugin settings
closes: vim/vim#15645 https://github.com/vim/vim/commit/077d1d2cff20daec6f1efd504ef27fc09b927799 Co-authored-by: Konfekt <Konfekt@users.noreply.github.com> Co-authored-by: K.Takata <kentkt@csc.jp>
Diffstat (limited to 'runtime/compiler/make.vim')
-rw-r--r--runtime/compiler/make.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/compiler/make.vim b/runtime/compiler/make.vim
new file mode 100644
index 0000000000..748251bf8e
--- /dev/null
+++ b/runtime/compiler/make.vim
@@ -0,0 +1,13 @@
+" Vim compiler plugin
+"
+" Maintainer: The Vim Project <https://github.com/vim/vim>
+" Last Change: 2024 Sep 10
+" Original Author: Konfekt
+"
+" This compiler plugin is used to reset previously set compiler options.
+
+if exists("g:current_compiler") | unlet g:current_compiler | endif
+if exists("b:current_compiler") | unlet b:current_compiler | endif
+
+CompilerSet makeprg&
+CompilerSet errorformat&