mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
ci(deps): update bump_deps script (#23604)
* consistent capitalization (lower-case) of dependency names * add bundled tree-sitter parsers
This commit is contained in:
parent
512a90520e
commit
ed8c44f767
@ -69,7 +69,7 @@ run({ 'mkdir', '-p', temp_dir })
|
||||
|
||||
local function get_dependency(dependency_name)
|
||||
local dependency_table = {
|
||||
['LuaJIT'] = {
|
||||
['luajit'] = {
|
||||
repo = 'LuaJIT/LuaJIT',
|
||||
symbol = 'LUAJIT',
|
||||
},
|
||||
@ -77,7 +77,7 @@ local function get_dependency(dependency_name)
|
||||
repo = 'libuv/libuv',
|
||||
symbol = 'LIBUV',
|
||||
},
|
||||
['Luv'] = {
|
||||
['luv'] = {
|
||||
repo = 'luvit/luv',
|
||||
symbol = 'LUV',
|
||||
},
|
||||
@ -85,6 +85,26 @@ local function get_dependency(dependency_name)
|
||||
repo = 'tree-sitter/tree-sitter',
|
||||
symbol = 'TREESITTER',
|
||||
},
|
||||
['tree-sitter-c'] = {
|
||||
repo = 'tree-sitter/tree-sitter-c',
|
||||
symbol = 'TREESITTER_C',
|
||||
},
|
||||
['tree-sitter-lua'] = {
|
||||
repo = 'MunifTanjim/tree-sitter-lua',
|
||||
symbol = 'TREESITTER_LUA',
|
||||
},
|
||||
['tree-sitter-vim'] = {
|
||||
repo = 'neovim/tree-sitter-vim',
|
||||
symbol = 'TREESITTER_VIM',
|
||||
},
|
||||
['tree-sitter-vimdoc'] = {
|
||||
repo = 'neovim/tree-sitter-vimdoc',
|
||||
symbol = 'TREESITTER_VIMDOC',
|
||||
},
|
||||
['tree-sitter-query'] = {
|
||||
repo = 'nvim-treesitter/tree-sitter-query',
|
||||
symbol = 'TREESITTER_QUERY',
|
||||
},
|
||||
}
|
||||
local dependency = dependency_table[dependency_name]
|
||||
if dependency == nil then
|
||||
|
Loading…
Reference in New Issue
Block a user