Skip to content

Commit

Permalink
Map a few treesitter objects to Normal.
Browse files Browse the repository at this point in the history
Unfortunately the solarized theme makes these look overwhelmingly blue.
  • Loading branch information
zsiciarz committed Oct 16, 2021
1 parent ddec397 commit 7cd54de
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion nvim/lua/treesitter_config.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
require('nvim-treesitter.configs').setup {
ensure_installed = 'maintained',
highlight = {
enable = true
enable = true,
-- fix several highlight groups linked to Identifier
-- which in solarized is a pretty intense shade of blue
-- TODO: do we have to be so blunt? this feels ugly
custom_captures = {
['field'] = 'Normal',
['parameter'] = 'Normal',
['variable'] = 'Normal',
}
},
playground = {
enable = true
Expand Down

0 comments on commit 7cd54de

Please sign in to comment.