Forráskód Böngészése

fix(ts): disable indent for c and cpp (#3687)

LostNeophyte 2 éve
szülő
commit
6c6d048103
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      lua/lvim/core/treesitter.lua

+ 1 - 1
lua/lvim/core/treesitter.lua

@@ -52,7 +52,7 @@ function M.config()
         json = "",
       },
     },
-    indent = { enable = true, disable = { "yaml", "python" } },
+    indent = { enable = true, disable = { "yaml", "python", "c", "cpp" } },
     autotag = { enable = false },
     textobjects = {
       swap = {