diff options
-rw-r--r-- | vim/ftplugin/c.vim | 3 | ||||
-rw-r--r-- | vimrc | 4 |
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'}} @@ -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 |