| Commit message (Collapse) | Author | Age |
| ... | |
| | |
| |
| |
| |
| |
| |
| | |
Problem: Lambda functions show up with completion.
Solution: Don't show lambda functions. (Ken Takata)
https://github.com/vim/vim/commit/b49edc11a1872fa99befa9a4a8ea6c8537868038
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using submatch() in a lambda passed to substitute() is verbose.
Solution: Use a static list and pass it as an optional argument to the
function. Fix memory leak.
https://github.com/vim/vim/commit/df48fb456fb6bf63d94cad9b302ff01d8ee8d311
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Syntax error when dict has '>' key.
Solution: Check for endchar. (Ken Takata)
https://github.com/vim/vim/commit/4f0383bc3fe5af0229fb66b53fe94329af783eff
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: substitute() does not support a Funcref argument.
Solution: Support a Funcref like it supports a string starting with "\=".
https://github.com/vim/vim/commit/72ab729c3dcdea0fba44d8e676602c847e841bcd
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: filter() and map() either require a string or defining a function.
Solution: Support lambda, a short way to define a function that evaluates an
expression. (Yasuhiro Matsumoto, Ken Takata)
https://github.com/vim/vim/commit/069c1e7fa9f45a665064f7f2c17da84d6a48f544
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Crash when passing number to filter() or map().
Solution: Convert to a string. (Ozaki Kiichi)
https://github.com/vim/vim/commit/a06ec8f345eabb66e5b7d7c0192cfebdde63115d
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: filter() and map() only accept a string argument.
Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken
Takata)
https://github.com/vim/vim/commit/b33c7eb5b813cb631b2b0ca5c4029e1788a09bde
|
| |/
|
|
|
|
|
|
| |
Problem: Cannot detect a crash in tests when caused by garbagecollect().
Solution: Add garbagecollect_for_testing(). Do not free a job if is still
useful.
https://github.com/vim/vim/commit/ebf7dfa6f121c82f97d2adca3d45fbaba9ad8f7e
|
| |\
| |
| | |
vim-patch:7.4.1948,7.4.1954,7.4.1962
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Two test files for increment/decrement.
Solution: Move the old style test into the new style test. (Hirohito
Higashi, closes vim/vim#881)
https://github.com/vim/vim/commit/52df117df724a7ad20affdf15214d2df2e507dcc
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: No test for what 7.4.1948 fixes.
Solution: Add a test. (Hirohito Higashi, closes vim/vim#880)
https://github.com/vim/vim/commit/d388d2ac8bf8c770bf97dc406e99a20ba5104855
Some adjustments had to be made from upstream since nvim always uses
utf-8 internally.
* Removed the 'set encoding=cp932' line from the test
* Adjusted the expected values for getpos(), since the number of bytes
is different in utf-8
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Using Ctrl-A with double-byte encoding may result in garbled text.
Solution: Skip to the start of a character. (Hirohito Higashi)
https://github.com/vim/vim/commit/ad5ca9bc1e7145474adb082775a805f1731e9e37
|
| |\ \
| |/
|/| |
vim-patch: 7.4.2275,7.4.2279
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Starting diff mode with the cursor in the last line might end up
only showing one closed fold. (John Beckett)
Solution: Scroll the window to show the same relative cursor position.
https://github.com/vim/vim/commit/46328f9a1cc8047d1e05095bc9f531038c5a4028
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: ":diffoff!" does not remove filler lines.
Solution: Force a redraw and invalidate the cursor. (closes vim/vim#1014)
https://github.com/vim/vim/commit/e67d546f3c691139e6d3d33f36724d98aec04c14
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Cscope test fails.
Solution: Avoid checking for specific line and column numbers.
https://github.com/vim/vim/commit/4792255eff03760dca0fd014616532e6d47db364
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Insufficient testing of cscope.
Solution: Add more tests. (Dominique Pelle)
https://github.com/vim/vim/commit/812ad4f3a2cb33002a24f6b5862c7b375cd68fe4
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Insufficient testing for cscope.
Solution: Add more tests. (Dominique Pelle)
https://github.com/vim/vim/commit/5971dab1126d6279c6e523f4fedc2f1e6fb9b4c9
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Not much testing for cscope.
Solution: Add a test that uses the cscope program. (Christian Brabandt)
https://github.com/vim/vim/commit/edf634e0f1985c5ea1afb5b480b47a44cabbce34
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Keymap test fails with normal features.
Solution: Bail out if the keymap feature is not supported.
https://github.com/vim/vim/commit/f36213597d737ab500771e87edcf121acd55e277
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Digraph code test coverage is still low.
Solution: Add more tests. (Christian Brabandt)
https://github.com/vim/vim/commit/e25bc5abb4621c6263b0248988a207d53b57fc54
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Digraph tests fails on some systems.
Solution: Run it separately and set 'encoding' early.
https://github.com/vim/vim/commit/dfd63e30d13fff5603416b6c7e247cebeb003eb0
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: New digraph test makes testing hang.
Solution: Don't set "nocp".
https://github.com/vim/vim/commit/60084333816c585d5858bc085b2942f813102ae3
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Not much test coverage for digraphs.
Solution: Add a new style digraph test. (Christian Brabandt)
https://github.com/vim/vim/commit/397eadbe25370394e0dc3cb18766533a15b8d1c0
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Misplaced equal sign.
Solution: Remove it.
https://github.com/vim/vim/commit/d955a0971cb4207e466ad40e78138d71052e1758
|
| |/
|
|
|
|
|
| |
Problem: Clang warns about missing field in initializer.
Solution: Define COMMA and use it. (Kazunobu Kuriyama)
https://github.com/vim/vim/commit/ac77aec4daea8d73468fcf4690cb4ccab1d807ed
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: buflist_findname_stat() may find a dummy buffer.
Solution: Set the BF_DUMMY flag after loading a dummy buffer. Start
finding buffers from the end of the list.
NOTE: In Neovim, buflist_findname_stat() was replaced by
buflist_findname_file_id() in c41535d69.
https://github.com/vim/vim/commit/ea3f2e7be447a8f0c4436869620f908de5e8ef1e
|
| |
|
|
|
|
|
| |
Problem: Warnings from 64 bit compiler.
Solution: Add type casts. (Mike Williams)
https://github.com/vim/vim/commit/25065ec375a8a55462f6c07c76dc1a72a770ac19
|
| |
|
|
|
|
|
| |
Problem: Still too many buf_valid() calls.
Solution: Make au_new_curbuf a bufref. Use bufref_valid() in more places.
https://github.com/vim/vim/commit/19ff9bf454b7492be64dd87aaf0830fa7961871e
|
| |
|
|
|
|
|
|
| |
Problem: buf_valid() can be slow when there are many buffers.
Solution: Add bufref_valid(), only go through the buffer list
when a buffer was freed.
https://github.com/vim/vim/commit/b25f9a97e9aad3cbb4bc3fe87cdbd5700f8aa0c6
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: When there are many errors adding them to the quickfix list takes
a long time.
Solution: Add BLN_NOOPT. Don't call buf_valid() in buf_copy_options().
Remember the last file name used. When going through the buffer
list start from the end of the list. Only call buf_valid() when
autocommands were executed.
https://github.com/vim/vim/commit/8240433f48f7383c281ba2453cc55f10b8ec47d9
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes #3689
cmake: Add `desktop-install` and `icon-install` targets. `runtime`
target will trigger them.
Specification:
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys
Icons are stored system-wide in /usr/share/applications or user wide at
/usr/share/icons/hicolor/scalable/apps and can be overriden in ~/.local/share/icons
nvim.desktop file can be installed system wide or in
~/.local/share/applications/
To test without an installer:
$ xdg-desktop-menu install --novendor runtime/nvim.desktop
$ xdg-icon-resource install --novendor --mode user --size 64 contrib/nvim-icon.png
Once it is installed, you can test with gtk-launch if installed or
dmenu/rofi (drun mode)
|
| |
|
|
|
|
|
| |
1914: signal
2074: HIKEY2UF()
Closes #5953
|
| |\
| |
| | |
vim-patch:7.4.2049,7.4.2050,7.4.2064,7.4.2067,7.4.2081
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Line numbers in the error list are not always adjusted.
Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/c1542744e788d96fed24dd421f43009288092504
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Compiler warning for char/char_u conversion. (Tony Mechelynck)
Inefficient code.
Solution: Use more lines to fill with spaces. (Nikolai Pavlov) Add type cast.
https://github.com/vim/vim/commit/16ec3c9be3fcdc38530bddb12978bc5a7b98c0f6
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Coverity warns for possible buffer overflow.
Solution: Use vim_strcat() instead of strcat().
https://github.com/vim/vim/commit/4f5c5f29806e53251b7a7b68ce7de86a21ff8015
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: When using ":vimgrep" may end up with duplicate buffers.
Solution: When adding an error list entry pass the buffer number if possible.
https://github.com/vim/vim/commit/015102e91e978a0bb42a14461c132a85e8f7e1ea
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: There is no way to get a list of the error lists.
Solution: Add ":chistory" and ":lhistory".
https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954
|
| |\ \
| |/
|/| |
vim-patch:7.4.2036
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Looking up a buffer by number is slow if there are many.
Solution: Use a hashtab.
https://github.com/vim/vim/commit/480778b805bd8bdc5d657560230e9c50feda1d0f
|
| | |
| |
| |
| |
| |
| | |
Problem: Using dummy variable to compute struct member offset.
Solution: Use offsetof().
https://github.com/vim/vim/commit/840268400dc8fda62a14f8a084e8b1ea46619454
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets
'textwidth' to a non-zero value. (Oyvind A. Holm)
Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe
value. (partly by Christian Brabandt, closes vim/vim#912)
https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
|
| |\ \
| | |
| | |
| | | |
7.4.2313, 7.4.2314'.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No error when deleting an augroup while it's the current one.
Solution: Disallow deleting an augroup when it's the current one.
https://github.com/vim/vim/commit/de653f08805dde14424d417502a0480a6ad292f8
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when deleting an augroup and listing an autocommand.
(Dominique Pelle)
Solution: Make sure deleted_augroup is valid.
https://github.com/vim/vim/commit/b62cc36a600e2e1e5a1d1d484fef89898c847c4c
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Get warning for deleting autocommand group when the autocommand
using the group is scheduled for deletion. (Pavol Juhas)
Solution: Check for deleted autocommand.
https://github.com/vim/vim/commit/5c80908ced601be6db7554a147cdb0f98ac8daa1
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Deleting an augroup that still has autocmds does not give a
warning. The next defined augroup takes its place.
Solution: Give a warning and prevent the index being used for another group
name.
https://github.com/vim/vim/commit/f2c4c391192cab6e923b1a418d4af09106fba25f
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No autocommand event to initialize a window or tab page.
Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
https://github.com/vim/vim/commit/c917da4b3e8801a255dbefea8e4ed19c1c716dd8
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when using tabnext in BufUnload autocmd. (Norio Takagi)
Solution: First check that the current buffer is the right one. (Hirohito
Higashi)
https://github.com/vim/vim/commit/30445cb6e94698d212ba866ef3e4022ac625540a
|