From 9ff040a245a07fe2743b71ebf2d0ebba6ad2c456 Mon Sep 17 00:00:00 2001 From: Aditya Date: Wed, 6 Mar 2024 19:25:34 +0530 Subject: [PATCH] add mini --- config/default.nix | 1 + config/utils/mini.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 config/utils/mini.nix diff --git a/config/default.nix b/config/default.nix index fc2025b..1806043 100644 --- a/config/default.nix +++ b/config/default.nix @@ -58,5 +58,6 @@ ./utils/harpoon.nix ./utils/illuminate.nix ./utils/markdown-preview.nix + ./utils/mini.nix ]; } diff --git a/config/utils/mini.nix b/config/utils/mini.nix new file mode 100644 index 0000000..4fd1888 --- /dev/null +++ b/config/utils/mini.nix @@ -0,0 +1,16 @@ +{ + plugins.mini = { + enable = true; + modules = { + comment = { + options = { + customCommentString = '' + lua require("ts_context_commentstring.internal").calculate_commentstring() or vim.bo.commentstring + ''; + }; + }; + cursorword = {}; + }; + }; +} +