mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 18:37:02 +10:00
refactor(treesitter): simplify condition #31889
This commit is contained in:
@@ -443,7 +443,7 @@ function LanguageTree:parse(range)
|
||||
end
|
||||
end
|
||||
|
||||
if not self._injections_processed and range ~= false and range ~= nil then
|
||||
if not self._injections_processed and range then
|
||||
query_time = self:_add_injections()
|
||||
self._injections_processed = true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user