summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/tex.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-22 00:08:36 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-22 00:08:36 +0200
commitb51f1ae28924a752258e7607fbc3210f9b18eaac (patch)
tree8c8c095528990b3f6eb499dbcca15e9720e636d1 /.config/nvim/ftplugin/tex.lua
parentda936b0ed9ac4c171d3c7908e41af1875a82b08b (diff)
Updates based on Chris's lunarvim
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()