-
-
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
Added Tex Language Support #569
base: main
Are you sure you want to change the base?
Conversation
…removed null default values
This should satisfy #525 |
visuals/rainbow-delimiters: init
…lates.nvim dependency so created fork to fix it and redirected flake url there
…ements and cleanups
…lab lsp implementation
Feature essentially done. Implemented:
Not implemented:
Due to the scale that this language implementation ended up being I organized it differently compared to the other languages; it is in multiple files and modules, all called by a I have not tested every single combination of options as that would take forever. I have tested many of the more relevant ones but I have not tested the texlab experimental settings for instance. The config I am currently using is as follows:
I have created frameworks for easily adding both new pdf viewers and new tex builders/compilers. Adding other LSP servers should be not too complicated if texlab proves to be fundamentally inadequate. Overall, this implementation will cover all of my needs for tex and includes many other features I will likely not use but have been implemented to achieve near feature parity with many of the implemented programs which will hopefully cover most of what anyone else requires. If not, in a few places I added methods to be able to add custom configuration just in case. There are no other features I plan to add for the time being, but I will try to fix bugs as they come up on my side. |
Looks good from a first glance. Thank you for your hard work. I'm too tired to review in full at the moment, but I'll properly review tomorrow when I wake up. One thing that comes to mid is that |
If you could also fix the Cı errors by then, that'd be great. |
Added support for the tex language.
Added the texlab LSP along with config options for build/compiling:
Not implemented (yet):
extraLuaSettings
option for texlab that allows setting these options in the meantime):Defaults mostly follow the texlab defaults with some exceptions such as the default compiler being tectonic and the default file viewer being okular.
(I also alphabetically sorted the language imports in the modules/plugins/languages/default.nix)