diff options
| author | seth <[email protected]> | 2023-12-31 08:01:03 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-31 08:52:04 -0500 |
| commit | dec8d36cbdbb3b9c5c12792ed199892ce2e82069 (patch) | |
| tree | 89422c04c25b4ed4c3156d4477c894416500e8b3 /config/plugins/mini.lua | |
| parent | ae9136a14ae0b0fe91faad59b23d3a532ca84ed5 (diff) | |
back to regular lua
Diffstat (limited to 'config/plugins/mini.lua')
| -rw-r--r-- | config/plugins/mini.lua | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/config/plugins/mini.lua b/config/plugins/mini.lua new file mode 100644 index 0000000..075b2bd --- /dev/null +++ b/config/plugins/mini.lua @@ -0,0 +1,28 @@ +require("mini.comment").setup({ + options = { + custom_commentstring = function() + return require("ts_context_commentstring.internal").calculate_commentstring() + or vim.bo.context_commentstring + end, + }, +}) + +require("mini.pairs").setup() +require("mini.indentscope").setup({ + options = { try_as_border = true }, +}) + +vim.api.nvim_create_autocmd("FileType", { + pattern = { + "help", + "neo-tree", + "Trouble", + "lazy", + "mason", + "notify", + "toggleterm", + }, + callback = function() + vim.b.miniindentscope_disable = true + end, +}) |
