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

lsp/otter: init #385

Merged
merged 21 commits into from
Sep 28, 2024
Merged

lsp/otter: init #385

merged 21 commits into from
Sep 28, 2024

Conversation

Soliprem
Copy link
Contributor

Description

Adds Support for the Otter plugin. Added an assert to prevent ccc and otter from being enabled simultaneously. Currently set Otter as on by default in Maximal config.

Type of change

  • New feature (non-breaking change which adds functionality)

Note

If Otter and ccc are both enabled, there'll be an assert

Checklist

Please try to check at least a majority of the checklist before opening your pull request. Exceptions to this will be reviewed on a case by case basis.

  • My code follows the style and contributing guidelines of this project.
  • I ran Alejandra to format my code (nix fmt).
  • I have performed a self-review of my own code and tested it.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings.
  • This change requires a documentation update.
  • I have updated the documentation accordingly.

Screenshots & Logs

image

@Soliprem Soliprem requested a review from NotAShelf as a code owner September 27, 2024 14:40
@Soliprem
Copy link
Contributor Author

Huh, not sure why it's also showing the old r commits, those have already been merged and are from another branch. No r files are being changed in this PR

@NotAShelf
Copy link
Owner

Huh, not sure why it's also showing the old r commits, those have already been merged and are from another branch. No r files are being changed in this PR

Your branch is missing changes in the main branch. Fetch main from this repository, and merge it into your branch.

Usually this would be adding a new remote (e.g. upstream) and running git pull upstream main --rebase

Copy link
Owner

@NotAShelf NotAShelf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM. However I'd rather if the option was called otter-nvim since the name of the plugin is otter.nvim. This would also be more in line with the name of the input.

Left some review comments.

modules/plugins/lsp/otter/config.nix Outdated Show resolved Hide resolved
modules/plugins/lsp/otter/otter.nix Outdated Show resolved Hide resolved
modules/plugins/lsp/otter/otter.nix Outdated Show resolved Hide resolved
@Soliprem
Copy link
Contributor Author

Done and tested it locally. All ok with the setupOpts implementation? I've never done it before

@NotAShelf NotAShelf changed the title Otter lsp/otter: init Sep 28, 2024
@NotAShelf
Copy link
Owner

All looks good. I'll merge once the CI passes.

@NotAShelf NotAShelf merged commit 69cd776 into NotAShelf:main Sep 28, 2024
7 checks passed
@NotAShelf
Copy link
Owner

thank you :)

bloxx12 pushed a commit to bloxx12/nvf that referenced this pull request Sep 29, 2024
* r: implementing lsp

* r: version bump to context fixes treesitter bug

* r: changing treesitter package definition to mkGrammarOption

* added changelog entry

* created otter file

* created otter file

* update

* update

* otter: fixing fixing input

* committing flake.lock

* fixed typo

* configuration: disabling ccc and enabling otter

* added assertion to make sure ccc and otter aren't enabled at the same time

* configuration: otter set for isMaximal

* otter: changelog

* otter: better changelog

* otter-nvim: renamed from otter to otter-nvim

* otter: added setupopts

---------

Co-authored-by: raf <[email protected]>
ppenguin pushed a commit to ppenguin/nvf that referenced this pull request Oct 30, 2024
* r: implementing lsp

* r: version bump to context fixes treesitter bug

* r: changing treesitter package definition to mkGrammarOption

* added changelog entry

* created otter file

* created otter file

* update

* update

* otter: fixing fixing input

* committing flake.lock

* fixed typo

* configuration: disabling ccc and enabling otter

* added assertion to make sure ccc and otter aren't enabled at the same time

* configuration: otter set for isMaximal

* otter: changelog

* otter: better changelog

* otter-nvim: renamed from otter to otter-nvim

* otter: added setupopts

---------

Co-authored-by: raf <[email protected]>
@github-actions github-actions bot deleted the otter branch November 1, 2024 04:10
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

Successfully merging this pull request may close these issues.

2 participants