neovim/nvim-lspconfig

`ruff` settings doesn't accept lint rules

sahashirshendu opened this issue · 0 comments

Description

I am using ruff with the settings

  require("lspconfig").ruff.setup({
    init_options = {
      settings = {
        lint = {
          select = { "E", "F", "W" },
        },
      },
    },
  }),

to enable all flakes along with trailing whitespace etc, but it doesn't work. Passing same settings through pyproject.toml or even helix editor's lsp settings works for some reason.