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