feat: config refresh
This commit is contained in:
parent
a24128cfca
commit
f956194c53
16 changed files with 217 additions and 233 deletions
|
@ -16,7 +16,32 @@ return {
|
|||
event = "VeryLazy",
|
||||
opts = {
|
||||
lang = {
|
||||
graphql = "# %s",
|
||||
html = "<!-- %s -->",
|
||||
javascript = {
|
||||
"// %s", -- default commentstring when no treesitter node matches
|
||||
"/* %s */",
|
||||
call_expression = "// %s", -- specific commentstring for call_expression
|
||||
jsx_attribute = "// %s",
|
||||
jsx_element = "{/* %s */}",
|
||||
jsx_fragment = "{/* %s */}",
|
||||
spread_element = "// %s",
|
||||
statement_block = "// %s",
|
||||
},
|
||||
pug = "//- %s",
|
||||
php = "// %s",
|
||||
tsx = {
|
||||
"// %s", -- default commentstring when no treesitter node matches
|
||||
"/* %s */",
|
||||
call_expression = "// %s", -- specific commentstring for call_expression
|
||||
jsx_attribute = "// %s",
|
||||
jsx_element = "{/* %s */}",
|
||||
jsx_fragment = "{/* %s */}",
|
||||
spread_element = "// %s",
|
||||
statement_block = "// %s",
|
||||
},
|
||||
twig = "{# %s #}",
|
||||
typescript = { "// %s", "/* %s */" }, -- langs can have multiple commentstrings
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue