gvrooyen,
@gvrooyen@c.im avatar

It took me a bit of fiddling around to figure out why my language server setup didn't play nicely with . I manage my language configs with the excellent Mason (which has deprecated Gleam support that worked for me for a while).

Turns out Mason isn't currently compatible with a language like Gleam where the LSP is part and parcel of the toolchain – see @lpil's explanation: https://github.com/mason-org/mason-registry/pull/3872

The solution is to simply manually add Gleam in your init.lua's "lspconfig": https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#gleam

Must say, I love Gleam's compiler and language server diagnostics: It feels so kind and helpful 😁

  • All
  • Subscribed
  • Moderated
  • Favorites
  • neovim
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines