aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-06-09 00:26:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-09 00:26:16 +1200
commit665b1460aad875503aa5ad140b4c8e78791332a8 (patch)
tree682183a102232f7ba39a69081eef259cf70e01bb /vim/vimrc
parentShortcuts for setting common filetypes (diff)
downloaddotfiles-665b1460aad875503aa5ad140b4c8e78791332a8.tar.gz
dotfiles-665b1460aad875503aa5ad140b4c8e78791332a8.zip
More elegant way to set cursorcolumn for Markdown
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 4a7fbbed..95bb57a1 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -30,7 +30,7 @@ if has("autocmd")
au!
autocmd Syntax markdown setlocal textwidth=79
if exists("&colorcolumn")
- autocmd Syntax markdown setlocal colorcolumn=80
+ autocmd Filetype markdown setlocal colorcolumn=+1
endif
augroup END
endif