Commit Graph
17559 Commits
Author SHA1 Message Date
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.
https://github.com/vim/vim/commit/9a046fd08bcae319d39a4dbde2be81decee19013

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)
https://github.com/vim/vim/commit/2e6cdb91e8dea08301f31bc83188c06112eb7f57
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().
https://github.com/vim/vim/commit/ce0370d9e67df80c62ff033aa8ca2dbe86841de9
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)
https://github.com/vim/vim/commit/8323cab31c3120a7f80cf3271a506a30ec04d99e
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)
https://github.com/vim/vim/commit/7cf0c114d690c91ac88c92a1a6f1b1935cb6410f
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)
https://github.com/vim/vim/commit/402115f1c2b4d0704a822206f2e6e931e721c129
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)
https://github.com/vim/vim/commit/e71996bd0865659bde5450f466bc3e53e83431b2
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.
https://github.com/vim/vim/commit/09fbedc8dc3adc0a7adf2093916911e633cfa626

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)
https://github.com/vim/vim/commit/5e6a7aa2b26077775906eb8411952dc6259694de
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)
https://github.com/vim/vim/commit/77a849c4b3d73c228013a047913c90834a93b4f6
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
Björn Linse d68026c9ed Merge pull request #13673 from notomo/add-nvim-echo
api: nvim_echo
2021-01-20 18:54:03 +01:00
Sirisak Lueangsaksri 83ea08ddf3 opt: add tests (#13783) 2021-01-20 23:57:21 +07:00
Sirisak Lueangsaksri 52675915a7 opt: address linting issues (#13783) 2021-01-20 23:57:21 +07:00
Sirisak Lueangsaksri fcd6eea217 opt: update docs on signnumber (#13783) 2021-01-20 23:57:21 +07:00
Sirisak Lueangsaksri b7d60c0483 opt: better handling number bounds (#13783) 2021-01-20 23:57:21 +07:00
Sirisak Lueangsaksri f1f170a2e7 opt: reduce hardcoded values (#13783) 2021-01-20 23:57:21 +07:00
Sirisak Lueangsaksri cee09bb2aa opt: minimum sign size for auto (#13783) 2021-01-20 23:57:21 +07:00
notomo 8e86f5e460 api: nvim_echo 2021-01-20 16:41:39 +01:00
Thomas Vigouroux 1785ac3e37 Merge pull request #13794 from nvim-treesitter/fix-languagetree-contains
fix(languagetree): use tree nodes instead of regions in contains
2021-01-20 15:49:48 +01:00
Steven Sojka ed558e269a fix(languagetree): use tree nodes instead of regions in contains 2021-01-20 06:52:47 -06:00
Thomas Vigouroux d9c1586e4a Merge pull request #13765 from jvgrootveld/ts-default-start-end-row-on-capture
treesitter: default start and end row when omitted
2021-01-20 10:32:48 +01:00
Michael Lingelbach d6d4e3d1ae lsp: remove duplicate settings validation (#13789) 2021-01-18 21:02:30 -05:00
Michael Lingelbach f9b3110549 lsp: validate and document server settings (#13698)
* update lua documentation
* run docgen
2021-01-18 14:11:37 -05:00
Mathias Fußenegger 3f63100d5b LSP: Fix nil settings handling in workspace/configuration (#13708)
The `workspace/configuration` handler could fail with the following
error if `config.settings` is nil:

    runtime/lua/vim/lsp/util.lua:1432: attempt to index local 'settings' (a nil value)"

This ensures that `config.settings` is always initialized to an empty
table.
2021-01-18 19:33:10 +01:00
Jan Edmund Lazo 51936126d3 Merge pull request #13767 from srafi1/rm-restricted-mode-docs
Remove -Z flag from --help message
2021-01-18 09:30:36 -05:00
Maltimore 4d1e7e5b12 Update nvim.appdata.xml to reflect version 0.4.4 (#13754)
Set release date based on commit ee77d8665f
2021-01-18 09:29:32 -05:00