mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-27 09:19:48 +01:00
Compare commits
No commits in common. "73660af2e36e9881c6cf7d82600950785b4cd51d" and "d6cb4e097382cefa54097a0eb49a2f60ab0e75b5" have entirely different histories.
73660af2e3
...
d6cb4e0973
3 changed files with 6 additions and 16 deletions
17
.github/README.md
vendored
17
.github/README.md
vendored
|
@ -168,19 +168,19 @@ fix.
|
||||||
|
|
||||||
## Frequently Asked Questions
|
## Frequently Asked Questions
|
||||||
|
|
||||||
[issue template]: https://github.com/NotAShelf/nvf/issues/new/choose
|
[appropriate 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
|
<br/> **A**: nvf actively supports Linux and Darwin platforms using standalone
|
||||||
standalone Nix, NixOS or Home-Manager. Please take a look at the [nvf manual]
|
Nix, NixOS or Home-Manager. Please take a look at the [nvf manual] for available
|
||||||
for available installation instructions.
|
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,13 +197,6 @@ 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,7 +5,6 @@
|
||||||
}: 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 {
|
||||||
|
@ -17,7 +16,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(${toLuaObject cfg.lightbulb.setupOpts})
|
require'nvim-lightbulb'.setup()
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
{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