bennypowers/svgo.nvim

github github
formatting
stars 2
issues 0
subscribers 1
forks 0
CREATED

2023-06-20

UPDATED

5 months ago


Am Yisrael Chai - עם ישראל חי

svgo.nvim 🗜️

Run svgo on the current buffer or a string.

Bundles some defaults that I like, see ./svgo.config.js

return { 'bennypowers/svgo.nvim',
  opts = {
    -- uses the bundled config by default, override by passing a config path
    config = vim.fn.expand('~/.config/svgo/svgo.config.js')
  }
}

This initial implementation was pretty quick and dirty. In the future, this plugin should probably shell out to node and pass config from lua, or use nvim RPC to do the same.