Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin does not work #138

Open
githubxone opened this issue Oct 14, 2024 · 2 comments
Open

plugin does not work #138

githubxone opened this issue Oct 14, 2024 · 2 comments

Comments

@githubxone
Copy link

githubxone commented Oct 14, 2024

I have installed the plugin, but it does not work.
image

my tree-sitter config:

require("nvim-treesitter.configs").setup {
  ensure_installed = { "vim", "vimdoc", "bash", "c", "cpp", "json", "lua", "python", "markdown", "markdown_inline",
 "make", "cmake" }, -- one of "all" or a list of languages

  highlight = { enable = true },
  indent = { enable = true },
}

Do I forget to config other thing?

@githubxone githubxone changed the title fail to config plugin does not work Oct 15, 2024
@Danielkonge
Copy link
Contributor

The recommended way to setup the plugin is not via the setup function (see the readme), but if you prefer to use the setup function, you need to use require('rainbow-delimiters.setup').setup (note: setup twice, not configs for the first one).

@drowning-cat
Copy link

drowning-cat commented Dec 24, 2024

@githubxone

{
  'nvim-treesitter/nvim-treesitter',
  -- event = 'VeryLazy', -- Disable!
  build = ':TSUpdate',
  main = 'nvim-treesitter.configs',
  opts = {},
},
{
  'HiPhish/rainbow-delimiters.nvim',
  lazy = false,
  main = 'rainbow-delimiters.setup',
  opts = {},
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants