Add image

This commit is contained in:
Preston Baxter 2024-01-27 00:45:14 -06:00
parent c5f8daf93d
commit 65b1f600d1
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,12 @@ This is an implementation of the treetop logstash grammar for tree-sitter.
- The parser is complete, however I have some work to do on highlighting the syntax better
- nvim-treesitter expects a unqiue-ish filename, so unlike the logstash standard, this project expects logstash pipelines to have the .logastash file extension
## Example
What highlighting of `tests/example.logstash` looks like
![image of colored code](docs/example.png)
## Neovim
`nvim-treesitter` has great [instructions](https://github.com/nvim-treesitter/nvim-treesitter?tab=readme-ov-file#adding-parsers). Below is a walkthrough of their intrsuctions, but focused on tree-sitter-logstash

BIN
docs/example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB