mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(extras.nushell): update to upstream treesitter
This commit is contained in:
parent
75750be1c0
commit
c6d87f8092
1 changed files with 1 additions and 18 deletions
|
|
@ -12,23 +12,6 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
dependencies = {
|
opts = { ensure_installed = { "nu" } },
|
||||||
{ "nushell/tree-sitter-nu" },
|
|
||||||
},
|
|
||||||
opts = function(_, opts)
|
|
||||||
---@diagnostic disable-next-line: inject-field
|
|
||||||
require("nvim-treesitter.parsers").get_parser_configs().nu = {
|
|
||||||
install_info = {
|
|
||||||
url = "https://github.com/nushell/tree-sitter-nu",
|
|
||||||
files = { "src/parser.c" },
|
|
||||||
branch = "main",
|
|
||||||
},
|
|
||||||
filetype = "nu",
|
|
||||||
}
|
|
||||||
|
|
||||||
if type(opts.ensure_installed) == "table" then
|
|
||||||
vim.list_extend(opts.ensure_installed, { "nu" })
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue