From 9f36693f90e4dcbb9a18728d7a7c0d864903d4ea Mon Sep 17 00:00:00 2001 From: Asmir A Date: Wed, 25 Sep 2024 16:42:15 +0200 Subject: [PATCH] lua -> vim.loop.cwd() -> vim.fn.getcwd() --- vimrc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc.lua b/vimrc.lua index 59f3873..c27bc0c 100644 --- a/vimrc.lua +++ b/vimrc.lua @@ -217,7 +217,7 @@ require('lspconfig').lua_ls.setup({ require('lspconfig').verible.setup({ capabilities = capabilities, - root_dir = function() return vim.loop.cwd() end + root_dir = function() return vim.fn.getcwd() end }) if vim.fn.exists('+undofile') ~= 0 then