Explorar o código

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

LostNeophyte %!s(int64=2) %!d(string=hai) anos
pai
achega
6c6d048103
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = {