diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 121626a..a3c4cb6 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -1,5 +1,5 @@ local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not vim.loop.fs_stat(lazypath) then +if not vim.uv.fs_stat(lazypath) then -- bootstrap lazy.nvim -- stylua: ignore vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath }) diff --git a/lua/config/options.lua b/lua/config/options.lua index c372bc8..8482e5a 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -10,7 +10,6 @@ else vim.opt.guifont = "Berkeley Mono Variable:h13" end --- idk if it does anything cause I have to set it in the nvim-cmp settings too vim.opt.completeopt = "menu,menuone,noinsert,noselect" -- Window decorations diff --git a/lua/custom/yank.lua b/lua/custom/yank.lua index dfd4ae1..8837916 100644 --- a/lua/custom/yank.lua +++ b/lua/custom/yank.lua @@ -40,7 +40,7 @@ M.simulate_yank_highlight = function() local bounds = M.get_visual_bounds() local ns = vim.api.nvim_create_namespace("simulate_yank_highlight") - vim.highlight.range( + vim.hl.range( 0, ns, "IncSearch",