projects
/
dotfiles.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0b582a
)
\zs has to be single quote escaped
author
Sergey Matveev <stargrave@stargrave.org>
Thu, 6 Aug 2020 15:24:54 +0000 (18:24 +0300)
committer
Sergey Matveev <stargrave@stargrave.org>
Thu, 6 Aug 2020 15:24:54 +0000 (18:24 +0300)
vim/.vim/plugin/defsplit.vim
patch
|
blob
|
history
diff --git
a/vim/.vim/plugin/defsplit.vim
b/vim/.vim/plugin/defsplit.vim
index ab422c0f284fa0b2de5c19d5b2201c0ca586fba5..f995c8a072f4499927a01f576b113ab0725f45ce 100644
(file)
--- a/
vim/.vim/plugin/defsplit.vim
+++ b/
vim/.vim/plugin/defsplit.vim
@@
-71,7
+71,7
@@
function! s:defsplit(brs_allowable, single_line_comma, ...)
let [curly, round, squar, outbuf] = [0, 0, 0, ""]
let ready = [strpart(line, 0, brfirst + 1)]
let trailing_comma = 1
- for c in split(line[brfirst + 1 : brlast-1],
"\zs"
)
+ for c in split(line[brfirst + 1 : brlast-1],
'\zs'
)
if c ==# "*" | let trailing_comma = 0 | endif
if outbuf ==# "" && c ==# " " | continue | endif
let outbuf .= c