aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/m4.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-06-10 08:40:32 +0200
committerGitHub <noreply@github.com>2022-06-10 08:40:32 +0200
commit6eaf10502c99e96704daa07987f73658d6c4d68a (patch)
tree9ff5ff7b9d80392ee2ab5302a6d46c8daf5d8e22 /runtime/syntax/m4.vim
parent58323b1fe2e494cf6a75f108780e21c08996c08e (diff)
downloadrneovim-6eaf10502c99e96704daa07987f73658d6c4d68a.tar.gz
rneovim-6eaf10502c99e96704daa07987f73658d6c4d68a.tar.bz2
rneovim-6eaf10502c99e96704daa07987f73658d6c4d68a.zip
vim-patch:partial:63f32603789d (#18916)
Update runtime files https://github.com/vim/vim/commit/63f32603789d1a27c559fc440325955fd0b8b500 skip translations skip user manual rewrite
Diffstat (limited to 'runtime/syntax/m4.vim')
-rw-r--r--runtime/syntax/m4.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/syntax/m4.vim b/runtime/syntax/m4.vim
index 6f229ea1ab..366f65890c 100644
--- a/runtime/syntax/m4.vim
+++ b/runtime/syntax/m4.vim
@@ -21,6 +21,7 @@ endif
syn match m4Variable contained "\$\d\+"
syn match m4Special contained "$[@*#]"
syn match m4Comment "\<\(m4_\)\=dnl\>.*" contains=SpellErrors
+syn match m4Comment "#.*" contains=SpellErrors
syn match m4Constants "\<\(m4_\)\=__file__"
syn match m4Constants "\<\(m4_\)\=__line__"
syn keyword m4Constants divnum sysval m4_divnum m4_sysval
@@ -32,7 +33,7 @@ syn region m4Command matchgroup=m4builtin start="\<\(m4_\)\=\(len\|index\|regex
syn keyword m4Statement divert undivert
syn region m4Command matchgroup=m4Type start="\<\(m4_\)\=\(undefine\|popdef\)("he=e-1 end=")" contains=@m4Top
syn region m4Function matchgroup=m4Type start="\<[_A-Z][_A-Z0-9]*("he=e-1 end=")" contains=@m4Top
-syn region m4String start="`" end="'" contained contains=@m4Top,@m4StringContents,SpellErrors
+syn region m4String start="`" end="'" contains=SpellErrors
syn cluster m4Top contains=m4Comment,m4Constants,m4Special,m4Variable,m4String,m4Paren,m4Command,m4Statement,m4Function
" Define the default highlighting.