update nushell neovim setup
This commit is contained in:
parent
c4c1236f9d
commit
09e963987e
1 changed files with 15 additions and 4 deletions
|
@ -1,7 +1,18 @@
|
||||||
return require("util").if_exe("nu", {
|
return require("util").if_exe("nu", {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
{
|
||||||
dependencies = {
|
"nvim-treesitter/nvim-treesitter",
|
||||||
{ "nushell/tree-sitter-nu" },
|
config = function()
|
||||||
|
require("nvim-treesitter.configs").setup({
|
||||||
|
ensure_installed = { "nu" }, -- Ensure the "nu" parser is installed
|
||||||
|
highlight = {
|
||||||
|
enable = true, -- Enable syntax highlighting
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
dependencies = {
|
||||||
|
-- Additional Nushell parser
|
||||||
|
{ "nushell/tree-sitter-nu", build = ":TSUpdate nu" },
|
||||||
|
},
|
||||||
|
build = ":TSUpdate",
|
||||||
},
|
},
|
||||||
build = ":TSUpdate",
|
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue