diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/plantuml.lua b/users/price/dots/.config/nvim/lua/plugins/configs/plantuml.lua new file mode 100644 index 00000000..98e6e3cf --- /dev/null +++ b/users/price/dots/.config/nvim/lua/plugins/configs/plantuml.lua @@ -0,0 +1,22 @@ +local plantuml_fts = { "plantuml", "puml", "uml", "pu", "iuml" } + +return { + { + "aklt/plantuml-syntax", + config = false, + ft = plantuml_fts, + }, + { + "weirongxu/plantuml-previewer.vim", + dependencies = { + "tyru/open-browser.vim", + }, + ft = plantuml_fts, + cmd = { + "PlantumlOpen", + "PlantumlStop", + "PlantumlSave", + }, + config = false, + }, +} diff --git a/users/price/home.nix b/users/price/home.nix index ec20fbe0..356f8ee9 100644 --- a/users/price/home.nix +++ b/users/price/home.nix @@ -30,6 +30,8 @@ in packages = with pkgs; [ + plantuml + graphviz gcolor3 typescript deno