From beff731ea96528c72f2b450e5273a578d7cb2bfb Mon Sep 17 00:00:00 2001 From: abs3nt Date: Mon, 6 Mar 2023 10:28:11 -0800 Subject: [PATCH] updates --- lua/plugins.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/lua/plugins.lua b/lua/plugins.lua index 901f3a2..5a5d265 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -35,6 +35,28 @@ return { ft = { "markdown" } }, + { + 'ray-x/web-tools.nvim', + config = function() + require 'web-tools'.setup({ + keymaps = { + rename = nil, -- by default use same setup of lspconfig + repeat_rename = '.', -- . to repeat + }, + hurl = { + -- hurl default + show_headers = false, -- do not show http headers + floating = false, -- use floating windows (need guihua.lua) + formatters = { + -- format the result by filetype + json = { 'jq' }, + html = { 'prettier', '--parser', 'html' }, + }, + }, + }) + end + }, + -- https://github.com/fatih/vim-go { 'fatih/vim-go',