Skip to content
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

codeActions UI keeps signcolumn #262

Closed
dmtrKovalenko opened this issue Feb 27, 2024 · 1 comment · Fixed by #264
Closed

codeActions UI keeps signcolumn #262

dmtrKovalenko opened this issue Feb 27, 2024 · 1 comment · Fixed by #264
Labels
bug Something isn't working

Comments

@dmtrKovalenko
Copy link

Neovim version (nvim -v)

v0.10.0-dev-2404+geb1e8c12e-Homebrew

Operating system/version

MacOS 13

Output of :checkhealth rustaceanvim

==============================================================================
rustaceanvim: require("rustaceanvim.health").check()

Checking for Lua dependencies ~
- OK [mfussenegger/nvim-dap](https://github.com/mfussenegger/nvim-dap) installed.

Checking external dependencies ~
- OK rust-analyzer: found rust-analyzer 0.3.1831-standalone (39ad79bec 2024-02-04)
- OK Cargo: found cargo 1.75.0 (1d8b05cdd 2023-11-20)
- OK rustc: found rustc 1.75.0 (82e1608df 2023-12-21)
- OK lldb: found lldb-1500.0.200.58

Checking config ~
- ERROR Invalid config: dap.configuration.initCommands: expected string, got table

Checking for conflicting plugins ~
- ERROR lspconfig.rust_analyzer has been setup. This will likely lead to conflicts with the rustaceanvim LSP client.

Checking for tree-sitter parser ~
- OK tree-sitter parser for Rust detected.


(Errors are not related)

How to reproduce the issue

Open a code actions UI with `vim.wo.signcolumn = "yes"` observer UI with a big left padding

Expected behaviour

No padding

Actual behaviour

Big padding
image

The minimal config used to reproduce this issue.

I don't think 


  {
    "mrcjkb/rustaceanvim",
    ft = { "rust" },
    config = function()
      vim.g.rustaceanvim = {
        -- Plugin configuration
        tools = {},
        -- LSP configuration
        server = {
          on_attach = on_lsp_attach,
          default_settings = {
            -- rust-analyzer language server configuration
            ["rust-analyzer"] = {
              diagnostics = {
                experimental = {
                  enable = true,
                },
              },
              files = {
                excludeDirs = { "target", "node_modules", ".git", ".sl" },
              },
            },
          },
        },
      }
    end,
  },
@mrcjkb
Copy link
Owner

mrcjkb commented Feb 27, 2024

Hey 👋

Thanks for reporting. Fix is on the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants