From 870758fc6ef51fa11de5ca639340a354fbe5a43d Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 22 Jun 2024 06:22:05 -0500 Subject: [PATCH] feat(nvim): add `plantuml` support --- .../nvim/lua/plugins/configs/plantuml.lua | 22 +++++++++++++++++++ users/price/home.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 users/price/dots/.config/nvim/lua/plugins/configs/plantuml.lua 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