Skip to content

Can't hide "Remove commented code" warning. #705

Description

@cognitiveRobot

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 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions