aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorEmilia Simmons <emilia.milisims@gmail.com>2022-03-29 14:40:24 -0400
committerStephan Seitz <stephan.seitz@fau.de>2022-04-15 22:00:23 +0200
commit76d1042b31f11e5f593c688732bc32cf0ac90849 (patch)
treed2fc15aa56ae6583fac0d26dbe11cf5efb836187 /lua
parentfix: properly select name in revision archive (diff)
downloadnvim-treesitter-76d1042b31f11e5f593c688732bc32cf0ac90849.tar
nvim-treesitter-76d1042b31f11e5f593c688732bc32cf0ac90849.tar.gz
nvim-treesitter-76d1042b31f11e5f593c688732bc32cf0ac90849.tar.bz2
nvim-treesitter-76d1042b31f11e5f593c688732bc32cf0ac90849.tar.lz
nvim-treesitter-76d1042b31f11e5f593c688732bc32cf0ac90849.tar.xz
nvim-treesitter-76d1042b31f11e5f593c688732bc32cf0ac90849.tar.zst
nvim-treesitter-76d1042b31f11e5f593c688732bc32cf0ac90849.zip
Format with stylua
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/shell_command_selectors.lua2
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