Closed MangoIV closed 2 weeks ago
i think the root dir detect not correct
can I just overwrite it with
lspconfig.koka.setup({
cmd = { "koka", "--language-server", "--lsstdio" },
root_dir = function(fname)
return require'lspconfig.util'.find_git_ancestor(fname)
end,
})
in my init.lua
?
yup.
I think you can create a pr for correct root detect of koka server.
I should.
@glepnir that didn't fix the issue, it still says 0 clients attached to this buffer
. Is there anything else I have to do besides setting
vim.filetype.add({
extension = {
kk = "koka",
},
})
in my init.lua
?
if set ft? dont't return koka then you need these codes.
I have set this. :set ft?
returns koka
. It still doesn't attach.
then your project has .git folder ?
the issue was that the plugin set the filetype to kk
when it should have been koka
Description
For some reason, the koka language server doesn't attach, I don't know if there's something wrong with the configuration (there definitely is, but that should become obvious only after it attaches) but it just never attaches.
:set ft?
shows koka.Does anybody see what the issue there could be? Thanks in advance!