mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00: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