Added Java to the kak-lsp filetype list
This commit is contained in:
parent
fcd9f69f80
commit
8e42ad41ca
6
kakrc
6
kakrc
@ -28,8 +28,8 @@ plug "kak-lsp/kak-lsp" do %{
|
|||||||
} config %{
|
} config %{
|
||||||
|
|
||||||
# uncomment to enable debugging
|
# uncomment to enable debugging
|
||||||
# eval %sh{echo ${kak_opt_lsp_cmd} >> /tmp/kak-lsp.log}
|
eval %sh{echo ${kak_opt_lsp_cmd} >> /tmp/kak-lsp.log}
|
||||||
# set global lsp_cmd "kak-lsp -s %val{session} -vvv --log /tmp/kak-lsp.log"
|
set global lsp_cmd "kak-lsp -s %val{session} -vvv --log /tmp/kak-lsp.log"
|
||||||
|
|
||||||
# this is not necessary; the `lsp-enable-window` will take care of it
|
# this is not necessary; the `lsp-enable-window` will take care of it
|
||||||
# eval %sh{${kak_opt_lsp_cmd} --kakoune -s $kak_session}
|
# eval %sh{${kak_opt_lsp_cmd} --kakoune -s $kak_session}
|
||||||
@ -42,7 +42,7 @@ plug "kak-lsp/kak-lsp" do %{
|
|||||||
define-command ee -docstring 'go to current error/warning from lsp' %{ lsp-find-error --include-warnings; lsp-find-error --previous --include-warnings }
|
define-command ee -docstring 'go to current error/warning from lsp' %{ lsp-find-error --include-warnings; lsp-find-error --previous --include-warnings }
|
||||||
|
|
||||||
define-command lsp-restart -docstring 'restart lsp server' %{ lsp-stop; lsp-start }
|
define-command lsp-restart -docstring 'restart lsp server' %{ lsp-stop; lsp-start }
|
||||||
hook global WinSetOption filetype=(c|cpp|sh|python|go) %{
|
hook global WinSetOption filetype=(c|cpp|sh|python|go|java) %{
|
||||||
set-option window lsp_auto_highlight_references true
|
set-option window lsp_auto_highlight_references true
|
||||||
set-option window lsp_hover_anchor false
|
set-option window lsp_hover_anchor false
|
||||||
lsp-auto-hover-enable
|
lsp-auto-hover-enable
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user