aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds2.c
Commit message (Collapse)AuthorAge
...
* | vim-patch:7.4.1528James McCoy2016-07-08
| | | | | | | | | | | | | | Problem: Using "ever" for packages is confusing. Solution: Use "start", as it's related to startup. https://github.com/vim/vim/commit/af1a0e371e739f8dff337fd31da0ff8ffb347b43
* | vim-patch:7.4.1499James McCoy2016-07-08
| | | | | | | | | | | | | | Problem: No error message when :packadd does not find anything. Solution: Add an error message. (Hirohito Higashi) https://github.com/vim/vim/commit/be82c254862e475a582c0717455e1db6bf96b0d0
* | vim-patch:7.4.1486James McCoy2016-07-08
| | | | | | | | | | | | | | Problem: ":loadplugin" is not optimal, some people find it confusing. Solution: Only use ":packadd" with an optional "!". https://github.com/vim/vim/commit/f3654827368e6204608036353a0360e9e7c21e02
* | vim-patch:7.4.1480James McCoy2016-07-08
| | | | | | | | | | | | | | Problem: Cannot add a pack direcory without loading a plugin. Solution: Add the :packadd command. https://github.com/vim/vim/commit/91715873d19a1859c08eeded7848113596e2f2bd
* | vim-patch:7.4.1479James McCoy2016-07-08
| | | | | | | | | | | | | | Problem: No testfor ":loadplugin". Solution: Add a test. Fix how option is being set. https://github.com/vim/vim/commit/863c1a9079fa340d663ccafb011729a29186d73e
* | vim-patch:7.4.1478James McCoy2016-07-08
| | | | | | | | | | | | | | Problem: ":loadplugin" doesn't take care of ftdetect files. Solution: Also load ftdetect scripts when appropriate. https://github.com/vim/vim/commit/1bdd42627d619258d0e847f217cfc1c2795f1ac5
* | vim-patch:7.4.1388James McCoy2016-07-08
| | | | | | | | | | | | | | Problem: Compiler warning. (Cesar Romani) Solution: Initialize variable. https://github.com/vim/vim/commit/bdcd75275002c3b74015bb9bc0a01b13bb6107d4
* | vim-patch:7.4.1384James McCoy2016-07-08
|/ | | | | | | Problem: It is not easy to use a set of plugins and their dependencies. Solution: Add packages, ":loadopt", 'packpath'. https://github.com/vim/vim/commit/f6fee0e2d4341c0c2f5339c1268e5877fafd07cf
* Fix regression of :drop introduced in 1a91000Michael Budde2016-07-01
| | | | | | | | A single line was deleted from `ex_drop()` in 1a91000 when fixing clint warnings causing the `:drop` command to not work correctly if the buffer is not already open in a window. Fixes #4981
* ex_cmds2.c: cleanupJustin M. Keyes2016-06-25
|
* ex_cmds2.c:style: Silence all clint warningsJ Phani Mahesh2016-06-24
|
* ops.c: enable -Wconversion warningCharles Joachim2016-05-30
|
* Merge pull request #4756 from jbradaric/vim-7.4.1119Justin M. Keyes2016-05-29
|\ | | | | vim-patch:7.4.1119,7.4.1123,7.4.1132,7.4.1161
| * vim-patch:7.4.1161Jurica Bradaric2016-05-14
| | | | | | | | | | | | | | | | Problem: ":argadd" without argument is supposed to add the current buffer name to the arglist. Solution: Make it work as documented. (Coot, closes vim/vim#577) https://github.com/vim/vim/commit/2faa29f896252073b53f387406109e331fbbe5f8
| * vim-patch:7.4.1123Jurica Bradaric2016-05-14
| | | | | | | | | | | | | | | | Problem: Using ":argadd" when there are no arguments results in the second argument to be the current one. (Yegappan Lakshmanan) Solution: Correct the w_arg_idx value. https://github.com/vim/vim/commit/a24f0a550fed3d9773800cf6be4efd072fff20ec
| * vim-patch:7.4.1119Jurica Bradaric2016-05-14
| | | | | | | | | | | | | | | | Problem: argidx() has a wrong value after ":%argdelete". (Yegappan Lakshmanan) Solution: Correct the value of w_arg_idx. Add a test. https://github.com/vim/vim/commit/72defda84eb26be9e2ade56c7877b912f818026e
* | fopen_noinh_readbin: restore WIN32 decisionJustin M. Keyes2016-05-28
| |
* | do_source: less fuss about fopen_noinh_readbinJustin M. Keyes2016-05-28
| |
* | vim-patch:7.4.1832Jurica Bradaric2016-05-17
| | | | | | | | | | | | | | Problem: Memory leak in debug commands. Solution: Free memory before overwriting the pointer. (hint by Justin Keyes) https://github.com/vim/vim/commit/dc303bce10c60a3314078ea168064552fadf01af
* | ex_cmds2: Fix memory leak.Jurica Bradaric2016-05-17
| |
* | Remove unnecessary forward function declarations.Jurica Bradaric2016-05-17
| |
* | vim-patch:7.4.1102Jurica Bradaric2016-05-17
| | | | | | | | | | | | | | | | Problem: Debugger has no stack backtrace support. Solution: Add "backtrace", "frame", "up" and "down" commands. (Alberto Fanjul, closes vim/vim#433) https://github.com/vim/vim/commit/f1f60f859cdbb2638b3662ccf7b1d179865fe7dc
* | Linting fixups for vim-patch:7.4.1037James McCoy2016-05-14
| |
* | vim-patch:7.4.1037James McCoy2016-05-14
|/ | | | | | | | | Problem: Using "q!" when there is a modified hidden buffer does not unload the current buffer, resulting in the need to abandon it again. Solution: When using "q!" unload the current buffer when needed. (Yasuhiro Matsumoto, Hirohito Higashi) https://github.com/vim/vim/commit/027387f70c671f62e3e08e0bdd09ec05b0232735
* *: Fix new linter errorsZyX2016-05-01
| | | | Originally there were 128 new errors, so I thought this is a good idea to fix all of them. Of course, this commit also fixes many suppressed errors.
* Windows: without libintl use LC_CTYPE instead of LC_MESSAGESRui Abreu Ferreira2016-04-29
| | | | | | | | | | | | | If libintl is not available, LC_MESSAGES is not defined. For now fallback to using LC_CTYPE. Neovim and Vim have diverged significantly in ex_cmds2.c concerning this logic. In other locations the fallback is actually LC_COLLATE, but in this case Vim calls get_mess_env() (which in turn falls back to LC_CTYPE). In Neovim get_mess_env() is only available with libint. This means we are not completely consistent with Vim when handling LC_ environment variables and do not build against libintl.
* Linting.KillTheMule2016-04-23
|
* vim-patch:7.4.822KillTheMule2016-04-23
| | | | | | | | | | Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt) https://github.com/vim/vim/commit/cde885473099296c4837de261833f48b24caf87c Applied manually. Files that do not exst anymore: gui.c gui_w16.c gui_w32.c if_xcmdsrv.c os_unix.c
* *: Make set_vim_var_\* functions have proper argument typesZyX2016-04-18
|
* Merge pull request #4289 from phanimahesh/refactor/wconversion/ex_cmds2.cBjörn Linse2016-02-28
|\ | | | | Enable -Wconversion for ex_cmds2.c
| * ex_cmds2.c:style: silence clint after -Wconversion changesJ Phani Mahesh2016-02-27
| | | | | | | | use ///< to document all struct and enum fields
| * enable -Wconversion for ex_cmds2.cJ Phani Mahesh2016-02-27
| |
* | vim-patch:7.4.1112Jurica Bradaric2016-02-27
|/ | | | | | | Problem: When using ":next" with an illegal file name no error is reported. Solution: Give an error message. https://github.com/vim/vim/commit/2db5c3b3ceeaded7fb5a64dc5cb22b0cb95b78a1
* Windows: Include <fcntl.h> for file constants.Seth Jackson2016-01-17
| | | | | | This header is required by POSIX for the constants (O_RDONLY, etc.) but we were only including it on Unix systems as a side effect of including <unistd.h>.
* vim-patch:7.4.858Florian Walch2015-12-24
| | | | | | | | Problem: It's a bit clumsy to execute a command on a list of matches. Solution: Add the ":ldo", ":lfdo", ":cdo" and ":cfdo" commands. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
* src/*: Remove `VIM - Vi improved ...` headerMichael Reed2015-11-27
| | | | | | | | | | | | | | | | | | | Regarding the individual items in the header: `Vim - Vi improved by Bram Moolenar` Bram Moolenar is already mentioned throughout the documentation, as well as the intro screen. `:help uganda` It's already shown to all users who don't use `shortmess+=I` upon starting nvim, and is already placed prominently in help.txt, i.e., `:help` run with no arguments. `:help credits` Already mentioned near the top of help.txt. `README.md` Already mentioned in develop.txt.
* Remove unnecessary includes for errno.hRui Abreu Ferreira2015-11-25
|
* src: README.txt -> README.mdMichael Reed2015-11-23
| | | | | The former no longer exists in this repo; see the top of src/nvim/README.md.
* Remove all invalid nvimrc and ngvimrc referencesMarco Hinz2015-11-11
| | | | | | | | | | "vimrc" refers to all files that are used to configure Neovim. The main configuration file is init.vim nowadays. All nvimrc references that are left refer to a local ".nvimrc" which is read if 'exrc' is set. ".ngvimrc" references were completely wiped. Closes #3552.
* Add ":profile stop"Marco Hinz2015-11-10
| | | | This writes the logfile and stops profiling.
* Add ":profile dump"Marco Hinz2015-11-10
| | | | | Currently the logfile (":profile start {logfile}") only gets written when Vim exits. This new command allows to dump the log immediately without exiting.
* Remove unused constantsMarco Hinz2015-11-10
|
* IWYU: remove unused "version.h"Justin M. Keyes2015-11-05
|
* clipboard: avoid clipboard during :global. #2809Felipe Morales2015-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is equivalent to patches 7.4.396, 7.4.445 and 7.4.598. vim-patch:7.4.396 Problem: When 'clipboard' is "unnamed", :g/pat/d is very slow. (Praful) Solution: Only set the clipboard after the last delete. (Christian Brabandt) https://github.com/vim/vim/commit/1f285eb49a709e00552f7bef7e74efff5ae79026 vim-patch:7.4.445 Problem: Clipboard may be cleared on startup. Solution: Set clip_did_set_selection to -1 during startup. (Christian Brabandt) https://github.com/vim/vim/commit/1a19d37d90f037c09183ba68fdddf70ab8ee179a vim-patch:7.4.598 Problem: ":tabdo windo echo 'hi'" causes "* register not to be changed. (Salman Halim) Solution: Change how clip_did_set_selection is used and add clipboard_needs_update and global_change_count. (Christian Brabandt) https://github.com/vim/vim/commit/af6a579263a688f30bfbbee72b28d08cc7e0f3d4 Co-Author: @bfredl
* ex_cmds*: Silence -Wstrict-prototypes warningsZyX2015-08-02
| | | | | Due to a number of places where headers generated from these files are included gcc with -DEXITFREE produces *loads* of warnings for these functions.
* vim-patch:7.4.646 #2926Florian Walch2015-07-06
| | | | | | | Problem: ":bufdo" may start at a deleted buffer. Solution: Find the first not deleted buffer. (Shane Harper) https://github.com/vim/vim/commit/v7-4-646
* doc: Remove refs to dos(16|32), win16, and win95Michael Reed2015-07-05
| | | | | This is primarily low-hanging fruit; there are still many references to things such as MS-DOS throughout (see os_dos.txt).
* Passing by: Remove X_LOCALE refsMichael Reed2015-05-30
| | | | We don't link to any X11 libs, so this is most likely unneeded.
* getenv: return NULL if empty #2574Scott Prager2015-05-29
| | | | | | Making an environment variable empty can be a way of unsetting it for platforms that don't support unsetenv(). In most cases, we treat empty variables as having been unset. For all others, use os_env_exists().
* Remove char_u: message:smsg()Michael Reed2015-05-13
|