2018-03-30 08:41:19 -07:00
|
|
|
# Tools
|
|
|
|
.ropeproject/
|
2018-06-05 05:39:52 -07:00
|
|
|
# Visual Studio
|
|
|
|
/.vs/
|
2018-03-30 08:41:19 -07:00
|
|
|
|
2014-02-01 07:27:24 -07:00
|
|
|
# Build/deps dir
|
2014-02-27 20:29:23 -07:00
|
|
|
/build/
|
2017-10-08 09:26:44 -07:00
|
|
|
/cmake-build-debug/
|
2014-03-13 08:11:03 -07:00
|
|
|
/dist/
|
2014-02-27 20:29:23 -07:00
|
|
|
/.deps/
|
2014-03-13 08:11:03 -07:00
|
|
|
/tmp/
|
2014-02-01 07:20:02 -07:00
|
|
|
|
2014-01-31 06:39:15 -07:00
|
|
|
*.mo
|
2015-04-05 06:39:27 -07:00
|
|
|
.*.sw?
|
2014-01-31 06:39:15 -07:00
|
|
|
*~
|
|
|
|
*.pyc
|
2014-02-28 01:24:28 -07:00
|
|
|
*.o
|
|
|
|
*.so
|
2014-01-31 06:39:15 -07:00
|
|
|
|
2015-08-16 08:54:41 -07:00
|
|
|
tags
|
|
|
|
|
2014-05-12 06:53:00 -07:00
|
|
|
/src/nvim/po/vim.pot
|
|
|
|
/src/nvim/po/*.ck
|
2014-02-01 07:27:24 -07:00
|
|
|
|
2018-03-30 08:41:19 -07:00
|
|
|
# Generated by tests with $NVIM_LOG_FILE set.
|
2017-07-26 02:11:28 -07:00
|
|
|
/.nvimlog
|
|
|
|
|
2018-03-30 08:41:19 -07:00
|
|
|
# Generated by scripts/vim-patch.sh
|
2014-12-25 12:50:28 -07:00
|
|
|
/.vim-src/
|
|
|
|
|
2018-03-30 08:41:19 -07:00
|
|
|
# Generated by old (Vim) tests.
|
2015-02-21 13:00:19 -07:00
|
|
|
/src/nvim/testdir/del
|
2014-05-12 06:52:30 -07:00
|
|
|
/src/nvim/testdir/test*.out
|
2016-08-10 23:11:56 -07:00
|
|
|
/src/nvim/testdir/test*.res
|
2014-05-12 06:52:30 -07:00
|
|
|
/src/nvim/testdir/test.log
|
2016-05-05 17:36:27 -07:00
|
|
|
/src/nvim/testdir/messages
|
2014-05-12 06:52:30 -07:00
|
|
|
/src/nvim/testdir/viminfo
|
|
|
|
/src/nvim/testdir/test.ok
|
|
|
|
/src/nvim/testdir/*.failed
|
|
|
|
/src/nvim/testdir/X*
|
|
|
|
/src/nvim/testdir/valgrind.*
|
|
|
|
/src/nvim/testdir/.gdbinit
|
2014-02-25 07:55:36 -07:00
|
|
|
|
2018-03-30 08:41:19 -07:00
|
|
|
# Generated by unit tests.
|
2014-03-11 11:11:46 -07:00
|
|
|
/test/includes/post/
|
|
|
|
|
2018-03-30 08:41:19 -07:00
|
|
|
# Generated by luacheck during `make testlint'
|
2015-11-23 16:40:34 -07:00
|
|
|
/test/.luacheckcache
|
|
|
|
|
2014-02-25 07:55:36 -07:00
|
|
|
# local make targets
|
|
|
|
local.mk
|
2014-03-28 02:37:37 -07:00
|
|
|
|
2014-07-31 06:01:50 -07:00
|
|
|
# runtime/doc
|
|
|
|
/runtime/doc/*.html
|
|
|
|
/runtime/doc/tags.ref
|
|
|
|
/runtime/doc/errors.log
|
API: nvim_set_keymap, nvim_del_keymap #9924
closes #9136
- Treat empty {rhs} like <Nop>
- getchar.c: Pull "repl. MapArg termcodes" into func
The "preprocessing code" surrounding the replace_termcodes calls needs
to invoke replace_termcodes, and also check if RHS is equal to "<Nop>".
To reduce code duplication, factor this out into a helper function.
Also add an rhs_is_noop flag to MapArguments; buf_do_map_explicit
expects an empty {rhs} string for "<Nop>", but also needs to distinguish
that from something like ":map lhs<cr>" where no {rhs} was provided.
- getchar.c: Use allocated buffer for rhs in MapArgs
Since the MAXMAPLEN limit does not apply to the RHS of a mapping (or
else an RHS that calls a really long autoload function from a plugin
would be incorrectly rejected as being too long), use an allocated
buffer for RHS rather than a static buffer of length MAXMAPLEN + 1.
- Mappings LHS and RHS can contain literal space characters, newlines, etc.
- getchar.c: replace_termcodes in str_to_mapargs
It makes sense to do this; str_to_mapargs is, intuitively, supposed to
take a "raw" command string and parse it into a totally "do_map-ready"
struct.
- api/vim.c: Update lhs, rhs len after replace_termcodes
Fixes a bug in which replace_termcodes changes the length of lhs or rhs,
but the later search through the mappings/abbreviations hashtables
still uses the old length value. This would cause the search to fail
erroneously and throw 'E31: No such mapping' errors or 'E24: No such
abbreviation' errors.
- getchar: Create new map_arguments struct
So that a string of map arguments can be parsed into a more useful, more
portable data structure.
- getchar.c: Add buf_do_map function
Exactly the same as the old do_map, but replace the hardcoded references
to the global `buf_T* curbuf` with a function parameter so that we can
invoke it from nvim_buf_set_keymap.
- Remove gettext calls in do_map error handling
2019-05-12 02:44:48 -07:00
|
|
|
compile_commands.json
|