[mini.indentscope] Only trigger indentscope inside specific filetypes (+color change) #311
-
I was wondering if it was possible to specify the filetypes the indentscope gets activated and also if it is possible to change the color of the line from green to grey? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
"Yes" to both questions. Any 'mini.nvim' module can be disabled per buffer by setting buffer-local variable in the Lua form of Color of that line is controlled by |
Beta Was this translation helpful? Give feedback.
"Yes" to both questions.
Any 'mini.nvim' module can be disabled per buffer by setting buffer-local variable in the Lua form of
vim.b.minixxx_disable = true
(miniindentscope_disable
in this case). Here is a list of common recipes for its automatic usage.Color of that line is controlled by
MiniIndentscopeSymbol
highlight group (described in 'mini.indentscope' documentation). You can modify it to be any color using regular:highlight
command or itsvim.api.nvim_set_hl()
Lua equivalent.