aboutsummaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2022-09-26 23:48:40 +0200
committerbozo.kopic <bozo@kopic.xyz>2022-09-26 23:48:40 +0200
commit44190f015d0f1c7cfd7484bed11eb277087b49f9 (patch)
tree512bf0ddced4092cc8133d06a21891fdd3d28af4 /vim/.vimrc
parentcbba80700cbdc95d294f3ec61075ff2cbdd503e3 (diff)
.
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index fefdf10..3ef4748 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -32,6 +32,7 @@ Plug 'scrooloose/nerdcommenter'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'mileszs/ack.vim'
+Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'bling/vim-airline'
Plug 'tpope/vim-fireplace'
Plug 'ctrlpvim/ctrlp.vim'
@@ -146,12 +147,15 @@ set mouse=a
" ale configuration
let g:ale_linters = {
-\ 'python': ['flake8']
+\ 'python': ['flake8'],
+\ 'c': ['clangd']
\ }
+let g:ale_linters_explicit = 1
let g:ale_completion_enabled = 1
let g:ale_echo_msg_error_str = 'E'
let g:ale_echo_msg_warning_str = 'W'
let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
+let g:ale_c_clangd_options = '--header-insertion=never'
" YouCompleteMe configuration
"let g:ycm_auto_trigger = 0