feat(nvim): replace hurl
plugin with more active one
This commit is contained in:
parent
7fe6d5abac
commit
447644c128
@ -1,5 +0,0 @@
|
||||
vim.keymap.set("n", "<leader>fr", "<Cmd>Hurl<CR>", {
|
||||
buffer = true,
|
||||
})
|
||||
|
||||
vim.opt_local.commentstring = "# %s"
|
27
dots/.config/nvim/lua/plugins/configs/hurl.lua
Normal file
27
dots/.config/nvim/lua/plugins/configs/hurl.lua
Normal file
@ -0,0 +1,27 @@
|
||||
return {
|
||||
{
|
||||
"jellydn/hurl.nvim",
|
||||
dependencies = { "MunifTanjim/nui.nvim" },
|
||||
ft = "hurl",
|
||||
opts = {
|
||||
debug = false,
|
||||
mode = "split",
|
||||
formatters = {
|
||||
json = { 'jq' },
|
||||
html = {
|
||||
'prettier',
|
||||
'--parser',
|
||||
'html',
|
||||
},
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>fr", "<cmd>HurlRunner<CR>", desc = "Hurl: Runner" },
|
||||
{ "<leader>fa", "<cmd>HurlRunnerAt<CR>", desc = "Hurl: Run Api request" },
|
||||
{ "<leader>fe", "<cmd>HurlRunnerToEntry<CR>", desc = "Hurl: Run Api request to entry" },
|
||||
{ "<leader>fm", "<cmd>HurlToggleMode<CR>", desc = "Hurl: Toggle Mode" },
|
||||
{ "<leader>rv", "<cmd>HurlVerbose<CR>", desc = "Hurl: Run Api in verbose mode" },
|
||||
{ "<leader>fr", ":HurlRunner<CR>", desc = "Hurl: Runner", mode = "v" },
|
||||
},
|
||||
}
|
||||
}
|
@ -118,10 +118,6 @@ return {
|
||||
event = { "BufReadPre", "BufNewFile", "WinLeave" },
|
||||
dependencies = {
|
||||
"nvim-treesitter/playground",
|
||||
{
|
||||
"pfeiferj/nvim-hurl",
|
||||
config = true,
|
||||
},
|
||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||
"RRethy/nvim-treesitter-endwise",
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user