by lobstrosity420 · 5y ago · 0 comments
- there is no straight forward way to add ESLint, had to end up using a project that takes command line input and transforms it into LSP - works great but feels kind of hacky. Setting up ESLint via CoC is of course a single command.
- if you use CSS-in-JS there is no option for you right now in terms of syntax highlighting and completion. This was also a single command to setup in CoC.
- just how much harder it is to setup stuff in general. CoC is a breeze to setup.
However, it is hard for me to overstate how much performance I got out of the switch. Everything feels super ultra snappy now, the same feel as vanilla neovim with zero plugins. It has been so worth it for me. I expect most of the issues that native LSP has to go away as the ecosystem matures a bit. Right now I'm still not sure I'd recommend the switch.
Just a heads up for you:
eslint support apparently got added recently: https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG....
CSS-in-JS can be enabled with a extension for typescript: https://github.com/microsoft/typescript-styled-plugin
you need a jsconfig.json, but it works fine :)