Hey there,
I’m a complete newbie in Kakoune but I try to setup the lsp for julia. In nvim the server can be configured as follows:
let g:LanguageClient_serverCommands = {
\ 'julia': ['julia', '--startup-file=no', '--history-file=no', '-e', '
\ using LanguageServer;
\ using Pkg;
\ import StaticLint;
\ import SymbolServer;
\ env_path = dirname(Pkg.Types.Context().env.project_file);
\
\ server = LanguageServer.LanguageServerInstance(stdin, stdout, env_path, "");
\ server.runlinter = true;
\ run(server);
\ ']
\ }
So I edited the following in my ~/.config/kak-lsp/kak-lsp.toml
[language.julia]
filetypes = ["julia"]
command = "julia --startup-file=no --history-file=no -e "using LanguageServer; using Pkg; import StaticLint; import SymbolServer; env_path = dirname(Pkg.Types.Context().env.project_file); server = LanguageServer.LanguageServerInstance(stdin, stdout, env_path, \"\"); server.runlinter = true; run(server);""
I didn’t expect that it works on the first try, but I’d like to see errors, however, in the debug buffer there is nothing. Can you point me in the right directions to get debug messages or to get this thing working?