[nvim] feat: add latex lsp

This commit is contained in:
David JULIEN 2022-05-17 16:45:58 +02:00
parent 9a076e3984
commit 015c7f3936
2 changed files with 19 additions and 1 deletions

View File

@ -58,7 +58,7 @@ local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities) capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
-- Setup nvim-lsp-installer -- Setup nvim-lsp-installer
local servers = { "clangd", "sumneko_lua" } local servers = { "clangd", "sumneko_lua", "texlab" }
lsp_installer.setup { lsp_installer.setup {
ensure_installed = servers, ensure_installed = servers,
ui = { ui = {

View File

@ -0,0 +1,18 @@
-- Author : swytch
-- Created : Monday May 17, 2022 16:29:18 CET
-- License : GPLv3
-- Description : neovim lsp config file for texlab
local M = {}
M.setup = function(opts)
opts.settings = {
build = {
executable = "pdflatex"
}
}
end
return M