From 1f58bb91cc5c22a68091bcc6e8476f5888c5bfb3 Mon Sep 17 00:00:00 2001 From: "markus.dieckmann" Date: Tue, 27 May 2025 11:53:44 +0200 Subject: [PATCH] experimental json to types --- nvim/lua/plugins/jsontotypes.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nvim/lua/plugins/jsontotypes.lua diff --git a/nvim/lua/plugins/jsontotypes.lua b/nvim/lua/plugins/jsontotypes.lua new file mode 100644 index 0000000..d2ad96a --- /dev/null +++ b/nvim/lua/plugins/jsontotypes.lua @@ -0,0 +1,17 @@ +return { + "Redoxahmii/json-to-types.nvim", + build = "sh install.sh npm", -- Replace `npm` with your preferred package manager (e.g., yarn, pnpm). + ft = "json", + keys = { + { + "cU", + "ConvertJSONtoLang typescript", + desc = "Convert JSON to TS", + }, + { + "ct", + "ConvertJSONtoLangBuffer typescript", + desc = "Convert JSON to TS Buffer", + }, + }, +}