From 5def6490a075339bc754c82324a703a8ac4c24ad Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sat, 5 Jan 2019 16:07:11 +0100 Subject: [PATCH] Add clang syntax highlighting to c/cpp in vim --- .config/vim/pack/list | 1 + .config/vim/vimrc | 4 ++++ packages | 1 + 3 files changed, 6 insertions(+) diff --git a/.config/vim/pack/list b/.config/vim/pack/list index ad57322..44faa07 100644 --- a/.config/vim/pack/list +++ b/.config/vim/pack/list @@ -6,5 +6,6 @@ https://github.com/scrooloose/nerdcommenter.git https://github.com/lervag/vimtex.git https://github.com/jalvesaq/Nvim-R.git https://github.com/vim-scripts/Smart-Tabs.git +https://github.com/jeaye/color_coded.git opt: https://github.com/kristijanhusak/vim-hybrid-material.git diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 307d03d..ca011d1 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -64,6 +64,10 @@ set nowrap "" Plugin configuration +" color_coded, libclang-based syntax highlighting +let g:color_coded_enabled = 1 +let g:color_coded_filetypes = ['c', 'cpp'] + " lightline.vim let g:lightline = {} let g:lightline.colorscheme = 'Tomorrow_Night_Bright' diff --git a/packages b/packages index 47a9d06..2aaa4f6 100644 --- a/packages +++ b/packages @@ -9,6 +9,7 @@ brightnessctl capitaine-cursors checkbashisms chromium +clang dialog domoticz-git dos2unix