diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-01 18:17:40 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-01 18:17:40 +0200 |
commit | af0eaee01737d26314c9c3618153e99d1eb3e2f1 (patch) | |
tree | e45903bbc85886dcb6568c1f3c3f867b2649f2ca /indent/make.vim | |
parent | 730dcb02caab60a6ae5d8b4bdc16d290041061ec (diff) | |
download | vim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.tar.gz vim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.zip |
Update
Diffstat (limited to 'indent/make.vim')
-rw-r--r-- | indent/make.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indent/make.vim b/indent/make.vim index 2fef5846..59e698ab 100644 --- a/indent/make.vim +++ b/indent/make.vim @@ -24,8 +24,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\)\>' |