-
Notifications
You must be signed in to change notification settings - Fork 68
Installing LSP servers
Matthew Leong edited this page Dec 29, 2022
·
12 revisions
- Node.js
- prettierd (for prettier formatting w/null_ls, optional)
- eslint_d (for eslint w/null_ls, optional)
Install via
:MasonInstall eslint_d
:MasonInstall prettierd
Cosmic utilizes the plugin mason-lspconfig in order to facilitate super easy installation of any language server that you want.
By default, CosmicNvim will auto install an initial default list of LSP servers. You may choose to uninstall certain ones and install others as you like.
- Install server
:MasonInstall rust_analyzer
- Uninstall server
:MasonUninstall rust_analyzer
- List of servers available
:Mason
You can also install servers by enabling them in your config file here.
While my main day to day is JS/TS development, I've found Cosmic to work also work particularly will with Go, PHP, Python, and Lua.