From 937d62ad689f201fe79f268a7edb69953c1ac83a Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Sun, 15 May 2022 11:46:55 +0200 Subject: nvim: some stuff for LaTeX LSP --- .config/nvim/lua/setup/lspconfig.lua | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3-70-g09d2