From e1ccc891650e3494355e5bcc70254a8e2f5fbd0b Mon Sep 17 00:00:00 2001 From: schererleander Date: Sun, 11 May 2025 02:07:58 +0200 Subject: use nvf --- modules/neovim/default.nix | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 modules/neovim/default.nix (limited to 'modules/neovim/default.nix') diff --git a/modules/neovim/default.nix b/modules/neovim/default.nix deleted file mode 100644 index e352b57..0000000 --- a/modules/neovim/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ config, lib, pkgs, ... }: - -let - cfg = config.neovim; -in { - options.neovim.enable = lib.mkEnableOption "Enable and setup neovim"; - - config = lib.mkIf cfg.enable { - programs.neovim = { - enable = true; - vimAlias = true; - - extraPackages = with pkgs; [ - lua-language-server - ]; - - plugins = with pkgs.vimPlugins; [ - lazy-nvim - nvim-lspconfig - friendly-snippets - telescope-nvim - - (nvim-treesitter.withPlugins (plugins: with plugins; [ - tree-sitter-bash - tree-sitter-c - tree-sitter-json - tree-sitter-lua - tree-sitter-python - tree-sitter-nix - tree-sitter-vim - tree-sitter-vimdoc - tree-sitter-yaml - tree-sitter-markdown - tree-sitter-markdown_inline - ])) - ]; - }; - - xdg.configFile."nvim/lua".source = ./lua; - - home.sessionVariables = rec { - EDITOR = "nvim"; - GIT_EDITOR = EDITOR; - }; - }; -} \ No newline at end of file -- cgit v1.3.1