this post was submitted on 13 Jun 2023
15 points (100.0% liked)

Neovim

2155 readers
3 users here now

founded 1 year ago
MODERATORS
 

Hi all! I installed nvim and completed the tutorial. I have been using CLion, PyCharm, IntelliJ IDEA, and VSCode. I primarily use an Ubuntu OS. I am open to a different distro.

When I tried to configure VSCode to allow me to use C++, Python, Java, and Assembly on one IDE it became unstable. Can nvim handle that?

Where do I go to figure how to customize this thing? For example, I don't know what I should be installing for basic linting (I'm still a student). Do I need different modules for each language? Any resources would be most appreciated.

Thank you!

you are viewing a single comment's thread
view the rest of the comments
[–] jnovinger 4 points 1 year ago (1 children)

Hey @[email protected] , I can't answer that specific questions, as I don't generally do anything with Java or Assembly. However, vim/neovim's ability to target features base on filetype is really helpful. It means that you can configure any particular plugin or feature to only work with *.py files, which is the python filetype in neovim.

I started with vim a long time ago and migrated to neovim a couple of years ago, so my personal configuration is kind of all over the place. With vim, I used things like python-mode which is all-in-one sort of Python plugin for vim.

Recently, on neovim, I've switched that out to use a Language Server Protocol plugin, like neovim/nsm-lspconfig for overall LSP configuration and language specific LSP servers, like python-lsp-server for Python.

You can get the LSP stuff for Python going by following the directions in neovim/nsm-lspconfig's README and in the projects server_configurations.md. server_configurations.md also contains tips for many other language/project specific LSP servers.

I'll see if I can boil my current config down to a minimum for LSP stuff later and post a link.

[–] chaoticAnimals 3 points 1 year ago (1 children)

That would be so appreciated. Thank you for all the info too!

[–] jnovinger 2 points 1 year ago* (last edited 1 year ago)

Hey @[email protected], my apologies for not getting back to this. kickstart.nvim that @[email protected] mentions is exactly what I was thinking and is probably much better thought out.