summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/automake.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-01 15:32:17 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-01 15:32:17 +0100
commit4c05fa08c9739e307ddc88ac91ba6d208f1fd68e (patch)
tree20372efd4201512b7d8035734795b2e351e29833 /runtime/syntax/automake.vim
parent6d5b4f566a2a50c1de7300336e9e4f5e761500a8 (diff)
Update runtime files
Diffstat (limited to 'runtime/syntax/automake.vim')
-rw-r--r--runtime/syntax/automake.vim18
1 files changed, 9 insertions, 9 deletions
diff --git a/runtime/syntax/automake.vim b/runtime/syntax/automake.vim
index 2a215a9e04..8a7db7c27b 100644
--- a/runtime/syntax/automake.vim
+++ b/runtime/syntax/automake.vim
@@ -1,9 +1,9 @@
" Vim syntax file
-" Language: automake Makefile.am
-" Maintainer: Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
-" Former Maintainer: John Williams <jrw@pobox.com>
-" Last Change: 2011-06-13
-" URL: http://anonscm.debian.org/hg/pkg-vim/vim/raw-file/unstable/runtime/syntax/automake.vim
+" Language: automake Makefile.am
+" Maintainer: Debian Vim Maintainers
+" Former Maintainer: John Williams <jrw@pobox.com>
+" Last Change: 2018 Dec 27
+" URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/automake.vim
"
" XXX This file is in need of a new maintainer, Debian VIM Maintainers maintain
" it only because patches have been submitted for it by Debian users and the
@@ -18,7 +18,7 @@
" EXTRA_SOURCES.
" Standard syntax initialization
-if exists("b:current_syntax")
+if exists('b:current_syntax')
finish
endif
@@ -37,8 +37,8 @@ syn match automakeConditional "^\(if\s*!\=\w\+\|else\|endif\)\s*$"
syn match automakeSubst "@\w\+@"
syn match automakeSubst "^\s*@\w\+@"
-syn match automakeComment1 "#.*$" contains=automakeSubst
-syn match automakeComment2 "##.*$"
+syn match automakeComment1 "#.*$" contains=automakeSubst,@Spell
+syn match automakeComment2 "##.*$" contains=@Spell
syn match automakeMakeError "$[{(][^})]*[^a-zA-Z0-9_})][^})]*[})]" " GNU make function call
syn match automakeMakeError "^AM_LDADD\s*\ze+\==" " Common mistake
@@ -72,6 +72,6 @@ hi def link automakeMakeSString makeSString
hi def link automakeMakeBString makeBString
-let b:current_syntax = "automake"
+let b:current_syntax = 'automake'
" vi: ts=8 sw=4 sts=4