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/rnix.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/rnix.lua')
| -rw-r--r-- | lua/lspconfig/configs/rnix.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/configs/rnix.lua b/lua/lspconfig/configs/rnix.lua index 37cc5c25..fe6a8b8a 100644 --- a/lua/lspconfig/configs/rnix.lua +++ b/lua/lspconfig/configs/rnix.lua @@ -5,7 +5,7 @@ return { cmd = { 'rnix-lsp' }, filetypes = { 'nix' }, root_dir = function(fname) - return util.find_git_ancestor(fname) or vim.uv.os_homedir() + return util.find_git_ancestor(fname) or vim.loop.os_homedir() end, settings = {}, init_options = {}, |
