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", + }, + }, +}