From 771d41254f0306ddc61345cac766496b575bba06 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 16 Sep 2023 09:55:10 -0400 Subject: [PATCH] partial fix to bash and tree-sitter still not working in opening bash files but works for other files --- flake.lock | 16 ++++++++-------- flake.nix | 7 ++++--- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index fe0bd8a..300d7cf 100644 --- a/flake.lock +++ b/flake.lock @@ -466,16 +466,16 @@ "nvim-treesitter-src": { "flake": false, "locked": { - "lastModified": 1681121236, - "narHash": "sha256-iPsPDLhVKJ14iP1/2cCgcY9SCKK/DQz9Y0mQB1DqNiM=", + "lastModified": 1691831669, + "narHash": "sha256-1Iuvq0hVQ7LyBYOkJ5d07NkwbGcR1K61ZZmAAA7ABGs=", "owner": "nvim-treesitter", "repo": "nvim-treesitter", - "rev": "cc360a9beb1b30d172438f640e2c3450358c4086", + "rev": "63260da18bf273c76b8e2ea0db84eb901cab49ce", "type": "github" }, "original": { "owner": "nvim-treesitter", - "ref": "v0.9.0", + "ref": "v0.9.1", "repo": "nvim-treesitter", "type": "github" } @@ -641,17 +641,17 @@ "tree-sitter-bash": { "flake": false, "locked": { - "lastModified": 1688032601, - "narHash": "sha256-gl5F3IeZa2VqyH/qFj8ey2pRbGq4X8DL5wiyvRrH56U=", + "lastModified": 1692987612, + "narHash": "sha256-SP6s1bUvh1cXt3xQzdY9yVWq0BstfP1tjBedSQPPDC4=", "owner": "tree-sitter", "repo": "tree-sitter-bash", - "rev": "493646764e7ad61ce63ce3b8c59ebeb37f71b841", + "rev": "cc65fbeb028e7892f59bf3a609212bb0afbaa2d0", "type": "github" }, "original": { "owner": "tree-sitter", + "ref": "v0.20.3", "repo": "tree-sitter-bash", - "rev": "493646764e7ad61ce63ce3b8c59ebeb37f71b841", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 6e44ba4..bd51543 100644 --- a/flake.nix +++ b/flake.nix @@ -64,6 +64,7 @@ # Neovim plugins nvim-lspconfig-src = { + # https://github.com/neovim/nvim-lspconfig/tags url = "github:neovim/nvim-lspconfig/v0.1.6"; flake = false; }; @@ -84,7 +85,8 @@ flake = false; }; nvim-treesitter-src = { - url = "github:nvim-treesitter/nvim-treesitter/v0.9.0"; + # https://github.com/nvim-treesitter/nvim-treesitter/tags + url = "github:nvim-treesitter/nvim-treesitter/v0.9.1"; flake = false; }; telescope-nvim-src = { @@ -120,8 +122,7 @@ tree-sitter-bash = { # Fix: bash highlighting doesn't work as of this commit: # https://github.com/NixOS/nixpkgs/commit/49cce41b7c5f6b88570a482355d9655ca19c1029 - url = - "github:tree-sitter/tree-sitter-bash/493646764e7ad61ce63ce3b8c59ebeb37f71b841"; + url = "github:tree-sitter/tree-sitter-bash/v0.20.3"; flake = false; }; tree-sitter-python = {