aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-02-16 01:51:48 +1300
committerTom Ryder <tom@sanctum.geek.nz>2013-02-16 01:51:48 +1300
commit2d89bba6e7b9e23687f1041c9606c9a26ae227bf (patch)
tree8d7521c7fc2e06a56de404dab1d4db4e60c18cba /vim/vimrc
parentSpecify clipboard/fillchars with let not set (diff)
downloaddotfiles-2d89bba6e7b9e23687f1041c9606c9a26ae227bf.tar.gz
dotfiles-2d89bba6e7b9e23687f1041c9606c9a26ae227bf.zip
Place missing string concat
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index a1f3fea0..f8f530e8 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -64,7 +64,7 @@ if has("syntax")
set background=dark
silent! colorscheme sahara
if has("folding")
- set fillchars=diff:\ ,fold:\ ,vert:\
+ let &fillchars = 'diff: ,fold: ,vert: '
endif
if exists("&synmaxcol")
set synmaxcol=3000
@@ -105,7 +105,7 @@ nnoremap J mzJ`z
if has("eval")
function! ToggleFormatFlag(flag)
let l:operation = (&formatoptions =~ a:flag) ? '-=' : '+='
- silent! exec 'setlocal formatoptions' l:operation . a:flag
+ silent! exec 'setlocal formatoptions' . l:operation . a:flag
setlocal formatoptions?
endfunction
nnoremap <silent> <leader>a :<C-U>call ToggleFormatFlag('a')<CR>