@@ -20,8 +20,8 @@ return {
20
20
event = { ' BufReadPre' , ' BufNewFile' },
21
21
dependencies = {
22
22
-- Automatically install LSPs and related tools to stdpath for Neovim
23
- { ' mason-org/mason.nvim' , opts = {} },
24
- ' mason-org/mason-lspconfig.nvim' ,
23
+ { ' mason-org/mason.nvim' , version = ' v1.* ' , opts = {} },
24
+ { ' mason-org/mason-lspconfig.nvim' , version = ' v1.* ' } ,
25
25
' WhoIsSethDaniel/mason-tool-installer.nvim' ,
26
26
27
27
-- Useful status updates for LSP.
@@ -324,7 +324,19 @@ return {
324
324
typos_lsp = {},
325
325
326
326
-- YAML
327
- yamlls = {},
327
+ yamlls = {
328
+ settings = {
329
+ yaml = {
330
+ customTags = {
331
+ ' !secret scalar' ,
332
+ ' !include scalar' ,
333
+ ' !include_dir_merge_named scalar' ,
334
+ ' !include_dir_merge_list scalar' ,
335
+ ' !input scalar' ,
336
+ },
337
+ },
338
+ },
339
+ },
328
340
}
329
341
330
342
-- Ensure the servers and tools above are installed
@@ -355,9 +367,6 @@ return {
355
367
automatic_installation = false ,
356
368
handlers = {
357
369
function (server_name )
358
- -- https://github.com/neovim/nvim-lspconfig/pull/3232#issuecomment-2331025714
359
- -- if server_name == 'tsserver' then server_name = 'ts_ls' end
360
-
361
370
local server = servers [server_name ] or {}
362
371
-- This handles overriding only values explicitly passed
363
372
-- by the server configuration above. Useful when disabling
0 commit comments