mirror of
https://github.com/elkowar/dots-of-war.git
synced 2025-04-05 14:23:31 +00:00
49 lines
1.7 KiB
Fennel
49 lines
1.7 KiB
Fennel
(module dots.plugins.lspsaga
|
|
{autoload {utils dots.utils
|
|
colors dots.colors}
|
|
|
|
require {saga lspsaga}})
|
|
|
|
|
|
;(saga.init_lsp_saga
|
|
;{:border_style "single" ; single double round plus
|
|
;:code_action_prompt {:enable true
|
|
;:sign false
|
|
;:virtual_text false}
|
|
;:code_action_keys {:quit "<esc>" :exec "<CR>"}
|
|
;:rename_action_keys {:quit "<esc>" :exec "<CR>"}
|
|
;:finder_action_keys {:quit "<esc>"
|
|
;:open "<CR>"
|
|
;:vsplit "v"
|
|
;:split "b"
|
|
;:scroll_up "<C-u>"
|
|
;:scroll_down "<C-d>"}})
|
|
|
|
|
|
(utils.highlight ["LspFloatWinBorder"
|
|
"LspSagaHoverBorder"
|
|
"LspSagaRenameBorder"
|
|
"LspSagaSignatureHelpBorder"
|
|
"LspSagaCodeActionBorder"
|
|
"LspSagaDefPreviewBorder"
|
|
"LspSagaDiagnosticBorder"]
|
|
{:bg colors.dark0_hard :fg colors.dark0_hard})
|
|
|
|
(utils.highlight ["LspSagaDiagnosticTruncateLine"
|
|
"LspSagaDocTruncateLine"
|
|
"LspSagaShTruncateLine"]
|
|
{:bg "NONE" :fg colors.dark0})
|
|
|
|
(utils.highlight ["TargetWord"
|
|
"LspSagaCodeActionTitle"
|
|
"LspSagaBorderTitle"
|
|
"LspSagaCodeActionContent"
|
|
"LspSagaFinderSelection"
|
|
"LspSagaDiagnosticHeader"]
|
|
{:fg colors.bright_aqua})
|
|
|
|
|
|
(utils.highlight "LspFloatWinNormal" {:bg colors.dark0_hard})
|
|
(utils.highlight "LspFloatWinBorder" {:bg colors.dark0_hard
|
|
:fg colors.dark0_hard})
|
|
(utils.highlight "TargetWord" {:fg colors.bright_aqua})
|