update filetypes for yaml languages
This commit is contained in:
@@ -33,8 +33,6 @@ return {
|
||||
---@type MasonLspconfigSettings
|
||||
require('mason-lspconfig').setup({
|
||||
automatic_enable = true,
|
||||
-- Replace the language servers listed here
|
||||
-- with the ones you want to install
|
||||
ensure_installed = {
|
||||
'ts_ls',
|
||||
'lua_ls',
|
||||
@@ -58,7 +56,7 @@ return {
|
||||
---@type lspconfig.Config
|
||||
vim.lsp.config('pylsp', {
|
||||
settings = {
|
||||
['pylsp'] = {
|
||||
pylsp = {
|
||||
plugins = {
|
||||
autopep8 = {
|
||||
enabled = false,
|
||||
@@ -77,13 +75,19 @@ return {
|
||||
|
||||
vim.lsp.config('helm_ls', {
|
||||
settings = {
|
||||
['helm_ls'] = {
|
||||
helmLint = { enabled = false },
|
||||
helm_ls = {
|
||||
yamlls = { enabled = false },
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
vim.lsp.config('yamlls', {
|
||||
filetypes = { 'yaml' },
|
||||
settings = {
|
||||
yaml = { enable = true, },
|
||||
}
|
||||
})
|
||||
|
||||
vim.lsp.config('terraformls', {
|
||||
filetypes = { 'terraform', 'terraform-vars' },
|
||||
-- run terraformls once for a git repo
|
||||
|
||||
Reference in New Issue
Block a user