From 42ab95d5e11f247c6f0c8f5181b02e816caa4a4f Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 16 Oct 2022 14:52:15 +0200 Subject: feat!: remove obsolete `TS*` highlight groups --- plugin/nvim-treesitter.lua | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'plugin') diff --git a/plugin/nvim-treesitter.lua b/plugin/nvim-treesitter.lua index 2eedd3372..4ea3925fd 100644 --- a/plugin/nvim-treesitter.lua +++ b/plugin/nvim-treesitter.lua @@ -9,7 +9,6 @@ vim.g.loaded_nvim_treesitter = true require("nvim-treesitter").setup() local api = vim.api -local highlight = require "nvim-treesitter.highlight" -- define autocommands local augroup = api.nvim_create_augroup("NvimTreesitter", {}) @@ -33,12 +32,3 @@ api.nvim_create_autocmd("Filetype", { end, desc = "Reload query", }) - -api.nvim_create_autocmd("ColorScheme", { - group = augroup, - callback = highlight.set_default_hlgroups, - desc = "Set default highlights", -}) - --- define highlights -highlight.set_default_hlgroups() -- cgit v1.2.3-70-g09d2