Skip to content

Commit

Permalink
feat: Updated doc/hurl.nvim.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Mar 1, 2024
1 parent 5db1585 commit 0b91320
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion doc/hurl.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,15 @@ Adjust the settings as per your needs to enhance your development experience
with `hurl.nvim`.


TIPS ~
- **Syntax Highlighting in Stable Neovim:** If you’re using a stable version of Neovim that doesn’t support Hurl syntax highlighting, you can set the filetype to `sh` or `bash` for your `.hurl` files. This will enable basic syntax highlighting that can improve readability. To do this, add the following line to your Neovim configuration:

>vim
autocmd BufRead,BufNewFile *.hurl setfiletype sh
<

For example, here is my autocmd
<https://github.com/jellydn/lazy-nvim-ide/commit/141edf7114839ba7656c4484f852199179c4f11f>
for `.hurl` files.TIPS ~

- Enable debug mode with `debug = true` for detailed logs. Logs are saved at `~/.local/state/nvim/hurl.nvim.log` on macOS.
- **Split Mode with Edgy:** `hurl.nvim` can be used with edgy.nvim <https://github.com/folke/edgy.nvim> to manage layout when using the split mode.
Expand Down

0 comments on commit 0b91320

Please sign in to comment.