Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/mock-treesitter/queries/lua/textobjects.scm
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@

((string) @string_offset (#offset! @string_offset 0 1 0 -2))

(chunk [(function_declaration) (assignment_statement)]* @chunk.inner) @chunk.outer
((chunk) @chunk.inner @chunk.outer (#offset! @chunk.inner 1 0 -1 0))
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
--|---------|---------|---------|---------|---------|---------|-----
01|00000012222221333333333333333333333333333333333333333333333333333
02|44444444444444566666666666555555555555555555555555555555555555544
03|4444444444444457777777778888889::::::9798888887;;;;;;978887779544
03|4444444444444457777777778888889::::::9798888887;;;;;;97888;;;9544
04|44444444444444555555555555555555555555555555555555555555555555544
05|44444444444444444444444444444444444444444444444444444444444444444
06|44444444444444444444444444444444444444444444444444444444444444444
Expand Down
2 changes: 1 addition & 1 deletion tests/test_completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@ T['Signature help']['adjusts title'] = function()
end

T['Signature help']['stylizes markdown with concealed characters'] = function()
if child.fn.has('nvim-0.10') == 0 then MiniTest.skip('Lua highlighting is different on Neovim<0.10') end
if child.fn.has('nvim-0.12') == 0 then MiniTest.skip('Lua highlighting is different on Neovim<0.12') end

child.set_size(10, 65)
child.bo.filetype = 'lua'
Expand Down
2 changes: 1 addition & 1 deletion tests/test_surround.lua
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ T['gen_spec']['input']['treesitter()']['works with row-exclusive, col-0 end rang
}]])

local lines = get_lines()
validate_find(lines, { 4, 0 }, { { 11, 2 }, { 13, 7 }, { 1, 0 }, { 2, 0 } }, type_keys, 'sf', 'c')
validate_find(lines, { 4, 0 }, { { 13, 0 }, { 13, 7 }, { 1, 0 }, { 1, 11 } }, type_keys, 'sf', 'c')
end

T['gen_spec']['input']['treesitter()']['respects plugin options'] = function()
Expand Down