aboutsummaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-03 07:58:01 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-03 07:58:01 +0000
commit012984277334aff8daa666cbe25b29ec7ae9f35a (patch)
treec9f5744745749a38f6f8a4f488ecc28655039b9d /.vimrc
parentupdates for bashrc (diff)
downloadscripts-012984277334aff8daa666cbe25b29ec7ae9f35a.tar.gz
scripts-012984277334aff8daa666cbe25b29ec7ae9f35a.zip
rsync
Diffstat (limited to '')
-rw-r--r--.vimrc15
1 files changed, 13 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index 9e910e7..8fbec6d 100644
--- a/.vimrc
+++ b/.vimrc
@@ -804,7 +804,8 @@ let g:tagbar_type_tf = {
"doxygentoolkit
autocmd FileType *.sol let g:DoxygenToolkit_briefTag_pre="@dev "
" let g:doxygen_enhanced_color = 1
-let g:syntax_extra_java="doxygen"
+let g:syntax_extra_java='doxygen'
+let g:syntax_extra_solidity='doxygen'
"open-pdf conf
let g:pdf_convert_on_edit = 1
@@ -1237,6 +1238,13 @@ augroup YCMDocRust
\ 'syntax': 'rust'
\ }
augroup END
+augroup YCMDocJava
+ autocmd!
+ autocmd FileType java let b:ycm_hover = {
+ \ 'command': 'GetDoc',
+ \ 'syntax': 'java'
+ \ }
+augroup END
let g:ycm_language_server = [
\ {'name': 'vim',
@@ -1500,7 +1508,10 @@ inoremap <silent><leader>z <C-o>:MaximizerToggle!<CR>
"pgsql
let g:sql_type_default = 'pgsql'
-let b:sql_type_override='pgsql' | set ft=sql
+augroup PGSQL
+ autocmd!
+ autocmd FileType sql let b:sql_type_override='pgsql' | set ft=sql
+augroup END
let g:pgsql_pl = ['python']
" uses " register to keep last cursor position in buffers