aboutsummaryrefslogtreecommitdiff
path: root/data/syntax-highlighting/vim
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2021-09-30 14:23:14 +1000
committerEli Schwartz <eschwartz93@gmail.com>2021-10-12 11:14:48 -0400
commit7cddf9a6db2a6b604ee5e967ffd7eef9f56b96f1 (patch)
treef3440756346a424c5a9232df711e3076c3c5d174 /data/syntax-highlighting/vim
parent462003f9960e6fa41a835401010612ce67e83a90 (diff)
downloadmeson-7cddf9a6db2a6b604ee5e967ffd7eef9f56b96f1.zip
meson-7cddf9a6db2a6b604ee5e967ffd7eef9f56b96f1.tar.gz
meson-7cddf9a6db2a6b604ee5e967ffd7eef9f56b96f1.tar.bz2
syntax-highlighting: vim: set b:undo_ftplugin
See :help undo_ftplugin for details.
Diffstat (limited to 'data/syntax-highlighting/vim')
-rw-r--r--data/syntax-highlighting/vim/ftplugin/meson.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/syntax-highlighting/vim/ftplugin/meson.vim b/data/syntax-highlighting/vim/ftplugin/meson.vim
index d48fa1d..1064519 100644
--- a/data/syntax-highlighting/vim/ftplugin/meson.vim
+++ b/data/syntax-highlighting/vim/ftplugin/meson.vim
@@ -16,5 +16,7 @@ setlocal comments=:#
setlocal shiftwidth=2
setlocal softtabstop=2
+let b:undo_ftplugin = "setl com< cms< sts< sw<"
+
let &cpo = s:keepcpo
unlet s:keepcpo