mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-30 10:56:09 +03:00
Add Neovim syntax highlighting documentation
This commit is contained in:
parent
483113f771
commit
cffd3da28c
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user