Update (periodic rebuild)
This commit is contained in:
parent
17a69ab565
commit
e13e64d9c4
@ -21,7 +21,7 @@ if exists("*GetJuliaIndent")
|
|||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let s:skipPatterns = '\<julia\%(Comprehension\%(For\|If\)\|RangeEnd\|CommentL\|\%([bsv]\|ip\|big\|MIME\|Shell\|Printf\|Doc\)\=String\|RegEx\|SymbolS\?\)\>'
|
let s:skipPatterns = '\<julia\%(Comprehension\%(For\|If\)\|RangeEnd\|Comment[LM]\|\%([bsv]\|ip\|big\|MIME\|Shell\|Printf\|Doc\)\=String\|RegEx\|SymbolS\?\)\>'
|
||||||
|
|
||||||
function JuliaMatch(lnum, str, regex, st, ...)
|
function JuliaMatch(lnum, str, regex, st, ...)
|
||||||
let s = a:st
|
let s = a:st
|
||||||
|
@ -2,7 +2,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1
|
|||||||
|
|
||||||
" vifm syntax file
|
" vifm syntax file
|
||||||
" Maintainer: xaizek <xaizek@posteo.net>
|
" Maintainer: xaizek <xaizek@posteo.net>
|
||||||
" Last Change: April 18, 2018
|
" Last Change: April 30, 2018
|
||||||
" Inspired By: Vim syntax file by Dr. Charles E. Campbell, Jr.
|
" Inspired By: Vim syntax file by Dr. Charles E. Campbell, Jr.
|
||||||
|
|
||||||
if exists('b:current_syntax')
|
if exists('b:current_syntax')
|
||||||
@ -176,7 +176,7 @@ syntax region vifmStatementC start='\(\s\|:\)*'
|
|||||||
\,vifmComment,vifmInlineComment,vifmNotComment,vifmExprCommandSt,vifmNormalCommandSt
|
\,vifmComment,vifmInlineComment,vifmNotComment,vifmExprCommandSt,vifmNormalCommandSt
|
||||||
\,vifmCdCommandSt,vifmSet,vifmArgument,vifmSoCommand,vifmSoCommandSt
|
\,vifmCdCommandSt,vifmSet,vifmArgument,vifmSoCommand,vifmSoCommandSt
|
||||||
\,vifmInvertCommand,vifmInvertCommandSt,vifmPrefixCommands
|
\,vifmInvertCommand,vifmInvertCommandSt,vifmPrefixCommands
|
||||||
\,vifmAutocmdCommand,vifmAutoEvent,vifmPatternCommands
|
\,vifmAutocmdCommand,vifmAutoEvent,vifmPatternCommands,vifmLetC,vifmUnletC
|
||||||
syntax region vifmCmdCommandSt start='^\(\s\|:\)*com\%[mand]\>'
|
syntax region vifmCmdCommandSt start='^\(\s\|:\)*com\%[mand]\>'
|
||||||
\ skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$' keepend
|
\ skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$' keepend
|
||||||
\ contains=vifmCmdCommand,vifmComment,vifmInlineComment,vifmNotComment
|
\ contains=vifmCmdCommand,vifmComment,vifmInlineComment,vifmNotComment
|
||||||
@ -353,10 +353,19 @@ syntax region vifmLet
|
|||||||
\ keepend
|
\ keepend
|
||||||
\ contains=vifmLetCommand,vifmEnvVar,vifmString,vifmStringInExpr,vifmComment
|
\ contains=vifmLetCommand,vifmEnvVar,vifmString,vifmStringInExpr,vifmComment
|
||||||
\,vifmInlineComment,vifmNotComment
|
\,vifmInlineComment,vifmNotComment
|
||||||
|
syntax region vifmLetC
|
||||||
|
\ start='\<let\>' skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$\||'
|
||||||
|
\ keepend
|
||||||
|
\ contains=vifmLetCommand,vifmEnvVar,vifmString,vifmStringInExpr,vifmComment
|
||||||
|
\,vifmInlineComment,vifmNotComment,vifmBuiltinFunction
|
||||||
syntax region vifmUnlet
|
syntax region vifmUnlet
|
||||||
\ start='^\(\s\|:\)*\<unl\%[et]\>' skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$'
|
\ start='^\(\s\|:\)*\<unl\%[et]\>' skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$'
|
||||||
\ keepend
|
\ keepend
|
||||||
\ contains=vifmUnletCommand,vifmEnvVar,vifmComment,vifmInlineComment,vifmNotComment
|
\ contains=vifmUnletCommand,vifmEnvVar,vifmComment,vifmInlineComment,vifmNotComment
|
||||||
|
syntax region vifmUnletC
|
||||||
|
\ start='\<unl\%[et]\>' 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 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=+\\\\\|\\"+
|
syntax region vifmStringInExpr contained start=+=\@<="+hs=s+1 skip=+\\\\\|\\"+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user