(vim: Nvim, msg: str)
| 101 | |
| 102 | |
| 103 | def error_vim(vim: Nvim, msg: str) -> None: |
| 104 | throwpoint = vim.eval('v:throwpoint') |
| 105 | if throwpoint != '': |
| 106 | error(vim, 'v:throwpoint = ' + throwpoint) |
| 107 | exception = vim.eval('v:exception') |
| 108 | if exception != '': |
| 109 | error(vim, 'v:exception = ' + exception) |
| 110 | error_tb(vim, msg) |
| 111 | |
| 112 | |
| 113 | def escape(expr: str) -> str: |
no test coverage detected