From ff493b29924d65bf4d2c090e141099855da74bba Mon Sep 17 00:00:00 2001 From: Mora Unie Youer Date: Thu, 6 Mar 2025 18:31:31 +0300 Subject: feat: using NeoVim Nightly --- flake.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 2071bb1..6a671a4 100644 --- a/flake.nix +++ b/flake.nix @@ -24,9 +24,9 @@ nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nixCats.url = "github:BirdeeHub/nixCats-nvim"; - # neovim-nightly-overlay = { - # url = "github:nix-community/neovim-nightly-overlay"; - # }; + neovim-nightly-overlay = { + url = "github:nix-community/neovim-nightly-overlay"; + }; # see :help nixCats.flake.inputs # If you want your plugin to be loaded by the standard overlay, @@ -111,6 +111,8 @@ general = with pkgs.vimPlugins; { always = [ lze lzextras ]; + + extra = [ nvim-web-devicons ]; }; theme = with pkgs.vimPlugins; (builtins.getAttr (categories.colorscheme or "catppuccin-mocha") { @@ -131,6 +133,9 @@ treesitter = [ nvim-treesitter.withAllGrammars nvim-treesitter-textobjects ]; completion = [ blink-cmp ]; + # NOTE: On NeoVim 0.11+ nvim-lspconfig is not required due to native API + # lsp = [ nvim-lspconfig mason-nvim mason-lspconfig-nvim ]; + lsp = []; extra = [ which-key-nvim ]; }; @@ -197,7 +202,7 @@ # IMPORTANT: # your alias may not conflict with your other packages. aliases = [ "vim" ]; - # neovim-unwrapped = inputs.neovim-nightly-overlay.packages.${pkgs.system}.neovim; + neovim-unwrapped = inputs.neovim-nightly-overlay.packages.${pkgs.system}.neovim; }; # and a set of categories that you want # (and other information to pass to lua) -- cgit v1.2.3-70-g09d2