How to configure mini.indentscope #130
-
Hello, I can't seem to figure out how to configure mini.indentscope properly, especially the 'animation' section. At the moment I have:
But it doesn't work and the documentation doesn't help me much. I tried various different ways but all my attempts have been in vain. Could someone show me an example on how to set this up? Not just with 'none', but I mean in general, how to configure the animation. Thank you in advance. With regards, Angelo Machils |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi! You are close :) This is a working example: require('mini.indentscope').setup({
draw = {
delay = 0,
animation = require('mini.indentscope').gen_animation('none'),
},
}) or slightly more tidy example with local indentscope = require('mini.indentscope')
indentscope.setup({
draw = {
delay = 0,
animation = indentscope.gen_animation('exponentialInOut'),
},
}) The logic is as follows:
Documentation usually assumes this kind of knowledge. But in this case there is this note which might have given the clue. I'll see how it can be made better in this regard. |
Beta Was this translation helpful? Give feedback.
Hi!
You are close :) This is a working example: