mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-29 22:30:13 +02:00
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:
parent
d718446b61
commit
a32d2e6df0
17 changed files with 309 additions and 320 deletions
|
@ -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.
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue