aboutsummaryrefslogtreecommitdiff
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
parent8f8ad78066177cb34c137d98deb458dfd8e05dae (diff)
downloaddotfiles-de977486005f37bf102349cf13ac343582016b40.tar.gz
Use get() for mail buffer variable fetch
-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(''']'))