mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-07 11:25:06 +02:00
intellitab: package option
This commit is contained in:
parent
9e4a08c2e7
commit
299795d2d2
1 changed files with 7 additions and 1 deletions
|
@ -8,11 +8,17 @@ in
|
|||
options = {
|
||||
plugins.intellitab = {
|
||||
enable = mkEnableOption "intellitab.nvim";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = defs.intellitab-nvim;
|
||||
description = "Plugin to use for intellitab.nvim";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
extraPlugins = [ defs.intellitab-nvim ];
|
||||
extraPlugins = [ cfg.package ];
|
||||
|
||||
maps.insert."<Tab>" = "<CMD>lua require([[intellitab]]).indent()<CR>";
|
||||
plugins.treesitter = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue