-
Notifications
You must be signed in to change notification settings - Fork 31
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 LSP-caos #115
base: main
Are you sure you want to change the base?
Add LSP-caos #115
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated testing result: WARNING
Repo link: LSP-caos
Results help
Packages added:
- LSP-caos
Processing package "LSP-caos"
- WARNING: The package does not contain a top-level LICENSE file. A license helps users to contribute to the package.
Hello @bedalton I took a look. Here are some things I found: 1. This section from the README.md should be removed/changed.
{
"lsp_format_on_save": true
} 2. LSP-caos doesn't install.I am not sure why this happens. I do not have yarn locally.
3. It would be nice if ST had an better API to style regions of code...I kind of dislike this section of the code, but I understand that you had to do it to apply styles differently in the view:
4. Add a licenceOnce you fix some things, don't forget to just tag a new release. |
Instead of global plugin_path variable: https://github.com/bedalton/LSP-caos/blob/d7d078de5b5ad577cfc9e3ccab1559ae061eada4/plugin.py#L17-L18 you should do something like this: Or alternatively just assign a variable without using |
Shipping syntax files with LSP packages is generally not recommended because people might want to use syntaxes without LSP itself. Have you considered publishing those separately? As far as I see there already exists 6 year old syntax for something like that. Would it make sense to replace it with yours if yours is more modern / complete? |
Having this option here doesn't do anything because it's an LSP option that should go in personal LSP settings: |
Is there a way to make sure the syntax file is installed along with my LSP package? As far as I can tell, other plugins make highlighting possible without needed to install another package with the syntax file. |
Many packages just state in the readme the requirement of having to install a particular syntax. There is no way to set up automatic dependency between two packages. |
https://github.com/bedalton/LSP-caos