summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/lsp/latex-ls.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-04-19 22:46:03 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-04-19 22:46:03 +0200
commitc07e126c2fcae8ef7e81d1b113dd5ef2669ab23f (patch)
treef219deb17f33ec46dc811871ee22f43b88ac0730 /.config/nvim/lua/lsp/latex-ls.lua
parent772508a05046097f2437d0940990dd861693ec39 (diff)
Working lsp in nvim
Diffstat (limited to '.config/nvim/lua/lsp/latex-ls.lua')
-rw-r--r--.config/nvim/lua/lsp/latex-ls.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/lua/lsp/latex-ls.lua b/.config/nvim/lua/lsp/latex-ls.lua
new file mode 100644
index 0000000..179c143
--- /dev/null
+++ b/.config/nvim/lua/lsp/latex-ls.lua
@@ -0,0 +1,4 @@
+require'lspconfig'.texlab.setup{
+ cmd = {DATA_PATH .. "/lspinstall/latex/texlab"},
+ on_attach = require'lsp'.common_on_attach
+}