diff options
| author | Chris Bandy <bandy.chris@gmail.com> | 2025-04-10 22:48:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-10 15:48:31 -0700 |
| commit | 4ea9083b6d3dff4ddc6da17c51334c3255b7eba5 (patch) | |
| tree | b3c094868a4942151bf8ec0d5cd87bf7cac85a92 /lua/lspconfig/configs/phpactor.lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-2.0.0.tar nvim-lspconfig-2.0.0.tar.gz nvim-lspconfig-2.0.0.tar.bz2 nvim-lspconfig-2.0.0.tar.lz nvim-lspconfig-2.0.0.tar.xz nvim-lspconfig-2.0.0.tar.zst nvim-lspconfig-2.0.0.zip | |
refactor: replace vim.loop with vim.uv #3703v2.0.0
The former is deprecated in neovim 0.10. Remove the check added in
9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.
See: https://github.com/neovim/neovim/blob/v0.10.0/runtime/doc/deprecated.txt#L55
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 21c85b1d..ac804843 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 |
