Compare commits

...

2 Commits

Author SHA1 Message Date
Audrey be323415af kakoune-lsp 19.0 changelog cope 2026-09-18 14:28:40 -07:00
Audrey cb3dde49b9 Add ocaml-lsp 2026-09-18 14:23:58 -07:00
3 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,7 @@ hook global BufCreate .* %{
}
set-option -add global ui_options terminal_assistant=cat
set-option -add global ui_options terminal_enable_mouse=false
set-option global modelinefmt '%val{bufname} %val{cursor_line}:%val{cursor_char_column} {{context_info}} {{mode_info}}'
set-option global modelinefmt '%opt{lsp_modeline} %val{bufname} %val{cursor_line}:%val{cursor_char_column} {{context_info}} {{mode_info}}'
add-highlighter global/ wrap -word
add-highlighter global/ number-lines -hlcursor -min-digits 3
add-highlighter global/ show-matching -previous

View File

@ -8,8 +8,10 @@ map global normal <a-j> '<a-s-j>'
map global normal <a-s-j> '<a-j>'
map -docstring "Reset all selections" global normal '<ret>' '<a-:>:nohl<ret>;,'
map -docstring "error listing" global goto e '<a-;> le'
map -docstring "error listing" global goto d '<a-;> ld'
map global goto d <esc>:lsp-definition<ret> -docstring 'LSP definition'
map global goto r <esc>:lsp-references<ret> -docstring 'LSP references'
map global goto y <esc>:lsp-type-definition<ret> -docstring 'LSP type definition'
map global goto e <esc>:lsp-diagnostics<ret> -docstring 'LSP error listing'
map global normal '<a-v>' %{
:tree-sitter-nav '"parent"'<ret>

View File

@ -44,7 +44,7 @@
dotnet-sdk_9
gopls
typescript-language-server
#ocamllsp
ocamlPackages.ocaml-lsp
pre-commit
];