You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.
Hi, thank you for great code, but my rainbow plugin is not working as expected. I followed README to configure rainbow. This is what I put in init.lua:
require('nvim-treesitter.configs').setup {
-- A list of parser names, or "all"
ensure_installed = { "python"},
sync_install = false,
auto_install = true,
ignore_install = {"lua"},
highlight = {
-- `false` will disable the whole extension
enable = true,
-- NOTE: these are the names of the parsers and not the filetype. (for example if you want to
-- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is
-- the name of the parser)
-- list of language that will be disabled
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
-- Using this option may slow down your editor, and you may see some duplicate highlights.
-- Instead of true it can also be a list of languages
additional_vim_regex_highlighting = false,
},
indent = {
enable = true,
},
rainbow = {
enable = true,
extended_mode = true,
max_file_line = nil,
},
}
When I run the TSModuleInfo command, this is the output:
This is the minimal version init.lua to reproduce the error:
require('plugins')
require('nvim-treesitter.configs').setup {
-- A list of parser names, or "all"
ensure_installed = { "python"},
sync_install = false,
auto_install = true,
ignore_install = {"lua"},
highlight = {
-- `false` will disable the whole extension
enable = true,
-- NOTE: these are the names of the parsers and not the filetype. (for example if you want to
-- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is
-- the name of the parser)
-- list of language that will be disabled
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
-- Using this option may slow down your editor, and you may see some duplicate highlights.
-- Instead of true it can also be a list of languages
additional_vim_regex_highlighting = false,
},
indent = {
enable = true,
},
rainbow = {
enable = true,
extended_mode = true,
max_file_line = nil,
},
}
Hi, thank you for great code, but my rainbow plugin is not working as expected. I followed README to configure rainbow. This is what I put in
init.lua
:When I run the TSModuleInfo command, this is the output:
I guess it means that my rainbow is not installed properly since there should be a
rainbow
column.I want rainbow to work for my Python file, but failed:
I am using the Neovim v0.8.0-dev-798-ge6680ea7c (Features: +acl +iconv +tui) on a server (installed by the binary release) in Iterm2.
I would appreciate for any kind help! :)
The text was updated successfully, but these errors were encountered: