Add '#'-rule (#30)

For Ruby/Python comments. This new '#' rule will only match
'#' characters that are highlighted as comments.
This commit is contained in:
Junegunn Choi
2014-06-20 10:34:00 +09:00
parent 0aa6289d8c
commit a98c1ccc99
4 changed files with 12 additions and 8 deletions

View File

@@ -893,10 +893,6 @@ Expect ruby:
apricot = 'DAD' + 'F#AD'
banana = 'Gros Michel' ## comment 2
Execute (define # rule):
let g:easy_align_delimiters =
\ { '#': { 'pattern': '#\+', 'ignores': ['String'], 'delimiter_align': 'l' } }
Do (using # rule):
vip\<Enter>\<C-U>#