Add Neovim syntax highlighting documentation

This commit is contained in:
shawnfunke 2023-07-03 20:10:50 +02:00
parent 483113f771
commit cffd3da28c
No known key found for this signature in database
GPG Key ID: BBDCB4BDB16D75BD

View File

@ -1,16 +1,33 @@
Install vim syntax highlighting for Hurl
# Support for Hurl Syntax Highlighting
```
This enables basic syntax coloring for Hurl files in Vim/Neovim.
## Installation
### Vim
Install Vim syntax highlighting for Hurl
```bash
mkdir -p ~/.vim/{ftdetect,syntax}
cp ftdetect/hurl.vim ~/.vim/ftdetect
cp syntax/hurl.vim ~/.vim/syntax
```
Activate syntax highlighting in your ~/.vimrc
### Neovim
Install Neovim syntax highlighting for Hurl
```bash
mkdir -p ~/.config/nvim/{ftdetect,syntax}
cp ftdetect/hurl.vim ~/.config/nvim/ftdetect
cp syntax/hurl.vim ~/.config/nvim/syntax
```
## Configuration
Activate syntax highlighting in your `~/.vimrc` or `~/.config/nvim/init.vim`
```vim
syntax on
```