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

Can you help me get this running? #21

Closed
unphased opened this issue Dec 10, 2023 · 4 comments
Closed

Can you help me get this running? #21

unphased opened this issue Dec 10, 2023 · 4 comments

Comments

@unphased
Copy link
Contributor

unphased commented Dec 10, 2023

Using Lazy here, and I've tried:

{
  "luckasRanarison/clear-action.nvim",
  opts = {
        silent = false,
        mappings = {
          code_action = '<leader>a',
        }
      }
}

as well as

  {
    "luckasRanarison/clear-action.nvim",
    config = function ()
      require('clear-action').setup({
        silent = false,
        mappings = {
          code_action = '<leader>a',
        }
      })
    end
  }

And neither change any behavior or add a <leader>a bind.

@unphased
Copy link
Contributor Author

OK so none of the bindings appear to be set, but i did get a virtual text lightbulb appear (then quickly covered up by my git blame, but that is ok I'll deal with that later). fwiw.

luckasRanarison added a commit that referenced this issue Dec 10, 2023
@luckasRanarison
Copy link
Owner

luckasRanarison commented Dec 10, 2023

I broke the string keymaps with my last commit but it should be fixed now, about the git blame maybe I could make the extmark priority configurable, currently it's set to 200 and I don't know what value git blame is using.

@unphased
Copy link
Contributor Author

Thanks! I'll play with it. docs seem sufficient. will be awesome to be able to see available CAs without crossing the fingers and trying to trigger one every time.

@mawkler
Copy link

mawkler commented Apr 20, 2024

I'm having the same issue now using the config above. No light bulb or mapping created. The language server is attached properly because I'm seeing diagnostics.

Never mind it was just a misconfiguration on my part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants