expert-lsp / expert-lsp/expert
Saving in non-mix project clears diagnostics
未关闭
bug
- 主要语言
- Elixir
- 星标
- 2.1k
- 派生
- 113
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 26
描述
**Expert version (expert -v)**
Expert v0.1.0-b237fd5
**Steps to reproduce**
`min.lua`
```lua
vim.lsp.config('expert', {
cmd = { '/path/to/expert', '--stdio' },
root_markers = { 'mix.exs', '.git' },
filetypes = { 'elixir', 'eelixir', 'heex' },
})
vim.lsp.enable 'expert'
```
1. In a git repo, open elixir file with `nvim -u min.lua` containing:
```elixir
defmodule Test do
def execute() do
:foo + 1
end
end
```
Notice the diagnostic:
```
evaluation of operator '+'/2 will fail with a 'badarith' exception
```
2. Save in neovim with `:w`.
3. The dianostic then disappears.
The described behavior isn't observed with other LS.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。