aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/ftplugin/c.vim3
-rw-r--r--vimrc4
2 files changed, 2 insertions, 5 deletions
diff --git a/vim/ftplugin/c.vim b/vim/ftplugin/c.vim
index 3464e2d..add7386 100644
--- a/vim/ftplugin/c.vim
+++ b/vim/ftplugin/c.vim
@@ -1,6 +1,3 @@
-setlocal colorcolumn=120
-setlocal textwidth=120
-
let b:ale_linters = ['ccls', 'cppcheck', 'flawfinder', 'clangtidy']
let b:ale_fixers = ['clang-format', 'remove_trailing_lines', 'trim_whitespace']
let g:ale_c_ccls_init_options = {'cache': {'directory': '/tmp/ccls/cache'}}
diff --git a/vimrc b/vimrc
index a77f54f..58ee420 100644
--- a/vimrc
+++ b/vimrc
@@ -75,8 +75,8 @@ endfunction
set number
-set colorcolumn=82
-set textwidth=82
+set colorcolumn=80
+set textwidth=80
highlight ColorColumn ctermbg=DarkGray
" Tabs setting. In default we want 4 spaces tab, but allows also 8 spaced tabs