update comment string config

This commit is contained in:
asep komarudin 2023-12-02 00:29:19 +07:00
parent ba6b07f90a
commit 767c87e887
2 changed files with 16 additions and 16 deletions

View file

@ -13,21 +13,21 @@ configs.setup({
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 -->",
jsx = "{/* %s */}",
json = "",
},
},
-- 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 -->",
-- jsx = "{/* %s */}",
-- json = "",
-- },
-- },
rainbow = {
enable = true,
disable = { "html" },