Commit Graph

16237 Commits

Author SHA1 Message Date
Jan Edmund Lazo
c219d3eec4
defaults: sessionoptions+=unix,slash #12760
Since 1c3ca4f18f, 2c1d12d0be, #7836, the "unix" and "slash" behavior
of 'sessionoptions'/'viewoptions' is always enabled, and the flags are
just ignored. There is no reason for that behavior to be configurable.

Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2020-08-15 19:19:06 -07:00
Matthieu Coudron
37aa9c9c94
Merge pull request #12713 from janlazo/vim-8.2.1347
vim-patch:8.1.{573,1674,2097,2098,2341},8.2.{1347,1360,1361,1364,1369,1377,1379,1386,1409,1410,1438,1441,1458}
2020-08-15 17:45:18 +02:00
Marvim the Paranoid Android
75aeb815b4
version.c: update [ci skip] (#12662)
vim-patch:8.0.1454: when in silent mode too much output is buffered

vim-patch:8.1.0464: MS-Windows: job_info() has cmd without backslashes
vim-patch:8.1.0581: double free without the text properties feature
vim-patch:8.1.1392: build failure in tiny version
vim-patch:8.1.1541: check for ASAN is not reliable
vim-patch:8.1.1640: the CursorHold autocommand takes down a balloon
vim-patch:8.1.1808: build failure for tiny version

vim-patch:8.2.0062: memory test is flaky on FreeBSD
vim-patch:8.2.0524: Win32: searching for file matches is slow
vim-patch:8.2.0525: Win32: typo in assignment and misplaced paren
vim-patch:8.2.0569: build failure with tiny version
vim-patch:8.2.0774: t_TI and t_TE are output when using 'visualbell'
vim-patch:8.2.1225: linker errors when building with dynamic Python 3.9
vim-patch:8.2.1226: MS-Windows: windows positioning wrong depending on taskbar
vim-patch:8.2.1228: scrollbars not flush against the window edges when maximised
vim-patch:8.2.1231: MS-Windows: GUI code can be cleaned up
vim-patch:8.2.1232: MS-Windows GUI: Snap cancelled by split command
vim-patch:8.2.1240: GUI tests sometimes fail because of translations
vim-patch:8.2.1245: build failure in tiny version
vim-patch:8.2.1248: Netbeans test is flaky in the GUI
vim-patch:8.2.1264: terminal getwinpos() test is a bit flaky
vim-patch:8.2.1266: Makefile preference were accidentally included
vim-patch:8.2.1273: MS-Windows: terminal test may leave file behind
vim-patch:8.2.1277: tests on Travis do not run with EXITFREE
vim-patch:8.2.1279: some tests on Travis have EXITFREE duplicated
vim-patch:8.2.1298: compiler warning for unused argument in small version
vim-patch:8.2.1309: build failure with tiny version
vim-patch:8.2.1310: configure with Xcode 12 fails to check for tgetent
vim-patch:8.2.1312: MS-Windows: terminal test may fail if dir.exe exists
vim-patch:8.2.1317: MS-Windows tests on AppVeyor are slow
vim-patch:8.2.1318: no status badge for Github CI
vim-patch:8.2.1319: status badge for Github CI has wrong link
vim-patch:8.2.1321: GitHub CI also runs on tag push
vim-patch:8.2.1327: Mac: configure can't find Tcl libraries
vim-patch:8.2.1330: Github workflow takes longer than needed
vim-patch:8.2.1334: Github workflow timeout needs tuning
vim-patch:8.2.1335: CTRL-C in the GUI doesn't interrupt
vim-patch:8.2.1336: build failure on non-Unix systems
vim-patch:8.2.1346: small build fails
vim-patch:8.2.1348: build failure without the eval feature
vim-patch:8.2.1353: crash when drawing double-wide character in terminal window
vim-patch:8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected
vim-patch:8.2.1385: no testing on ARM
vim-patch:8.2.1389: file missing from the distribution
vim-patch:8.2.1402: s390x tests always fail
vim-patch:8.2.1422: the Mac GUI implementation is outdated
vim-patch:8.2.1424: Mac build fails
vim-patch:8.2.1436: function implementing :substitute has unexpected name
vim-patch:8.2.1442: outdated references to the Mac Carbon GUI
vim-patch:8.2.1448: test 77a for VMS depends on small.vim which does not exist
vim-patch:8.2.1449: some test makefiles delete files that are not generated
vim-patch:8.2.1456: MS-Windows: test files are not deleted
2020-08-15 17:35:14 +02:00
Jan Edmund Lazo
056d99b0f6
tui: fix pvs/v728 2020-08-15 10:57:18 -04:00
Jan Edmund Lazo
9f591e6f23
shada: fix pvs/v1004 2020-08-15 10:57:17 -04:00
Jan Edmund Lazo
aab71dbd03
userfunc: fix pvs/v547
xcalloc() never returns NULL.
2020-08-15 10:57:17 -04:00
Jan Edmund Lazo
273ad7d66f
fixup! mksession: always unix slashes "/" for filepaths 2020-08-15 10:57:17 -04:00
Jan Edmund Lazo
acf4197290
ex_docmd: replace #define with enum
enum value can be inferred from previous member.
Vim was doing this manually via relative #define.

It's not needed but it is confusing for me to update an array index
after the array value and to configure the array index
such that it is dependent on other array indices.
One missing #define and everything below breaks.
2020-08-15 10:57:17 -04:00
Jan Edmund Lazo
6ac51792b9
fixup! vim-patch:68e6560b84f1 2020-08-15 10:57:17 -04:00
Jan Edmund Lazo
afc6753f64
vim-patch:8.2.1458: .gawk files not recognized
Problem:    .gawk files not recognized.
Solution:   Recognize .gawk files. (Doug Kearns)
9a5c553f79
2020-08-15 10:57:16 -04:00
Jan Edmund Lazo
4a0dbe866f
vim-patch:8.2.1441: running tests in tiny version gives error for summarize.vim
Problem:    Running tests in tiny version gives error for summarize.vim.
Solution:   Set 'cpoptions' to allow for line continuation.  Restore
            redirecting test output to /dev/null.
c771908681
2020-08-14 18:20:30 -04:00
Jan Edmund Lazo
f81167dc6f
vim-patch:8.2.1438: missing tests for interrupting script execution from debugger
Problem:    Missing tests for interrupting script execution from debugger.
Solution:   Add tests. (Yegappan Lakshmanan, closes vim/vim#6697)
7ac616cb0a
2020-08-14 18:20:30 -04:00
Jan Edmund Lazo
ab85f774a6
vim-patch:8.2.1410: adding compiler plugin requires test change
Problem:    Adding compiler plugin requires test change.
Solution:   Include compiler plugin and adjust test.
7f7a888869
2020-08-14 18:20:30 -04:00
Jan Edmund Lazo
5e95e0da44
vim-patch:8.2.1409: nmpmrc and php.ini filetypes not recognized
Problem:    Nmpmrc and php.ini filetypes not recognized.
Solution:   Add filetype detection. (Doug Kearns)
1e91eafc2e
2020-08-14 18:20:30 -04:00
Jan Edmund Lazo
4eb89e7f9b
vim-patch:8.1.2098: mksession test fails on MS-Windows
Problem:    mksession test fails on MS-Windows.
Solution:   Skip testing with backslashes on MS-Windows.
37ac4a531c
2020-08-14 18:20:29 -04:00
Jan Edmund Lazo
0361909462
vim-patch:8.1.2097: :mksession is not sufficiently tested
Problem:    :mksession is not sufficiently tested.
Solution:   Add more test cases. (Yegappan Lakshmanan, closes vim/vim#4992)
66f0e6c6e2
2020-08-14 18:20:29 -04:00
Jan Edmund Lazo
af58bee2f4
vim-patch:8.2.1386: backslash not removed afer space with space in 'isfname'
Problem:    Backslash not removed afer space in option with space in
            'isfname'.
Solution:   Do remove backslash before space, also when it is in 'isfname'.
            (Yasuhiro Matsumoto, closes vim/vim#6651)
994b89d28d
2020-08-14 18:20:29 -04:00
Jan Edmund Lazo
bc2c75cbd7
vim-patch:8.2.1379: curly braces expression ending in " }" does not work
Problem:    Curly braces expression ending in " }" does not work.
Solution:   Skip over white space when checking for "}". (closes vim/vim#6634)
ae95a3946b
2020-08-14 18:20:29 -04:00
Jan Edmund Lazo
afa5b04d00
vim-patch:8.2.1377: triggering the ATTENTION prompt causes typeahead mess up
Problem:    Triggering the ATTENTION prompt causes typeahead to be messed up.
Solution:   Increment tb_change_cnt. (closes vim/vim#6541)
b8d732e93e
2020-08-14 18:20:29 -04:00
Jan Edmund Lazo
9b361e9ea1
vim-patch:8.2.1369: MS-Windows: autocommand test sometimes fails
Problem:    MS-Windows: autocommand test sometimes fails.
Solution:   Do not rely on the cat command.
14ddd226da
2020-08-14 18:20:28 -04:00
Jan Edmund Lazo
4887c3dc1c
vim-patch:8.2.1364: invalid memory access when searching for raw string
Problem:    Invalid memory access when searching for raw string.
Solution:   Check for delimiter match before following quote. (closes vim/vim#6578)
282f9c64e5
2020-08-14 18:20:28 -04:00
Jan Edmund Lazo
037f532076
vim-patch:8.2.1361: error for white space after expression in assignment
Problem:    Error for white space after expression in assignment.
Solution:   Skip over white space. (closes vim/vim#6617)
6a25026262
2020-08-14 18:20:28 -04:00
Jan Edmund Lazo
9abfb85264
vim-patch:8.2.1360: stray error for white space after expression
Problem:    Stray error for white space after expression.
Solution:   Ignore trailing white space. (closes vim/vim#6608)
f96e9dec63
2020-08-14 18:20:28 -04:00
Jan Edmund Lazo
7a047d8dc2
vim-patch:8.2.1347: cannot easily get the script ID
Problem:    Cannot easily get the script ID.
Solution:   Support expand('<SID>').
909443028b
2020-08-14 18:20:28 -04:00
Jan Edmund Lazo
0680b5218e
vim-patch:8.1.2341: not so easy to interrupt a script programatically
Problem:    Not so easy to interrupt a script programatically.
Solution:   Add the interrupt() function. (Yasuhiro Matsumoto, closes vim/vim#2834)
67a2deb9cb
2020-08-14 18:20:28 -04:00
Jan Edmund Lazo
6d68b2801b
vim-patch:8.1.1674: script to check a colorscheme can be improved
Problem:    Script to check a colorscheme can be improved.
Solution:   Match the whole group name. Don't warn for what is usually omitted.
4e63f9425e
2020-08-14 18:20:27 -04:00
Jan Edmund Lazo
903cd73af1
vim-patch:8.1.0573: cannot redefine user command without ! in same script
Problem:    Cannot redefine user command without ! in same script
Solution:   Allow redefining user command without ! in same script, like with
            functions.
55d4691308
2020-08-14 18:20:27 -04:00
TJ DeVries
3ccdbc570d
lua: add vim.register_keystroke_callback (#12536)
* feat: Add vim.register_keystroke_callback

* fixup: Forgot to remove mention of old option

* fixup: Answer jamessan comments

* fixup: Answer norcalli comments

* fixup: portability

* Update runtime/doc/lua.txt

Co-authored-by: Ashkan Kiani <ashkan.k.kiani@gmail.com>
2020-08-14 10:03:17 -04:00
TJ DeVries
aa48c1c724
Merge pull request #12739 from vigoux/ts-refactor-predicates
treesitter: refactor
2020-08-14 08:33:50 -04:00
Thomas Vigouroux
6a8dcfab4b treesitter: allow to force predicate addition 2020-08-13 20:40:40 +02:00
Thomas Vigouroux
5900c99b7c treesitter: update docs on predicates 2020-08-13 20:30:15 +02:00
Thomas Vigouroux
9564803d1a treesitter: add predicate negation 2020-08-13 20:30:15 +02:00
Thomas Vigouroux
d7b12e58df treesitter: add and test vim-match? predicate 2020-08-13 20:30:15 +02:00
Thomas Vigouroux
58e37d7df8 treesitter: add contains? predicate 2020-08-13 20:30:15 +02:00
Thomas Vigouroux
18c0e77528 treesitter(docs): update and refresh docs 2020-08-13 20:30:15 +02:00
Thomas Vigouroux
613068071e treesitter: refactor and use lua regexes 2020-08-13 20:30:15 +02:00
James McCoy
94b7ff730a
Merge pull request #12731 from jamessan/libcallnr
libcall: Use "int" for number argument
2020-08-10 23:23:54 -04:00
James McCoy
272389da32
Merge pull request #12632 from tjdevries/tjdevries/packadd_lua
[RFC] lua: Force update of rtp more often
2020-08-10 19:30:58 -04:00
TJ DeVries
e797d0658c fix: runtimepath always updates lua package.path 2020-08-10 16:48:35 -04:00
Matthieu Coudron
602e7505e2
Merge pull request #12621 from Shougo/vim-8.1.1564
[RDY] vim-patch:8.1.1564, 1570, 1623, 1712 : sign column takes up space
2020-08-09 16:19:11 +02:00
Patrice Peterson
1869f86e35
Remove unused function (#12719) 2020-08-08 23:49:44 +02:00
Anmol Sethi
7f49594813
man.vim: Add - to 'iskeyword' (#12598)
Pressing K on manpages with - in their name will now work.

I noticed this the manpages of https://github.com/cli/cli
2020-08-08 12:48:33 -04:00
James McCoy
840c12c107
Merge remote-tracking branch 'upstream/master' into libcallnr 2020-08-08 08:57:35 -04:00
James McCoy
e813ec79c2
libcall: Use "int" for number argument
The libcall family of functions need to use "int" for both input and
output.  The output side was fixed in 9c42232 but I forgot about the
input side.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch libcallnr
# Your branch is up to date with 'upstream/master'.
#
# Changes to be committed:
#	modified:   src/nvim/eval/funcs.c
#	modified:   src/nvim/os/dl.c
#
2020-08-08 08:53:35 -04:00
erw7
f26df8bb66
Merge pull request #12701 from erw7/fix-sattr-t-overflow
ui: fix problem with sattr_T overflow
2020-08-03 22:57:13 +09:00
Matthieu Coudron
4ed5204bc9
Merge pull request #12665 from janlazo/vim-8.2.1254
vim-patch:8.0.1774,8.1.{192,194,255,264,1202,2172,2340},8.2.{62,71,72,1004,1254,1259,1265,1267,1292,1295}
2020-08-02 20:19:48 +02:00
Jan Edmund Lazo
ea515f8ca1
vim-patch:8.1.0264: backup tests fail when CWD is in /tmp
Problem:    Backup tests fail when CWD is in /tmp.
Solution:   Make 'backupskip' empty. (Christian Brabandt, closes vim/vim#3301)
efe03738f6
2020-08-02 12:00:03 -04:00
Jan Edmund Lazo
ae92177063
vim-patch:8.1.0255: backup test fails when using shadow directory
Problem:    Backup test fails when using shadow directory.
Solution:   Remove check for "src".
f8f88f89e1
2020-08-02 12:00:03 -04:00
Jan Edmund Lazo
0d713fc8ba
options: fix 'isident' for Windows
Default value on Windows does not match the documented value.
2020-08-02 12:00:02 -04:00
Jan Edmund Lazo
1123a979d0
vim-patch:8.1.0862: no verbose version of character classes
Problem:    No verbose version of character classes.
Solution:   Add [:ident:], [:keyword:] and [:fname:]. (Ozaki Kiichi,
            closes vim/vim#1373)
221cd9f4dd
2020-08-02 12:00:02 -04:00