vim: fix breaking change

This commit is contained in:
vincent 2023-05-08 18:11:51 +02:00
parent 6bce12a461
commit e90048ebda
2 changed files with 3 additions and 4 deletions

View File

@ -10,9 +10,9 @@ local servers = {
"pyright",
"pylsp",
"rnix",
"sumneko_lua",
"lua_ls",
"marksman",
"sqls",
"sqlls",
"terraformls",
"tflint",
"tsserver",

View File

@ -32,5 +32,4 @@ configs.setup({
},
})
local ft_to_parser = require"nvim-treesitter.parsers".filetype_to_parsername
ft_to_parser.nomad = "hcl"
vim.treesitter.language.register("nomad","hcl")