-
Notifications
You must be signed in to change notification settings - Fork 102
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
Re-add rustic mode based on rustic-ts (Treesitter support) #527
base: master
Are you sure you want to change the base?
Conversation
This code is based on #480, but there are some changes based on my testing.
Hi, following the config from README, I got errors like
|
@liebkne Can you clean your
|
I've tried. I don't have native compile enabled and I manually delete all the *.elc and restart, but the issue still exists. |
@liebkne Hmm, interesting. Can you show me the entire rustic configuration that you are using ? |
Here you go
|
@liebkne Have pushed a fix, can you give it a try ? |
I am in the process of testing out these changes. Some things I noticed: The normal lsp mode is not getting enabled by default. |
@psibi commented on Aug 19, 2023, 12:06 AM GMT+8:
Hi, the major mode seems to work now. But some variables are missing
as complained by the |
@liebkne
Cool, thanks for the confirmation.
Can you provide list of all variables ? I will see if I can provide a compatibility layer for third party packages. @CeleritasCelery Thanks for the report, I can reproduce it. I will look into it once I get some time. |
@psibi Hi, currently I only find |
@CeleritasCelery Regarding the lsp mode, I got it working through the following configuration:
Can you try that and see how it goes ? |
Found one more missing: |
I'm getting the same error. It seems like a lot of the variables aren't really loading as well. EDIT: Does this rely on rust-lang/rust-mode#482 to get all the functionality of regular rust-mode? EDIT 2: For whoever comes across this, I managed to get it working by forking rust-mode and applying the changes in that pull request to master then using straight to grab my version of it. I then used rustic master since the PR linked causes rust-mode to be based off rust-ts-mode and it works so far, no need for this PR to be used. |
@NickSica You're right. I'm planning to get that rust-mode PR merged soon. How has been your experience so far ? |
I honestly haven't used it as much as I wanted to since a paper came in the way of my free time. From my experience, if I remember correctly, it worked pretty well. |
@NickSica Thanks for the feedback! I'm planning to test drive it a week and merge it if works well. |
This code is based on #480, but there are some changes based on my testing.