diff options
| author | schererleander <leander@schererleander.de> | 2025-05-11 02:07:58 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-05-11 02:07:58 +0200 |
| commit | e1ccc891650e3494355e5bcc70254a8e2f5fbd0b (patch) | |
| tree | ce92d5acccb30d92ae443dedbf026e4e2b214ecd /modules/neovim/default.nix | |
| parent | aba1e0c7102c23d217f7a682b98df5fb1aac202e (diff) | |
use nvf
Diffstat (limited to 'modules/neovim/default.nix')
| -rw-r--r-- | modules/neovim/default.nix | 46 |
1 files changed, 0 insertions, 46 deletions
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 |
