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

Completing the grammar.. #8

Open
amaanq opened this issue Feb 28, 2023 · 2 comments
Open

Completing the grammar.. #8

amaanq opened this issue Feb 28, 2023 · 2 comments

Comments

@amaanq
Copy link

amaanq commented Feb 28, 2023

I plan to add this to nvim-treesitter shortly, but I will likely rewrite the grammar soon to complete it and make it look nicer. Please let me know if that's ok with you and if you're still active :)

@rkmiec
Copy link

rkmiec commented Mar 9, 2023

I'm not sure if this is a parser that is now used in the current nvim implementation, but it indeed has some issues.
Some of them are related to comments. Keywords in comments are still considered valid jump locations.
Pressing % on the last end causes nvim to jump between connected words: for, case and last end. The last end should be marked as a parser error as there is no working counterpart for this.

% for some reason we should also handle second case
if 2 > 1
  disp('ok');
else
  disp('not ok');
end
end

@mstanciu552
Copy link
Owner

I'm not currently active in maintaining this projects as I do not have much free time. But I am on board with anyone who wants to use or improve this.
Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants