aboutsummaryrefslogtreecommitdiffstats
path: root/lua/pi/lsp/servers/texlab.lua
blob: 523628b56447471a83470a4bb4e711f8cf07aa9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local lsp_attach = require "pi.lsp.attach"
local lsp_flags = require "pi.lsp.flags"
return function(ops)
  return vim.tbl_extend("force", {
      on_attach = lsp_attach,
      flags = lsp_flags,
      settings = {
        ["texlab"] = {
          latexFormatter = "latexindent",
          latexindent = {
            modifyLineBreaks = false
          }
        }
      }
    }, ops)
end