initial
This commit is contained in:
28
config/utils/mini.nix
Normal file
28
config/utils/mini.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
mini.enable = lib.mkEnableOption "Enable mini module";
|
||||
};
|
||||
config = lib.mkIf config.mini.enable {
|
||||
plugins.mini = {
|
||||
enable = true;
|
||||
modules = {
|
||||
comment = {
|
||||
options = {
|
||||
customCommentString = ''
|
||||
<cmd>lua require("ts_context_commentstring.internal").calculate_commentstring() or vim.bo.commentstring<cr>
|
||||
'';
|
||||
};
|
||||
};
|
||||
cursorword = {
|
||||
opts = {
|
||||
delay = 100;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user