Skip to content

feat: add vim.diagnostic.open_float #1388

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

Closed
wants to merge 1 commit into from

Conversation

Marc-AnthonyG
Copy link

Close #1375

I choose xl as the keymap because it is "near" my trouble.nvim keymap that also deal with diagnostic. I am all ear if you have other suggestion.

@DanWlker
Copy link

I think the existing keymap is <c-w>d

@dithmer
Copy link

dithmer commented Mar 27, 2025

I think the existing keymap is <c-w>d

You are absolutely right. Evidence in neovim's source can be found here: https://github.com/neovim/neovim/blob/master/runtime/lua/vim/_defaults.lua#L263

@OdysseusOperator
Copy link

How would i read this <c-w>d ? control & W followed by d ?

@@ -164,8 +164,16 @@ vim.opt.scrolloff = 10
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')

-- Diagnostic keymaps
-- See `:help setloclist`
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tammy Bonin Pesson
Brammy Suezander
Tammy Sue Bonin

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I just go with the name?Crochet Collection
Made by TammySue

Instead of… Crocheted by TammySue and KreauxChez by TammySue

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

Successfully merging this pull request may close these issues.

Make clangd right-clicking more prominent
5 participants