summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/setup/lspconfig.lua
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-05-15 11:46:55 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-05-15 11:46:55 +0200
commit937d62ad689f201fe79f268a7edb69953c1ac83a (patch)
treeedd2cab64f785f606ab1bd326e5965a7ff36f2bc /.config/nvim/lua/setup/lspconfig.lua
parentaa70171ec9fc4aa09d8d4c22c3c000a5b56e69cb (diff)
nvim: some stuff for LaTeX LSP
Diffstat (limited to '.config/nvim/lua/setup/lspconfig.lua')
-rw-r--r--.config/nvim/lua/setup/lspconfig.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/lua/setup/lspconfig.lua b/.config/nvim/lua/setup/lspconfig.lua
index ad101a2..9d56e84 100644
--- a/.config/nvim/lua/setup/lspconfig.lua
+++ b/.config/nvim/lua/setup/lspconfig.lua
@@ -24,6 +24,11 @@ lspconfig.rust_analyzer.setup {
on_attach = on_attach,
}
+-- vim.cmd("let g:tex_flavor = 'tex'")
+-- lspconfig.texlab.setup {
+-- on_attach = on_attach,
+-- }
+
local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type