-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add texlab, language server for Latex #525
Comments
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. |
🏷️ 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
The text was updated successfully, but these errors were encountered: