Skip to content

Commit

Permalink
chore(doc): auto generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 8, 2023
1 parent 46fd844 commit c3a0fbc
Showing 1 changed file with 52 additions and 4 deletions.
56 changes: 52 additions & 4 deletions doc/hurl.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Table of Contents *hurl.nvim-table-of-contents*
- Usage |hurl.nvim-usage|
- Env File Support: vars.env |hurl.nvim-env-file-support:-vars.env|
- Default Key Mappings |hurl.nvim-default-key-mappings|
- Tips |hurl.nvim-tips|
- Configuration |hurl.nvim-configuration|
- Resources |hurl.nvim-resources|
- Credits |hurl.nvim-credits|
- Author |hurl.nvim-author|
Expand Down Expand Up @@ -110,10 +110,58 @@ These key mappings are active within the popup windows that `hurl.nvim`
displays.


TIPS *hurl.nvim-tips*
CONFIGURATION *hurl.nvim-configuration*

Enable debug mode with `debug = true` for detailed logs. Logs are saved at
`~/.cache/nvim/hurl.nvim.log` on macOS.
`hurl.nvim` can be customized with the following default configurations:

>lua
local default_config = {
-- Toggle debugging information
debug = false, -- If true, logs will be saved at ~/.cache/nvim/hurl.nvim.log

-- Set the display mode for the response: 'split' or 'popup'
mode = 'split',

-- Default environment file name
env_file = 'vars.env',

-- Specify formatters for different response types
formatters = {
json = { 'jq' }, -- Uses jq to format JSON responses
html = {
'prettier', -- Uses prettier to format HTML responses
'--parser',
'html',
},
},
}
<

To apply these configurations, include them in your Neovim setup like this:

>lua
require('hurl').setup({
debug = true, -- Enable to show detailed logs
mode = 'popup', -- Change to 'popup' to display responses in a popup window
env_file = 'vars.env', -- Change this to use a different environment file name
formatters = {
json = { 'jq' }, -- Customize the JSON formatter command
html = {
'prettier', -- Customize the HTML formatter command
'--parser',
'html',
},
},
})
<

Adjust the settings as per your needs to enhance your development experience
with `hurl.nvim`.


TIPS ~

Logs are saved at `~/.cache/nvim/hurl.nvim.log` on macOS.


RESOURCES *hurl.nvim-resources*
Expand Down

0 comments on commit c3a0fbc

Please sign in to comment.