ichigo-gyuunyuu 4 лет назад
Родитель
Сommit
623994af2a
1 измененных файлов с 16 добавлено и 0 удалено
  1. 16 0
      lua/default-config.lua

+ 16 - 0
lua/default-config.lua

@@ -749,6 +749,22 @@ lvim.lang = {
       },
     },
   },
+  tex = {
+    formatter = {
+      exe = "latexindent",
+      args = {},
+      stdin = false,
+    },
+    linters = { "chketx" },
+    lsp = {
+      provider = "texlab",
+      setup = {
+        cmd = { DATA_PATH .. "/lspinstall/latex/texlab" },
+        on_attach = common_on_attach,
+        capabilities = common_capabilities,
+      },
+    },
+  },
   typescript = {
     -- @usage can be prettier or eslint
     formatter = {