We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5bfc9b commit 28de06fCopy full SHA for 28de06f
plugin/other.vim
@@ -1,6 +1,6 @@
1
" https://vim.fandom.com/wiki/Increasing_or_decreasing_numbers
2
function! AddSubtract(char)
3
- let pattern = &nrformats =~ 'alpha' ? '[[:alpha:][:digit:]]' : '[[:digit:]]'
+ let pattern = &nrformats =~# 'alpha' ? '[[:alpha:][:digit:]]' : '[[:digit:]]'
4
call search(pattern, 'cw')
5
execute 'norm! ' . v:count1 . a:char
6
endfunction
0 commit comments