diff options
Diffstat (limited to 'lua/lvim/core')
| -rw-r--r-- | lua/lvim/core/treesitter.lua | 13 | 
1 files changed, 11 insertions, 2 deletions
| diff --git a/lua/lvim/core/treesitter.lua b/lua/lvim/core/treesitter.lua index 9c6c555e..8dbbcacb 100644 --- a/lua/lvim/core/treesitter.lua +++ b/lua/lvim/core/treesitter.lua @@ -16,8 +16,17 @@ M.config = function()        disable = { "latex" },      },      context_commentstring = { -      enable = false, -      config = { css = "// %s" }, +      enable = true, +      config = { +        -- Languages that have a single comment style +        typescript = "// %s", +        css = "/* %s */", +        scss = "/* %s */", +        html = "<!-- %s -->", +        svelte = "<!-- %s -->", +        vue = "<!-- %s -->", +        json = "", +      },      },      -- indent = {enable = true, disable = {"python", "html", "javascript"}},      -- TODO seems to be broken | 
