plugins: cleanup lib usage in several plugins

- ccc
- cmake-tools
- baleia
- auto-save
- vim-css-color
- virt-column
- bacon
- coq-nvim
- dressing
- competitest
- direnv
- committia
- indent-o-matic
- guess-indent
- lsp-status
- octo
- lazygit
This commit is contained in:
Matt Sturgeon 2024-09-27 05:39:06 +01:00
parent d718446b61
commit a32d2e6df0
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
17 changed files with 309 additions and 320 deletions

View file

@ -1,10 +1,12 @@
{
helpers,
pkgs,
lib,
...
}:
helpers.vim-plugin.mkVimPlugin {
let
inherit (lib.nixvim) defaultNullOpts;
in
lib.nixvim.vim-plugin.mkVimPlugin {
name = "direnv";
originalName = "direnv.vim";
package = "direnv-vim";
@ -13,12 +15,12 @@ helpers.vim-plugin.mkVimPlugin {
maintainers = [ lib.maintainers.alisonjenkins ];
settingsOptions = {
direnv_auto = helpers.defaultNullOpts.mkFlagInt 1 ''
direnv_auto = defaultNullOpts.mkFlagInt 1 ''
It will not execute `:DirenvExport` automatically if the value is `0`.
'';
direnv_edit_mode =
helpers.defaultNullOpts.mkEnum
defaultNullOpts.mkEnum
[
"edit"
"split"
@ -30,7 +32,7 @@ helpers.vim-plugin.mkVimPlugin {
Select the command to open buffers to edit. Default: 'edit'.
'';
direnv_silent_load = helpers.defaultNullOpts.mkFlagInt 1 ''
direnv_silent_load = defaultNullOpts.mkFlagInt 1 ''
Stop echoing output from Direnv command.
'';
};