aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/lsp/servers/texlab.lua
blob: d749db9f8260db9759f160d0f20125652cb2447c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local lsp_attach = require "alpha.lsp.attach"
local lsp_flags = require "alpha.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