Vonr / align.nvim

A minimal plugin for NeoVim for aligning lines
GNU General Public License v3.0
147 stars 4 forks source link

bug: missing required `length` argument in `gaaip` keybind example #12

Closed cleong14 closed 1 year ago

cleong14 commented 1 year ago
-- align_to_char(length,  reverse, preview, marks)
-- ...
-- Example gaaip to aling a paragraph to 1 character, looking left 
vim.keymap.set(
    'n',
    'gaa',
    function()
        local a = require'align' 
        a.operator(
            a.align_to_char, 
            { reverse = true } -- <-- missing expected `length`
        )
    end,
    NS
)
-- ...