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

ui/edgy-nvim: init #380

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

ui/edgy-nvim: init #380

wants to merge 3 commits into from

Conversation

NotAShelf
Copy link
Owner

Adds support for edgy.nvim

diniamo
diniamo previously approved these changes Sep 26, 2024
modules/plugins/ui/edgy-nvim/edgy-nvim.nix Show resolved Hide resolved
modules/plugins/ui/edgy-nvim/config.nix Outdated Show resolved Hide resolved
config = mkIf cfg.enable {
vim = {
startPlugins = ["edgy-nvim"];
pluginRC.edgy-nvim = entryBefore ["basic"] ''
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is incorrect, pluginRC doesn't have a section called basic. You can either:

  1. Use entryAnywhere, which should be fine
  2. Put the variables in luaConfigRC instead, and change entryBefore to entryAfter, since later takes precedence, and we want to be overriding the values in basic, if there are any.

Comment on lines +18 to +23
-- Neovim options recommended by upstream.
-- Views can only be fully collapsed with the global statusline.
vim.o.laststatus = 3
-- Default splitting will cause your main splits to jump when opening an edgebar.
-- To prevent this, set `splitkeep` to either `screen` or `topline`.
vim.o.splitkeep = "screen"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not very important, but I'm not sure if comments are very useful/necessary in the generated lua file.

@NotAShelf NotAShelf marked this pull request as draft October 6, 2024 12:22
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