Pārlūkot izejas kodu

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

LostNeophyte 2 gadi atpakaļ
vecāks
revīzija
6c6d048103
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 = {