diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-08-21 09:51:38 +0900 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-08-21 20:32:28 +0900 |
commit | 4a36ecd23898e8b4ccbe8fce9bd9300aa69aa834 (patch) | |
tree | 349704ded5692437334cb8bd5dd544dada7ded1d /runtime/syntax/javascript.vim | |
parent | 4a1fb37108bd8e53391c2ea4dbbe83bcfd6d3ee5 (diff) | |
download | rneovim-4a36ecd23898e8b4ccbe8fce9bd9300aa69aa834.tar.gz rneovim-4a36ecd23898e8b4ccbe8fce9bd9300aa69aa834.tar.bz2 rneovim-4a36ecd23898e8b4ccbe8fce9bd9300aa69aa834.zip |
vim-patch:72904d5fda0a
Runtime: Add nixInherit matcher in nix.vim syntax
Perform the lookahead in `nixInheritAttributeScope`, then hand over to a
new region called `nixInheritAttributeSubExpr`, which sets the match
start to one char after the opening bracket to avoid a double-match.
Finally, only do a lookahead to `)` in `nixInheritAttributeSubExpr` (and
thus make sure the region is closed to not get a match of `nixParen`
here) and let `nixInheritAttributeScope` close the bracket.
https://github.com/vim/vim/commit/72904d5fda0a1bc78f4bc9080c158226e6e90d5c
Co-authored-by: James Fleming <james@electronic-quill.net>
Diffstat (limited to 'runtime/syntax/javascript.vim')
0 files changed, 0 insertions, 0 deletions