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