Skip to content

bennypowers/svgo.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.