aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/smarty_ls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/configs/smarty_ls.lua')
-rw-r--r--lua/lspconfig/configs/smarty_ls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/configs/smarty_ls.lua b/lua/lspconfig/configs/smarty_ls.lua
index fd6c212a..e2a6c0ec 100644
--- a/lua/lspconfig/configs/smarty_ls.lua
+++ b/lua/lspconfig/configs/smarty_ls.lua
@@ -5,7 +5,7 @@ return {
cmd = { 'smarty-language-server', '--stdio' },
filetypes = { 'smarty' },
root_dir = function(pattern)
- local cwd = vim.loop.cwd()
+ local cwd = vim.uv.cwd()
local root = util.root_pattern('composer.json', '.git')(pattern)
-- prefer cwd if root is a descendant