summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/tex.lua
blob: f8e1cb5f5aded51b4a1243fb814cf36ca791ae88 (plain)
1
2
3
4
5
6
7
8
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,
}