languageserver icon indicating copy to clipboard operation
languageserver copied to clipboard

Can't hide "Remove commented code" warning.

Open cognitiveRobot opened this issue 2 months ago • 0 comments

I am editing .Rmd file in neovim and I get the following message for a commented code line.

Diagnostics:
1. lintr: Remove commented code. [commented_code_linter]

My settings:

			r_language_server = {
				filetypes = { "r", "rmd" },
				settings = {
					r = {
						lsp = {
							rich_documentation = true,
						},
					},
				},
			},

.lintr

linters: lintr::linters_with_defaults(
  commented_code_linter = NULL
)

Other details:

> nvim --version
NVIM v0.11.0 
Build type: Release 
LuaJIT 2.1.1741730670 
Run "nvim -V1 -v" for more info 

cognitiveRobot avatar Dec 02 '25 22:12 cognitiveRobot