Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add support for neovim-treesitter #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leaty
Copy link

@leaty leaty commented Feb 23, 2021

Fixes #33.

This could possibly be a tad biased of course, but it looks way better now.

Before:
2021-02-23-1614091271_screenshot_480x218

After:
2021-02-23-1614091484_screenshot_473x216

Without treesitter:
2021-02-23-1614091320_screenshot_482x211

@@ -189,6 +189,15 @@ hi ALEWarning ctermbg=NONE ctermfg=3

" }}}

" Neovim treesitter {{{

hi TSInclude ctermbg=NONE ctermfg=5
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can replace these with

exe 'hi TSInclude guibg=NONE ctermbg=NONE ctermfg=5 guifg='.g:color5
" ...

So that it also supports when you do set termguicolors

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

neovim treesitter support
2 participants