mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-10 08:49:48 +01:00
Compare commits
2 commits
d6cb4e0973
...
73660af2e3
Author | SHA1 | Date | |
---|---|---|---|
|
73660af2e3 | ||
4daa920166 |
3 changed files with 16 additions and 6 deletions
17
.github/README.md
vendored
17
.github/README.md
vendored
|
@ -168,19 +168,19 @@ fix.
|
||||||
|
|
||||||
## Frequently Asked Questions
|
## Frequently Asked Questions
|
||||||
|
|
||||||
[appropriate issue template]: https://github.com/NotAShelf/nvf/issues/new/choose
|
[issue template]: https://github.com/NotAShelf/nvf/issues/new/choose
|
||||||
[list of branches]: https://github.com/NotAShelf/nvf/branches
|
[list of branches]: https://github.com/NotAShelf/nvf/branches
|
||||||
[list of open pull requests]: https://github.com/NotAShelf/nvf/pulls
|
[list of open pull requests]: https://github.com/NotAShelf/nvf/pulls
|
||||||
|
|
||||||
**Q**: What platforms are supported?
|
**Q**: What platforms are supported?
|
||||||
<br/> **A**: nvf actively supports Linux and Darwin platforms using standalone
|
<br/> **A**: nvf actively supports **Linux and Darwin** platforms using
|
||||||
Nix, NixOS or Home-Manager. Please take a look at the [nvf manual] for available
|
standalone Nix, NixOS or Home-Manager. Please take a look at the [nvf manual]
|
||||||
installation instructions.
|
for available installation instructions.
|
||||||
|
|
||||||
**Q**: Can you add _X_?
|
**Q**: Can you add _X_?
|
||||||
<br/> **A**: Maybe! It is not one of our goals to support each and every Neovim
|
<br/> **A**: Maybe! It is not one of our goals to support each and every Neovim
|
||||||
plugin, however, I am always open to new modules and plugin setup additions to
|
plugin, however, I am always open to new modules and plugin setup additions to
|
||||||
**nvf**. Use the [appropriate issue template] and I will consider a module
|
**nvf**. Use the appropriate [issue template] and I will consider a module
|
||||||
addition. As mentioned before, pull requests to add new features are also
|
addition. As mentioned before, pull requests to add new features are also
|
||||||
welcome.
|
welcome.
|
||||||
|
|
||||||
|
@ -197,6 +197,13 @@ not noticed any activity on the main branch, consider taking a look at the
|
||||||
_testing_ those release branches to get access to new features ahead of time and
|
_testing_ those release branches to get access to new features ahead of time and
|
||||||
better prepare to breaking changes.
|
better prepare to breaking changes.
|
||||||
|
|
||||||
|
**Q**: Will you support non-flake installations?
|
||||||
|
<br/> **A**: Quite possibly. **nvf** started as "neovim-flake", which does mean
|
||||||
|
it is and will remain flakes-first but we might consider non-flakes
|
||||||
|
compatibility. Though keep in mind that **nvf** under non-flake environments
|
||||||
|
would lose customizability of plugin inputs, which is one of our primary
|
||||||
|
features.
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
### Contributors
|
### Contributors
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
inherit (lib.nvim.dag) entryAnywhere;
|
inherit (lib.nvim.dag) entryAnywhere;
|
||||||
|
inherit (lib.nvim.lua) toLuaObject;
|
||||||
|
|
||||||
cfg = config.vim.lsp;
|
cfg = config.vim.lsp;
|
||||||
in {
|
in {
|
||||||
|
@ -16,7 +17,7 @@ in {
|
||||||
vim.api.nvim_command('autocmd CursorHold,CursorHoldI * lua require\'nvim-lightbulb\'.update_lightbulb()')
|
vim.api.nvim_command('autocmd CursorHold,CursorHoldI * lua require\'nvim-lightbulb\'.update_lightbulb()')
|
||||||
|
|
||||||
-- Enable trouble diagnostics viewer
|
-- Enable trouble diagnostics viewer
|
||||||
require'nvim-lightbulb'.setup()
|
require'nvim-lightbulb'.setup(${toLuaObject cfg.lightbulb.setupOpts})
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
{lib, ...}: let
|
{lib, ...}: let
|
||||||
inherit (lib.options) mkEnableOption;
|
inherit (lib.options) mkEnableOption;
|
||||||
|
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||||
in {
|
in {
|
||||||
options.vim.lsp = {
|
options.vim.lsp = {
|
||||||
lightbulb = {
|
lightbulb = {
|
||||||
enable = mkEnableOption "Lightbulb for code actions. Requires an emoji font";
|
enable = mkEnableOption "Lightbulb for code actions. Requires an emoji font";
|
||||||
|
setupOpts = mkPluginSetupOption "nvim-lightbulb" {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue