Skip to content

Commit

Permalink
Don't use \@1<! in vim 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobaldassi committed Jan 29, 2019
1 parent a740203 commit 84104d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/julia.vim
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ syntax region juliaCurBraBlock matchgroup=juliaParDelim start="{" end="}" cont

" This is really ugly. It would be better to mask most keywords when a dot is
" found, introducing some kind of dot-environment
let s:nodot = '\%(\.\)\@1<!'
let s:nodot = '\%(\.\)\@'.s:d(1).'1<!'

exec 'syntax match juliaKeyword display "'.s:nodot.'\<\%(return\|local\|global\|import\%(all\)\?\|export\|using\|const\|where\)\>"'
syntax match juliaInfixKeyword display "\%(=\s*\)\@<!\<\%(in\|isa\)\>\S\@!\%(\s*=\)\@!"
Expand Down

0 comments on commit 84104d0

Please sign in to comment.