diff options
Diffstat (limited to 'autoload')
| -rw-r--r-- | autoload/+init.kak | 14 | ||||
| -rw-r--r-- | autoload/lsp-config.kak | 1 |
2 files changed, 14 insertions, 1 deletions
diff --git a/autoload/+init.kak b/autoload/+init.kak index 3d9f734..8044ad7 100644 --- a/autoload/+init.kak +++ b/autoload/+init.kak @@ -1,5 +1,16 @@ # Link builtin autoloads -nop %sh{ ln -sf "$kak_runtime/rc" "$kak_config/autoload/standard-library" 2>/dev/null || true } +nop %sh{ + ln -sf "$kak_runtime/rc" "$kak_config/autoload/standard-library" 2>/dev/null || true + # rm -rf "$kak_config/autoload/stdlib" 2>/dev/null || true + # mkdir -p "$kak_config/autoload/stdlib" || true + # ln -sf "$kak_runtime/rc/detection" "$kak_config/autoload/stdlib/detection" 2>/dev/null || true + # ln -sf "$kak_runtime/rc/filetype" "$kak_config/autoload/stdlib/filetype" 2>/dev/null || true + # ln -sf "$kak_runtime/rc/tools" "$kak_config/autoload/stdlib/tools" 2>/dev/null || true + # ln -sf "$kak_runtime/rc/windowing" "$kak_config/autoload/stdlib/windowing" 2>/dev/null || true +} + +# Disable indent trimming +set-option global disabled_hooks .*-trim-indent eval %sh{kak-tree-sitter -dksvv --init "${kak_session}" --with-highlighting --with-text-objects} eval %sh{kcr init kakoune} @@ -19,6 +30,7 @@ set-option -add global path "**" set-option global startup_info_version 20250603 set-option global scrolloff 10,3 set-option -add global ui_options terminal_enable_mouse=false terminal_set_title=true +# terminal_status_on_top=true # Modeline # declare-option -hidden _lsp_modeline_diagnostics "%opt{lsp_diagnostic_error_count}" diff --git a/autoload/lsp-config.kak b/autoload/lsp-config.kak index 888085a..95dcd21 100644 --- a/autoload/lsp-config.kak +++ b/autoload/lsp-config.kak @@ -16,6 +16,7 @@ lsp-enable lsp-inlay-diagnostics-enable global map global user l ': enter-user-mode lsp<ret>' -docstring 'LSP mode' +map global lsp t ': lsp-type-definition<ret>' -docstring 'LSP type definition' # map global user t ':enter-user-mode tree-sitter<ret>' -docstring 'Treesitter mode' map global object f '<a-semicolon>lsp-object Function Method<ret>' -docstring 'LSP function or method' map global object t '<a-semicolon>lsp-object Class Interface Struct<ret>' -docstring 'LSP class interface or struct' |
