From 76d1042b31f11e5f593c688732bc32cf0ac90849 Mon Sep 17 00:00:00 2001 From: Emilia Simmons Date: Tue, 29 Mar 2022 14:40:24 -0400 Subject: Format with stylua --- lua/nvim-treesitter/shell_command_selectors.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') 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 -- cgit v1.2.3-70-g09d2