aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/cs.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-26 21:25:27 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 09:21:34 -0400
commit4819737853fc3676b976be93bd0332a3e44ab837 (patch)
tree92b0217b2310433060a61ff6226ca2d225f49c7b /runtime/syntax/cs.vim
parente8178093dc41204d9f88e81095b12c5867b0fe54 (diff)
downloadrneovim-4819737853fc3676b976be93bd0332a3e44ab837.tar.gz
rneovim-4819737853fc3676b976be93bd0332a3e44ab837.tar.bz2
rneovim-4819737853fc3676b976be93bd0332a3e44ab837.zip
vim-patch:560979ed4f02
Update runtime files. https://github.com/vim/vim/commit/560979ed4f0216f902a2c247e937f00a27dcb198 Omit vim9.
Diffstat (limited to 'runtime/syntax/cs.vim')
-rw-r--r--runtime/syntax/cs.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/syntax/cs.vim b/runtime/syntax/cs.vim
index eeb990215d..3356416378 100644
--- a/runtime/syntax/cs.vim
+++ b/runtime/syntax/cs.vim
@@ -3,7 +3,7 @@
" Maintainer: Nick Jensen <nickspoon@gmail.com>
" Former Maintainers: Anduin Withers <awithers@anduin.com>
" Johannes Zellner <johannes@zellner.org>
-" Last Change: 2019-08-01
+" Last Change: 2020-01-27
" Filenames: *.cs
" License: Vim (see :h license)
" Repository: https://github.com/nickspoons/vim-cs
@@ -97,6 +97,8 @@ syn match csXmlComment "///.*$" contains=csXmlCommentLeader,@csXml,@Spell keepen
syn include @csXml syntax/xml.vim
hi def link xmlRegion Comment
+" Since syntax/xml.vim contains `syn spell toplevel`, we need to set it back to `default` here.
+syn spell default
" [1] 9.5 Pre-processing directives
syn region csPreCondit start="^\s*#\s*\(define\|undef\|if\|elif\|else\|endif\|line\|error\|warning\)" skip="\\$" end="$" contains=csComment keepend