Skip to content

Commit 0ef9848

Browse files
committed
fix(cairo_ls): update command
1 parent 3ea9922 commit 0ef9848

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lsp/cairo_ls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
--- *cairo-language-server is still under active development, some features might not work yet !*
1313
return {
1414
init_options = { hostInfo = 'neovim' },
15-
cmd = { 'scarb-cairo-language-server', '/C', '--node-ipc' },
15+
cmd = { 'scarb cairo-language-server', '/C', '--node-ipc' },
1616
filetypes = { 'cairo' },
1717
root_markers = { 'Scarb.toml', 'cairo_project.toml', '.git' },
1818
}

lua/lspconfig/configs/cairo_ls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ local util = require 'lspconfig.util'
33
return {
44
default_config = {
55
init_options = { hostInfo = 'neovim' },
6-
cmd = { 'scarb-cairo-language-server', '/C', '--node-ipc' },
6+
cmd = { 'scarb cairo-language-server', '/C', '--node-ipc' },
77
filetypes = { 'cairo' },
88
root_dir = util.root_pattern('Scarb.toml', 'cairo_project.toml', '.git'),
99
},

0 commit comments

Comments
 (0)