diff --git a/nvim/lua/treesitter_config.lua b/nvim/lua/treesitter_config.lua index 7275c31..9dda856 100644 --- a/nvim/lua/treesitter_config.lua +++ b/nvim/lua/treesitter_config.lua @@ -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