-
Notifications
You must be signed in to change notification settings - Fork 462
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
migrate: from efm
to null-ls
( #500 #504 )
#513
Conversation
|
efm
to null-ls
( #500 #504 )
@aarnphm PTAL I think it's better to config sources in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. cc @Jint-lzxy when you have bandwidth.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:FormatToggle
and :FormatterToggle
haven't been implemented.
@ayamir Have we tried https://github.com/lukas-reineke/lsp-format.nvim before? |
It seems like the old |
Yes, but we chose to realize the functions by ourselves later. |
Do we need to keep the choice to use the actual LSP's formatting ability instead of only use How do u guys think? |
In my experiment, |
@CharlesChiuGit Yep I plan to review & reimplement
Not sure if I understood this question correctly, but IMHO this choice should be left to users. Some individuals' / organizations' projects would prefer to have formatting support provided by the language server (especially if they already have a custom configuration file in use). FWIW what we can do is remind users of those conflicting format approaches and ask them to confirm their preferences when encountering this for the first time. We can store these results in a cache file, so that the changes made will be persistent. (This is also the feature that will be implemented when refactoring |
@Jint-lzxy Then i'll just change efm to null-ls and leave everything else untouched. @ayamir how do u think? |
Agree. |
@ayamir PTAL |
side note: I think some of |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Feel free to merge it in when it is gtg 😄 |
|
WIP