Commit Graph
11554 Commits
Author SHA1 Message Date
Jan Edmund Lazo 13673ea78d editorconfig: Makefile uses 8-width tab indent 2018-08-23 13:47:15 -04:00
Jan Edmund Lazo e89df8a54d vim-patch:8.0.1682: auto indenting breaks inserting a block (#8892)
Problem:    Auto indenting breaks inserting a block.
Solution:   Do not check for cursor movement if indent was changed. (Christian
            Brabandt, closes vim/vim#2778)
https://github.com/vim/vim/commit/8c87a2b1fec85e4aac33f71586ac1514536fc66b
2018-08-23 19:13:05 +02:00
James McCoy a5d00527a1 Merge pull request #8887 from janlazo/vim-8.0.1242
[RDY] vim-patch:8.0.1242
2018-08-23 10:48:06 -04:00
James McCoy dfbb75fdab Merge pull request #8889 from janlazo/vim-8.0.0999
[RDY] vim-patch:8.0.{999,1041,1043,1044}
2018-08-23 10:45:58 -04:00
Jan Edmund Lazo 6c8851be4e lint 2018-08-23 10:00:53 -04:00
Jan Edmund Lazo 27fbffeb4f vim-patch:8.0.1044: warning for uninitialized variable
Problem:    Warning for uninitialized variable. (John Marriott)
Solution:   Initialize ind_pre.
https://github.com/vim/vim/commit/2254a8ad0cb596a0a0863b1af92353f018c0b355
2018-08-23 10:00:53 -04:00
Jan Edmund Lazo fb68c97ce8 vim-patch:8.0.1043: warning for uninitialized variable
Problem:    Warning for uninitialized variable. (John Marriott)
Solution:   Move code to check indent inside "if".
https://github.com/vim/vim/commit/4ec86ddd77a89766e42bd0a6cfcf10af4c3d03b2
2018-08-23 10:00:53 -04:00
Jan Edmund Lazo d677ae5f64 vim-patch:8.0.1041: bogus characters when indenting during visual-block append
Problem:    Bogus characters appear when indenting kicks in while doing a
            visual-block append.
Solution:   Recompute when indenting is done. (Christian Brabandt)
https://github.com/vim/vim/commit/e2e69e48134cbfdedea7802810932f8592705024
2018-08-23 10:00:53 -04:00
Jan Edmund Lazo fe57a8a4e4 vim-patch:8.0.0999: indenting raw C++ strings is wrong
Problem:    Indenting raw C++ strings is wrong.
Solution:   Add special handling of raw strings. (Christian Brabandt)
https://github.com/vim/vim/commit/dde81312b031211752d1fcb8539d79f90f324a2e
2018-08-23 04:09:24 -04:00
Jan Edmund Lazo 012cd35bfb vim-patch:8.0.1151: "vim -c startinsert!" doesn't append (#8886)
Problem:    "vim -c startinsert!" doesn't append.
Solution:   Correct line number on startup. (Christian Brabandt, closes vim/vim#2117)
https://github.com/vim/vim/commit/09ca932f8e7d63a83b39baa7c03d4c6145e3baab
2018-08-22 19:33:06 +02:00
Jan Edmund Lazo eaf8e57cf9 vim-patch:8.0.1242: function argument with only dash is seen as number zero
Problem:    Function argument with only dash is seen as number zero. (Wang
            Shidong)
Solution:   See a dash as a string. (Christian Brabandt)
https://github.com/vim/vim/commit/ffd99f729bd806e09d9355ede9c17780b61057bf
2018-08-22 13:06:04 -04:00
Justin M. Keyes a466bd2927 Merge #8880 from janlazo/vim-8.0.1331 2018-08-22 08:40:56 +02:00
Jan Edmund Lazo 54e6ef73f0 vim-patch:8.0.1790: 'winfixwidth' is not always respected by :close
Problem:    'winfixwidth' is not always respected by :close.
Solution:   Prefer a frame without 'winfixwidth' or 'winfixheight'. (Jason
            Franklin)
https://github.com/vim/vim/commit/c136af29c0b1939076fbae7d36afd90dce740315
2018-08-21 22:36:31 -04:00
Jan Edmund Lazo b5fc21dbf0 vim-patch:8.0.1707: when 'wfh' is set ":bel 10new" scrolls window
Problem:    When 'wfh' is set ":bel 10new" scrolls window. (Andrew Pyatkov)
Solution:   Set the fraction before changing the window height. (closes vim/vim#2798)
https://github.com/vim/vim/commit/98da6ecab905df48a67da36ce60233f45726c979
2018-08-21 12:44:06 -04:00
Jan Edmund Lazo 39777ad4b8 vim-patch:8.0.1426: "gf" and <cfile> don't accept ? and & in URL
Problem:    "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok)
Solution:   Check for a URL and allow for extra characters. (closes vim/vim#2493)
https://github.com/vim/vim/commit/9e3dfc650190e96739abc004eb9948afa68136b4
2018-08-21 12:17:17 -04:00
Jan Edmund Lazo 387c3be82a vim-patch:8.0.1331: possible crash when window can be zero lines high
Problem:    Possible crash when window can be zero lines high. (Joseph
            Dornisch)
Solution:   Only set w_fraction if the window is at least two lines high.
https://github.com/vim/vim/commit/3679c17917d7ff22e836982c81e5816bd07451dd
2018-08-21 11:57:04 -04:00
James McCoy 19aa8ccf85 Merge pull request #8879 from janlazo/vim-8.1.0303
[RDY] vim-patch:8.1.0303
2018-08-21 11:29:24 -04:00
Jan Edmund Lazo 822ae1a81c vim-patch:8.1.0303: line2byte() is wrong for last line with 'noeol'
Problem:    line2byte() is wrong for last line with 'noeol' and 'nofixeol'.
Solution:   Fix off-by-one error. (Shane Harper, closes vim/vim#3351)
https://github.com/vim/vim/commit/c26f7c60532a37a2bf0a5e69aa81081b440dfc38
2018-08-21 10:20:17 -04:00
Justin M. Keyes 3807520001 Merge #8877 from janlazo/vim-8.0.1441 2018-08-21 09:33:09 +02:00
Justin M. Keyes 0c9888cdbe vim-patch:8.1.0110: file name not displayed with ":file" (#8878)
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
2018-08-21 09:25:48 +02:00
Justin M. Keyes 8872fce120 vim-patch.sh: Also check for .git/ directory
In the case of nested repos, such as when "neovim/" repo contains
"neovim/.vim-src/" repo,
    git rev-parse --show-toplevel
returns the fullpath to the "neovim/" repo, which failed the condition.

ref #8875
ref c05d7153d3
2018-08-21 08:37:49 +02:00
Justin M. Keyes 150b1b7b40 Merge #8861 from janlazo/vim-8.0.1364 2018-08-21 08:20:40 +02:00
Jan Edmund Lazo ee51061b8c lint 2018-08-20 23:49:34 -04:00
Jan Edmund Lazo 612f3fd57a undo: undo_undoes is bool 2018-08-20 23:49:34 -04:00
Jan Edmund Lazo 0ff4854800 undo: did_undo,absolute in u_undo_end() are bool 2018-08-20 23:49:34 -04:00
Jan Edmund Lazo 6f55aa3502 undo: update undo_time() function signature
sec,file,absolute (params) are bool.
Fix callers and local variables of undo_time().
2018-08-20 23:49:34 -04:00
Jan Edmund Lazo 19717ca1e8 undo: above,did_undo in undo_time() are bool 2018-08-20 23:49:34 -04:00
Jan Edmund Lazo 66ed6297b0 vim-patch:8.0.1441: using ":undo 0" leaves undo in wrong state
Problem:    Using ":undo 0" leaves undo in wrong state.
Solution:   Instead of searching for state 1 and go above, just use the start.
            (Ozaki Kiichi, closes vim/vim#2595)
https://github.com/vim/vim/commit/ce46d934af35d0f774be7f996001db03cf0b894a
2018-08-20 21:48:08 -04:00
Justin M. Keyes 0839c44257 Merge #8866 from janlazo/vim-8.0.0878 2018-08-20 23:09:10 +02:00
Justin M. Keyes 751c35d41b Merge #8872 from janlazo/vim-8.0.0762 2018-08-20 22:41:24 +02:00
Justin M. Keyes 768bc68d7e Merge #8860 from lucc/nvim_get_proc 2018-08-20 18:12:19 +02:00
James McCoy c05d7153d3 vim-patch.sh: Use git-rev-parse to check repo (#8875)
Explicitly checking for the .git/ directory doesn't work in various
situations (e.g., git-worktree).

[ci skip]
2018-08-20 17:41:00 +02:00
Jan Edmund Lazo 96035a8343 search: "include" in current_tagblock() is bool 2018-08-20 10:44:34 -04:00
Jan Edmund Lazo 7763c19a70 vim-patch:8.1.0290: "cit" on an empty HTML tag changes the whole tag
Problem:    "cit" on an empty HTML tag changes the whole tag.
Solution:   Only adjust the area in Visual mode. (Andy Massimino,
            closes vim/vim#3332)
https://github.com/vim/vim/commit/b476cb7d8d1a8c02409f110dea8b166aa9334e18
2018-08-20 10:15:06 -04:00
Jan Edmund Lazo 953c3fcfee lint 2018-08-20 00:09:52 -04:00
Jan Edmund Lazo f528aeff6e vim-patch:8.0.1487: test 14 fails
Problem:    Test 14 fails.
Solution:   Fix of-by-one error.
https://github.com/vim/vim/commit/8846ac5aedb568b9aae969f0ad2b9b1606522ca9
2018-08-20 00:09:52 -04:00
Jan Edmund Lazo 1d2b702008 vim-patch:8.0.1486: accessing invalid memory with "it"
Problem:    Accessing invalid memory with "it". (Dominique Pelle)
Solution:   Avoid going over the end of the line. (Christian Brabandt,
            closes vim/vim#2532)
https://github.com/vim/vim/commit/82846a00ac0c135946c93c48c1657018a5c96b11
2018-08-20 00:05:12 -04:00
Jan Edmund Lazo 2c0998e104 vim-patch:8.0.1291: C indent wrong when * immediately follows comment
Problem:    C indent wrong when * immediately follows comment. (John Bowler)
Solution:   Do not see "/*" after "*" as a comment start. (closes vim/vim#2321)
https://github.com/vim/vim/commit/f8c53d3d268fc67a29c8c1a4e76fae85762e11b5
2018-08-20 00:05:12 -04:00
Jan Edmund Lazo c553109932 vim-patch:8.1.0018: using "gn" may select wrong text when wrapping
Problem:    Using "gn" may select wrong text when wrapping.
Solution:   Avoid wrapping when searching forward. (Christian Brabandt)
https://github.com/vim/vim/commit/bdb657924d73c98b0ab28411749571e893b699a9
2018-08-19 15:53:34 -04:00
Jan Edmund Lazo ff1d111120 vim-patch:8.0.1148: gN doesn't work on last match with 'wrapscan' off
Problem:    "gN" doesn't work on last match with 'wrapscan' off. (fcpg)
Solution:   Adjust for searching backward. (Christian Brabandt)
https://github.com/vim/vim/commit/22ab547dc281092d6a9d397db712a11733c38e97
2018-08-19 09:01:19 -04:00
Jan Edmund Lazo 098e1f9dfd vim-patch:8.0.0762: ml_get error with :psearch in buffer without a name
Problem:    ml_get error with :psearch in buffer without a name. (Dominique
            Pelle)
Solution:   Use the buffer number instead of the file name.  Check the cursor
            position.
https://github.com/vim/vim/commit/c31f9ae4f1976544522313b182957793063ee02c
2018-08-18 21:55:54 -04:00
Jan Edmund Lazo 89fec12e9f vim-patch:8.0.1418: no test for expanding backticks
Problem:    No test for expanding backticks.
Solution:   Add a test. (Dominique Pelle, closes vim/vim#2479)
https://github.com/vim/vim/commit/ae6f8651251013bafef9de1aed09069deaae8122
2018-08-18 11:26:00 -04:00
James McCoy 98632f1cce doc: Remove irrelevant line about "only the first" vimrc is used
Vim supports multiple locations for the user's vimrc, so it will use the
first one that is found, ignoring the rest.  Nvim follows the XDG spec,
so there is only one place to look for the user's vimrc, thus making the
statement unnecessary and confusing for nvim users.

Ref #8871
2018-08-18 10:35:51 -04:00
Lucas Hoffmann 4d10024a56 API: Remove path prefix from command name in nvim_get_proc()
On macOS the output from `ps -o comm` might contain the full path of the
executable.  The `ucomm` would be the basename only but is less portable
(see previous commit).
2018-08-18 14:37:33 +02:00
Jan Edmund Lazo 0223c81457 lint 2018-08-17 22:07:55 -04:00
Jan Edmund Lazo 7482aef113 normal: don't check has_mbyte
has_mbyte is always true for nvim.
2018-08-17 22:07:55 -04:00
Jan Edmund Lazo f46728c241 vim-patch:8.0.1091: test for <cexpr> fails without +balloon_eval feature
Problem:    Test for <cexpr> fails without +balloon_eval feature.
Solution:   Remove #ifdefs.
https://github.com/vim/vim/commit/95c83c64be8d4af74bfda1f283a5bcf3f110719e
2018-08-17 22:07:55 -04:00
Jan Edmund Lazo 3d71366af1 vim-patch:8.0.1090: cannot get the text under the cursor like v:beval_text
Problem:    cannot get the text under the cursor like v:beval_text
Solution:   Add <cexpr>.
https://github.com/vim/vim/commit/65f084749b260746d7f186af4f080298be2df55b
2018-08-17 17:36:40 -04:00
Jan Edmund Lazo f53c95e7a8 vim-patch:8.1.0159: completion for user names does not work for a prefix.
Problem:    Completion for user names does not work if a prefix is also a full
            matching name. (Nazri Ramliy)
Solution:   Accept both full and partial matches. (Dominique Pelle)
https://github.com/vim/vim/commit/6c5d1043022520512ee36aa1a29662b60af33c95
2018-08-17 17:36:40 -04:00
Jan Edmund Lazo f5b7fd5fa3 ex_docmd: forceit,usefilter are bool 2018-08-17 09:07:15 -04:00