()
| 72 | }; |
| 73 | |
| 74 | export const useVimMode = () => { |
| 75 | const context = useContext(VimModeContext); |
| 76 | if (context === undefined) { |
| 77 | throw new Error('useVimMode must be used within a VimModeProvider'); |
| 78 | } |
| 79 | return context; |
| 80 | }; |
no outgoing calls
no test coverage detected