-
Notifications
You must be signed in to change notification settings - Fork 5
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
no config opt for { silent = true } => autocommands result in repeating error msg in console #2
Comments
Thanks for the issue. I am guessing it is the I haven't used that one particularly myself as I am primary using the I've thought about the error and when it should appear, so perhaps a global option will be a good solution. A PR would be much appreciated :) That line was written before |
heyhey, thx for the quick response :-) Yep, I guess you're right with the I wonder how using the However, I just installed the => I additionally silenced the "big mouth"-autocmd, hehe :-) (just added the I created a PR with those changes, please do have a look when you got some time :-) all the best to Stockholm, J |
ahh, btw, I recommend you add a |
Yeah, those 1000+- diffs with whitespace changed. I've been using the lsp format from sumneko_lua. Which plugin are you using for stylua? I've just been using my own rolled script for overriding the onPublishDiagnostics where I count up the diags for each kind, show in the statusline, and put them in a quickfix list if there are any, otherwise it closes it. |
Exactly :-)
then in theory all the lua-formatters of whoever is working on a PR should pick that up automatically. So, in short, I guess I recommend putting such a file there and reformat Anyway, as of the onPublishDiagnostics thingy ... I'm afraid I'm not that fond of lua and manually tinkering with nvim-cfg yet, though I'm getting there, haha, but I haven't tried myself on my own scripts/plugins just yet (just some cfg-fns only).
okidoe, Cheers, blessings, Joehannes |
hey! awesome work!!!
just found your plugin and am playing around with it ...
haven't had much of a chance to use it yet, but ...
if I kick of my vim and got
I traced the error down to the qf.open function in qf.lua ... there's a seemingly hastily inserted if-block that checks for ~= true ... plus I can see that function is called various times with the parameter left out, so definitely ~= true by default
you could possibly handle that via adding a debug/silent param with a sensible default setting (false) ...
a quickfix might be to invert the truthy check to read: == false ... instead
Since I do wanna use/try out your plugin properly I might clone your Repo now and do a PR shortly, so hang on tight :-)
best, joehannes, keep the good stuff
The text was updated successfully, but these errors were encountered: