Commit 621a1c8
committed
fix(utils): optimize return to normal mode function
The function now only calls 'stopinsert' when not already in normal mode,
avoiding unnecessary command execution when already in normal mode.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>1 parent 648d936 commit 621a1c8
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
137 | 139 | | |
138 | | - | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
0 commit comments