-- -- This file adds local changes to the corresponding file and plugins in LazyVim -- return { -- Treesitter is a new parser generator tool that we can -- use in Neovim to power faster and more accurate -- syntax highlighting. { -- https://github.com/nvim-treesitter/nvim-treesitter "nvim-treesitter/nvim-treesitter", opts = function(_, opts) vim.list_extend(opts.ensure_installed, { "awk", "bash", "c", "css", "dockerfile", "go", "html", "json", "lua", "make", "markdown", "perl", "python", "regex", "rust", "sql", "toml", "vim", "vimdoc", "xml", "yaml", }) end, }, -- Show context of the current function { -- https://github.com/nvim-treesitter/nvim-treesitter-context "nvim-treesitter/nvim-treesitter-context", }, { "ellisonleao/gruvbox.nvim", opts = { overrides = { TreesitterContextLineNumber = { bg = "#3c3836" } }, }, }, -- Automatically add closing tags for HTML and JSX { -- https://github.com/windwp/nvim-ts-autotag", "windwp/nvim-ts-autotag", event = function() return {} end, -- clear default event --init = require("utils").lazyAnd.FileType_BufEnter("html", "nvim-ts-autotag"), init = function() require("lazyAnd").FileType_BufEnter("html", "nvim-ts-autotag") end, } }