diff options
Diffstat (limited to 'lua/nvim-treesitter/shell_command_selectors.lua')
| -rw-r--r-- | lua/nvim-treesitter/shell_command_selectors.lua | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua index 7b487513..53263228 100644 --- a/lua/nvim-treesitter/shell_command_selectors.lua +++ b/lua/nvim-treesitter/shell_command_selectors.lua @@ -9,7 +9,7 @@ function M.select_mkdir_cmd(directory, cwd, info_msg) cmd = 'cmd', opts = { args = { '/C', 'mkdir', directory}, - cwd = cwd, + cwd = cwd, }, info = info_msg, err = "Could not create "..directory, @@ -19,7 +19,7 @@ function M.select_mkdir_cmd(directory, cwd, info_msg) cmd = 'mkdir', opts = { args = { directory }, - cwd = cwd, + cwd = cwd, }, info = info_msg, err = "Could not create "..directory, @@ -55,13 +55,13 @@ end function M.select_compiler_args(repo) local args = { - '-o', - 'parser.so', - '-I./src', - repo.files, - '-shared', - '-Os', - '-lstdc++', + '-o', + 'parser.so', + '-I./src', + repo.files, + '-shared', + '-Os', + '-lstdc++', } if fn.has('win32') == 0 then table.insert(args, '-fPIC') @@ -146,8 +146,8 @@ function M.select_download_commands(repo, project_name, cache_folder, revision) }, M.select_rm_file_cmd(cache_folder..path_sep..project_name..".tar.gz"), M.select_mv_cmd(utils.join_path(project_name..'-tmp', repo.url:match('[^/]-$')..'-'..revision), - project_name, - cache_folder), + project_name, + cache_folder), M.select_install_rm_cmd(cache_folder, project_name..'-tmp') } else |
