Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Commit

Permalink
sumneko_lua: don't provide -E argument as it's not needed (#309)
Browse files Browse the repository at this point in the history
Closes #308.
  • Loading branch information
williamboman authored Dec 5, 2021
1 parent 4f5de77 commit 9f9e51c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lua/nvim-lsp-installer/servers/sumneko_lua/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ return function(name, root_dir)
),
},
default_options = {
cmd = {
-- We need to provide a _full path_ to the executable (sumneko_lua uses it to determine... things)
path.concat { root_dir, "extension", "server", "bin", bin_dir, "lua-language-server" },
"-E",
path.concat { root_dir, "extension", "server", "main.lua" },
},
cmd = { path.concat { root_dir, "extension", "server", "bin", bin_dir, "lua-language-server" } },
},
}
end

0 comments on commit 9f9e51c

Please sign in to comment.