Skip to content

Commit 0b99551

Browse files
authored
fix(esbonio): update cmd for esbonio v2 #4409
Esbonio v2 can no longer be started with the top-level esbonio command. Switch to 'esbonio.server' which is compatible with v1 and v2. See: swyddfa/esbonio#1098
1 parent 6419b36 commit 0b99551

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lsp/esbonio.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
---
2323
--- ```lua
2424
--- vim.lsp.config('esbonio', {
25-
--- cmd = { '/path/to/virtualenv/bin/python', '-m', 'esbonio' }
25+
--- cmd = { '/path/to/virtualenv/bin/python', '-m', 'esbonio.server' }
2626
--- })
2727
--- ```
2828
---
@@ -45,7 +45,7 @@
4545

4646
---@type vim.lsp.Config
4747
return {
48-
cmd = { 'python3', '-m', 'esbonio' },
48+
cmd = { 'python3', '-m', 'esbonio.server' },
4949
filetypes = { 'rst' },
5050
root_markers = { '.git' },
5151
}

0 commit comments

Comments
 (0)