mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-01 21:04:30 +02:00
helpers/mkPlugin: add extraConfig option
This commit is contained in:
parent
563ab0660b
commit
97fb6d6a29
3 changed files with 39 additions and 7 deletions
|
@ -11,12 +11,13 @@ in
|
|||
name = "zig";
|
||||
description = "Enable zig";
|
||||
package = pkgs.vimPlugins.zig-vim;
|
||||
globalPrefix = "zig_";
|
||||
|
||||
# Possibly add option to disable Treesitter highlighting if this is installed
|
||||
options = {
|
||||
formatOnSave = mkDefaultOpt {
|
||||
type = types.bool;
|
||||
global = "zig_fmt_autosave";
|
||||
global = "fmt_autosave";
|
||||
description = "Run zig fmt on save";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue