refactor(lua): replace vim.opt with vim.o

This commit is contained in:
Christian Clason 2026-01-27 11:51:58 +01:00 committed by Christian Clason
parent 568ede7e79
commit 0ac55b85c6
7 changed files with 7 additions and 9 deletions

View file

@ -16,7 +16,7 @@ function M.setup(user_data)
if user_data then
if user_data.install_dir then
user_data.install_dir = vim.fs.normalize(user_data.install_dir)
vim.opt.runtimepath:prepend(user_data.install_dir)
vim.o.rtp = user_data.install_dir .. ',' .. vim.o.rtp
end
config = vim.tbl_deep_extend('force', config, user_data)
end