Commit Graph

17375 Commits

Author SHA1 Message Date
James McCoy
7f50c69268
Use dict_T to pass env vars to process spawning code
Co-authored-by: Matthieu Coudron <mattator@gmail.com>
2021-01-31 07:54:20 -05:00
Jan Edmund Lazo
55add1c1c8
version.c: update [ci skip] (#13705)
vim-patch:8.2.2307: a shell command in the vimrc causes terminal output
vim-patch:8.2.2312: build failure with Ruby 3.0 and 32 bits
vim-patch:8.2.2326: build error with +eval feature but without +spell
vim-patch:8.2.2337: configure test for GTK only says "no"
vim-patch:8.2.2346: Codecov reports every little coverage drop
vim-patch:8.2.2347: build failure without GUI
vim-patch:8.2.2348: no check for modified files after focus gained
vim-patch:8.2.2352: if focus lost/gained is received twice code is not ignored
vim-patch:8.2.2358: wrong #ifdef for use_xterm_like_mouse()
vim-patch:8.2.2383: focus escape sequences are not named
vim-patch:8.2.2407: old jumplist code is never used
vim-patch:8.2.2408: MinGW: "--preprocessor" flag no longer supported
vim-patch:8.2.2431: warning for -fno-strength-reduce with Clang 11
vim-patch:8.2.2432: libvterm tests are executed even when libtool doesn't work
2021-01-30 20:48:49 -05:00
Jan Edmund Lazo
4e8a01a306
Merge pull request #13835 from saadparwaiz1/runtime/zsh
Update Runtime Files For Zsh
2021-01-30 18:34:16 -05:00
Matthieu Coudron
3f81f5c7a4 feat: adds vim.notify
Adds function to notify the user like this:
`:lua vim.notify("hello user")`
embeds log levels vim.log.levels.

you can then reassign vim.notify to for instance
```
function notify_external(msg, log_level, opts)
	vim.fn.jobstart({"notify-send", msg })
end
```
2021-01-31 00:18:22 +01:00
Saad Parwaiz
55fed9a2b0 runtime/zsh: 23515b4ef7580af8b9d3b964a558ab2007cacda5
port zsh compiler only
2021-01-30 20:50:04 +00:00
Saad Parwaiz
bf1da7424d runtime/zsh: 23515b4ef7580af8b9d3b964a558ab2007cacda5
port zsh ftplugin only.
2021-01-30 20:50:04 +00:00
Saad Parwaiz
7722eb0953 runtime/zsh: b17893aa940dc7d45421f875f5d90855880aad27
port zsh ftplugin only
2021-01-30 20:50:04 +00:00
Saad Parwaiz
da61cca9f7 runtime/zsh: 23515b4ef7580af8b9d3b964a558ab2007cacda5
port zsh syntax file only
2021-01-30 20:50:04 +00:00
Saad Parwaiz
d89cbb62ab runtime/zsh: b17893aa940dc7d45421f875f5d90855880aad27
port zsh syntax file only
2021-01-30 20:50:04 +00:00
Saad Parwaiz
44802202be runtime/zsh: 96f45c0b6fc9e9d404e6805593ed1e0e6795e470
Port zsh syntax file only
2021-01-30 20:50:04 +00:00
Matthieu Coudron
c4d0211fea
Merge pull request #13852 from janlazo/vim-8.2.2037
vim-patch:8.2.{2037,2038}
2021-01-30 21:31:20 +01:00
Jan Edmund Lazo
150859d717
test/old: rewrite method code in test_compiler.vim
Patch v8.1.1803 and related method patches are not ported yet.
Revert this commit when those patches are ported.
2021-01-30 13:40:28 -05:00
Jan Edmund Lazo
647c9c558b
vim-patch:8.2.2038: compiler test fails on MS-Windows
Problem:    Compiler test fails on MS-Windows.
Solution:   Sort the found compiler plugin names.
142f23544c
2021-01-30 13:37:26 -05:00
Jan Edmund Lazo
8aae1521e5
vim-patch:8.2.2037: compiler test depends on list of compiler plugins
Problem:    Compiler test depends on list of compiler plugins.
Solution:   Compare with the actual list of compiler plugins.
60bc8e7244
2021-01-30 13:37:25 -05:00
Jan Edmund Lazo
ad98b84008
Merge pull request #13833 from janlazo/vim-8.2.2412
vim-patch:8.2.{2412,2418,2420,2425}
2021-01-29 18:02:43 -05:00
Jan Edmund Lazo
1376994f15
vim-patch:8.2.2425: cursor on invalid line with range and :substitute
Problem:    Cursor on invalid line with range and :substitute.
Solution:   Do not move the cursor when skipping commands. (closes vim/vim#3434)
df2c2988bb

Cherry-pick Test_for_invalid() from patch v8.1.0736.
2021-01-29 00:12:24 -05:00
Jan Edmund Lazo
c77b679ecd
vim-patch:8.2.2420: too many problems with using all autocommand events
Problem:    Too many problems with using all autocommand events.
Solution:   Disallow defining an autocommand for all events.
9a046fd08b

Delete Test_wipe_cbuffer().
Commit dc5f4a3cc2 should have removed it.
2021-01-28 23:43:15 -05:00
Jan Edmund Lazo
f05ffaef1c
vim-patch:8.2.2418: color not changed if ModeMsg highlight is set in InsertEnter
Problem:    Color not changed if ModeMsg highlight is set in InsertEnter
            autocmd event. (Paul Swanson)
Solution:   Call highlight_changed() after triggering InsertEnter.
            (closes vim/vim#7751)
2e6cdb91e8
2021-01-28 23:04:27 -05:00
Jan Edmund Lazo
2bde381d28
vim-patch:8.2.2412: not all fields in "cstack" are initialized
Problem:    Not all fields in "cstack" are initialized which might cause a
            crash.
Solution:   Use CLEAR_FIELD().
ce0370d9e6
2021-01-28 20:40:30 -05:00
Thomas Vigouroux
8950f4e94a
Merge pull request #13784 from runiq/get_extmark_by_id-limit_break
doc: remove nvim_buf_get_extmark_by_id limit opt
2021-01-28 18:27:24 +01:00
Thomas Vigouroux
9feb47ec4b
Merge pull request #13836 from teto/contribute-doc
doc: link wiki on how to improve/build doc
2021-01-28 15:20:29 +01:00
Matthieu Coudron
12cd9e4c08 doc: link wiki on how to improve/build doc
We generate some part of the doc from lua which complexifies the process a bit so we've added a wiki page explaining this.
2021-01-27 21:15:52 +01:00
Mathias Fußenegger
459a6c845e
lsp/tests: Ensure client is stopped in basic_init tests (#13798) 2021-01-27 15:32:07 +01:00
Björn Linse
271cec291a
Merge pull request #13719 from chentau/lua_compl
Add completion to lua
2021-01-27 07:40:10 +01:00
chentau
f0ccac0ba4 lint 2021-01-26 17:09:35 -08:00
Björn Linse
d82688973d lua: complete methods in metatables 2021-01-26 17:04:32 -08:00
Tony Chen
d95a465b43 Don't show entire context when completing 2021-01-26 17:04:32 -08:00
TJ DeVries
901dd79f6a feat: add completion to ':lua' 2021-01-26 17:04:31 -08:00
Thomas Vigouroux
4d1fc167a8
Merge pull request #13828 from vigoux/ts-bump-c-runtime
deps(treesitter): bump C parser and runtime
2021-01-26 18:51:41 +01:00
Thomas Vigouroux
6d07d18f91
deps(treesitter): bump C parser and runtime
It's been a while since we bumped the C parser version, and a few ABI
versions have been realised since.
2021-01-26 15:17:10 +01:00
Jan Edmund Lazo
78f0f00cd5
Merge pull request #13820 from janlazo/vim-8.2.2392
vim-patch:8.2.{2392,2399,2402}
2021-01-25 21:20:14 -05:00
Michael Lingelbach
1a6d89eb90
lsp: match textDocument/didChange eol behavior (#13792)
We should be consistent in sending the EOL character to servers(I think). Julia expects this to match on bufwrite, or it crashes when vim appends the newline during the write process.
2021-01-25 17:52:40 +01:00
Jan Edmund Lazo
687ff6566a
vim-patch:8.2.2402: some filetypes not detected
Problem:    Some filetypes not detected.
Solution:   Detect Ruby Signature and Puppet related files. (Doug Kearns)
8323cab31c
2021-01-24 21:56:54 -05:00
Jan Edmund Lazo
69d1094271
vim-patch:8.2.2399: fold test fails in wide terminal
Problem:    Fold test fails in wide terminal.
Solution:   Adjust the test. (Dominique Pelle, closes vim/vim#7731, closes vim/vim#7739)
7cf0c114d6
2021-01-24 14:19:54 -05:00
Jan Edmund Lazo
2ce7e4e8a7
vim-patch:8.2.2392: fennel filetype not recognized
Problem:    Fennel filetype not recognized.
Solution:   Detect with pattern and hashbang. (Chinmay Dalal, closes vim/vim#7729)
402115f1c2
2021-01-24 14:15:16 -05:00
Matthieu Coudron
69103ff0cf
Merge pull request #13807 from spywhere/min-size-auto-sign
Auto sign column with minimum size support
2021-01-23 22:46:29 +01:00
Björn Linse
444e60ab39
Merge pull request #13819 from runiq/extmark_gravity_docs
Doc: Generate API docs for buf_set_extmark gravity
2021-01-23 20:29:45 +01:00
Patrice Peterson
08f2aa5917 Doc: Generate API docs for buf_set_extmark gravity
Cf. #13679
2021-01-23 19:32:18 +01:00
Michael Lingelbach
3a3e6742f9
lsp: clear diagnostics on client shutdown (#13788) 2021-01-23 17:43:06 +01:00
Jan Edmund Lazo
24b60322a2
Merge pull request #13818 from janlazo/vim-8.2.2379
vim-patch:8.2.{2375,2379,2384,2385}
2021-01-22 12:23:58 -05:00
Jan Edmund Lazo
30ef922f39
vim-patch:8.2.2385: "gj" and "gk" do not work correctly when inside a fold
Problem:    "gj" and "gk" do not work correctly when inside a fold.
Solution:   Move check for folding. (closes vim/vim#7724, closes vim/vim#4095)
e71996bd08
2021-01-22 09:03:44 -05:00
Björn Linse
93402606fa
Merge pull request #13603 from matveyt/master
Missing argument for package.loadlib()
2021-01-22 14:14:19 +01:00
matveyt
dd089c398c Missing argument for package.loadlib()
Allow for foo.bar.baz module name

Make luaopen_module() name compatible with Lua 5.1
2021-01-22 10:12:22 +01:00
Björn Linse
bdfd023f81
Merge pull request #13813 from notomo/fix-nvim-echo-clear
api(echo): should clear cmdline before echo
2021-01-22 09:59:02 +01:00
Björn Linse
b803bfa5aa
Merge pull request #13679 from chentau/gravity
Extmarks api: allow for gravity
2021-01-22 09:55:00 +01:00
Jan Edmund Lazo
b8ea076ad1
vim-patch:8.2.2375: test for RGB color skipped in the terminal
Problem:    Test for RGB color skipped in the terminal.
Solution:   Run the GUI if possible.
09fbedc8dc

Cherry-pick Test_highlight_RGB_color() from patch v8.2.1077
to port this patch.
2021-01-21 23:35:30 -05:00
Jan Edmund Lazo
4bd7f1133b
vim-patch:8.2.2384: turtle filetype not recognized
Problem:    Turtle filetype not recognized.
Solution:   Add a rule to detect turtle files. (closes vim/vim#7722)
5e6a7aa2b2
2021-01-21 23:19:16 -05:00
Jan Edmund Lazo
94cb3b4b35
vim-patch:8.2.2379: do spell suggestions twice if 'spellsuggest' contains number
Problem:    Finding spell suggestions twice if 'spellsuggest' contains number.
Solution:   Only do internal suggestions once.  (closes vim/vim#7713)
77a849c4b3
2021-01-21 21:59:35 -05:00
Anatolii Sakhnik
1607dd071f
Update Ukrainian translation (#13785) 2021-01-21 21:24:05 -05:00
notomo
d3989ea8e8 api(echo): should clear cmdline before echo 2021-01-21 21:49:42 +09:00