Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Mike :nixos:
Mike :nixos:
@codemonkeymike@fosstodon.org  ·  activity timestamp 20 hours ago

Hey #elixir peeps. Please tell me about what you're using for an LSP and formatter?

I'm using #helixEditor with elixir_ls. I assumed elixir_ls was also the formatter as well (aren't most LSPs also formatters?)

But it wasn't formatting. I've read to use mix.. which seems to work, but also seems to have a different opinion on syntax and lags a bit.

Just curious what the standard way to do this is

[mkelly@framework:~/Projects/raffley]$ hx --health elixir
Configured language servers:
v elixir-1s: /run/current-system/sw/bin/elixir-1s
Configured debug adapter: None
Configured formatter:
v /run/current-system/sw/bin/mix
Tree-sitter parser: v
Highlight queries: v
Textobject queries: v
Indent queries: v
[mkelly@framework:~/Projects/raffley]$ hx --health elixir Configured language servers: v elixir-1s: /run/current-system/sw/bin/elixir-1s Configured debug adapter: None Configured formatter: v /run/current-system/sw/bin/mix Tree-sitter parser: v Highlight queries: v Textobject queries: v Indent queries: v
[mkelly@framework:~/Projects/raffley]$ hx --health elixir Configured language servers: v elixir-1s: /run/current-system/sw/bin/elixir-1s Configured debug adapter: None Configured formatter: v /run/current-system/sw/bin/mix Tree-sitter parser: v Highlight queries: v Textobject queries: v Indent queries: v
  • Copy link
  • Flag this post
  • Block
Paweł Świątkowski
Paweł Świątkowski
@katafrakt@genserver.social replied  ·  activity timestamp 20 hours ago
@codemonkeymike Expert and (I think) Expert as formatter
  • Copy link
  • Flag this comment
  • Block
Mike :nixos:
Mike :nixos:
@codemonkeymike@fosstodon.org replied  ·  activity timestamp 20 hours ago

@katafrakt ahhh that's that new official one.. damn.. Nix packages doesn't even have that available yet

  • Copy link
  • Flag this comment
  • Block
Paweł Świątkowski
Paweł Świątkowski
@katafrakt@genserver.social replied  ·  activity timestamp 20 hours ago
@codemonkeymike I don't know much about Nix, but I've seen in the issue tracker that some people use it with Nix 🤔
  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct