dotfiles/home/private_dot_config/nvim/lua/plugins/language/nu.lua

19 lines
492 B
Lua
Raw Normal View History

return require("util").if_exe("nu", {
2024-11-22 17:12:52 -06:00
{
"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 = {
-- Additional Nushell parser
{ "nushell/tree-sitter-nu", build = ":TSUpdate nu" },
},
build = ":TSUpdate",
2024-06-13 13:22:15 -05:00
},
})