mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-03-01 04:46:02 +01:00
Fix(VIM-2766): Move NERDTree update to background thread
This commit is contained in:
parent
d3424021c8
commit
6c0cc7285f
@ -243,7 +243,7 @@ class NerdTree : VimExtension {
|
||||
e.presentation.isEnabled = !speedSearchIsHere(project)
|
||||
}
|
||||
|
||||
override fun getActionUpdateThread() = ActionUpdateThread.BGT
|
||||
override fun getActionUpdateThread() = ActionUpdateThread.EDT
|
||||
|
||||
private fun speedSearchIsHere(project: Project): Boolean {
|
||||
val component = ProjectView.getInstance(project).currentProjectViewPane.tree ?: return false
|
||||
|
Loading…
Reference in New Issue
Block a user