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

none-ls: updating + refactoring #1705

Open
3 of 20 tasks
MattSturgeon opened this issue Jun 15, 2024 · 4 comments
Open
3 of 20 tasks

none-ls: updating + refactoring #1705

MattSturgeon opened this issue Jun 15, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@MattSturgeon
Copy link
Collaborator

MattSturgeon commented Jun 15, 2024

Overview issue to track specific issues, PRs, and ideas related to updating and refactoring none-ls.

General notes and discussion can be had on this issue, but I'd encourage opening discussions or issues for specific issues. These can be linked in the relevant checklist above.

Tagging @traxys because he's done most of the work on the none-ls module so far.

@MattSturgeon MattSturgeon added the enhancement New feature or request label Jun 15, 2024
@MattSturgeon MattSturgeon self-assigned this Jun 15, 2024
@traxys
Copy link
Member

traxys commented Jun 17, 2024

Consider how enableLspFormat should work with rfc42 settings?

I'd say we leave it as a top level option, top level options are options that are defined by nixvim, not the wrapped plugin

@GaetanLepage GaetanLepage changed the title none-ls: updating + refactioring none-ls: updating + refactoring Jun 17, 2024
@MattSturgeon
Copy link
Collaborator Author

Consider how enableLspFormat should work with rfc42 settings?

I'd say we leave it as a top level option, top level options are options that are defined by nixvim, not the wrapped plugin

Are we still happy for it to default to true (when lsp-format is enabled)? I think that's a sane default, but it is configuring things for the user without them explicitly enabling anything...

@traxys
Copy link
Member

traxys commented Jun 17, 2024

I have mostly taken the approach of avoiding to introduce new magic in nixvim in the last year, so if it were a new plugin i'd suggest not defaulting to false.
For this specific case I don't know

@niksingh710
Copy link
Contributor

If I enable the lsp-format plugin and set enableLspFormat to true in none-LS, the files are automatically formatted on save. Is there a way to disable this behavior?

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

No branches or pull requests

3 participants