aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
Commit message (Collapse)AuthorAge
* vim-patch:8.1.0588: cannot define a sign with space in the textJan Edmund Lazo2018-12-14
| | | | | | Problem: Cannot define a sign with space in the text. Solution: Allow for escaping characters. (Ben Jackson, closes vim/vim#2967) https://github.com/vim/vim/commit/06b056e110005ce0dd97b8c6333405afd06c36fc
* vim-patch:8.1.0516: :move command sets 'modified' #9224Jan Edmund Lazo2018-11-11
| | | | | Problem: :move command marks buffer modified when nothing changed. Solution: Do not set 'modified'. Add a test. (Jason Franklin) https://github.com/vim/vim/commit/ddd1f9183bed00d096f29c503721ac559174a29f
* vim-patch:8.0.1553: find digraph to insert a character #8190lokesh11972018-10-30
| | | | | | | | Problem: Cannot see what digraph is used to insert a character. Solution: Show the digraph with the "ga" command. (Christian Brabandt) https://github.com/vim/vim/commit/5f73ef8d20070cd45c9aea4dc33c2e0657f5515c close #8190
* fix warning: null arg passed to 'nonnull' paramJustin M. Keyes2018-10-21
| | | | Found by clang scan-build 5.0
* signs: Add "numhl" argument #9113Reto Schnyder2018-10-13
| | | | | close #9113 ref #9040
* vim-patch:8.1.0468: MS-Windows: filter command with pipe character fails (#9101)Jan Edmund Lazo2018-10-10
| | | | | | | Problem: MS-Windows: Filter command with pipe character fails. (Johannes Riecken) Solution: Find the pipe character outside of quotes. (Yasuhiro Matsumoto, closes vim/vim#1743, closes vim/vim#3523) https://github.com/vim/vim/commit/0664089eccec1083dd04ef2255856fb34ce62f15
* vim-patch:8.1.0416: sort doesn't report deleted lines (#9062)Jan Edmund Lazo2018-09-28
| | | | | Problem: Sort doesn't report deleted lines. Solution: Call msgmore(). (Christian Brabandt, closes vim/vim#3454) https://github.com/vim/vim/commit/b0e982bf05feb27eddb5f809b052c1137f4d4add
* lintJan Edmund Lazo2018-09-27
|
* vim-patch:8.1.0120: buffer 'modified' set even when :sort has no changesJan Edmund Lazo2018-09-26
| | | | | | Problem: Buffer 'modified' set even when :sort has no changes. Solution: Only set 'modified' when lines are moved. (Jason Franklin) https://github.com/vim/vim/commit/dc9e955fb07f410d5d3e981ce18d895dd2847c85
* cleanup/TUI: remove old unused code #9013Justin M. Keyes2018-09-19
| | | | | | | | - Checks for ECHOE, ICANON were left over from Vim code. We already reference the symbols elsewhere without checking. - newline_on_exit, intr_char: Both are vestigial remnants of Vim 4.x, not implemented in Nvim. intr_char is a termios/stty feature, it's probably not useful because users have other ways to configure their terminals.
* globals: KeyTyped is boolJan Edmund Lazo2018-09-14
|
* do_shell, do_filter: Remove "clear screen", "wait for return" callsJustin M. Keyes2018-09-12
| | | | | The output from shell commands is already handled by the messages.c/UI layer.
* UI/cleanup: Remove most redraw_later_clear() callsJustin M. Keyes2018-09-12
| | | | | | Vim :! may "mess up the screen" because of e.g. switching between cooked mode, but Nvim just uses pipes. So maybe we can avoid these redraw_later_clear() CYA calls.
* vim-patch:8.1.0034: cursor not restored with ":edit #"Jan Edmund Lazo2018-09-11
| | | | | | | Problem: Cursor not restored with ":edit #". Solution: Don't assume autocommands moved the cursor when it was moved to the first non-blank. https://github.com/vim/vim/commit/adb8fbec4f4059d214fe6acf2485ffd35e803450
* window: refactor boolean variables in win_close()Jan Edmund Lazo2018-09-06
| | | | free_buf (param) and help_window (variable) are bool.
* vim-patch:8.0.0782: using freed memory in quickfix codeJan Edmund Lazo2018-09-06
| | | | | | Problem: Using freed memory in quickfix code. (Dominique Pelle) Solution: Handle a help window differently. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/d28cc3f55d4a5a980f6ac6fa682382822a223720
* lintJan Edmund Lazo2018-09-04
|
* ex_cmds: const variables in find_help_tags()Jan Edmund Lazo2018-09-04
| | | | keep_lang (param) is bool.
* vim-patch:8.1.0235: more help tags that jump to the wrong locationJan Edmund Lazo2018-09-04
| | | | | | | Problem: More help tags that jump to the wrong location. Solution: Add more exceptions and a table for "expr-" tags. (Hirohito Higashi) https://github.com/vim/vim/commit/3bf5e6a4c8eb84b44437d6148428565d44783eed
* vim-patch:8.1.0231: :help -? goes to help for -+Jan Edmund Lazo2018-09-04
| | | | | | Problem: :help -? goes to help for -+. Solution: Add -? to list of special cases. (Hirohito Higashi) https://github.com/vim/vim/commit/a5bc38b8c16be93bac900137a5837585006cc8a4
* vim-patch:8.0.1383: local additions in help skips some filesJan Edmund Lazo2018-09-04
| | | | | | Problem: Local additions in help skips some files. (joshklod) Solution: Check the base file name length equals. https://github.com/vim/vim/commit/35c5e8155da797f14124d98fdc6189067b965688
* Remove has_mbytes from lines local to parent commitZviRackover2018-08-31
|
* Refactor: remove mb_ptr2len_len, mb_ptr2cells and mb_ptr2cells_lenZviRackover2018-08-31
| | | | Remove occurences of these macros.
* vim-patch:8.1.0110: file name not displayed with ":file" (#8878)Justin M. Keyes2018-08-21
| | | | | | | | | Problem: File name not displayed with ":file" when 'F' is in 'shortmess'. Solution: Always display the file name when there is no argument (Christian Brabandt, closes vim/vim#3070) https://github.com/vim/vim/commit/fc0896093c3b3e753859a5f929921933e7a2e6cd closes #8817 closes #8873
* refactor: Replace vim_strrchr() with strrchar() (#8718)ZviRackover2018-08-11
| | | | ref #1474
* Merge #8744 from janlazo/vim-8.0.0890Justin M. Keyes2018-08-08
|\
| * memline: copy in ml_replace() is boolJan Edmund Lazo2018-08-07
| |
| * vim-patch:8.0.1216: tabline is not always updated for :file commandJan Edmund Lazo2018-08-06
| | | | | | | | | | | | Problem: Tabline is not always updated for :file command. (Norio Takagi) Solution: Set redraw_tabline. (Hirohito Higashi) https://github.com/vim/vim/commit/6ce650480844bfaa5410874416b4a2e15f40b870
* | Remove all occurences of the mb_ptr2char macroZviRackover2018-08-06
|/ | | | | | | First step towards implemening issue #7401. The same can be done for all deprecated mb_ functions in follow-up patches.
* ex_cmds: add const to helptags_one() variablesJan Edmund Lazo2018-08-01
|
* ex_cmds: add const to fix_help_buffer() variablesJan Edmund Lazo2018-08-01
|
* ex_cmds: refactor utf8 variables to TriStateJan Edmund Lazo2018-08-01
| | | | | - utf8 in helptags_one() - this_utf in fix_help_buffer()
* vim-patch:8.0.1512: warning for possibly using NULL pointerJan Edmund Lazo2018-07-23
| | | | | | Problem: Warning for possibly using NULL pointer. (Coverity) Solution: Skip using the pointer if it's NULL. https://github.com/vim/vim/commit/e4db7aedab65abadcc84c78e7a10ec7bb62f11cf
* highlight: extract low-level highlight logic from syntax, uiBjörn Linse2018-07-21
|
* vim-patch:8.0.0630: it is not easy to work on lines without a match (#8734)Jan Edmund Lazo2018-07-13
| | | | | | | Problem: The :global command does not work recursively, which makes it difficult to execute a command on a line where one pattern matches and another does not match. (Miles Cranmer) Solution: Allow for recursion if it is for only one line. (closes vim/vim#1760) https://github.com/vim/vim/commit/f84b122a99da75741ae686fabb6f81b8b4755998
* vim-patch:8.0.0677: setting 'filetype' may switch buffersJan Edmund Lazo2018-06-26
| | | | | | | Problem: Setting 'filetype' internally may cause the current buffer and window to change unexpectedly. Solution: Set curbuf_lock. (closes vim/vim#1734) https://github.com/vim/vim/commit/1814183b865059679f6ee526ec23fc575e536e66
* vim-patch:8.0.0707: freeing wrong memory with certain autocommandsJan Edmund Lazo2018-06-25
| | | | | | | Problem: Freeing wrong memory when manipulating buffers in autocommands. (James McCoy) Solution: Also set the w_s pointer if w_buffer was NULL. https://github.com/vim/vim/commit/f1d13478e3a7e1a86d52552c8c5571f00dc28ad1
* *: Replace b_changedtick with new always-inline functionsZyX2018-06-22
| | | Ref #8474
* vim-patch:8.0.0621: :stag does not respect 'switchbuf'Jan Edmund Lazo2018-06-21
| | | | | | | | Problem: The ":stag" command does not respect 'switchbuf'. Solution: Check 'switchbuf' for tag commands that may open a new window. (Ingo Karkat, closes vim/vim#1681) Define macros for the return values of getfile(). https://github.com/vim/vim/commit/8ad80dea089ffeb1a845199c013e9bb4be1cd22e
* vim-patch:8.0.0537: illegal memory access with :z and large count (#8592)Jan Edmund Lazo2018-06-19
| | | | | | Problem: Illegal memory access with :z and large count. Solution: Check for number overflow, using long instead of int. (Dominique Pelle, closes vim/vim#1612) https://github.com/vim/vim/commit/fa0ad0bb0b4255e64ebcf9269d60a942e0ae7ff9
* vim-patch:8.0.0451: some macros are in lower caseJan Edmund Lazo2018-06-12
| | | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice. https://github.com/vim/vim/commit/91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f
* vim-patch:8.0.0466: still macros that should be all-caps (#8510)Jan Edmund Lazo2018-06-10
| | | | | Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps. https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
* Rename some more, fixe borked renamingKillTheMule2018-05-23
|
* LintKillTheMule2018-05-23
|
* Some renamings and doc changesKillTheMule2018-05-23
|
* Enable -WconversionKillTheMule2018-05-23
|
* The grand renamingKillTheMule2018-05-23
|
* LintKillTheMule2018-05-23
|
* API: Implement buffer updatesPeter Hodge2018-05-23
| | | | | Originally written by @phodge in https://github.com/neovim/neovim/pull/5269.
* *: Fix clint errorsZyX2018-04-22
|