-
-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
The elm-format when returning error will spawn vim.ui.select in neovim.
Expected Behavior
I'm expecting the LSP to not spawn vim.ui.select when elm-format returning error. Just ignore it.
Current Behavior
As you can see, when elm-format is returning error, it will spawn vim.ui.select with message Running elm-format failed. Check the file for syntax errors. which annoys me as I need to close them every time it shown which is often when you want save to get a useful feedback from elm compiler.

Possible Solution
Steps to Reproduce (for bugs)
- Using native LSP in neovim https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#elmls
- Just default configuration, nothing fancy
- Write a invalid elm code
- Save and LSP will spawn
vim.ui.selectdue to elm-format returning error
Context
Your Environment
- Version used:
- Editor used: Neovim
- Environment name and version (e.g. node.js 5.4):
- Operating System and version: NixOS 24.11
aaaaargZombies
Metadata
Metadata
Assignees
Labels
No labels