My Nix Configuration
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[dishvim] add minvim

dish 426bca10 00147034

+50
+7
neovim/default.nix
··· 14 14 ./dishvim.nix 15 15 ]; 16 16 }).neovim; 17 + minvim = 18 + (inputs.nvf.lib.neovimConfiguration { 19 + inherit pkgs; 20 + modules = [ 21 + ./minvim.nix 22 + ]; 23 + }).neovim; 17 24 }; 18 25 }; 19 26 }
+43
neovim/minvim.nix
··· 1 + { pkgs, ... }: 2 + { 3 + imports = [ 4 + # keep-sorted start 5 + ./basics.nix 6 + ./git.nix 7 + ./lualine.nix 8 + ./misc/cursor-restore.nix 9 + ./plugins/dial-nvim.nix 10 + ./plugins/hlargs-nvim.nix 11 + ./plugins/trouble.nix 12 + # keep-sorted end 13 + ]; 14 + config.vim = { 15 + treesitter.enable = true; 16 + binds.whichKey = { 17 + enable = true; 18 + register = { 19 + "<leader>l" = "+LSP"; 20 + }; 21 + }; 22 + lsp = { 23 + enable = true; 24 + formatOnSave = true; 25 + inlayHints.enable = true; 26 + mappings.renameSymbol = "<Leader>lr"; 27 + mappings.toggleFormatOnSave = "<Leader>uf"; 28 + }; 29 + # Languages 30 + languages = { 31 + enableFormat = true; 32 + enableTreesitter = true; 33 + enableExtraDiagnostics = true; 34 + just.enable = true; 35 + just.lsp.enable = false; 36 + nix = { 37 + enable = true; 38 + format.type = [ "nixfmt" ]; 39 + lsp.enable = false; 40 + }; 41 + }; 42 + }; 43 + }