mcauley-penney / tidy.nvim

A small Neovim plugin to remove trailing whitespace and empty lines at end of file on every save
107 stars 15 forks source link

Typo in readme with lazy config #15

Closed RayZ0rr closed 10 months ago

RayZ0rr commented 1 year ago
{
    "mcauley-penney/tidy.nvim",
    config = {  -- <----------------------------- here
        filetype_exclude = { "markdown", "diff" }
    },
    init = function()
        vim.keymap.set('n', "<leader>te", require("tidy").toggle, {})
    end
}

In the above snippet it should be opts instead of config I believe

mcauley-penney commented 1 year ago

I'll take care of this soon