summaryrefslogtreecommitdiffstats
path: root/ftplugin/julia.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-04-25 21:03:34 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-04-25 21:03:34 +0200
commit68b2748af117b56208f25678c4b465af00dc64c5 (patch)
treef9038064b78513b3f99edb574cdd2943bd2fd633 /ftplugin/julia.vim
parent14dc82fc4e6c0c08078f97a24a6c1639c1cc5113 (diff)
downloadvim-polyglot-68b2748af117b56208f25678c4b465af00dc64c5.tar.gz
vim-polyglot-68b2748af117b56208f25678c4b465af00dc64c5.zip
Update
Diffstat (limited to 'ftplugin/julia.vim')
-rw-r--r--ftplugin/julia.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/julia.vim b/ftplugin/julia.vim
index 90cc49e3..9b787512 100644
--- a/ftplugin/julia.vim
+++ b/ftplugin/julia.vim
@@ -33,7 +33,7 @@ if exists("loaded_matchit")
" note: begin_keywords must contain all blocks, in order
" for nested-structures-skipping to work properly
- " note: 'mutable struct' and 'strcut' are defined separately because
+ " note: 'mutable struct' and 'struct' are defined separately because
" using \? puts the cursor on 'struct' instead of 'mutable' for some reason
let b:julia_begin_keywords = '\%(\%(\.\s*\)\@<!\|\%(@\s*.\s*\)\@<=\)\<\%(function\|macro\|begin\|mutable\s\+struct\|\%(mutable\s\+\)\@<!struct\|\%(abstract\|primitive\)\s\+type\|let\|do\|\%(bare\)\?module\|quote\|if\|for\|while\|try\)\>'
" note: the following regex not only recognizes macros, but also local/global keywords.