From 2572513c44f5119256c531805b6349a83fde7247 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Sun, 6 Oct 2024 17:55:21 +0200 Subject: [PATCH] Do not configure neovim via nix, use lazyvim instead --- modules/home/neovim/default.nix | 66 ++++++++++++++++++--------------- 1 file changed, 37 insertions(+), 29 deletions(-) diff --git a/modules/home/neovim/default.nix b/modules/home/neovim/default.nix index 380a1ff..6b612f5 100644 --- a/modules/home/neovim/default.nix +++ b/modules/home/neovim/default.nix @@ -35,6 +35,14 @@ in VISUAL = "nvim"; }; + home.packages = with pkgs; [ + git + gnumake + gcc + ripgrep + fd + ]; + programs.neovim = let toLua = str: '' @@ -50,39 +58,39 @@ in vimAlias = true; # vimdiffAlias = true; - plugins = with pkgs.vimPlugins; [ - { - plugin = dracula-nvim; - config = "colorscheme dracula"; - } - { - plugin = comment-nvim; - config = toLua ''require("Comment").setup()''; - } + # plugins = with pkgs.vimPlugins; [ + # { + # plugin = dracula-nvim; + # config = "colorscheme dracula"; + # } + # { + # plugin = comment-nvim; + # config = toLua ''require("Comment").setup()''; + # } - # nix file support - vim-nix + # # nix file support + # vim-nix - # Syntax highlighting - (nvim-treesitter.withPlugins (p: [ - p.tree-sitter-nix - p.tree-sitter-vim - p.tree-sitter-bash - p.tree-sitter-lua - p.tree-sitter-python - p.tree-sitter-json - p.tree-sitter-cpp - p.tree-sitter-rust - ])) - ]; + # # Syntax highlighting + # (nvim-treesitter.withPlugins (p: [ + # p.tree-sitter-nix + # p.tree-sitter-vim + # p.tree-sitter-bash + # p.tree-sitter-lua + # p.tree-sitter-python + # p.tree-sitter-json + # p.tree-sitter-cpp + # p.tree-sitter-rust + # ])) + # ]; - extraConfig = '' - set clipboard=unnamedplus - ''; + # extraConfig = '' + # set clipboard=unnamedplus + # ''; - extraLuaConfig = '' - vim.o.termguicolors = true - ''; + # extraLuaConfig = '' + # vim.o.termguicolors = true + # ''; }; }; }