My configurations for the software I use
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add lsp for java

yemou acbae922 f2008f27

+9 -1
+8
config/kak-lsp/kak-lsp.toml
··· 9 9 roots = ["compile_commands.json", ".clangd", ".git", ".hg"] 10 10 command = "clangd" 11 11 12 + [language_server.jdtls] 13 + filetypes = ["java"] 14 + roots = ["mvnw", "gradlew", ".git", ".hg"] 15 + command = "jdtls" 16 + [language_server.jdtls.settings] 17 + # See https://github.dev/eclipse/eclipse.jdt.ls 18 + # "java.format.insertSpaces" = true 19 + 12 20 [language_server.nil] 13 21 filetypes = ["nix"] 14 22 roots = ["flake.nix", ".git"]
+1 -1
config/kak/kakrc
··· 7 7 # kak-lsp 8 8 eval %sh{ kak-lsp --kakoune -s $kak_session } 9 9 10 - hook -group lsp global WinSetOption filetype=(c|cpp|go|nix|python|typst|zig) %{ 10 + hook -group lsp global WinSetOption filetype=(c|cpp|go|nix|python|typst|zig|java) %{ 11 11 lsp-enable-window 12 12 lsp-inlay-code-lenses-enable window 13 13 lsp-inlay-diagnostics-enable window