mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 17:03:36 +02:00
update config
This commit is contained in:
parent
8f33e5737f
commit
76c86a6842
1 changed files with 12 additions and 0 deletions
|
@ -1,11 +1,23 @@
|
||||||
require("nvim-treesitter.configs").setup({
|
require("nvim-treesitter.configs").setup({
|
||||||
|
ignore_install = { "phpdoc" }, -- List of parsers to ignore installing
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
disable = { "css" }, -- list of language that will be disabled
|
||||||
additional_vim_regex_highlighting = false,
|
additional_vim_regex_highlighting = false,
|
||||||
},
|
},
|
||||||
context_commentstring = {
|
context_commentstring = {
|
||||||
enable = true,
|
enable = true,
|
||||||
enable_autocmd = false,
|
enable_autocmd = false,
|
||||||
|
config = {
|
||||||
|
-- Languages that have a single comment style
|
||||||
|
typescript = "// %s",
|
||||||
|
css = "/* %s */",
|
||||||
|
scss = "/* %s */",
|
||||||
|
html = "<!-- %s -->",
|
||||||
|
svelte = "<!-- %s -->",
|
||||||
|
vue = "<!-- %s -->",
|
||||||
|
json = "",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
rainbow = {
|
rainbow = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue