mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins: cleanup most extraConfig
args
- Remove `cfg` where it is unused. - Use `opts` where necessary.
This commit is contained in:
parent
63cfc84abe
commit
7b94afceaf
22 changed files with 98 additions and 99 deletions
|
@ -12,7 +12,7 @@ helpers.vim-plugin.mkVimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
extraConfig = _: {
|
||||
extraConfig = {
|
||||
warnings = optional (!config.plugins.treesitter.enable) ''
|
||||
Nixvim (plugins.haskell-scope-highlighting): haskell-scope-highlighting needs treesitter to function as intended.
|
||||
Please, enable it by setting `plugins.treesitter.enable` to `true`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue