Open
Description
not really sure if this is a sc treesitter issue or some neovim v0.5 nightly buggy behavior.
For auto indenting an entire buffer I use variations of mzgg=G`zzz
in my mappings.
the following block written out by hand in a fresh buffer:
(
Pdef('default',
Pbind(
\instrument, 'default',
\scale, Scale.yu,
\degree, Pseq([12, 5, 5, 5, 7, 7, 8, 7, 2, 11, 9, 11, 9, 7, 11, 12, 2, 2, 4, 5, 12, 12], inf),
\legato, Pxrand([3/6, 12/8, 13/7, 5/7, 14/11, 16/9], inf) * 2.2,
\octave, Pseq([4, 5, 3, 4, 5, 3, 3, 4], inf),
\dur, Pseq([2/9, 12/9, 2/11, 2/4, 13/11, 16/11, 14/16, 6/6, Pwhite(10/14, 9/1, 1)*Rest()], inf),
)
).play
)
the same block of code yanked and pasted into another buffer indents to:
Activity