diff options
author | erw7 <erw7.github@gmail.com> | 2019-08-25 13:45:45 +0900 |
---|---|---|
committer | erw7 <erw7.github@gmail.com> | 2019-09-04 13:40:04 +0900 |
commit | a2e48b556b7537acd26353b6cc201410be7cf3dc (patch) | |
tree | 8608753784910578b9772905f9545bf45c282361 /src/nvim/macros.h | |
parent | 38806f23edfcba8cb7f7b80039d268ae3ffb0557 (diff) | |
download | rneovim-a2e48b556b7537acd26353b6cc201410be7cf3dc.tar.gz rneovim-a2e48b556b7537acd26353b6cc201410be7cf3dc.tar.bz2 rneovim-a2e48b556b7537acd26353b6cc201410be7cf3dc.zip |
vim-patch:8.1.0362: cannot get the script line number when executing a function
Problem: Cannot get the script line number when executing a function.
Solution: Store the line number besides the script ID. (Ozaki Kiichi,
closes vim/vim#3362) Also display the line number with ":verbose set".
https://github.com/vim/vim/commit/f29c1c6aa3f365c025890fab5fb9efbe88eb1761
Diffstat (limited to 'src/nvim/macros.h')
-rw-r--r-- | src/nvim/macros.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/macros.h b/src/nvim/macros.h index 760f690e87..d11507fa6a 100644 --- a/src/nvim/macros.h +++ b/src/nvim/macros.h @@ -9,6 +9,7 @@ #else # ifndef INIT # define INIT(...) __VA_ARGS__ +# define COMMA , # endif #endif |