Files
dotfiles/.config/nvim/lua/plugins/plantuml.lua
Felix Nehrke af022d495e Update vim-plugins
Important, nvim-soil has moved from github to codeberg.
2026-04-21 09:28:11 +01:00

39 lines
1.0 KiB
Lua

return {
{
"aklt/plantuml-syntax",
},
{
'https://codeberg.org/caskstrength/nvim-soil',
ft = "plantuml",
opts = {
-- If you want to change default configurations
-- This option closes the image viewer and reopen the image generated
-- When true this offers some kind of online updating (like plantuml web server)
actions = {
redraw = false
},
-- If you want to use Plant UML jar version instead of the installed version
-- puml_jar = "/path/to/plantuml.jar",
-- If you want to customize the image showed when running this plugin
image = {
darkmode = false, -- Enable or disable darkmode
format = "png", -- Choose between png or svg
-- This is a default implementation of using nsxiv to open the resultant image
-- Edit the string to use your preferred app to open the image (as if it were a command line)
-- Some examples:
-- return "feh " .. img
-- return "xdg-open " .. img
execute_to_open = function(img)
return "feh " .. img
end
}
}
}
}