aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-23 14:44:21 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-23 14:44:21 +1200
commitde977486005f37bf102349cf13ac343582016b40 (patch)
treebba5983ca5ce1e1d1c3a6a9842e532ea226033f9 /vim/autoload
parentMerge branch 'release/v4.41.0' into develop (diff)
downloaddotfiles-de977486005f37bf102349cf13ac343582016b40.tar.gz
dotfiles-de977486005f37bf102349cf13ac343582016b40.zip
Use get() for mail buffer variable fetch
Diffstat (limited to 'vim/autoload')
-rw-r--r--vim/autoload/quote.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/vim/autoload/quote.vim b/vim/autoload/quote.vim
index b84a87e8..b519e717 100644
--- a/vim/autoload/quote.vim
+++ b/vim/autoload/quote.vim
@@ -10,9 +10,7 @@ endfunction
function! quote#QuoteOpfunc(type) abort
" May as well make this configurable
- let char = exists('b:quote_char')
- \ ? b:quote_char
- \ : '>'
+ let char = get(b:, 'quote_char', '>')
" Iterate over each matched line
for li in range(line('''['), line(''']'))