mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 09:48:59 +02:00
Co-authored-by: Alexander Born <alexander.born@bmw.de>
This commit is contained in:
parent
9b175ab1bc
commit
0eef2c2f29
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ return {
|
||||||
local enabled = false
|
local enabled = false
|
||||||
if opts.textobjects then
|
if opts.textobjects then
|
||||||
for _, mod in ipairs({ "move", "select", "swap", "lsp_interop" }) do
|
for _, mod in ipairs({ "move", "select", "swap", "lsp_interop" }) do
|
||||||
if opts.textobjects[mod].enable then
|
local textobjects_opts = opts.textobjects[mod]
|
||||||
|
if textobjects_opts ~= nil and textobjects_opts.enable then
|
||||||
enabled = true
|
enabled = true
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue