diff options
| author | nikolightsaber <103886134+nikolightsaber@users.noreply.github.com> | 2026-03-13 20:57:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-13 15:57:36 -0400 |
| commit | fd1e019e90e76bb3f6236210ac6287f3b8d4d47f (patch) | |
| tree | 82b3dff113e76ce6dad87b1aeebee6cf6429298f /runtime/ftplugin | |
| parent | 8499af1119f0f96b4fd57ef9099ce5a2503bc952 (diff) | |
refactor(treesitter)!: get_parser return nil on error #37276
Diffstat (limited to 'runtime/ftplugin')
| -rw-r--r-- | runtime/ftplugin/help.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ftplugin/help.lua b/runtime/ftplugin/help.lua index 729c7d8fa8..3b11ea7945 100644 --- a/runtime/ftplugin/help.lua +++ b/runtime/ftplugin/help.lua @@ -66,7 +66,7 @@ vim.keymap.set('n', '[[', function() require('vim.treesitter._headings').jump({ count = -1 }) end, { buffer = 0, silent = false, desc = 'Jump to previous section' }) -local parser = assert(vim.treesitter.get_parser(0, 'vimdoc', { error = false })) +local parser = assert(vim.treesitter.get_parser(0, 'vimdoc')) local function runnables() ---@type table<integer, { lang: string, code: string }> |
