Skip to content
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

Performance #1

Open
maxcountryman opened this issue Sep 10, 2022 · 3 comments
Open

Performance #1

maxcountryman opened this issue Sep 10, 2022 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@maxcountryman
Copy link

Hi, first thanks for putting this plugin together! It's very helpful to have.

I wanted to also report what I think is a performance issue related to the plugin: it seems that when it's installed and detects the Astro filetype scrolling becomes quite choppy. Disable the plugin and the issue goes away.

For context here, I'm using Neovim 0.7.x via tmux 3.2a and kitty 0.25.x. I do have a number of other plugins installed, but this is the first time I've noticed any kind of detectable performance degradation.

If there's any more detail I can provide, I'd be happy to.

@chadoh
Copy link

chadoh commented Sep 23, 2022

Not sure if it's related, but for me the performance seems great, but some highlighting is off:

image

I think this might be caused by using TypeScript but not enabling TypeScript in vim-astro.

When I do enable TS, using the following:

let g:astro_typescript = 'enable'

I can't even open the file that contains the above code. The process seems to hang forever!

@maxcountryman
Copy link
Author

I ended up foregoing this plugin and using treesitter directly (via lspconfig and mason-lspconfig specifically); it works great and of course the performance of treesitter is just about as good as it gets. I'm not seeing any visual highlight issues like that after using it for the last two weeks.

@ss77a
Copy link

ss77a commented Nov 9, 2022

Performance doesn't seem to be issue. I've been using a nvimdots setup with excellent initial treeseitter config.

Before I used this plugin with nvchad no performance issues. But wanted to see if I could get path resolve working again

Looking for ideas I came across this
https://stackoverflow.com/questions/51272493/resolving-javascript-modules-via-gf-in-vim-when-using-a-webpack-tilde-alias

I think a previous setup I had working was borrowing vscode extensions. The resolve feature has stopped work in vscode too. I'm baffled maybe the link will solve my issues

Just feedback from my experience of the plugin

@wuelnerdotexe wuelnerdotexe added the help wanted Extra attention is needed label Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants