aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bump_deps.lua24
-rwxr-xr-xscripts/vim-patch.sh2
2 files changed, 23 insertions, 3 deletions
diff --git a/scripts/bump_deps.lua b/scripts/bump_deps.lua
index 6a049d136a..076ad374cf 100755
--- a/scripts/bump_deps.lua
+++ b/scripts/bump_deps.lua
@@ -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
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index 385005a442..df0af72fdb 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -212,7 +212,7 @@ preprocess_patch() {
2>/dev/null $nvim --cmd 'set dir=/tmp' +'g@^diff --git a/src/testdir/\<\%('"${na_src_testdir}"'\)\>@norm! d/\v(^diff)|%$ ' +w +q "$file"
# Remove testdir/test_*.vim files
- local na_src_testdir='balloon.*\|behave\.vim\|channel.*\|crypt\.vim\|cscope\.vim\|gui.*\|hardcopy\.vim\|job_fails\.vim\|json\.vim\|mzscheme\.vim\|netbeans.*\|paste\.vim\|popupwin.*\|restricted\.vim\|shortpathname\.vim\|tcl\.vim\|terminal.*\|xxd\.vim'
+ local na_src_testdir='balloon.*\|behave\.vim\|channel.*\|crypt\.vim\|cscope\.vim\|gui.*\|hardcopy\.vim\|job_fails\.vim\|json\.vim\|mzscheme\.vim\|netbeans.*\|paste\.vim\|popupwin.*\|python2\.vim\|pyx2\.vim\|restricted\.vim\|shortpathname\.vim\|tcl\.vim\|terminal.*\|xxd\.vim'
2>/dev/null $nvim --cmd 'set dir=/tmp' +'g@^diff --git a/src/testdir/\<test_\%('"${na_src_testdir}"'\)\>@norm! d/\v(^diff)|%$ ' +w +q "$file"
# Remove version.c #7555