✨ feat(nvim): new extra: json extended
one new plugin
This commit is contained in:
parent
e9e341529d
commit
18d30e3fbc
3 changed files with 13 additions and 8 deletions
|
@ -9,13 +9,7 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rest-nvim/rest.nvim",
|
"rest-nvim/rest.nvim",
|
||||||
dependencies = {
|
ft = "http",
|
||||||
{
|
|
||||||
"gennaro-tedesco/nvim-jqx",
|
|
||||||
ft = { "json", "yaml" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
ft = { "http" },
|
|
||||||
opts = {
|
opts = {
|
||||||
-- Open request results in a horizontal split
|
-- Open request results in a horizontal split
|
||||||
result_split_horizontal = true,
|
result_split_horizontal = true,
|
||||||
|
|
11
.config/nvim/lua/plugins/extras/lang/json-extended.lua
Normal file
11
.config/nvim/lua/plugins/extras/lang/json-extended.lua
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
return {
|
||||||
|
{ import = "lazyvim.plugins.extras.lang.json" },
|
||||||
|
{
|
||||||
|
"gennaro-tedesco/nvim-jqx",
|
||||||
|
ft = { "json", "yaml" },
|
||||||
|
cmd = { "JqxList", "JqxQuery" },
|
||||||
|
keys = {
|
||||||
|
{ "<leader>cj", ft = { "json", "yaml" }, "<cmd>JqxList<cr>", desc = "Jqx List" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
|
@ -26,7 +26,7 @@ end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.json" },
|
{ import = "plugins.extras.lang.json-extended" },
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
|
|
Loading…
Add table
Reference in a new issue