Skip to content

Commit 7d20a1e

Browse files
committed
Merge branch 'roccomao-fix-selections'
Fixes #305
2 parents 673e686 + af431f3 commit 7d20a1e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Contributors.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ additional contributions from:
4242
* [redpill](https://github.com/redpill)
4343
* [rglassett](http://github.com/rglassett)
4444
* [robhudson](https://github.com/robhudson)
45+
* [roccomao](https://github.com/roccomao)
4546
* [shinymayhem](https://github.com/shinymayhem)
4647
* [Shraymonks](https://github.com/shraymonks)
4748
* [sickill](https://github.com/sickill)

autoload/snipmate/jumping.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ endfunction
243243
" selection hack in s:state_select_item
244244
function! s:cot_count()
245245
let cotl = split(&cot, ',')
246-
let c = count(cotl, 'longest') + count(cotl, 'noinsert') + count(cotl, 'noselect')
246+
let c = (has('patch-9.0.0567') && count(cotl, 'longest')) + count(cotl, 'noinsert') + count(cotl, 'noselect')
247247
return min([1, c])
248248
endfunction
249249

0 commit comments

Comments
 (0)