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", {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = { "nu" }, -- Ensure the "nu" parser is installed
|
||||
highlight = {
|
||||
enable = true, -- Enable syntax highlighting
|
||||
},
|
||||
})
|
||||
end,
|
||||
dependencies = {
|
||||
{ "nushell/tree-sitter-nu" },
|
||||
-- Additional Nushell parser
|
||||
{ "nushell/tree-sitter-nu", build = ":TSUpdate nu" },
|
||||
},
|
||||
build = ":TSUpdate",
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue