mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 21:10:15 -04:00
tests(gleam): fix assert tests that no longer parse correctly
This commit is contained in:
parent
a83f2d1417
commit
75ee7ff2f0
5 changed files with 11 additions and 10 deletions
|
|
@ -4,6 +4,8 @@ local M = {}
|
|||
|
||||
M.comment_parsers = {
|
||||
comment = true,
|
||||
luadoc = true,
|
||||
javadoc = true,
|
||||
jsdoc = true,
|
||||
phpdoc = true,
|
||||
}
|
||||
|
|
@ -121,7 +123,6 @@ function M.get_indent(lnum)
|
|||
return -1
|
||||
end
|
||||
|
||||
-- Reparse in case we got triggered by ":h indentkeys"
|
||||
parser:parse({ vim.fn.line('w0') - 1, vim.fn.line('w$') })
|
||||
|
||||
-- Get language tree with smallest range around node that's not a comment parser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue