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 9, 2023
1 parent 7af26cb commit 7c37719
Showing 1 changed file with 41 additions and 22 deletions.
63 changes: 41 additions & 22 deletions doc/hurl.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,28 @@ FEATURES *hurl.nvim-features*

USAGE *hurl.nvim-usage*

Add the following configuration to your Neovim setup:
Add the following configuration to your Neovim setup with lazy.nvim
<https://github.com/folke/lazy.nvim>:

>lua
{
"jellydn/hurl.nvim",
dependencies = { "MunifTanjim/nui.nvim" },
cmd = { "HurlRunner", "HurlRunnerAt", "HurlRunnerToEntry" },
opts = {
-- Show debugging info
debug = false,
-- Show response in popup or split
mode = "split",
},
keys = {
-- Run API request
{ "<leader>A", "<cmd>HurlRunner<CR>", desc = "Run All requests" },
{ "<leader>a", "<cmd>HurlRunnerAt<CR>", desc = "Run Api request" },
{ "<leader>te", "<cmd>HurlRunnerToEntry<CR>", desc = "Run Api request to entry" },
-- Run Hurl request in visual mode
{ "<leader>h", ":HurlRunner<CR>", desc = "Hurl Runner", mode = "v" },
},
}
{
"jellydn/hurl.nvim",
dependencies = { "MunifTanjim/nui.nvim" },
cmd = { "HurlRunner", "HurlRunnerAt", "HurlRunnerToEntry" },
opts = {
-- Show debugging info
debug = false,
-- Show response in popup or split
mode = "split",
},
keys = {
-- Run API request
{ "<leader>A", "<cmd>HurlRunner<CR>", desc = "Run All requests" },
{ "<leader>a", "<cmd>HurlRunnerAt<CR>", desc = "Run Api request" },
{ "<leader>te", "<cmd>HurlRunnerToEntry<CR>", desc = "Run Api request to entry" },
-- Run Hurl request in visual mode
{ "<leader>h", ":HurlRunner<CR>", desc = "Hurl Runner", mode = "v" },
},
}
<

Expand All @@ -56,8 +56,27 @@ Simple demo in split mode:

ENV FILE SUPPORT: VARS.ENV *hurl.nvim-env-file-support:-vars.env*

`hurl.nvim` offers seamless integration with `vars.env` files to manage
environment variables for your HTTP requests.
`hurl.nvim` seamlessly integrates with environment files named `vars.env` to
manage environment variables for your HTTP requests. These environment
variables are essential for customizing your requests with dynamic data such as
API keys, base URLs, and other configuration values.


CUSTOMIZATION ~

You can specify the name of the environment file in your `hurl.nvim`
configuration. By default, `hurl.nvim` looks for a file named `vars.env`, but
you can customize this to any file name that fits your project’s structure.

Here’s how to set a custom environment file name in your `hurl.nvim` setup:

>lua
require('hurl').setup({
-- Specify your custom environment file name here
env_file = 'hurl.env',
-- Other configuration options...
})
<


FILE LOCATION ~
Expand Down

0 comments on commit 7c37719

Please sign in to comment.