mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -04:00
refactor(lua): replace vim.opt with vim.o
This commit is contained in:
parent
568ede7e79
commit
0ac55b85c6
7 changed files with 7 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue