diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-23 14:44:21 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-23 14:44:21 +1200 |
commit | de977486005f37bf102349cf13ac343582016b40 (patch) | |
tree | bba5983ca5ce1e1d1c3a6a9842e532ea226033f9 /vim/autoload/quote.vim | |
parent | Merge branch 'release/v4.41.0' into develop (diff) | |
download | dotfiles-de977486005f37bf102349cf13ac343582016b40.tar.gz dotfiles-de977486005f37bf102349cf13ac343582016b40.zip |
Use get() for mail buffer variable fetch
Diffstat (limited to 'vim/autoload/quote.vim')
-rw-r--r-- | vim/autoload/quote.vim | 4 |
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(''']')) |