summaryrefslogtreecommitdiff
path: root/lua/bee/plugins
diff options
context:
space:
mode:
authorbeeb5k <beebeeb5k@gmail.com>2026-06-16 21:04:35 +0530
committerbeeb5k <beebeeb5k@gmail.com>2026-06-16 21:04:35 +0530
commit212669d7a129517b839b6ebd57d9a4a1c5a6093b (patch)
tree7072c8edb9b58864341986830d38be2f6c80b485 /lua/bee/plugins
parent9aade461ea194907677bbcc3ce37354a3b1eb283 (diff)
Disable blink-indent for nix and markdown files
Diffstat (limited to 'lua/bee/plugins')
-rw-r--r--lua/bee/plugins/ui.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/bee/plugins/ui.lua b/lua/bee/plugins/ui.lua
index 5b1dedd..55224cd 100644
--- a/lua/bee/plugins/ui.lua
+++ b/lua/bee/plugins/ui.lua
@@ -59,6 +59,17 @@ return {
"blink.indent",
auto_enable = true,
event = "DeferredUIEnter",
+ before = function()
+ vim.api.nvim_create_autocmd("FileType", {
+ pattern = {
+ "markdown",
+ "nix",
+ },
+ callback = function(args)
+ vim.b[args.buf].indent_guide = false
+ end,
+ })
+ end,
after = function(_)
require("blink.indent").setup({
static = {