mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-28 19:50:05 +02:00
migrate ts-rainbo to ts-rainbow2
This commit is contained in:
parent
e52160557a
commit
d86ac958a2
4 changed files with 28 additions and 12 deletions
|
@ -10,14 +10,28 @@ configs.setup({
|
|||
ignore_install = { "phpdoc" }, -- List of parsers to ignore installing
|
||||
highlight = {
|
||||
enable = true,
|
||||
disable = function(_, bufnr) return vim.b[bufnr].large_buf end,
|
||||
disable = { "css" }, -- list of language that will be disabled
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
context_commentstring = {
|
||||
enable = true,
|
||||
enable_autocmd = false,
|
||||
config = {
|
||||
-- Languages that have a single comment style
|
||||
typescript = "// %s",
|
||||
css = "/* %s */",
|
||||
scss = "/* %s */",
|
||||
html = "<!-- %s -->",
|
||||
svelte = "<!-- %s -->",
|
||||
vue = "<!-- %s -->",
|
||||
json = "",
|
||||
},
|
||||
},
|
||||
context_commentstring = { enable = true, enable_autocmd = false },
|
||||
rainbow = {
|
||||
enable = true,
|
||||
disable = { "html" },
|
||||
extended_mode = false,
|
||||
max_file_lines = nil,
|
||||
equery = 'rainbow-parens',
|
||||
strategy = require('ts-rainbow').strategy.global,
|
||||
},
|
||||
autotag = { enable = true },
|
||||
incremental_selection = { enable = true },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue