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.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/ftplugin/tex.lua b/.config/nvim/ftplugin/tex.lua
new file mode 100644
index 0000000..b15cb06
--- /dev/null
+++ b/.config/nvim/ftplugin/tex.lua
@@ -0,0 +1,4 @@
+require("lspconfig").texlab.setup {
+ cmd = { DATA_PATH .. "/lspinstall/latex/texlab" },
+ on_attach = require("cfg.lsp").common_on_attach,
+}