mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-10 02:43:49 -05:00
Underscore between parens
This commit is contained in:
@@ -135,7 +135,7 @@ function! s:echon(l, n, r, d, o, warn)
|
|||||||
call extend(tokens, a:r == 1 ?
|
call extend(tokens, a:r == 1 ?
|
||||||
\ [['Delimiter', '/'], ['String', a:d], ['Delimiter', '/']] :
|
\ [['Delimiter', '/'], ['String', a:d], ['Delimiter', '/']] :
|
||||||
\ [['Identifier', a:d == ' ' ? '\ ' : (a:d == '\' ? '\\' : a:d)]])
|
\ [['Identifier', a:d == ' ' ? '\ ' : (a:d == '\' ? '\\' : a:d)]])
|
||||||
if a:r == -1 | call add(tokens, ['Comment', ')']) | endif
|
if a:r == -1 | call extend(tokens, [['Normal', '_'], ['Comment', ')']]) | endif
|
||||||
call add(tokens, ['Statement', empty(a:o) ? '' : ' '.string(a:o)])
|
call add(tokens, ['Statement', empty(a:o) ? '' : ' '.string(a:o)])
|
||||||
if !empty(a:warn)
|
if !empty(a:warn)
|
||||||
call add(tokens, ['WarningMsg', ' ('.a:warn.')'])
|
call add(tokens, ['WarningMsg', ' ('.a:warn.')'])
|
||||||
|
|||||||
Reference in New Issue
Block a user