AutoYADM commit: 2025-05-24 16:11:39
This commit is contained in:
parent
98a0548993
commit
d7b67cc6a5
3 changed files with 14 additions and 5 deletions
|
@ -1,6 +1,5 @@
|
||||||
# load plugin
|
# load plugin
|
||||||
eval %sh{kak-lsp}
|
eval %sh{kak-lsp}
|
||||||
lsp-enable
|
|
||||||
|
|
||||||
# mappings
|
# mappings
|
||||||
map global user l ': enter-user-mode lsp<ret>' -docstring 'LSP mode'
|
map global user l ': enter-user-mode lsp<ret>' -docstring 'LSP mode'
|
||||||
|
@ -23,7 +22,14 @@ define-command -hidden -override lsp-hide-code-actions %{
|
||||||
}
|
}
|
||||||
# Server Config
|
# Server Config
|
||||||
set-option global lsp_debug false
|
set-option global lsp_debug false
|
||||||
lsp-inlay-hints-enable global
|
declare-option str-list lsp_filetypes python go rust bash fish typst yaml json jsonc
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=.* %{
|
||||||
|
lsp-enable-window
|
||||||
|
lsp-inlay-hints-enable window
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# TODO: set up toggle binding for this
|
# TODO: set up toggle binding for this
|
||||||
# or even better, show them on hover...?
|
# or even better, show them on hover...?
|
||||||
# lsp-inlay-diagnostics-enable global
|
# lsp-inlay-diagnostics-enable global
|
||||||
|
|
|
@ -35,8 +35,8 @@ bundle-noload fzf.kak https://github.com/andreyorst/fzf.kak %{
|
||||||
}
|
}
|
||||||
|
|
||||||
bundle luar https://github.com/gustavo-hms/luar %{
|
bundle luar https://github.com/gustavo-hms/luar %{
|
||||||
require-module luar
|
# require-module luar
|
||||||
set-option global luar_interpreter luajit
|
# set-option global luar_interpreter luajit
|
||||||
}
|
}
|
||||||
|
|
||||||
bundle peneira https://github.com/gustavo-hms/peneira %{
|
bundle peneira https://github.com/gustavo-hms/peneira %{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
eval %sh{ kak-tree-sitter -vvvvv -dks --init $kak_session }
|
eval %sh{ kak-tree-sitter -dks --init $kak_session }
|
||||||
evaluate-commands %sh{kak-popup init}
|
evaluate-commands %sh{kak-popup init}
|
||||||
colorscheme ashen
|
colorscheme ashen
|
||||||
require-module fishr
|
require-module fishr
|
||||||
|
@ -6,6 +6,9 @@ require-module surround
|
||||||
require-module ficgrep
|
require-module ficgrep
|
||||||
require-module byline
|
require-module byline
|
||||||
|
|
||||||
|
require-module luar
|
||||||
|
set-option global luar_interpreter luajit
|
||||||
|
|
||||||
|
|
||||||
try %{
|
try %{
|
||||||
set-option global ashen_dynamic_cursor true
|
set-option global ashen_dynamic_cursor true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue