diff options
| author | dundargoc <gocdundar@gmail.com> | 2024-10-02 12:02:33 +0200 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-10-02 12:09:17 +0200 |
| commit | c25b9dd6bddb125b538f3f01cb47b4a6e606f6c5 (patch) | |
| tree | e396c087799aa5e21cb869b21b7ff694c01a7183 /lua/lspconfig/configs/phpactor.lua | |
| parent | feat: expose config definition as `config_def` #3335 (diff) | |
| download | nvim-lspconfig-c25b9dd6bddb125b538f3f01cb47b4a6e606f6c5.tar nvim-lspconfig-c25b9dd6bddb125b538f3f01cb47b4a6e606f6c5.tar.gz nvim-lspconfig-c25b9dd6bddb125b538f3f01cb47b4a6e606f6c5.tar.bz2 nvim-lspconfig-c25b9dd6bddb125b538f3f01cb47b4a6e606f6c5.tar.lz nvim-lspconfig-c25b9dd6bddb125b538f3f01cb47b4a6e606f6c5.tar.xz nvim-lspconfig-c25b9dd6bddb125b538f3f01cb47b4a6e606f6c5.tar.zst nvim-lspconfig-c25b9dd6bddb125b538f3f01cb47b4a6e606f6c5.zip | |
refactor: replace deprecated vim.loop with vim.uv
Diffstat (limited to 'lua/lspconfig/configs/phpactor.lua')
| -rw-r--r-- | lua/lspconfig/configs/phpactor.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/configs/phpactor.lua b/lua/lspconfig/configs/phpactor.lua index b3c40093..5a5637ec 100644 --- a/lua/lspconfig/configs/phpactor.lua +++ b/lua/lspconfig/configs/phpactor.lua @@ -5,7 +5,7 @@ return { cmd = { 'phpactor', 'language-server' }, filetypes = { 'php' }, root_dir = function(pattern) - local cwd = vim.loop.cwd() + local cwd = vim.uv.cwd() local root = util.root_pattern('composer.json', '.git', '.phpactor.json', '.phpactor.yml')(pattern) -- prefer cwd if root is a descendant |
