summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/tex.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/ftplugin/tex.lua')
-rw-r--r--.config/nvim/ftplugin/tex.lua12
1 files changed, 4 insertions, 8 deletions
diff --git a/.config/nvim/ftplugin/tex.lua b/.config/nvim/ftplugin/tex.lua
index f8e1cb5..3de774f 100644
--- a/.config/nvim/ftplugin/tex.lua
+++ b/.config/nvim/ftplugin/tex.lua
@@ -1,8 +1,4 @@
-if require("cfg.utils").check_lsp_client_active "texlab" then
- return
-end
-
-require("lspconfig").texlab.setup {
- cmd = { DATA_PATH .. "/lspinstall/latex/texlab" },
- on_attach = require("cfg.lsp").common_on_attach,
-}
+require("lang.tex").format()
+require("lang.tex").lint()
+require("lang.tex").lsp()
+require("lang.tex").dap()