diff --git a/nix/home.nix b/nix/home.nix index 60763dc..9bb9694 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -16,6 +16,14 @@ sshfs just espeak + fd + sd + hugo + scc + tre-command + diskonaut + hyperfine + curl ]; # Home Manager is pretty good at managing dotfiles. The primary way to manage diff --git a/nix/nvim/lsp/lsp.nix b/nix/nvim/lsp/lsp.nix index 482c69e..faeec65 100644 --- a/nix/nvim/lsp/lsp.nix +++ b/nix/nvim/lsp/lsp.nix @@ -188,7 +188,7 @@ ]; }; imports = [ - ./outline.nix + # ./outline.nix ./rust-tools.nix ]; } diff --git a/nix/nvim/lsp/outline.nix b/nix/nvim/lsp/outline.nix index bab6d46..2524f8b 100644 --- a/nix/nvim/lsp/outline.nix +++ b/nix/nvim/lsp/outline.nix @@ -18,5 +18,6 @@ extraPlugins = [ pkgs.vimPlugins.outline-nvim ]; + extraConfigLua=''require("outline").setup({})''; }; } diff --git a/nix/nvim/treesitter/arial.nix b/nix/nvim/treesitter/arial.nix new file mode 100644 index 0000000..c79e812 --- /dev/null +++ b/nix/nvim/treesitter/arial.nix @@ -0,0 +1,23 @@ +{ + configs, + pkgs, + ... +}: { + programs.nixvim = { + keymaps = [ + { + action = ":AerialToggle!"; + key = "o"; + mode = "n"; + options = { + silent = true; + desc = "toggle outline"; + }; + } + ]; + extraPlugins = [ + pkgs.vimPlugins.aerial-nvim + ]; + extraConfigLua=''require("aerial").setup({})''; + }; +} diff --git a/nix/nvim/treesitter/treesitter.nix b/nix/nvim/treesitter/treesitter.nix index 2099592..a1ae9c7 100644 --- a/nix/nvim/treesitter/treesitter.nix +++ b/nix/nvim/treesitter/treesitter.nix @@ -15,8 +15,10 @@ extraPlugins = [ pkgs.vimPlugins.treesj ]; + extraConfigLua=''require("treesj").setup({})''; }; imports = [ ./rainbow-delimiters.nix + ./arial.nix ]; }