experimental json to types

This commit is contained in:
markus.dieckmann 2025-05-27 11:53:44 +02:00
parent 3a383abe5a
commit 1f58bb91cc

View File

@ -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 = {
{
"<leader>cU",
"<CMD>ConvertJSONtoLang typescript<CR>",
desc = "Convert JSON to TS",
},
{
"<leader>ct",
"<CMD>ConvertJSONtoLangBuffer typescript<CR>",
desc = "Convert JSON to TS Buffer",
},
},
}