diff options
author | ichigo-gyuunyuu <[email protected]> | 2021-07-26 22:44:06 +0530 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-26 13:14:06 -0400 |
commit | 623994af2ae71a575fe5fc544e4bde36fdcdf006 (patch) | |
tree | 1d35c57d02f697e17dd4f558a4933a827207a0ec | |
parent | 35ad30a6170c2872b91f6a9696dffa136fa65ee5 (diff) |
add fields for latex (#1118)
-rw-r--r-- | lua/default-config.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/default-config.lua b/lua/default-config.lua index 5451d0b8..ab741723 100644 --- a/lua/default-config.lua +++ b/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 = { |