You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I personally don't use the Zig treesitter parser because for me it causes unreasonable delays. However, blink will try to create a parser when showing documentation, creating a very annoying error.
Therefore I'd personally like for it to be possible to disable certain treesitter filetypes, falling back on regex parsing instead.
I am not super familiar with Lua development, but I think maybe a pcall on the get_parser function may also allow catching the error (and then fall back on regex parsing).
The text was updated successfully, but these errors were encountered:
Not falling back to regex for now but this should at least unblock your use case. It might be best to make an exception and allow treesitter on the documentation window. It should be extremely fast on such a small amount of code (3-6ms on my system)
I personally don't use the Zig treesitter parser because for me it causes unreasonable delays. However, blink will try to create a parser when showing documentation, creating a very annoying error.
Therefore I'd personally like for it to be possible to disable certain treesitter filetypes, falling back on regex parsing instead.
I am not super familiar with Lua development, but I think maybe a pcall on the
get_parser
function may also allow catching the error (and then fall back on regex parsing).The text was updated successfully, but these errors were encountered: