diff --git a/init.lua b/init.lua index 4a1380f8..94af65f7 100644 --- a/init.lua +++ b/init.lua @@ -1094,6 +1094,8 @@ require('lazy').setup({ 'typescript', 'javascript', -- 'ts_ls', + 'nu', + -- 'nix', 'css', 'json', 'comment', @@ -1104,6 +1106,11 @@ require('lazy').setup({ 'toml', 'yaml', }, + dependencies = { + -- Install official queries and filetype detection + -- alternatively, see section "Install official queries only" + { 'nushell/tree-sitter-nu' }, + }, -- Autoinstall languages that are not installed auto_install = true, highlight = { @@ -1122,13 +1129,6 @@ require('lazy').setup({ -- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context -- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects }, - -- 'nu', - -- }, - -- dependencies = { - -- -- Install official queries and filetype detection - -- -- alternatively, see section "Install official queries only" - -- { 'nushell/tree-sitter-nu' }, - -- }, -- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the -- init.lua. If you want these files, they are in the repository, so you can just download them and diff --git a/lua/custom/plugins/symbols.lua b/lua/custom/plugins/symbols.lua new file mode 100644 index 00000000..2de07169 --- /dev/null +++ b/lua/custom/plugins/symbols.lua @@ -0,0 +1,13 @@ +return { + { + 'stevearc/aerial.nvim', + opts = { + -- open_automatic = true, + }, + -- Optional dependencies + dependencies = { + 'nvim-treesitter/nvim-treesitter', + 'nvim-tree/nvim-web-devicons', + }, + }, +}