summaryrefslogtreecommitdiff
path: root/users/seth
diff options
context:
space:
mode:
authorseth <[email protected]>2023-02-26 12:32:09 -0500
committerseth <[email protected]>2023-02-26 12:32:09 -0500
commit38495f3345276bb52fabfc247a7ec2dfc0df03be (patch)
tree551af3ba7b49d32f28597cf4fb2607fed6bb6398 /users/seth
parent132974259ccd0fe21305b0b07d9873668f10a417 (diff)
use stable version of nvim-treesitter
Diffstat (limited to 'users/seth')
-rw-r--r--users/seth/programs/neovim.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/users/seth/programs/neovim.nix b/users/seth/programs/neovim.nix
index 0f09c43..512e939 100644
--- a/users/seth/programs/neovim.nix
+++ b/users/seth/programs/neovim.nix
@@ -1,4 +1,10 @@
-{pkgs, ...}: {
+{
+ pkgs,
+ nixpkgsStable,
+ ...
+}: let
+ treesitter-pinned = import nixpkgsStable {system = "x86_64-linux";};
+in {
programs.neovim = {
enable = true;
defaultEditor = true;
@@ -36,7 +42,7 @@
nvim-lspconfig
null-ls-nvim
nvim-tree-lua
- nvim-treesitter.withAllGrammars
+ treesitter-pinned.pkgs.vimPlugins.nvim-treesitter.withAllGrammars
nvim-web-devicons
plenary-nvim
telescope-nvim