fix(nvim): add treesitter for nix

This commit is contained in:
Michael Thomas 2023-11-13 12:44:04 -05:00
parent e6ca6bb25a
commit 754404ace1

View File

@ -4,9 +4,42 @@ return {
---@class PluginLspOpts
opts = {
---@type lspconfig.options
---@diagnostic disable-next-line: missing-fields
servers = {
nil_ls = {},
},
},
},
{
"nvim-treesitter/nvim-treesitter",
---@type TSConfig
---@diagnostic disable-next-line: missing-fields
opts = {
ensure_installed = {
"bash",
"c",
"diff",
"html",
"javascript",
"jsdoc",
"json",
"jsonc",
"lua",
"luadoc",
"luap",
"markdown",
"markdown_inline",
"python",
"query",
"regex",
"toml",
"tsx",
"typescript",
"vim",
"vimdoc",
"yaml",
"nix",
},
},
},
}