This commit is contained in:
RingOfStorms (Joshua Bell) 2023-06-29 00:11:07 -05:00
parent 66c32e98f5
commit 01eb2153e8
11 changed files with 41 additions and 237 deletions

View file

@ -32,3 +32,10 @@ vim.api.nvim_create_autocmd("BufRead", {
vim.cmd.CccHighlighterEnable()
end,
})
vim.api.nvim_create_autocmd('BufEnter', {
callback = function ()
local ts_avail, parsers = pcall(require, "nvim-treesitter.parsers")
if ts_avail and parsers.has_parser() then vim.cmd.TSBufEnable "highlight" end
end,
})