My Nix Configuration
2
fork

Configure Feed

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

[neovim] config updates

dish 5087abfc 990146a2

+107 -18
+3 -13
neovim/basics.nix
··· 2 2 { 3 3 imports = [ 4 4 # keep-sorted start 5 + ./plugins/blink-cmp.nix 6 + ./plugins/blink-indent.nix 5 7 ./plugins/colorizer.nix 6 8 ./plugins/lualine.nix 7 9 ./plugins/nvim-lint.nix 8 10 ./plugins/mini.nix 9 11 ./plugins/rainbow-delimiters.nix 10 12 ./plugins/snacks.nix 13 + ./misc/colorscheme.nix 11 14 # keep-sorted end 12 15 ]; 13 16 config.vim = { ··· 25 28 withPython3 = false; 26 29 withRuby = false; 27 30 syntaxHighlighting = true; 28 - autocomplete.blink-cmp = { 29 - enable = true; 30 - setupOpts = { 31 - completion.menu.border = "single"; 32 - signature.enabled = true; 33 - signature.trigger.enabled = true; 34 - }; 35 - }; 36 31 autopairs.nvim-autopairs.enable = true; 37 32 lineNumberMode = "relNumber"; 38 - theme = { 39 - enable = true; 40 - name = "catppuccin"; 41 - style = "mocha"; 42 - }; 43 33 ui = { 44 34 borders = { 45 35 enable = true;
+1 -4
neovim/dishvim.nix
··· 13 13 ./languages/rust.nix 14 14 ./languages/sql.nix 15 15 ./languages/toml.nix 16 + ./languages/typst.nix 16 17 ./misc/cursor-restore.nix 17 18 ./plugins/dial-nvim.nix 18 19 ./plugins/hlargs-nvim.nix ··· 62 63 lsp.servers = [ "nixd" ]; 63 64 }; 64 65 qml.enable = true; 65 - typst = { 66 - enable = true; 67 - extensions.typst-preview-nvim.enable = true; 68 - }; 69 66 yaml.enable = true; 70 67 }; 71 68 visuals.fidget-nvim = {
+18
neovim/languages/typst.nix
··· 1 + { config, ... }: 2 + let 3 + cfg = config.vim.languages.typst; 4 + in 5 + { 6 + config.vim = { 7 + languages.typst = { 8 + enable = true; 9 + extensions.typst-preview-nvim.enable = false; 10 + }; 11 + lazy.plugins.typst-preview-nvim = { 12 + package = "typst-preview-nvim"; 13 + setupModule = "typst-preview"; 14 + inherit (cfg.extensions.typst-preview-nvim) setupOpts; 15 + ft = [ "typst" ]; 16 + }; 17 + }; 18 + }
+36
neovim/misc/colorscheme.nix
··· 1 + { lib, ... }: 2 + { 3 + config.vim = { 4 + startPlugins = [ "catppuccin" ]; 5 + luaConfigRC.theme = lib.nvim.dag.entryBefore [ "pluginConfigs" "lazyConfigs" ] '' 6 + -- Catppuccin theme 7 + require('catppuccin').setup { 8 + flavour = "mocha", 9 + transparent_background = false, 10 + float = { 11 + transparent = false, 12 + }, 13 + term_colors = true, 14 + integrations = { 15 + blink_cmp = { 16 + style = 'single', 17 + }, 18 + blink_indent = true, 19 + fidget = true, 20 + gitsigns = true, 21 + render_markdown = true, 22 + lsp_trouble = true, 23 + neogit = true, 24 + notify = true, 25 + treesitter = true, 26 + treesitter_context = true, 27 + render_markdown = true, 28 + ts_rainbow = true, 29 + which_key = true, 30 + }, 31 + } 32 + -- setup must be called before loading 33 + vim.cmd.colorscheme "catppuccin" 34 + ''; 35 + }; 36 + }
-1
neovim/plugins/snacks.nix
··· 9 9 size = 1024 * 1024; 10 10 }; 11 11 image.enabled = true; 12 - indent.enabled = true; 13 12 picker.enabled = true; 14 13 quickfile.enabled = true; 15 14 };