From 85c2f7c86b0542dea26c0a81dc5ab255111395f2 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Mon, 24 Oct 2016 13:21:00 +0200 Subject: Colorcolumn 80 in all the filetypes --- nvim/nvim/ftplugin/drowmark.vim | 4 ---- nvim/nvim/ftplugin/markdown.vim | 4 ---- nvim/nvim/init.vim | 5 +++++ 3 files changed, 5 insertions(+), 8 deletions(-) (limited to 'nvim') diff --git a/nvim/nvim/ftplugin/drowmark.vim b/nvim/nvim/ftplugin/drowmark.vim index be65689..b4e4a0b 100644 --- a/nvim/nvim/ftplugin/drowmark.vim +++ b/nvim/nvim/ftplugin/drowmark.vim @@ -8,10 +8,6 @@ setlocal formatoptions+=t setlocal formatoptions-=l -" Highlight where the lines are more than 80 characters wide -setlocal colorcolumn=80 -highlight ColorColumn ctermbg=LightGreen - " Auto-capitalize script augroup SENTENCES au! diff --git a/nvim/nvim/ftplugin/markdown.vim b/nvim/nvim/ftplugin/markdown.vim index 7af0f40..cfa7af7 100644 --- a/nvim/nvim/ftplugin/markdown.vim +++ b/nvim/nvim/ftplugin/markdown.vim @@ -10,10 +10,6 @@ setlocal formatoptions+=t setlocal formatoptions-=l -" Highlight where the lines are more than 80 characters wide -setlocal colorcolumn=80 -highlight ColorColumn ctermbg=DarkGrey - " Auto-capitalize script augroup SENTENCES au! diff --git a/nvim/nvim/init.vim b/nvim/nvim/init.vim index cc71523..099a7c5 100644 --- a/nvim/nvim/init.vim +++ b/nvim/nvim/init.vim @@ -73,3 +73,8 @@ let g:netrw_liststyle= 3 " Make terminal remap to go out of insert mode :tnoremap + +" Highlight where the lines are more than 80 characters wide +setlocal colorcolumn=80 +highlight ColorColumn ctermbg=DarkGrey + -- cgit v1.2.3