first commit
This commit is contained in:
commit
15e643aa8e
41 changed files with 1623 additions and 0 deletions
19
lua/plugins/vim-rest-console.lua
Normal file
19
lua/plugins/vim-rest-console.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
-- REST Client
|
||||
return {
|
||||
-- https://github.com/diepm/vim-rest-console
|
||||
'diepm/vim-rest-console',
|
||||
event = 'VeryLazy',
|
||||
config = function ()
|
||||
-- Turn off the default key binding
|
||||
vim.g.vrc_set_default_mapping = 0
|
||||
-- Set the default response content type to JSON
|
||||
vim.g.vrc_response_default_content_type = 'application/json'
|
||||
-- Set the output buffer name (.json extension to utilize syntax hilighting)
|
||||
vim.g.vrc_output_buffer_name = '_OUTPUT.json'
|
||||
-- Run a format command on the response buffer
|
||||
vim.g.vrc_auto_format_response_patterns = {
|
||||
json = 'jq',
|
||||
}
|
||||
end
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue