James McCoy
48b2092d01
Merge pull request #14942 from jamessan/functionaltest-lua
...
ci(gha): Add functionaltest-lua checker
2021-06-30 09:58:02 -04:00
Björn Linse
3438959da9
Update CONTRIBUTING.md: mention ASAN/UBSAN for runtime errors
2021-06-30 14:57:52 +02:00
Christian Clason
836c310321
feat(ts): bump tree-sitter to v0.20.0
2021-06-30 12:11:35 +02:00
James McCoy
2fc9e9effa
ci(gha): Add functionaltest-lua checker
2021-06-29 21:46:46 -04:00
Jan Edmund Lazo
b2cc43b454
vim-patch:8.2.3072: "zy" does not work well when "virtualedit' is "block"
...
Problem: The "zy" command does not work well when 'virtualedit' is set to
"block". (Johann Höchtl)
Solution: Make endspaces zero. (Christian Brabandt, closes vim/vim#8468 ,
closes vim/vim#8448 )
7d7bcc6ba0
N/A patches for version.c:
vim-patch:8.2.3075: xxd always reports an old version string
Problem: Xxd always reports an old version string. (Åsmund Ervik)
Solution: Update the version string with the last known change date.
(Jürgen Weigert, closes vim/vim#8475 )
80b2ba3e96
2021-06-29 21:40:48 -04:00
Björn Linse
384f9870f6
Merge pull request #14930 from clason/ts-ifdef-fixup
...
fixup(ts): put ts_query_cursor_set_match_limit behind feature guard
2021-06-29 20:23:02 +02:00
Björn Linse
845d5ab305
Merge pull request #14931 from clason/patch-1
...
fix(ci): change autolabel to "treesitter"
2021-06-29 20:03:15 +02:00
Christian Clason
f969b4bfb1
fix(ci): change autolabel to "treesitter"
...
Open issues and PRs are almost all labeled `treesitter` instead of `tree-sitter`; this change improves consistency.
2021-06-29 18:54:27 +02:00
Christian Clason
7e8a8482e8
fixup(ts): put ts_query_cursor_set_match_limit behind feature guard
...
This is a fixup for #14915 , which used the above-mentioned call to
restore the behavior of the pre-release version of tree-sitter to
that of 0.19.5. However, this function was introduced after 0.19.5,
breaking distro builds that link against 0.19.5 instead of the tag
specified in neovim's build script.
Now the function should only be called when it is available _and_
needed. Once tree-sitter is bumped to 0.19.6 (when this is released),
this guard can be removed again.
Fixes #14923 (among others)
2021-06-29 17:15:12 +02:00
TJ DeVries
2bcf18deaa
Merge pull request #14779 from tjdevries/tjdevries/vim_opt_fixes
...
An assortment of various vim.opt fixups.
2021-06-29 10:24:41 -04:00
Björn Linse
f8990870ff
Merge pull request #14335 from chentau/extmark_delbytes
...
Extmarks: manually zero out `curbuf->deleted_bytes2` on substitute and join
2021-06-29 15:31:23 +02:00
TJ DeVries
19b7cef0a7
fix(vim.opt): Fix #14828 with empty values being incorrectly inserted
2021-06-29 09:18:59 -04:00
TJ DeVries
6ecec87c09
fix(vim.opt): Fix #14668 Now correctly handles unescaped commas in isfname style
2021-06-29 08:42:07 -04:00
TJ DeVries
9119ea1bec
fix(vim.opt): Fix #14669 whichwrap now acts as expected
2021-06-29 08:42:07 -04:00
David Zhang
b02e64c4df
fix(vim.opt): Add basic error handling
2021-06-29 08:42:07 -04:00
ckipp01
e6175f6389
fix(vim.opt): Get window options before setting.
...
This closes #14677 , but I also am a little unsure if there are times
where this may not be correct. However, this just changes the behavior
that even if `was_set` was false, we still get for
`nvim_win_get_option`.
2021-06-29 08:42:07 -04:00
TJ DeVries
1d3ee1c441
fix(vim.opt): #14708 Now lets you put duplicate values in wildmode
2021-06-29 08:42:07 -04:00
chentau
1c962401a1
Manually zero out deleted_bytes2 when substituting and joining lines
2021-06-29 00:48:24 -07:00
Daniel Steinberg
f83c25942d
fix(doc/api): Remove 'border' as unsupported ( #14916 )
...
PR #13998 added support for floating window borders.
2021-06-28 20:40:56 -04:00
Daniel Steinberg
99a4152a4b
fix: Remove [RFC] from PR subject in vim-patch.sh ( #14917 )
...
As of PR #10383 , CONTRIBUTING.md says '[RFC] is assumed by default'. As
of PR #11656 , CONTRIBUTING.md says '**do not** put "RFC" in the PR
title'.
2021-06-28 20:40:00 -04:00
Matthieu Coudron
3552916cb9
fix(doc): remove reference to vim.lsp.callbacks ( #14576 )
...
too old now, can be confusing
2021-06-28 23:02:17 +02:00
Björn Linse
c81cbad444
Merge pull request #14920 from otherJL0/master
...
Adding clangd language server config file
2021-06-28 18:20:33 +02:00
otherJL0
5777fc1b8e
Adding clangd language serever config file to point to build/ directory for compile_commands.json
2021-06-28 11:03:09 -04:00
Björn Linse
785dcff909
Merge pull request #14915 from clason/ts-match-limit
...
fix(treesitter): set match limit for query cursors
2021-06-28 16:28:52 +02:00
John Gehrig
5aaa1a1c04
[RDY] Add buffer information to tabline_update ( #12481 )
...
* Add buffer information to tabline_update
Most terminal implementations of the tabline display buffer and tab
information. Many neovim-qt users disable GuiTabline because it lacks
functionality provided in the terminal implementation.
The tabline_update event should include buffer information too, so client GUIs
can display rich useful tabs.
2021-06-27 15:30:09 -04:00
jimman2003
bdf3df4027
Fixed +1 -1 in util.lua ( #14913 )
...
No point in adding and then subtracting I believe ;)
2021-06-26 13:43:18 -04:00
Jan Edmund Lazo
bb4fc69e93
Merge pull request #14914 from janlazo/vim-8.2.3050
...
vim-patch:8.2.{2954,3049,3050}
2021-06-26 13:42:38 -04:00
Christian Clason
18354ca4a7
fix(treesitter): set match limit for query cursors
...
Upstream tree-sitter raised the number of pending matches for a query cursor
from 32 to 64k in <https://github.com/tree-sitter/tree-sitter/commit/
78010722a49ed6224c773c22b0d25a8c9fbde584>, which severely impacted performance
for some highlighting queries. This uses the `ts_query_cursor_set_match_limit`
function introduced in <https://github.com/tree-sitter/tree-sitter/commit/
cd96552448a6e0d4eb27fc54b27cb5130c4b6f76> to manually set this back to the old
default of 32.
Fixes #14897
2021-06-26 18:11:38 +02:00
Jan Edmund Lazo
7a239a8a9a
vim-patch:8.2.2954: short file name extension for Scala not recognized
...
Problem: Short file name extension for Scala not recognized.
Solution: Recognize *.sc. (closes vim/vim#8337 )
6db7b6375a
2021-06-26 11:43:35 -04:00
Jan Edmund Lazo
eb7e7ad882
vim-patch:8.2.3049: JSON patch file not recognized
...
Problem: JSON patch file not recognized.
Solution: Recognize json-patch as json. (Kevin Locke, closes vim/vim#8450 )
6582e230a0
2021-06-26 11:37:57 -04:00
Jan Edmund Lazo
750ad18845
vim-patch:8.2.3050: cannot recognize elixir files
...
Problem: Cannot recognize elixir files.
Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria
or Elixir. (Austin Gatlin, closes vim/vim#8401 , closes vim/vim#8446 )
f3caeb63d6
2021-06-26 10:51:29 -04:00
Yorick Peterse
5c0b01fd88
vim-patch:8.2.3018: 'quickfixtextfunc' formatting is lost when switching buffers ( #14865 )
...
Problem: Formatting using quickfixtextfunc is lost when updating location
lists for different buffers. (Yorick Peterse)
Solution: Use the right window for the locaiton list. (Yegappan Lakshmanan,
closes vim/vim#8400 , closes vim/vim#8403 )
ad52f96a2d
2021-06-26 10:44:05 -04:00
Jan Edmund Lazo
20dc3f1989
vim-patch:8.1.0897: can modify a:000 when using a reference ( #14902 )
...
Problem: Can modify a:000 when using a reference.
Solution: Make check for locked variable stricter. (Ozaki Kiichi,
closes vim/vim#3930 )
05c00c038b
2021-06-26 10:19:09 -04:00
Ghjuvan Lacambre
ad9c2c069a
Fix <afile>
getting prepended with a slash on WinClosed ( #14515 )
...
It is wrong to assume that you can't shorten a path if it's in `/`: you
can always shorten it by removing the forward slash.
Closes #14512
2021-06-26 10:18:36 -04:00
Sean Dewar
c1120ad0e1
fix(doc/usr_41): don't mention 0o prefix for octs ( #14906 )
...
v8.2.0886 isn't ported yet.
Also remove mentions of Vim9 and legacy script for now.
[skip ci]
2021-06-25 20:10:58 -04:00
Folke Lemaitre
e680d7d6af
fix(lsp): render the last line in stylize_markdown
2021-06-25 11:45:42 -07:00
Michael Lingelbach
3b44b21894
Merge pull request #14910 from folke/lsp_fences_docs
...
style(lsp): make get_markdown_fences private
2021-06-25 11:04:44 -07:00
Ghjuvan Lacambre
b86b410a92
Update busy_start/busy_stop ui events documentation ( #14415 )
...
Closes #14386
2021-06-25 13:01:57 -04:00
Folke Lemaitre
28dde1038f
style(lsp): make get_markdown_fences private
2021-06-25 18:32:00 +02:00
Michael Lingelbach
5d792701cf
Merge pull request #14904 from mfussenegger/nil-message-callbacks
...
fix(lsp): Handle nil message_callbacks
2021-06-25 09:13:01 -07:00
Michael Lingelbach
7b5a233d64
Merge pull request #14617 from folke/fancy_markdown_fences_support
...
feat(lsp): use `g:markdown_fenced_languages` in `vim.lsp.util.stylized_markdown`
2021-06-25 09:02:28 -07:00
Michael Lingelbach
22c27c0fb4
Merge pull request #14903 from mfussenegger/add-workspace-folder
...
fix(lsp): Set `dir` completion option for add_workspace_folder
2021-06-25 08:29:57 -07:00
Folke Lemaitre
aa1e20497a
feat(lsp): use markdown_fenced_languages in stylized_markdown
2021-06-25 17:27:38 +02:00
Michael Lingelbach
bbd13aadd7
Merge pull request #14907 from folke/lsp_markdown
...
fix(lsp): syntax improvements for lsp_markdown
2021-06-25 08:22:54 -07:00
Folke Lemaitre
08f81f0f29
fix(lsp): syntax improvements for lsp_markdown
2021-06-25 17:01:06 +02:00
Mathias Fussenegger
58473178ff
fix(lsp): Handle nil message_callbacks
...
The `onexit` handler could set `message_callbacks` to `nil` within the
luv event loop while the mainloop runs a function that tries to access
`message_callbacks`.
This adds some checks to prevent errors in that case.
Fixes https://github.com/neovim/neovim/issues/14863
2021-06-25 14:45:17 +02:00
Mathias Fussenegger
7ea652e4bf
fix(lsp): Set dir
completion option for add_workspace_folder
...
Given that the input is pre-filled with a path, it should be possible to
use dir completion.
2021-06-25 14:28:17 +02:00
Jan Edmund Lazo
510ed996d2
Merge pull request #14886 from janlazo/vim-8.1.1437
...
vim-patch:8.1.{1437,2391},8.2.{1255,2185,2294,3033,3034,3037,3038,3043}
2021-06-24 19:36:21 -04:00
Michael Lingelbach
1e2fc1f9cd
Merge pull request #14584 from akinsho/bugfix/vim-nil-conversion-logic
...
[RDY] fix(lsp): do not convert vim.NIL to nil in lists
2021-06-24 13:23:28 -07:00
Akin Sowemimo
444f175335
fix(lsp): do not convert vim.NIL to nil in lists
2021-06-24 11:23:19 +01:00