Compare commits

..

5 commits

3 changed files with 7 additions and 6 deletions

View file

@ -16,7 +16,7 @@ If you have any questions regarding those files, feel free to open an issue or [
## Contributing ## Contributing
The contribution process is mostly documented in the [pull request template](.github/pull_request_template.md). You will find a checklist of items to complete before submitting a pull request. Please make sure you complete it before submitting a pull request. If you are unsure about any of the items, please ask. The contribution process is mostly documented in the [pull request template](pull_request_template.md). You will find a checklist of items to complete before submitting a pull request. Please make sure you complete it before submitting a pull request. If you are unsure about any of the items, please ask.
### Guidelines ### Guidelines

View file

@ -14,15 +14,16 @@ in {
vim = { vim = {
startPlugins = ["edgy-nvim"]; startPlugins = ["edgy-nvim"];
pluginRC.edgy-nvim = entryBefore ["basic"] '' pluginRC.edgy-nvim = entryBefore ["basic"] ''
require('edgy').setup(${toLuaObject cfg.setupOpts})
${optionalString cfg.setRecommendedNeovimOpts '' ${optionalString cfg.setRecommendedNeovimOpts ''
-- views can only be fully collapsed with the global statusline -- Neovim options recommended by upstream.
vim.opt.laststatus = 3 -- 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. -- Default splitting will cause your main splits to jump when opening an edgebar.
-- To prevent this, set `splitkeep` to either `screen` or `topline`. -- To prevent this, set `splitkeep` to either `screen` or `topline`.
vim.opt.splitkeep = "screen" vim.o.splitkeep = "screen"
''} ''}
require('edgy').setup(${toLuaObject cfg.setupOpts})
''; '';
}; };
}; };