mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 22:47:25 +01:00
14 lines
489 B
Lua
14 lines
489 B
Lua
return {
|
|
'axelvc/template-string.nvim',
|
|
opts = {
|
|
filetypes = { 'html', 'typescript', 'javascript', 'typescriptreact', 'javascriptreact' }, -- filetypes where the plugin is active
|
|
jsx_brackets = true, -- must add brackets to JSX attributes
|
|
remove_template_string = false, -- remove backticks when there are no template strings
|
|
restore_quotes = {
|
|
-- quotes used when "remove_template_string" option is enabled
|
|
normal = [[']],
|
|
jsx = [["]],
|
|
},
|
|
},
|
|
}
|