diff options
author | Freya Murphy <freya@freyacat.org> | 2025-06-23 22:33:44 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-06-23 22:33:44 -0400 |
commit | 328c741b1aac74020412e99e0dca7c728dbc92fa (patch) | |
tree | 461f4ebcd3252d542749a34668defd62de356c73 /programs/neovim/default.nix | |
parent | removed unused packages (diff) | |
download | dotfiles-nix-328c741b1aac74020412e99e0dca7c728dbc92fa.tar.gz dotfiles-nix-328c741b1aac74020412e99e0dca7c728dbc92fa.tar.bz2 dotfiles-nix-328c741b1aac74020412e99e0dca7c728dbc92fa.zip |
refactor
Diffstat (limited to 'programs/neovim/default.nix')
-rw-r--r-- | programs/neovim/default.nix | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/programs/neovim/default.nix b/programs/neovim/default.nix deleted file mode 100644 index c1ed000..0000000 --- a/programs/neovim/default.nix +++ /dev/null @@ -1,74 +0,0 @@ -{ - inputs, - config, - lib, - pkgs, - ... -}: let - lua_cfg = import ./config.nix {inherit config inputs;}; - lua = builtins.readFile ./init.lua; -in { - environment.variables.EDITOR = "nvim"; - - home-manager.users.${config.user} = { - programs.neovim = { - enable = true; - viAlias = true; - vimAlias = true; - - extraLuaConfig = '' - local config = ${lua_cfg} - - ${lua} - ''; - - plugins = with pkgs.vimPlugins; [ - # Dependencies - vim-devicons - nvim-web-devicons - plenary-nvim - # Colorscheme - base16-nvim - # Mode line - lualine-nvim - # Buffer line - bufferline-nvim - # File browser - nvim-tree-lua - # Undo tree - undotree - # Trouble (error menu) - trouble-nvim - # Telescope (buffers/find/grep/help) - telescope-nvim - # Snippets - vim-vsnip - vim-vsnip-integ - friendly-snippets - # Completion - cmp-buffer - cmp-nvim-lsp - cmp-vsnip - nvim-cmp - # Sourround delimiters - nvim-surround - # Comment functions - nerdcommenter - # Treesitter - nvim-treesitter.withAllGrammars - # Syntax hilighting - vim-illuminate - # Todo comments - todo-comments-nvim - # Lsp server - nvim-lspconfig - # Notifications - fidget-nvim - # Auto indentation - indent-o-matic - # 80 column width - virt-column-nvim - ]; - }; - }; -} |