feat(nvim): clean and trim config
This commit is contained in:
@@ -1,22 +1,19 @@
|
||||
local common = require('BluePlum.lazy')
|
||||
|
||||
return {
|
||||
-- Highlighting
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
-- enabled = false,
|
||||
event = 'VeryLazy',
|
||||
config = function()
|
||||
vim.cmd('TSUpdate')
|
||||
require('nvim-treesitter.configs').setup({
|
||||
ensure_installed = { 'lua', 'markdown', 'typescript', 'javascript', 'rust', 'json', 'toml' },
|
||||
branch = 'main',
|
||||
event = common.event.VeryLazy,
|
||||
build = ':TSUpdate',
|
||||
opts = {
|
||||
ensure_installed = { 'lua', 'markdown', 'typescript', 'javascript', 'rust', 'json', 'toml' },
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
|
||||
auto_install = true,
|
||||
|
||||
-- additional_vim_regex_highlighting = true,
|
||||
})
|
||||
end,
|
||||
auto_install = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user