Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bennypowers/svgo.nvim
Optimize SVGs in Neovim
https://github.com/bennypowers/svgo.nvim
neovim neovim-plugin svg svgo
Last synced: about 1 month ago
JSON representation
Optimize SVGs in Neovim
- Host: GitHub
- URL: https://github.com/bennypowers/svgo.nvim
- Owner: bennypowers
- License: mit
- Created: 2023-06-20T07:16:50.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-11-17T09:52:18.000Z (6 months ago)
- Last Synced: 2024-01-24T10:45:48.413Z (4 months ago)
- Topics: neovim, neovim-plugin, svg, svgo
- Language: Lua
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-neovim - bennypowers/svgo.nvim - Optimize SVG files. (Formatting / Comment)
- awesome-neovim - bennypowers/svgo.nvim - Optimize SVG files. (Formatting / Comment)
- awesome-neovim - bennypowers/svgo.nvim - Optimize SVG files. (Formatting / Comment)
README
![Am Yisrael Chai - עם ישראל חי](https://bennypowers.dev/assets/flag.am.yisrael.chai.png)
# svgo.nvim 🗜️
Run [svgo][svgo] on the current buffer or a string.
Bundles some defaults that I like, see [./svgo.config.js][config]
```lua
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.[svgo]: https://github.com/svg/svgo/
[config]: ./svgo.config.js