My configurations for the software I use

Add kakoune configuration for roc

yemou.pink 0d803b70 df4eb114

verified
Changed files
+14 -2
config
kak
+14 -2
config/kak/kakrc
··· 4 4 # Plugins 5 5 plug "whereswaldon/shellcheck.kak" 6 6 7 + # Custom Filetypes 8 + hook global BufCreate .*[.](roc) %{ 9 + set-option buffer filetype roc 10 + } 11 + 7 12 # kak-lsp 8 13 eval %sh{ kak-lsp } 9 14 10 - hook global WinSetOption filetype=(c|cpp|go|java|javascript|nix|python|typst|zig) %{ 15 + hook global WinSetOption filetype=(c|cpp|go|java|javascript|nix|python|roc|typst|zig) %{ 11 16 lsp-enable-window 12 17 13 18 map global user l %{:enter-user-mode lsp<ret>} -docstring 'Enter kak-lsp mode' ··· 52 57 outputPath = "/tmp/tinymist/$root/$dir/$name" 53 58 fontPaths = [ "./assets/fonts" ] 54 59 formatterMode = "typstyle" 60 + } 61 + } 62 + 63 + hook -group lsp-filetype-roc global BufSetOption filetype=roc %{ 64 + set-option buffer lsp_servers %{ 65 + [roc_language_server] 66 + root_globs = [ ".git" ] 55 67 } 56 68 } 57 69 ··· 187 199 set-option buffer formatcmd "prettier --parser babel" 188 200 } 189 201 190 - hook global WinSetOption filetype=(python|zig) %{ 202 + hook global WinSetOption filetype=(python|roc|zig) %{ 191 203 m-whitespace spaces 4 192 204 } 193 205