fix Mason LSP autoinstall names
This commit is contained in:
parent
0c4bee0133
commit
ca3f2997e1
2 changed files with 7 additions and 4 deletions
2
init.lua
2
init.lua
|
|
@ -12,6 +12,8 @@ See https://blog.nikfp.com/how-to-install-and-set-up-neovim-on-windows
|
||||||
- ripgrep (https://github.com/BurntSushi/ripgrep, used by telescope)
|
- ripgrep (https://github.com/BurntSushi/ripgrep, used by telescope)
|
||||||
- fd (https://github.com/sharkdp/fd, used by telescope)
|
- fd (https://github.com/sharkdp/fd, used by telescope)
|
||||||
- A Nerd font (https://www.nerdfonts.com/, used by nvim-web-devicons)
|
- A Nerd font (https://www.nerdfonts.com/, used by nvim-web-devicons)
|
||||||
|
- nodejs-lts (used for npm to install prettier)
|
||||||
|
- then run "npm i -g npm"
|
||||||
- zig, wget, unzip, git, fzf
|
- zig, wget, unzip, git, fzf
|
||||||
- make, mingw, cmake (https://github.com/nvim-telescope/telescope-fzf-native.nvim#installation)
|
- make, mingw, cmake (https://github.com/nvim-telescope/telescope-fzf-native.nvim#installation)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -80,10 +80,11 @@ return {
|
||||||
|
|
||||||
require("mason-lspconfig").setup({
|
require("mason-lspconfig").setup({
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"marksman",
|
"bashls",
|
||||||
"prettier",
|
"jsonls",
|
||||||
"stylua",
|
"lua_ls",
|
||||||
"black",
|
"vimls",
|
||||||
|
"yamlls",
|
||||||
},
|
},
|
||||||
handlers = {
|
handlers = {
|
||||||
-- names must align with Mason names
|
-- names must align with Mason names
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue