Move kakoune to a full-fledged package #4

Merged
nki merged 69 commits from kakoune-package into master 2025-03-21 18:43:18 +00:00
2 changed files with 1 additions and 6 deletions
Showing only changes of commit 01521609d0 - Show all commits

View file

@ -112,11 +112,6 @@ hook global WinSetOption filetype=(rust) %{
set-option buffer makecmd "cargo check"
}
hook global WinSetOption filetype=(scala) %{
# Format the document if possible
hook -group scala-fmt window BufWritePre .* %{ lsp-formatting-sync }
}
hook global WinSetOption filetype=(typst) %{
set-option window comment_line "//"
set-option window comment_block_begin "/*"

View file

@ -297,7 +297,7 @@ in
map global object d '<a-semicolon>lsp-diagnostic-object --include-warnings<ret>' -docstring 'LSP errors and warnings'
map global object D '<a-semicolon>lsp-diagnostic-object<ret>' -docstring 'LSP errors'
hook global WinSetOption filetype=(racket|rust|python|go|javascript|typescript|c|cpp|tex|latex|haskell|nix|fsharp|templ) %{
hook global WinSetOption filetype=(racket|rust|python|go|javascript|typescript|c|cpp|tex|latex|haskell|nix|fsharp|templ|scala) %{
# Format the document if possible
hook window -group lsp-formatting BufWritePre .* %{ lsp-formatting-sync }
}