vim yp and no more args for lombok
This commit is contained in:
parent
d20a50e347
commit
8d3e39736b
@ -1,10 +1,10 @@
|
||||
import os
|
||||
|
||||
PATH_TO_LOMBOK = os.path.expanduser("/usr/lib/lombok-common/lombok.jar")
|
||||
jdtls_args = ['-noverify',
|
||||
'-Xmx1G',
|
||||
'-XX:+UseG1GC',
|
||||
'-XX:+UseStringDeduplication']
|
||||
# jdtls_args = ['-noverify',
|
||||
# '-Xmx1G',
|
||||
# '-XX:+UseG1GC',
|
||||
# '-XX:+UseStringDeduplication']
|
||||
|
||||
def Settings( **kwargs ):
|
||||
if not os.path.exists(PATH_TO_LOMBOK):
|
||||
@ -15,6 +15,6 @@ def Settings( **kwargs ):
|
||||
'jvm_args': [
|
||||
'-javaagent:' + PATH_TO_LOMBOK,
|
||||
'-Xbootclasspath/a:' + PATH_TO_LOMBOK
|
||||
] + jdtls_args
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -29,6 +29,8 @@ nnoremap K :YcmCompleter GetDoc<CR>
|
||||
nnoremap <CR> :YcmCompleter FixIt<CR>
|
||||
noremap gN :Lex<CR>
|
||||
|
||||
nnoremap yp :let @+=expand('%') .. '#' .. line('.')<CR>
|
||||
|
||||
nnoremap <F12> :Make<CR>
|
||||
nnoremap <leader><F12> :Make run<CR>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user