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

float_win_config.border not applied to code action group windows #363

Closed
mrcjkb opened this issue Apr 18, 2024 Discussed in #362 · 0 comments · Fixed by #364
Closed

float_win_config.border not applied to code action group windows #363

mrcjkb opened this issue Apr 18, 2024 Discussed in #362 · 0 comments · Fixed by #364
Labels
bug Something isn't working

Comments

@mrcjkb
Copy link
Owner

mrcjkb commented Apr 18, 2024

Discussed in #362

Originally posted by freddiehaddad April 18, 2024
I searched through the help and found the option for:

tools = {
  float_win_config = {
    border = 'double',
  },
}

But this doesn't work for code actions, etc. I can see in the code that it looks hard-coded to rounded here:

Is there an easy way to override that?

Setting the handler as follows doesn't work:

vim.lsp.handlers['textDocument/codeAction'] = vim.lsp.with(vim.lsp.buf.code_action, {})
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.

1 participant