syntax-highlighting: vim: fix setting cpo [skip ci]

since 'cpo' is global, use `set` instead of `setlocal`.

Reported-By: Bram Moolenaar <Bram@vim.org>
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
pull/6148/head
Liam Beguin 6 years ago committed by Jussi Pakkanen
parent 2fe75ab31d
commit 30acd94e68
  1. 2
      data/syntax-highlighting/vim/syntax/meson.vim

@ -28,7 +28,7 @@ endif
" We need nocompatible mode in order to continue lines with backslashes.
" Original setting will be restored.
let s:cpo_save = &cpo
setlocal cpo&vim
set cpo&vim
" http://mesonbuild.com/Syntax.html
syn keyword mesonConditional elif else if endif

Loading…
Cancel
Save