• felbane@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    5 days ago

    VScode is certainly a heck of a lot easier to get LSPs working than e.g. vim.

    If someone made it actually easy to set up neovim with lsp support that works as well as with vscode, there’d be no reason to give Microsoft any attention at all

    • Mikina@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      This was one of my biggest issues, but I did manage to succesfully switch to nvim few months ago, by installing ideavim into Rider, vscode-vim into vscode (so I can’t easily escape it when I get lazy), but most importantly - setting LazyVim as my default editor, which has been a lifesaver.

      It has a pretty good LazyExtras interface for easily installing a ton of plugins, almost for every language. You just open the LazyVim menu, select a language you want, and it installs LSPs, debuggers and whatnot you may need for it. It’s probably using the nvim-lspconfig mentioned in other comments, but it has been pretty seamless.

      But any other pre-made nvim config will work, this one is just more approachable than someone’s random plugin list.

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 days ago

      Is the LSP support a plugin in Neo-/Vim ?

      In Kate, you just install the LSP server, which is typically as simple as apt install marksman and then Kate will automatically start it when it encounters an appropriate file.

      Kate also has a Vi Mode, if that’s what you’re looking for. ¯\_(ツ)_/¯