From e13e64d9c43b23733ea436710aa4d022cd241ea2 Mon Sep 17 00:00:00 2001 From: Dan Reif Date: Tue, 8 May 2018 10:17:30 -0700 Subject: [PATCH] Update (periodic rebuild) --- indent/julia.vim | 2 +- syntax/vifm.vim | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/indent/julia.vim b/indent/julia.vim index 88e90e5..6382ec2 100644 --- a/indent/julia.vim +++ b/indent/julia.vim @@ -21,7 +21,7 @@ if exists("*GetJuliaIndent") finish endif -let s:skipPatterns = '\' +let s:skipPatterns = '\' function JuliaMatch(lnum, str, regex, st, ...) let s = a:st diff --git a/syntax/vifm.vim b/syntax/vifm.vim index 9eae9a9..8843d1a 100644 --- a/syntax/vifm.vim +++ b/syntax/vifm.vim @@ -2,7 +2,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1 " vifm syntax file " Maintainer: xaizek -" Last Change: April 18, 2018 +" Last Change: April 30, 2018 " Inspired By: Vim syntax file by Dr. Charles E. Campbell, Jr. if exists('b:current_syntax') @@ -176,7 +176,7 @@ syntax region vifmStatementC start='\(\s\|:\)*' \,vifmComment,vifmInlineComment,vifmNotComment,vifmExprCommandSt,vifmNormalCommandSt \,vifmCdCommandSt,vifmSet,vifmArgument,vifmSoCommand,vifmSoCommandSt \,vifmInvertCommand,vifmInvertCommandSt,vifmPrefixCommands - \,vifmAutocmdCommand,vifmAutoEvent,vifmPatternCommands + \,vifmAutocmdCommand,vifmAutoEvent,vifmPatternCommands,vifmLetC,vifmUnletC syntax region vifmCmdCommandSt start='^\(\s\|:\)*com\%[mand]\>' \ skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$' keepend \ contains=vifmCmdCommand,vifmComment,vifmInlineComment,vifmNotComment @@ -353,10 +353,19 @@ syntax region vifmLet \ keepend \ contains=vifmLetCommand,vifmEnvVar,vifmString,vifmStringInExpr,vifmComment \,vifmInlineComment,vifmNotComment +syntax region vifmLetC + \ start='\' skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$\||' + \ keepend + \ contains=vifmLetCommand,vifmEnvVar,vifmString,vifmStringInExpr,vifmComment + \,vifmInlineComment,vifmNotComment,vifmBuiltinFunction syntax region vifmUnlet \ start='^\(\s\|:\)*\' skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$' \ keepend \ contains=vifmUnletCommand,vifmEnvVar,vifmComment,vifmInlineComment,vifmNotComment +syntax region vifmUnletC + \ start='\' skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$\||' + \ keepend + \ contains=vifmUnletCommand,vifmEnvVar,vifmComment,vifmInlineComment,vifmNotComment syntax region vifmString contained start=+="+hs=s+1 skip=+\\\\\|\\"+ end=+"+ syntax region vifmString contained start=+='+hs=s+1 skip=+\\\\\|\\'+ end=+'+ syntax region vifmStringInExpr contained start=+=\@<="+hs=s+1 skip=+\\\\\|\\"+