Dropped ctags entirely
+ installed cpp-modern or regex highlighting * updated ftplugin files * updated vimrc
This commit is contained in:
parent
d7a83dd61b
commit
de43f2bcd8
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -16,3 +16,6 @@
|
|||||||
[submodule "bundle/vimtex"]
|
[submodule "bundle/vimtex"]
|
||||||
path = bundle/vimtex
|
path = bundle/vimtex
|
||||||
url = https://github.com/lervag/vimtex
|
url = https://github.com/lervag/vimtex
|
||||||
|
[submodule "bundle/vim-cpp-modern"]
|
||||||
|
path = bundle/vim-cpp-modern
|
||||||
|
url = https://github.com/bfrg/vim-cpp-modern.git
|
||||||
|
|||||||
1
bundle/vim-cpp-modern
Submodule
1
bundle/vim-cpp-modern
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 96c1e35b092be403fbe87583613827e277e9dfff
|
||||||
9
filetype.vim
Normal file
9
filetype.vim
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
" extra file types detection
|
||||||
|
if exists("did_load_filetypes")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
augroup filetypedetect
|
||||||
|
au! BufRead,BufNewFile *.jl setfiletype julia
|
||||||
|
au! BufRead,BufNewFile *.tcc setfiletype cpp
|
||||||
|
augroup END
|
||||||
|
|
||||||
@ -1,2 +1,7 @@
|
|||||||
set colorcolumn=81
|
set colorcolumn=81
|
||||||
set cino=N-s
|
set cino=N-s
|
||||||
|
|
||||||
|
let g:cpp_attributes_highlight = 1
|
||||||
|
let g:cpp_member_highlight = 1
|
||||||
|
let g:cpp_simple_highlight = 1
|
||||||
|
|
||||||
|
|||||||
@ -1,2 +1,7 @@
|
|||||||
set colorcolumn=81
|
set colorcolumn=81
|
||||||
set cino=N-s
|
set cino=N-s
|
||||||
|
|
||||||
|
let g:cpp_attributes_highlight = 1
|
||||||
|
let g:cpp_member_highlight = 1
|
||||||
|
let g:cpp_simple_highlight = 1
|
||||||
|
|
||||||
|
|||||||
2
vimrc
2
vimrc
@ -52,8 +52,6 @@ nmap <silent> <C-l> :noh<CR>
|
|||||||
nmap <silent> <F6> gg=G<C-o><C-o><CR>
|
nmap <silent> <F6> gg=G<C-o><C-o><CR>
|
||||||
nmap <silent> <C-t> :NERDTreeToggle<CR>
|
nmap <silent> <C-t> :NERDTreeToggle<CR>
|
||||||
|
|
||||||
"tags
|
|
||||||
|
|
||||||
"headers
|
"headers
|
||||||
let g:header_auto_add_header=0
|
let g:header_auto_add_header=0
|
||||||
let g:header_field_author='Steins7'
|
let g:header_field_author='Steins7'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user