1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-26 20:21:03 +01:00
nixvim/plugins/by-name/intellitab/default.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;
};
};
}