diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/shell_command_selectors.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua index 59ebf3057..0983d850b 100644 --- a/lua/nvim-treesitter/shell_command_selectors.lua +++ b/lua/nvim-treesitter/shell_command_selectors.lua @@ -179,7 +179,7 @@ function M.select_download_commands(repo, project_name, cache_folder, revision, local url = repo.url:gsub(".git$", "") local folder_rev = revision - if is_github and revision:match('^v%d') then + if is_github and revision:match "^v%d" then folder_rev = revision:sub(2) end |
