Dropped ctags entirely

+ installed cpp-modern or regex highlighting
* updated ftplugin files
* updated vimrc
This commit is contained in:
Julien Le Page 2021-08-16 10:04:29 +02:00
parent d7a83dd61b
commit de43f2bcd8
6 changed files with 23 additions and 2 deletions

3
.gitmodules vendored
View File

@ -16,3 +16,6 @@
[submodule "bundle/vimtex"]
path = bundle/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

@ -0,0 +1 @@
Subproject commit 96c1e35b092be403fbe87583613827e277e9dfff

9
filetype.vim Normal file
View 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

View File

@ -1,2 +1,7 @@
set colorcolumn=81
set cino=N-s
let g:cpp_attributes_highlight = 1
let g:cpp_member_highlight = 1
let g:cpp_simple_highlight = 1

View File

@ -1,2 +1,7 @@
set colorcolumn=81
set cino=N-s
let g:cpp_attributes_highlight = 1
let g:cpp_member_highlight = 1
let g:cpp_simple_highlight = 1

2
vimrc
View File

@ -52,8 +52,6 @@ nmap <silent> <C-l> :noh<CR>
nmap <silent> <F6> gg=G<C-o><C-o><CR>
nmap <silent> <C-t> :NERDTreeToggle<CR>
"tags
"headers
let g:header_auto_add_header=0
let g:header_field_author='Steins7'