Added project configuration

+ added support for .project.vim config files
* fixed minor issues
This commit is contained in:
Steins7 2021-09-14 21:07:22 +02:00
parent 60f9dffbdd
commit df4e455fb6
4 changed files with 22 additions and 2 deletions

View File

@ -1,4 +1,5 @@
set colorcolumn=81
set textwidth=80
set cino=N-s
let g:cpp_attributes_highlight = 1

View File

@ -1,4 +1,5 @@
set colorcolumn=81
set textwidth=80
set cino=N-s
let g:cpp_attributes_highlight = 1

View File

@ -12,5 +12,18 @@ let g:vimtex_fold_enable = 1
let g:tex_flavor = 'latex'
let g:vimtex_view_general_viewer = 'evince'
let g:vimtex_compiler_method = 'latexmk'
let g:vimtex_compiler_latexmk['options'] = '-shell-escape'
let g:vimtex_compiler_latexmk = {
\ 'build_dir' : 'bin',
\ 'callback' : 1,
\ 'continuous' : 1,
\ 'executable' : 'latexmk',
\ 'hooks' : [],
\ 'options' : [
\ '-verbose',
\ '-file-line-error',
\ '-synctex=1',
\ '-interaction=nonstopmode',
\ '-shell-escape',
\ ],
\}

5
vimrc
View File

@ -47,3 +47,8 @@ let g:header_field_author_email='steinsset@gmail.com'
let g:header_field_license_id='GNU'
nmap <silent> <F4> :AddHeader<CR>
" allow project-specific configs
if filereadable("./.project.vim")
source ./.project.vim
endif