Skip to content

Commit

Permalink
Only set empty custom sentence terminators if not previously assigned
Browse files Browse the repository at this point in the history
  • Loading branch information
sekoenig committed Aug 27, 2020
1 parent b06897c commit c34cdbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/textobj/sentence.vim
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ function! textobj#sentence#select_i()
return s:select(b:textobj_sentence_re_i)
endfunction

let g:re_extra_sentence_term = ''
if !exists('g:re_extra_sentence_term')
let g:re_extra_sentence_term = ''
endif

function! textobj#sentence#init(...)
let l:args = a:0 ? a:1 : {}
Expand Down

0 comments on commit c34cdbb

Please sign in to comment.