nvim: init.vim: Add better syntax highlighting options for C & CPP

This commit is contained in:
Sanchayan Maity 2019-12-06 10:31:46 +05:30 committed by Sanchayan Maity
parent a0ab5d020b
commit bbecfe66ca

View file

@ -22,6 +22,8 @@ Plug 'thaerkh/vim-workspace'
Plug 'scrooloose/nerdcommenter'
" Theme
Plug 'sickill/vim-monokai'
Plug 'justinmk/vim-syntax-extra'
Plug 'octol/vim-cpp-enhanced-highlight'
" Autoload and read from dish if file changes
Plug 'tmux-plugins/vim-tmux-focus-events'
Plug 'wellle/tmux-complete.vim'
@ -537,6 +539,12 @@ let g:mapleader = "\<Space>"
let g:maplocalleader = ','
let g:which_key_use_floating_win = 1
let g:cpp_class_scope_highlight = 1
let g:cpp_member_variable_highlight = 1
let g:cpp_class_decl_highlight = 1
let g:cpp_posix_standard = 1
let g:cpp_concepts_highlight = 1
" ----------------------------- Functions ------------------------------------
" For CScope and Quickfix
" https://medium.com/@lakshmankumar12/quickfix-and-location-list-in-vim-ca0292ac894d