Roland Fredenhagen
Roland Fredenhagen
> > On long vs short that is probably more difficult to decide, and could be shell dependent to, e.g., match the single dash -> short options behavior in fish....
Oh and it also does exactly what you proposed concerning completing long flags if they do not have a short flag. Something I totally missed in my attempt at implementing...
@epage I updated the description
Thinking about it, this sounds like a sensible default, maybe it makes more sense to add a flag to disable this?
Reading it, it looks like it will also clear so maybe only sensible to enable automatically together with `--clear`.
As helix is a terminal editor, it could also try querying the background color with `OSC 4` and switch based on that.
POC: ```lua function string:endswith(suffix) return self:sub(- #suffix) == suffix end local fwatch = require 'fwatch' fwatch.watch(".", { on_event = function(filename) if filename:endswith("Cargo.toml") then vim.schedule(function() require 'lspconfig'["rust_analyzer"].commands["CargoReload"][1]() end) end end })...
I created a new issue with the specific request for ra to listen for changes on its own: https://github.com/rust-lang/rust-analyzer/issues/14669.
Thanks a lot, I'll try to make a path with this :+1:
I've implemented them, but synchronously because that fits my usecase better so not sure if it makes sense to integrate.