Remix.run Logo
lukaslalinsky 5 days ago

I'm a long time vim user, but neovim with plugins is just not worth it for me. Something always breaks. I think neovim would do better if they started integrating the core plugins like LSP, tree sitter

lawn 5 days ago | parent | next [-]

> I think neovim would do better if they started integrating the core plugins like LSP, tree sitter

That's exactly what they're doing.

Both tree-sitter and LSP are built in and the primary LSP/tree-sitter plugins only bundle default LSP configurations and tree-sitter queries respectively. They're also planning to include tree-sitter query bundling into Neovim natively somehow, to make it even less reliant on the nvim-treesitter plugin.

They recently simplified the LSP configuration and to configure a new LSP you basically do this:

    vim.lsp.config("expert", {
      cmd = { "expert" },
      root_markers = { "mix.exs", ".git" },
      filetypes = { "elixir", "eelixir", "heex" },
    })

    vim.lsp.enable("expert")
And then in the "LspAttach" autocmd you can define your LSP specific keymaps for example.
GCUMstlyHarmls 5 days ago | parent [-]

> And then in the "LspAttach" autocmd you can define your LSP specific keymaps for example.

If you want. It also now ships with most auto-mapped.

cassepipe 5 days ago | parent | prev | next [-]

I was the same and kept using vim for C/C++ development. vim-plug, gutentags (ctags manager), ALE did their job pretty well and I didn't bother to learn another way.

All that changed with web dev where you have to juggle with different syntaxes and tools... I decided I would just use a neovim distribution. I have tried many but Lunarvim (now inactive) and now Astronvim have served me well so far.

5 days ago | parent | prev | next [-]
[deleted]
normie3000 5 days ago | parent | prev [-]

Same, but I'm guessing it'll settle down in the next 5-10 years.