mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 14:37:15 +01:00
add my defaults to be installed by mason
This commit is contained in:
@@ -201,7 +201,6 @@ return {
|
||||
-- ts_ls = {},
|
||||
--
|
||||
|
||||
eslint = { enable = true },
|
||||
vtsls = {
|
||||
root_dir = function(bufnr, cb)
|
||||
local fname = vim.api.nvim_buf_get_name(bufnr)
|
||||
@@ -246,6 +245,14 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
bashls = { enable = true },
|
||||
cssls = { enable = true },
|
||||
html = { enable = true },
|
||||
jsonls = { enable = true },
|
||||
marksman = { enable = true },
|
||||
sqlls = { enable = true },
|
||||
yamlls = { enabled = true },
|
||||
}
|
||||
|
||||
---@type MasonLspconfigSettings
|
||||
@@ -270,6 +277,13 @@ return {
|
||||
local ensure_installed = vim.tbl_keys(servers or {})
|
||||
vim.list_extend(ensure_installed, {
|
||||
'stylua', -- Used to format Lua code
|
||||
'eslint_d',
|
||||
'prettierd',
|
||||
'checkmake',
|
||||
'hadolint',
|
||||
'shellcheck',
|
||||
'shfmt',
|
||||
'sqlfluff',
|
||||
})
|
||||
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user