Skip to content

Commit

Permalink
fix(snapshot): fix missing keyword in treesitter spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Mar 14, 2024
1 parent 2741ce4 commit 2fcb9e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/astronvim/utils/updater.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function M.generate_snapshot(write)
file:write(
( -- add hard code for neovim 0.8 support
plugin[1] == "nvim-treesitter/nvim-treesitter"
and 'vim.fn.has "nvim-0.9" ~= 1 and "63260da18bf273c76b8e2ea0db84eb901cab49ce" or %q'
and 'commit = vim.fn.has "nvim-0.9" ~= 1 and "63260da18bf273c76b8e2ea0db84eb901cab49ce" or %q'
or "commit = %q"
):format(plugin.commit)
)
Expand Down
2 changes: 1 addition & 1 deletion lua/lazy_snapshot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ return {
{ "nvim-telescope/telescope-fzf-native.nvim", commit = "9ef21b2e6bb6ebeaf349a0781745549bbb870d27", optional = true },
{ "nvim-telescope/telescope.nvim", version = "^0.1", optional = true },
{ "nvim-tree/nvim-web-devicons", commit = "75df79feb02d5e0ec114e447453775d4d291ea03", optional = true },
{ "nvim-treesitter/nvim-treesitter", vim.fn.has "nvim-0.9" ~= 1 and "63260da18bf273c76b8e2ea0db84eb901cab49ce" or "76f699dcc89642eedf69fafaef79bc235b7ef51e", optional = true },
{ "nvim-treesitter/nvim-treesitter", commit = vim.fn.has "nvim-0.9" ~= 1 and "63260da18bf273c76b8e2ea0db84eb901cab49ce" or "76f699dcc89642eedf69fafaef79bc235b7ef51e", optional = true },
{ "nvim-treesitter/nvim-treesitter-textobjects", commit = "d2a4ffc22d9d38d44edb73da007b3cf43451e9b4", optional = true },
{ "onsails/lspkind.nvim", commit = "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf", optional = true },
{ "rafamadriz/friendly-snippets", commit = "dcd4a586439a1c81357d5b9d26319ae218cc9479", optional = true },
Expand Down

1 comment on commit 2fcb9e2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.