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/intelephense.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/intelephense.lua')
| -rw-r--r-- | lua/lspconfig/configs/intelephense.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/configs/intelephense.lua b/lua/lspconfig/configs/intelephense.lua index 2b9ad0fe..50761c51 100644 --- a/lua/lspconfig/configs/intelephense.lua +++ b/lua/lspconfig/configs/intelephense.lua @@ -5,7 +5,7 @@ return { cmd = { 'intelephense', '--stdio' }, filetypes = { 'php' }, 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 |
