|
|
|
@ -63,6 +63,8 @@ Plug 'isRuslan/vim-es6'
|
|
|
|
|
" Flake8 Integration |
|
|
|
|
Plug 'nvie/vim-flake8' |
|
|
|
|
|
|
|
|
|
" Clang Formatting |
|
|
|
|
Plug 'rhysd/vim-clang-format' |
|
|
|
|
|
|
|
|
|
" SBT integration for vim |
|
|
|
|
Plug 'ktvoelker/sbt-vim' |
|
|
|
@ -97,25 +99,10 @@ Plug 'christoomey/vim-tmux-navigator'
|
|
|
|
|
Plug 'godlygeek/tabular' |
|
|
|
|
Plug 'plasticboy/vim-markdown' |
|
|
|
|
|
|
|
|
|
" Snippet Support/Configuration |
|
|
|
|
" Currently disabled because it irrepairably causes neovim to detonate more |
|
|
|
|
" than I care to deal with as of 5/26/2017 |
|
|
|
|
"Plug 'SirVer/ultisnips' |
|
|
|
|
"Plug 'honza/vim-snippets' |
|
|
|
|
|
|
|
|
|
" Database engine support |
|
|
|
|
Plug 'https://github.com/vim-scripts/dbext.vim' |
|
|
|
|
|
|
|
|
|
"let g:UltiSnipsExpandTrigger="<c-s>" |
|
|
|
|
"let g:UltiSnipsJumpForwardTrigger="<c-b>" |
|
|
|
|
"let g:UltiSnipsJumpBackwardTrigger="<c-z>" |
|
|
|
|
"let g:UltiSnipsSnippetsDir=["~/.config/nvim/plugged/vim-snippets/UltiSnips", "~/.config/nvim/snippets"] |
|
|
|
|
|
|
|
|
|
"" Allow UltiSnips to split the window vertically |
|
|
|
|
"let g:UltiSnipssEditSplit="vertical" |
|
|
|
|
|
|
|
|
|
""""""""""""""""""""""""""""""" |
|
|
|
|
|
|
|
|
|
" end plugin list |
|
|
|
|
call plug#end() |
|
|
|
|
|
|
|
|
@ -152,7 +139,17 @@ endfunc
|
|
|
|
|
|
|
|
|
|
" Autocmds |
|
|
|
|
|
|
|
|
|
" Stripping trailing whitespace on save |
|
|
|
|
|
|
|
|
|
" Auto Clang Formatting |
|
|
|
|
|
|
|
|
|
autocmd FileType c ClangFormatAutoEnable |
|
|
|
|
autocmd FileType cpp ClangFormatAutoEnable |
|
|
|
|
autocmd FileType cxx ClangFormatAutoEnable |
|
|
|
|
autocmd FileType h ClangFormatAutoEnable |
|
|
|
|
autocmd FileType hpp ClangFormatAutoEnable |
|
|
|
|
autocmd FileType hxx ClangFormatAutoEnable |
|
|
|
|
|
|
|
|
|
""" Stripping trailing whitespace on save |
|
|
|
|
autocmd BufWritePre * :%s/\s\+$//e |
|
|
|
|
|
|
|
|
|
" Fix rust |
|
|
|
@ -165,6 +162,9 @@ autocmd BufNewFile,BufRead *.py setlocal colorcolumn=80
|
|
|
|
|
" Set Python syntax checking to Python3 |
|
|
|
|
let python_highlight_all=1 |
|
|
|
|
|
|
|
|
|
" Make tabs display as 4 spaces for Python files (makes them easier to read) |
|
|
|
|
autocmd BufNewFile,BufRead *.py setlocal noexpandtab tabstop=4 shiftwidth=4 |
|
|
|
|
|
|
|
|
|
" Indent YAML files correctly |
|
|
|
|
au FileType yaml setlocal tabstop=2 expandtab shiftwidth=2 softtabstop=2 |
|
|
|
|
|
|
|
|
|