Files
neovim/test/functional
tstsrt 5fc6bd6454 fix(api): nvim_set_keymap() throws error even in pcall() #33228
Problem: When `nvim_set_keymap` tries to overwrite a `<unique>` mapping,
it throws an error even when called in `pcall`.

Solution: src/nvim/mapping.c:buf_do_map no longer calls `semsg`. Its
callers now decide whether to ignore the error, or use
`semsg` (not caught)/`api_set_error` (caught by `pcall`).

(cherry picked from commit ec18ebcb41)
2025-04-01 15:50:54 +00:00
..
2025-03-18 06:18:37 -07:00
2025-03-26 14:48:09 +01:00
2025-03-15 15:00:44 +01:00
2025-03-02 14:27:52 -08:00
2024-11-21 06:50:30 +08:00
2025-03-02 14:27:52 -08:00
2024-04-23 18:17:04 +02:00