Skip to content

Indentation does not work #5

Open
@salkin-mada

Description

@salkin-mada

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
)

indents with mzgg... to:
scrn-2021-02-17-20-21-41

the same block of code yanked and pasted into another buffer indents to:
scrn-2021-02-17-20-22-02

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions