Skip to content

Commit 893e96f

Browse files
committed
docs: update neovim setup
1 parent 7b7ec13 commit 893e96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ configuration below as a reference:
164164
require('lspconfig').lexical.setup {
165165
cmd = { "my/home/projects/expert/apps/expert/burrito_out/expert_linux_amd64" },
166166
root_dir = function(fname)
167-
return util.root_pattern("mix.exs", ".git")(fname) or vim.loop.cwd()
167+
return require('lspconfig').util.root_pattern("mix.exs", ".git")(fname) or vim.loop.cwd()
168168
end,
169169
filetypes = { "elixir", "eelixir", "heex" },
170170
-- optional settings

0 commit comments

Comments
 (0)