aboutsummaryrefslogtreecommitdiff
path: root/data/syntax-highlighting/vim
diff options
context:
space:
mode:
authorLiam Beguin <liambeguin@gmail.com>2021-05-05 23:06:01 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2021-05-06 15:10:08 +0300
commit0fbcebaca1aba95080d74151f7e0a94ffb855b06 (patch)
tree1ef711614cd261b3290107f0484bda8ab4299f39 /data/syntax-highlighting/vim
parent802f66f442d4ce8d5aadc6cbeb67ec7db2414da4 (diff)
downloadmeson-0fbcebaca1aba95080d74151f7e0a94ffb855b06.zip
meson-0fbcebaca1aba95080d74151f7e0a94ffb855b06.tar.gz
meson-0fbcebaca1aba95080d74151f7e0a94ffb855b06.tar.bz2
syntax-highlighting: vim: fix setting cpo
Since 'cpo' is global, use `set` instead of `setlocal`. See: b66f0372cc11 Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Diffstat (limited to 'data/syntax-highlighting/vim')
-rw-r--r--data/syntax-highlighting/vim/indent/meson.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/syntax-highlighting/vim/indent/meson.vim b/data/syntax-highlighting/vim/indent/meson.vim
index f73e3b9..6e389d1 100644
--- a/data/syntax-highlighting/vim/indent/meson.vim
+++ b/data/syntax-highlighting/vim/indent/meson.vim
@@ -24,7 +24,7 @@ if exists("*GetMesonIndent")
finish
endif
let s:keepcpo= &cpo
-setlocal cpo&vim
+set cpo&vim
" Come here when loading the script the first time.