mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
fix(scope): add indent
to __eq
This commit is contained in:
parent
a7608b13ea
commit
be2779e942
1 changed files with 5 additions and 1 deletions
|
@ -121,7 +121,11 @@ function Scope:new(scope, opts)
|
|||
end
|
||||
|
||||
function Scope:__eq(other)
|
||||
return other and self.buf == other.buf and self.from == other.from and self.to == other.to
|
||||
return other
|
||||
and self.buf == other.buf
|
||||
and self.from == other.from
|
||||
and self.to == other.to
|
||||
and self.indent == other.indent
|
||||
end
|
||||
|
||||
---@generic T: snacks.scope.Scope
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue