Björn Linse
62d67de598
version bump
2021-07-02 18:12:11 +02:00
Dimitri Tcaciuc
8b07653902
doc(options): Fix recommended PowerShell config ( #14349 )
...
Ensure that
* Shell uses UTF8 input/output mode
* Stderr output is captured, in UTF8
* Program exit codes are correctly captured
Update functional test harness and add tests
for :make command.
Closes #13713
2021-07-02 08:15:40 -04:00
Christian Clason
2dd7828511
runtime/vim: d2ea7cf10a4d026ebd402594d656af7d5c811c24 ( #14950 )
...
Port vim syntax file only.
2021-07-01 17:31:30 -04:00
shadmansaleh
21444552c0
BugFix(clipboard): Fix block paste not working properly
...
Block copy and paste from system-clipboard currently breaks formatting.
This fixes it.
The bug occurs because system-clipboard doesn't contain information
about what mode the copy was made.
Simple solution to this is we keep a cache of copy we last made along
with mode information. If system-clipboard returns the cache we apply
the mode information that we know about that cache.
2021-07-01 15:01:01 +06: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
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
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
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
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
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
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
Akin Sowemimo
444f175335
fix(lsp): do not convert vim.NIL to nil in lists
2021-06-24 11:23:19 +01:00
Jan Edmund Lazo
4cb0bf0942
vim-patch:8.2.1255: cannot use a lambda with quickfix functions
...
Problem: Cannot use a lambda with quickfix functions.
Solution: Add support for lambda. (Yegappan Lakshmanan, closes vim/vim#6499 )
d43906d2e5
2021-06-23 23:16:20 -04:00
smolck
0d7e33bc13
docs(starting): mention init.lua in paths and remove repetition ( #14883 )
2021-06-23 09:36:03 +02:00
Michael Lingelbach
060255253f
fix(lsp): handlers should focus quickfix list
2021-06-21 20:44:37 -07:00
Jan Edmund Lazo
997a9c8792
Merge pull request #14849 from seandewar/demethod-curwin
...
fix(doc): various fixes
2021-06-19 20:18:30 -04:00
Michael Lingelbach
c16afaa1f8
Merge pull request #14851 from ckipp01/hlCodeLens
2021-06-19 15:44:48 -07:00
ckipp01
90bdb6e74d
Add hl group docs for codelenses
2021-06-20 00:16:37 +02:00
Sean Dewar
41332f6187
fix(doc/index.txt): various ex command fixes
...
Add :eval and :checkhealth (:eval was also missing upstream).
Fix :perlfile typo, add abbreviations for :perl, :perlfile and :perldo.
Remove :scriptversion; it hasn't been ported yet (#14611 ).
[skip ci]
2021-06-19 16:58:50 +01:00
Sean Dewar
b5c0ade437
fix(doc): :sleep! does not hide cursor
...
:sleep is the same as :sleep! in the port of v8.2.2366
2021-06-19 16:58:50 +01:00
Sean Dewar
7d025f2e8e
fix(doc): remove :promptfind and :promptrepl
...
:promptfind and :promptrepl are N/A for Nvim.
2021-06-19 16:58:39 +01:00
Sean Dewar
bb35ed6aaa
fix(doc): don't use method call syntax in examples
...
The method call syntax patches aren't ported yet.
2021-06-19 16:37:04 +01:00
Steven Arcangeli
43835ab0da
fix(lsp): fix severity_limit logic in set_loclist
2021-06-19 07:35:17 -07:00
Thomas Vigouroux
7da86f55a7
Merge pull request #14833 from vigoux/tree-sitter-docs-tidy
...
docs(treesitter): tidy docs and remove legacy information
2021-06-19 08:48:35 +02:00
Folke Lemaitre
39d9713c5b
chore(lsp): removed deprecated floating preview methods
2021-06-17 07:48:40 +02:00
Thomas Vigouroux
3a438bbb44
docs(treesitter): mention query help page
2021-06-16 19:10:15 +02:00
Thomas Vigouroux
1b6b32c544
docs(treesitter): tidy docs and remove legacy information
2021-06-16 19:06:29 +02:00
Lukas Reineke
f76f72a27b
fix(lsp): add bufnr to formatting requests
...
Add the buffer number to the `textDocument/formatting` request, so
that it is passed to the handler.
The built-in formatting handlers do not use the buffer number, but user
overrides should have access to it.
2021-06-15 23:53:43 -07:00
Shadman
3df0e475e8
docs(lsp): Clarify opts for show_line_diagnostics()
2021-06-15 23:21:04 -07:00
marvim
45a7cd2c19
docs: regenerate
2021-06-15 06:20:14 +00:00
cbarrete
8cdffd42dd
docs(lsp): annotate call_hierarchy function as private
2021-06-14 23:19:23 -07:00