Add texlab, language server for Latex
⚠️ Please verify that this feature request has NOT been suggested before.
- [X] I checked and didn't find a similar feature request
🏷️ Feature Type
New Addon
🔖 Feature description
Add an option to enable texlab
✔️ Solution
defaultServer = "texlab"; servers = { texlab = { package = pkgs.texlab; lspConfig = '' lspconfig.texlab.setup { capabilities = capabilities; on_attach = default_on_attach; cmd = {"${cfg.lsp.package}/bin/texlab"}, } ''; }; };
❓ Alternatives
No response
📝 Additional Context
No response
As I’m actively trying to implement this with #569 , are there any particular features the OP (@KaminariOS ) would like implemented in an initial version? What do you use Tex/texlab for and what would be of aid to you? This question extends to anyone else who uses the Tex language as well.
P.S. I use Tex for LaTeX for mathematical proofs so use cases out side of this might require a little further explanation to help me help you. Additionally I’m not familiar with BibTex or conTeXt or how they compare to LaTeX so keep that in mind if your response revolves around them; an small explanation in addition to any feature requests related to these would be appreciated.
As I’m actively trying to implement this with #569 , are there any particular features the OP (@KaminariOS ) would like implemented in an initial version? What do you use Tex/texlab for and what would be of aid to you? This question extends to anyone else who uses the Tex language as well.
P.S. I use Tex for LaTeX for mathematical proofs so use cases out side of this might require a little further explanation to help me help you. Additionally I’m not familiar with BibTex or conTeXt or how they compare to LaTeX so keep that in mind if your response revolves around them; an small explanation in addition to any feature requests related to these would be appreciated.
I only use Texlab for auto-completion. Adding Texlab trivially is enough for me.
For preview I open the pdf with Okular manually.
For re-compile on save I use watchexec to run tectonic to auto recompile on save.
I would really like to have this feature as a built in option