mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-05 14:54:33 +02:00
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
25 lines
485 B
Nix
25 lines
485 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
lib.nixvim.plugins.mkVimPlugin {
|
|
name = "intellitab";
|
|
packPathName = "intellitab.nvim";
|
|
package = "intellitab-nvim";
|
|
description = "A neovim plugin to only press tab once.";
|
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
|
|
|
extraConfig = {
|
|
keymaps = [
|
|
{
|
|
mode = "i";
|
|
key = "<Tab>";
|
|
action.__raw = "require('intellitab').indent";
|
|
}
|
|
];
|
|
plugins.treesitter = {
|
|
settings.indent.enable = true;
|
|
};
|
|
};
|
|
}
|