Closed patillacode closed 1 year ago
Updating ruff
dependency in ruff-lsp
as you did is the way to go. We'll get dependabot notification at some point later and will bump the ruff
version through that.
As far as using custom ruff binary, this seems to work for me:
// Settings in here override those in "LSP-ruff/LSP-ruff.sublime-settings"
{
"initializationOptions": {
"settings": {
"path": ["/opt/homebrew/bin/ruff"]
},
}
}
Not sure why globalSettings
doesn't work.
Fixing the issue with not respecting globalSettings
in https://github.com/sublimelsp/LSP-ruff/pull/19
Great, thanks!
I could swear I had tried your example settings and it failed, but it is now working!
Hi!
Thanks for this project!
A bit of context:
I am really interested in some of the recently added features in
ruff
and they are only available in version0.0.263
I did a bit of research and noticed the version of
ruff
withinLSP-ruff
is0.0.253
and that is why myruff
config was not working properly.I created this PR at charliermarsh/ruff-lsp in case that is the way (please read)
Questions:
Am I approaching this the right way?
Is there a less convoluted way for me to point the executable to my local version of
ruff
while versions catch up?I tried to do it via the
path
setting but I guess I am doing it wrong:This is one of my last (unsuccessful) tries the
LSP-ruff.sublime-settings
file:That's it, I'll patiently wait for a response!