-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
105$: [nvim-lspconfig] Only lint on insert with quick-lint #909
Comments
Great idea! |
please add an extra $100 to this issue (from me) |
found a question on StackOverflow asking pretty much the same thing https://vi.stackexchange.com/questions/41975/enable-update-in-insert-only-for-certain-extensions |
off-topic: I found a shorter version of this by reading the neovim help pages vim.diagnostic.config({
update_in_insert = true,
}) on-topic: I only skimmed it, but the docs mention (diagnostics.txt): 1. Create a namespace |nvim_create_namespace()|. Note that the namespace must
have a name. Anonymous namespaces WILL NOT WORK.
2. (Optional) Configure options for the diagnostic namespace
|vim.diagnostic.config()|.
3. Generate diagnostics.
4. Set the diagnostics for the buffer |vim.diagnostic.set()|.
5. Repeat from step 3. I don't know what a "namespace" is, but it sounds promising. Could we make a |
I suspect that a namespace is for plugins like nvim-lspconfig, not for plugins (LSP servers) like quick-lint-js. But perhaps nvim-lspconfig creates one namespace for each registered LSP server? |
@strager I claim this for-hire task. I expect payment after I complete this task. I will email the quick-lint-js team if I am assigned this task. |
@RossBarnie The title has a mistake because the reporter is an asshole. The dollar amount was intended to be 5$, not 105$. I think 15$ is more appropriate. Do you agree to 15$? |
Yes I agree to $15. |
I also intend on adding $100. We'll talk payment methods after it's completed. You like Walmart gift cards? |
I'll try this out tomorrow and send the money :) |
@RossBarnie it works! But you don't have Sponsors enabled :( |
The vim docs for quick-lint say that I can lint while in insert mode. However, while quick-lint is quick, most of my other linters are not quick. Is there a way to lint in insert mode for only quick-lint? The docs only describe how to do it for all linters:
The text was updated successfully, but these errors were encountered: