mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat!: remove obsolete TS* highlight groups
This commit is contained in:
parent
4cccb6f494
commit
42ab95d5e1
8 changed files with 25 additions and 572 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue