jubnzv/virtual-types.nvim

Errors in haskell-language-server and fsautocomplete

tredeneo opened this issue · 2 comments

I saw documentation these LSP and has "CodeLens"

on haskell(hls) show this error
172552

but work(strange format but work)
172623

on fsharp(fsautocomplete) show this error
172735

nvim:6.1

require("lspconfig").fsautocomplete.setup({
  on_attach = require("virtualtypes").on_attach,
})

require("lspconfig").hls.setup({
  on_attach = require("virtualtypes").on_attach,
})

Thanks for the report. It will take some time to install these LSP servers and figure it out.

I'll take a look this week.

Same here with OmniSharp in a C# solution:

virtualtypes

EDIT: I'll try to apply a defensive coding strategy to fix this issue (check if the table is nil) and add a PR if it works for me at least as a starting point.