Skip to content

Commit

Permalink
Lazily load the logger to avoid injector initialization problems
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPl292 committed Nov 25, 2024
1 parent 03996dc commit 5f5a97a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import org.jetbrains.annotations.TestOnly
)
open class IjVimSearchGroup : VimSearchGroupBase(), PersistentStateComponent<Element> {
companion object {
private val logger = vimLogger<IjVimSearchGroup>()
private val logger by lazy { vimLogger<IjVimSearchGroup>() }
}

init {
Expand Down

0 comments on commit 5f5a97a

Please sign in to comment.