From ecb3cd59a6111d9804862fc98f7414ab84751684 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 3 Mar 2025 10:37:43 +0800 Subject: [PATCH] feat(nvf): add some misc options to nvimTree --- packages/nvf.nix | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/packages/nvf.nix b/packages/nvf.nix index f1a21fd..5b09316 100644 --- a/packages/nvf.nix +++ b/packages/nvf.nix @@ -1,4 +1,4 @@ -{pkgs, ...}: { +_: { config.vim = { # TODO: Install catppuccin theme.enable = true; @@ -36,6 +36,8 @@ }; hijack_cursor = true; view.side = "right"; + disable_netrw = true; + hijack_netrw = true; }; # TODO: # - allow me to move files around with vim bindings @@ -44,26 +46,30 @@ # Languages languages = { markdown.enable = true; - }; - - languages.nix = { - enable = true; - format.enable = true; - lsp.enable = true; - treesitter.enable = true; - extraDiagnostics.enable = true; + python.enable = true; + nix = { + enable = true; + format.enable = true; + lsp.enable = true; + treesitter.enable = true; + extraDiagnostics.enable = true; + }; }; # Lazy Loaded Plugins - lazy.plugins = { - # aerial.nvim = { package = aerial.nvim; after = "print('aerial loaded')"; }; - }; - # Load Plugins after Built-Ins - extraPlugins = with pkgs.vimPlugins; { - #harpoon = { package = harpoon; setup = "require('harpoon').setup {}"; }; - }; - # Add directly to init.lua - # Attribute names denote the section names - #luaConfigRC = { aquarium = "vim.cmd('colorscheme aquarium')"; }; + # lazy.plugins = { + # # aerial.nvim = { package = aerial.nvim; after = "print('aerial loaded')"; }; + # }; + # # Load Plugins after Built-Ins + # extraPlugins = + # /* + # with pkgs.vimPlugins; + # */ + # { + # #harpoon = { package = harpoon; setup = "require('harpoon').setup {}"; }; + # }; + # # Add directly to init.lua + # # Attribute names denote the section names + # #luaConfigRC = { aquarium = "vim.cmd('colorscheme aquarium')"; }; }; }