diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-05-02 17:19:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-02 17:19:11 +0200 |
commit | 4c295027a426986566cd7a76c47a6d3a529727e7 (patch) | |
tree | fd90535889a3a7d05ebd9406bcb91dfcf8a17ded /runtime/indent/make.vim | |
parent | 5f628a12e5c7ebd1145ae1c089d1be1751b700c1 (diff) |
Update runtime files
Diffstat (limited to 'runtime/indent/make.vim')
-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\)\>' |