mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-29 20:04:28 +02:00
plugins/misc: adapt to new maps options
This commit is contained in:
parent
574fb73258
commit
dd6a114e52
18 changed files with 262 additions and 193 deletions
|
@ -19,7 +19,14 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
extraPlugins = [cfg.package];
|
||||
|
||||
maps.insert."<Tab>" = "<CMD>lua require([[intellitab]]).indent()<CR>";
|
||||
keymaps = [
|
||||
{
|
||||
mode = "i";
|
||||
key = "<Tab>";
|
||||
action = "require('intellitab').indent";
|
||||
lua = true;
|
||||
}
|
||||
];
|
||||
plugins.treesitter = {
|
||||
indent = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue