diff --git a/installation/neovim.md b/installation/neovim.md index 9f698cf..ff5795d 100644 --- a/installation/neovim.md +++ b/installation/neovim.md @@ -8,10 +8,15 @@ Extend your lazy config with treesitter and the nu parser. The parser doesn't ha { "nvim-treesitter/nvim-treesitter", config = function() - -- setup treesitter with config + require("nvim-treesitter.configs").setup { + ensure_installed = { "nu" }, -- Ensure the "nu" parser is installed + highlight = { + enable = true, -- Enable syntax highlighting + }, + } end, dependencies = { - -- NOTE: additional parser + -- Additional Nushell parser { "nushell/tree-sitter-nu", build = ":TSUpdate nu" }, }, build = ":TSUpdate",