diff options
| author | dundargoc <gocdundar@gmail.com> | 2024-12-01 13:01:51 +0100 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-12-02 11:12:18 +0100 |
| commit | 9b89ba5f158f73779cd58d0bb2783dfb40b28b0e (patch) | |
| tree | d35c60d499f9866c6f0ad9298f4ceea26e83eb1d /lua/lspconfig/configs/phpactor.lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar.gz nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar.bz2 nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar.lz nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar.xz nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar.zst nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.zip | |
refactor: replace all instances of vim.uv with vim.loop
We still support neovim 0.9 currently, so we can't use vim.uv. Also add
a check so we don't accidentally reintroduce it.
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 ac804843..21c85b1d 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.uv.cwd() + local cwd = vim.loop.cwd() local root = util.root_pattern('composer.json', '.git', '.phpactor.json', '.phpactor.yml')(pattern) -- prefer cwd if root is a descendant |
