open a file it doesn't work unless i use the command
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate',
requires = {
'p00f/nvim-ts-rainbow'
},
config = function()
require('core/treesitter')
end
}
treesitter.setup {
ensure_installed = { 'c', 'cpp', 'vim', 'lua', 'java' },
sync_install = false,
auto_install = true,
ignore_install = {},
highlight = {
enable = true,
disable = {},
},
rainbow = {
enable = true,
extended_mode = true,
max_file_lines = nil,
},
incremental_selection = {
enable = true,
keymaps = {
init_selection = '<CR>',
node_incremental = '<CR>',
scope_incremental = '<BS>',
node_decremental = '<TAB>',
},
},
indent = {
enable = true
}
}
open a file it doesn't work unless i use the command
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate',
requires = {
'p00f/nvim-ts-rainbow'
},
config = function()
require('core/treesitter')
end
}
treesitter.setup {
ensure_installed = { 'c', 'cpp', 'vim', 'lua', 'java' },
}