azabiong / vim-highlighter

Highlight words and expressions
MIT License
226 stars 9 forks source link

HiSense('N') not working #24

Closed mallicksm closed 12 months ago

mallicksm commented 1 year ago

line 2254 in autoload/highlighter.vim let l:cmd = (a:key == 'n') ? '>' : '<' is not working for me but when replaced by if a:key == 'n' let l:cmd = '>' else let l:cmd = '<' endif it works, please help

mallicksm commented 1 year ago

sorry, here is what works let l:cmd = (a:key =~# 'n') ? '>' : '<' because it needs to be case sensitive please fix

azabiong commented 1 year ago

It's great! Thank you for finding the problem and solution together. 👍 The fix has been updated. Thanks!