-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delay in commands #48
Comments
nvim-treesitter/nvim-treesitter#4945 This is a duplicate of the above issue, and yes it's being investigated Also duplicate of #46 |
I am having this problem too dart 3.0.6 No errors in healthcheck
|
Same problem here. Did some dotfiles cleanup recently, updated the config, and unusable on dart :( |
Have a check if removing/disabling selecting of text objects in your config. |
I think I fixed my lag problems. As mentioned by @RyanCarrier, to improve startup times you could remove textobjects from your configuration (it worked for me). As for the delay when typing 'o' and 'O', you can remove indentation in
|
…o delays This commit updates the treesitter setup in `treesitter-setup.lua` to address performance issues when editing Dart files. A significant delay was observed when creating new lines in Dart files, as reported in multiple issues [1][2][3]. To mitigate this, the indent and textobjects configurations for Dart have been disabled. This should prevent the editor from hanging and improve the overall user experience when working with Dart code. The commit also includes a small change where 'rust' was removed from the list of languages in `ensure_installed` to match the project's current requirements. The line was refactored for consistency. References: - [1] UserNobody14/tree-sitter-dart#48 - [2] UserNobody14/tree-sitter-dart#46 - [3] nvim-treesitter/nvim-treesitter#4945
When pressing
o
orO
it's now taking up to a second or two to execute the command and after doing it a couple of times it's instant.I tried uninstalling treesitter dart and it was now instant. How should I go about debugging it so I can get you some better logs?
The text was updated successfully, but these errors were encountered: