diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-02 12:55:08 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-02 13:00:38 -0400 |
commit | ad6bb386be30ee50ef2e61268597241e0ddb842b (patch) | |
tree | 6bc888f270342b06d58339a53db36cda63e2d093 /runtime/indent | |
parent | d19ede86eabfde8416beabf3b2f636d2771ab1cf (diff) | |
download | rneovim-ad6bb386be30ee50ef2e61268597241e0ddb842b.tar.gz rneovim-ad6bb386be30ee50ef2e61268597241e0ddb842b.tar.bz2 rneovim-ad6bb386be30ee50ef2e61268597241e0ddb842b.zip |
vim-patch:4c295027a426
Update runtime files
https://github.com/vim/vim/commit/4c295027a426986566cd7a76c47a6d3a529727e7
Diffstat (limited to 'runtime/indent')
-rw-r--r-- | runtime/indent/make.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/make.vim b/runtime/indent/make.vim index 66a8a40173..4483efdbd8 100644 --- a/runtime/indent/make.vim +++ b/runtime/indent/make.vim @@ -20,8 +20,8 @@ let s:comment_rx = '^\s*#' let s:rule_rx = '^[^ \t#:][^#:]*:\{1,2}\%([^=:]\|$\)' let s:continued_rule_rx = '^[^#:]*:\{1,2}\%([^=:]\|$\)' let s:continuation_rx = '\\$' -let s:assignment_rx = '^\s*\h\w*\s*[+?]\==\s*\zs.*\\$' -let s:folded_assignment_rx = '^\s*\h\w*\s*[+?]\==' +let s:assignment_rx = '^\s*\h\w*\s*[+:?]\==\s*\zs.*\\$' +let s:folded_assignment_rx = '^\s*\h\w*\s*[+:?]\==' " TODO: This needs to be a lot more restrictive in what it matches. let s:just_inserted_rule_rx = '^\s*[^#:]\+:\{1,2}$' let s:conditional_directive_rx = '^ *\%(ifn\=\%(eq\|def\)\|else\)\>' |