mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
Add lockfile and make lockfile default install revision
This commit is contained in:
parent
98c12ec23a
commit
0a51d492a5
5 changed files with 145 additions and 48 deletions
|
|
@ -21,6 +21,11 @@ function M.get_path_sep()
|
|||
return fn.has('win32') == 1 and '\\' or '/'
|
||||
end
|
||||
|
||||
function M.join_paths(...)
|
||||
local sep = M.get_path_sep()
|
||||
return table.concat({...}, sep)
|
||||
end
|
||||
|
||||
-- Returns a function that joins the given arguments with separator. Arguments
|
||||
-- can't be nil. Example:
|
||||
--[[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue