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

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

View file

@ -1,4 +1,5 @@
#!/usr/bin/env -S nvim -l
vim.o.rtp = vim.o.rtp .. ',.'
local generate = false
local update = false
@ -16,8 +17,6 @@ for i = 1, #_G.arg do
end
end
vim.opt.runtimepath:append('.')
---@type async.Task
local task = update and require('nvim-treesitter').update('all', { summary = true })
or require('nvim-treesitter').install(