hurl/contrib/vim
Matthieu C b8c688d10b
contrib/vim: set commentstring
Signed-off-by: Matthieu C. <tiny.idea7043@fastmail.com>
2023-07-07 09:35:07 +02:00
..
ftdetect Add basic Syntax highlighting for VIM 2022-06-05 21:12:41 +02:00
ftplugin contrib/vim: set commentstring 2023-07-07 09:35:07 +02:00
syntax Add grammar to support htmlEscape and htmlUnescape 2022-12-07 08:17:08 +11:00
README.md Add Neovim syntax highlighting documentation 2023-07-03 21:25:36 +02:00
test.hurl Support template in vim syntax highlighting 2022-06-12 19:18:10 +02:00

Support for Hurl Syntax Highlighting

This enables basic syntax coloring for Hurl files in Vim/Neovim.

Installation

Vim

Install Vim syntax highlighting for Hurl

mkdir -p ~/.vim/{ftdetect,syntax}
cp ftdetect/hurl.vim ~/.vim/ftdetect
cp syntax/hurl.vim ~/.vim/syntax

Neovim

Install Neovim syntax highlighting for Hurl

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

syntax on