diff options
author | Thomas Bracht Laumann Jespersen <t@laumann.xyz> | 2022-07-12 15:30:29 +0200 |
---|---|---|
committer | Thomas Bracht Laumann Jespersen <t@laumann.xyz> | 2022-07-13 16:15:57 +0200 |
commit | aef97da3e143463eb88bbc2c04617a858bd2cca5 (patch) | |
tree | 11679acd2b40e5cf5669bcd799625e5899b8dec0 /003_all_vim-7.0-automake-substitutions-93378.patch | |
download | vim-patches-aef97da3e143463eb88bbc2c04617a858bd2cca5.tar.gz vim-patches-aef97da3e143463eb88bbc2c04617a858bd2cca5.tar.bz2 vim-patches-aef97da3e143463eb88bbc2c04617a858bd2cca5.zip |
import patchset for vim-8.2.0360
Link: https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
Diffstat (limited to '003_all_vim-7.0-automake-substitutions-93378.patch')
-rw-r--r-- | 003_all_vim-7.0-automake-substitutions-93378.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/003_all_vim-7.0-automake-substitutions-93378.patch b/003_all_vim-7.0-automake-substitutions-93378.patch new file mode 100644 index 0000000..ae73eb8 --- /dev/null +++ b/003_all_vim-7.0-automake-substitutions-93378.patch @@ -0,0 +1,39 @@ +--- + runtime/syntax/automake.vim | 3 +++ + runtime/syntax/make.vim | 6 ++---- + 2 files changed, 5 insertions(+), 4 deletions(-) + +diff --git a/runtime/syntax/automake.vim b/runtime/syntax/automake.vim +index 8a7db7c..cb2b82f 100644 +--- a/runtime/syntax/automake.vim ++++ b/runtime/syntax/automake.vim +@@ -53,6 +53,9 @@ syn region automakeMakeSString start=+'+ skip=+\\'+ end=+'+ contains=makeIde + syn region automakeMakeBString start=+`+ skip=+\\`+ end=+`+ contains=makeIdent,makeSString,makeDString,makeNextLine,automakeSubstitution + + " Define the default highlighting. ++ ++syn cluster makeCommandsContains add=autoMakeSubst,automakeMakeError,automakeBadSubst ++ + " Only when an item doesn't have highlighting yet + + hi def link automakePrimary Statement +diff --git a/runtime/syntax/make.vim b/runtime/syntax/make.vim +index 2a64dcd..7325db1 100644 +--- a/runtime/syntax/make.vim ++++ b/runtime/syntax/make.vim +@@ -62,10 +62,8 @@ syn match makeSpecTarget "^\.\(SUFFIXES\|PHONY\|DEFAULT\|PRECIOUS\|IGNORE\|SILEN + \ skipnl nextgroup=makeCommands,makeCommandError + + syn match makeCommandError "^\s\+\S.*" contained +-syn region makeCommands contained start=";"hs=s+1 start="^\t" +- \ end="^[^\t#]"me=e-1,re=e-1 end="^$" +- \ contains=makeCmdNextLine,makeSpecial,makeComment,makeIdent,makePreCondit,makeDefine,makeDString,makeSString +- \ nextgroup=makeCommandError ++syn region makeCommands start=";"hs=s+1 start="^\t" end="^[^\t#]"me=e-1,re=e-1 end="^$" contained contains=@makeCommandsContains nextgroup=makeCommandError ++syn cluster makeCommandsContains add=makeCmdNextLine,makeSpecial,makeComment,makeIdent,makePreCondit,makeDefine,makeDString,makeSString + syn match makeCmdNextLine "\\\n."he=e-1 contained + + " some directives +-- +2.24.1 + |