diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2023-10-17 00:16:25 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2023-10-17 00:16:25 -0300 |
| commit | 5a0f64d67f1981dad243f6d328664139e49ce664 (patch) | |
| tree | b4c7a39855c1154298a26979e51c84d7391335e0 /lua/alpha/lsp/servers | |
| parent | 9f7ef8669223eb7cdaf3f580dc8b6a7926807231 (diff) | |
| download | nvim-conf-5a0f64d67f1981dad243f6d328664139e49ce664.tar.gz nvim-conf-5a0f64d67f1981dad243f6d328664139e49ce664.zip | |
commit initial epii
Diffstat (limited to 'lua/alpha/lsp/servers')
| -rw-r--r-- | lua/alpha/lsp/servers/texlab.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/alpha/lsp/servers/texlab.lua b/lua/alpha/lsp/servers/texlab.lua new file mode 100644 index 0000000..d749db9 --- /dev/null +++ b/lua/alpha/lsp/servers/texlab.lua @@ -0,0 +1,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 |