summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/editor/langmap_spec.lua
AgeCommit message (Collapse)AuthorFiles
2026-01-08test(buffer_updates_spec): move on_detach tests to its block (#37297)zeertzjq1
2026-01-08fix(langmap): assert failure on mapping to char >= 256 (#37291)zeertzjq1
Usually 'langmap' is used to map keyboard characters to ASCII motions or mappings. It's not entirely clear what the purpose of mapping to Unicode characters is, but since there is no error for mapping between two chars both >= 256, only give a warning that this will not work properly when mapping from a char < 256 to a char >= 256.
2024-04-23test: improve test conventionsdundargoc1
Specifically, functions that are run in the context of the test runner are put in module `test/testutil.lua` while the functions that are run in the context of the test session are put in `test/functional/testnvim.lua`. Closes https://github.com/neovim/neovim/issues/27004.
2024-04-10refactor(test): inject after_each differentlyLewis Russell1
2024-04-08test: improve test conventionsdundargoc1
Work on https://github.com/neovim/neovim/issues/27004.
2024-01-12test: rename (meths, funcs) -> (api, fn)Lewis Russell1
2024-01-12test: normalise nvim bridge functionsLewis Russell1
- remove helpers.cur*meths - remove helpers.nvim
2024-01-03refactor: format test/*Justin M. Keyes1
2022-04-29vim-patch:8.2.0867: using \{xxx} for encoding a modifier is not nicezeertzjq1
Problem: Using \{xxx} for encoding a modifier is not nice. Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a different code. https://github.com/vim/vim/commit/fccd93f0917234b962ce07d1df3adf9d7105936f Use this notation in langmap_spec.
2022-04-26test: correct order of arguments to eq() and neq()zeertzjq1
2021-09-17test: reorg #15698Justin M. Keyes1
Problem: Subdirectories like "visual", "insert", "normal" encourage people to separate *related* tests for no good reason. Typically the _mode_ is not the relevant topic of a test (and when it is, _then_ create an appropriate describe() or it()). Solution: - Delete the various `test/functional/<mode>/` subdirectories, move their tests to more meaningful topics. - Rename `…/normal/` to `…/editor/`. - Move or merge `…/visual/*` and `…/insert/*` tests into here where appropriate. - Rename `…/eval/` to `…/vimscript/`. - Move `…/viml/*` into here also. * test(reorg): insert/* => editor/mode_insert_spec.lua * test(reorg): cmdline/* => editor/mode_cmdline_spec.lua * test(reorg): eval core tests => eval_spec.lua