update README and highlight groups

This commit is contained in:
JellyApple102 2021-09-23 23:33:03 -04:00
parent 39af2e5e72
commit 939fe474e7
6 changed files with 15 additions and 2 deletions

View File

@ -2,6 +2,14 @@
A simple language parser and highlighter made with [tree-sitter](https://github.com/tree-sitter/tree-sitter)
[tokyonight](https://github.com/folke/tokyonight.nvim)
![tokyonight one](images/tokyonight1.png)
![tokyonight two](images/tokyonight2.png)
[nightfly](https://github.com/bluz71/vim-nightfly-guicolors)
![nightfly one](images/nightfly1.png)
![nightfly two](images/nightfly2.png)
# Using with [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter)
Please refer to the [adding parsers](https://github.com/nvim-treesitter/nvim-treesitter#advanced-setup) section on the nvim-treesitter page.
@ -38,3 +46,8 @@ This will match any file whose first line is just lowercase letters_and_undersco
Than change the config option `filetype = 'dfraw'` and remove the `used_by` option to only use 'dfraw' type files.
More information on custom filetypes [here](https://neovim.io/doc/user/filetype.html#new-filetype).
# Highlight Colors
Feel free to change the highlight groups set by `highlights.scm`. I have found that some colors schemes use the same or similar colors for different groups.
I have set them to what I like best using the [tokyonight](https://github.com/folke/tokyonight.nvim) theme.

BIN
images/nightfly1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
images/nightfly2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 KiB

BIN
images/tokyonight1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
images/tokyonight2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 KiB

View File

@ -1,5 +1,5 @@
(comment) @comment
(string) @string
(number) @number
(number) @type
(declaration) @statement
(large) @identifier
(large) @constant