Disable harper or particular linters for certain filetypes / modify code actions #1106
-
I tried to enable require("lspconfig").harper_ls.setup({
filetypes = { "markdown" },
...
}) but that did not work. How would one enable or disable Second question: would it be possible to deactivate some linters only in some filetypes, e.g. disable SpellCheck for programming languages but keep SpellCheck on for markdown or text files? Is it possible to programmatically start code actions, like adding a word to one of the dictionaries? Currently it seems, that only if I tried searching the open and closed issues and discussions and did not find any answer. Please tell me if I missed a thread. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Not the answer to your issue but related to this specific comment: #743 |
Beta Was this translation helpful? Give feedback.
-
Hey @michaelrommel. I'd love to get your problem fixed. I'll address your issues one at a time:
Your configuration is working for me. Are you running the latest version of
This is not currently supported in |
Beta Was this translation helpful? Give feedback.
-
Thank you for your quick response. I was on the latest version, but based on your statement, that it should be working, I reconfigured my neovim config, as it turned out, that For the second item, I see that there is already a lot in the backlog. I think my request would only make things more complicated and do not want to raise such an issue. I have activated harper now only for markdown, text and gitcommits. The normal code base comments probably do not need much of harper's attention. Thanks and I am looking forward, what you will do with this plugin, I think it has great potential. Michael. |
Beta Was this translation helpful? Give feedback.
Hey @michaelrommel. I'd love to get your problem fixed. I'll address your issues one at a time:
Your configuration is working for me. Are you running the latest version of
harper-ls
?This is not currently supported in
harper-ls
. If you'd like for it to happen, go ahead and open an issue for it.