Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Apr 16, 2024
1 parent 65805e5 commit 92773a9
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 1 deletion.
10 changes: 10 additions & 0 deletions lua/dotvim/pkgs/extra/languages/json.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,15 @@ return {
}
end,
},
{
"Myzel394/jsonfly.nvim",
ft = { "json" },
dependencies = {
"telescope.nvim",
},
config = function()
require("telescope").load_extension("jsonfly")
end,
},
},
}
38 changes: 38 additions & 0 deletions lua/dotvim/pkgs/extra/misc/rest.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---@type dotvim.core.package.PackageOption
return {
name = "extra.misc.rest",
deps = {
"editor",
"treesitter",
},
plugins = {
{
"nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, {
"lua",
"xml",
"http",
"json",
"graphql",
})
end
end,
},
{
"rest-nvim/rest.nvim",
dependencies = {
"telescope.nvim",
},
pname = "rest-nvim",
ft = { "http" },
cmd = { "Rest" },
config = function(_, opts)
require("rest-nvim").setup(opts)
require("telescope").load_extension("rest")
end,
opts = {},
},
},
}
1 change: 0 additions & 1 deletion lua/dotvim/pkgs/treesitter/plugins/nvim-treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ return {
"go",
"graphql",
"html",
"http",
"ini",
"java",
"javascript",
Expand Down

0 comments on commit 92773a9

Please sign in to comment.