summaryrefslogtreecommitdiffstats
path: root/syntax/julia.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-05-21 22:45:59 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-05-21 22:45:59 +0200
commitdf34b4b4fa809804965086385f41630213297cf0 (patch)
tree2eb470a6ac95d23d8639dd6056b3a0d9bd394c39 /syntax/julia.vim
parentf3804b0892e17f309f852696491096d9048f0ef8 (diff)
downloadvim-polyglot-df34b4b4fa809804965086385f41630213297cf0.tar.gz
vim-polyglot-df34b4b4fa809804965086385f41630213297cf0.zip
Updatev4.4.2
Diffstat (limited to 'syntax/julia.vim')
-rw-r--r--syntax/julia.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/julia.vim b/syntax/julia.vim
index c23dc915..ac39d6f4 100644
--- a/syntax/julia.vim
+++ b/syntax/julia.vim
@@ -124,7 +124,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 = '\%(\.\)\@'.s:d(1).'1<!'
+let s:nodot = '\%(\.\)\@'.s:d(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*=\)\@!"