Justin M. Keyes

Results 2414 comments of Justin M. Keyes

@Kamilcuk are you using `vim.lsp.config` / `vim.lsp.enable` ? I'm wondering if this correlates with that.

Unless you have steps to repro with `nvim --clean`, don't bother with "me too" comments.

Literally the comment above this one says to stop posting "me too" comments. Read the room, people.

> This type of issues will come more and more as we use more agentic ai Yes, but regardless of AI, we should handle this better. Did you send a...

> I think there's a bit of a misunderstanding here. Yes, I'm just feeling around here. I updated the title + description. > LSP defines two types of commands ......

> Here is how coc nvim exposes all the commands that the different extensions register @asmodeus812 but how are those commands discovered? Where is that info coming from? > >...

> For example nvim-jdtls defines a `java.action.generateToStringPrompt` command (using `vim.lsp.commands`, Does this plan make sense? 1. convert all the [bespoke lspconfig commands](https://github.com/neovim/nvim-lspconfig/blob/ff6471d4f837354d8257dfa326b031dd8858b16e/lua/lspconfig/configs/eslint.lua#L155-L162) to `vim.lsp.commands` 2. allow discovery of `vim.lsp.commands` via...

> seems a bit like a specific `code_action{ apply = true, filter = ...}` case. Ok, we definitely don't want to duplicate code-actions as "commands", because code-actions are already discoverable....

> I don't understand why we need 1) ... Organize import is in 90% of the case a short-cut for code-action with a filter+apply. At minimum, looking for a way...

> > But I don't see why we can't provide a micro-framework to define those kinds of commands, > > `nvim_create_user_command` :) I guess so, but meanwhile we can start...