summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-10-24 13:21:00 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-10-24 13:21:00 +0200
commit85c2f7c86b0542dea26c0a81dc5ab255111395f2 (patch)
tree79bdb0a2e4ce4bc22c26246b0669cdcfb1d5cd68 /nvim
parentf4f3c381b2a262c0298ca5da189a9268a6233bc5 (diff)
Colorcolumn 80 in all the filetypes
Diffstat (limited to 'nvim')
-rw-r--r--nvim/nvim/ftplugin/drowmark.vim4
-rw-r--r--nvim/nvim/ftplugin/markdown.vim4
-rw-r--r--nvim/nvim/init.vim5
3 files changed, 5 insertions, 8 deletions
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 <Esc> <C-\><C-n>
+
+" Highlight where the lines are more than 80 characters wide
+setlocal colorcolumn=80
+highlight ColorColumn ctermbg=DarkGrey
+