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',