diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-06 17:20:05 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-06 17:20:05 -0500 |
| commit | 0106c2650d11594331234250e051edf89516f366 (patch) | |
| tree | 8c1084da1a18b24d3cb25ab3d0994a02727cf06b /editors/vim/syntax | |
| parent | 3ee71e0cf36533e0ec021b979efc6a225f5f1ee4 (diff) | |
Handle namespace dot in editor scripts
Diffstat (limited to 'editors/vim/syntax')
| -rw-r--r-- | editors/vim/syntax/bqn.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/vim/syntax/bqn.vim b/editors/vim/syntax/bqn.vim index 9ea75a39..a2092274 100644 --- a/editors/vim/syntax/bqn.vim +++ b/editors/vim/syntax/bqn.vim @@ -21,6 +21,7 @@ syn match bqnsid "\(•\|•\?[a-z][A-Z_a-z0-9π∞¯]*\|𝕣\)" syn match bqnfid "•\?[A-Z][A-Z_a-z0-9π∞¯]*" syn match bqn1id "\(•\?_[A-Za-z][A-Z_a-z0-9π∞¯]*\|_𝕣\)" syn match bqn2id "\(•\?_[A-Za-z][A-Z_a-z0-9π∞¯]*_\|_𝕣_\)" +syn match bqndot "\." syn match bqncom "#.*$" syn match bqnquo /""/ contained syn region bqnstr matchgroup=bqnstr start=/"/ end=/"/ contains=bqnquo @@ -40,6 +41,7 @@ hi link bqnstr string hi link bqnquo specialchar hi link bqnnum number hi link bqnnot constant +hi link bqndot normal hi link bqnsub normal hi link bqnsid normal hi link bqnfun type |
