aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-09-13 10:46:02 +0100
committerChristian Clason <c.clason@uni-graz.at>2025-05-12 18:43:40 +0200
commit59f5d64a613f45faa036d9456cf7351c024f1be8 (patch)
tree55721e298ee3ec71e98f3d11c0d82c35f3e09491 /lua
parentfix: remove downcase! directive use (diff)
downloadnvim-treesitter-59f5d64a613f45faa036d9456cf7351c024f1be8.tar
nvim-treesitter-59f5d64a613f45faa036d9456cf7351c024f1be8.tar.gz
nvim-treesitter-59f5d64a613f45faa036d9456cf7351c024f1be8.tar.bz2
nvim-treesitter-59f5d64a613f45faa036d9456cf7351c024f1be8.tar.lz
nvim-treesitter-59f5d64a613f45faa036d9456cf7351c024f1be8.tar.xz
nvim-treesitter-59f5d64a613f45faa036d9456cf7351c024f1be8.tar.zst
nvim-treesitter-59f5d64a613f45faa036d9456cf7351c024f1be8.zip
fix: update vim.system types
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/install.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua
index aaa921f07..44e7e048f 100644
--- a/lua/nvim-treesitter/install.lua
+++ b/lua/nvim-treesitter/install.lua
@@ -44,7 +44,7 @@ end
local function system(cmd, opts)
log.trace('running job: (cwd=%s) %s', opts.cwd, table.concat(cmd, ' '))
- local r = a.wrap(vim.system, 3)(cmd, opts) --[[@as SystemCompleted]]
+ local r = a.wrap(vim.system, 3)(cmd, opts) --[[@as vim.SystemCompleted]]
a.main()
if r.stdout and r.stdout ~= '' then
log.trace('stdout -> %s', r.stdout)
@@ -416,7 +416,7 @@ end
---@param repo InstallInfo
---@param cc string
---@param compile_location string
----@return SystemCompleted
+---@return vim.SystemCompleted
local function do_compile(repo, cc, compile_location)
local args = vim.tbl_flatten(select_compiler_args(repo, cc))
local cmd = vim.list_extend({ cc }, args)