Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Only work when execute :e to reload current file or :TSEnable rainbow #142

@Savitar184

Description

@Savitar184

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
}

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions