Skip to content

Commit

Permalink
Only initialize g:re_extra_sentence_term if not set previously
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Koenig committed Aug 27, 2020
1 parent b06897c commit af5fb60
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 af5fb60

Please sign in to comment.