Tom Payne
1dab9357de
feat(vim.uri): Allow URI schemes other than file: without authority
2021-07-10 18:27:37 +01:00
Alessandro Pezzoni
a2c2a08652
fix(lsp): accept file URIs without a hostname
...
RFC 8089, which defines the file URI scheme, also allows URIs without a
hostname, i.e. of the form file:/path/to/file. These are returned by
some language servers and accepted by other LSP implementations, such as
VSCode's, so it is reasonable for us to accept them as well.
2021-07-10 18:27:37 +01:00
Mathias Fussenegger
e43dbfdd05
feat(lsp): Make line diagnostics display prettier
...
Adds indentation that matches the number prefix to ensure diagnostic
messages spawning multiple lines align.
Before:
Diagnostics:
1. • Variable not in scope: red :: t0 -> t
• Perhaps you meant one of these:
‘rem’ (imported from Prelude), ‘read’ (imported from Prelude),
‘pred’ (imported from Prelude)
2. • Variable not in scope: repeDoubleColon :: [Char] -> t0
• Perhaps you meant ‘replaceDoubleColon’ (line 32)
After:
Diagnostics:
1. • Variable not in scope: red :: t0 -> t
• Perhaps you meant one of these:
‘rem’ (imported from Prelude), ‘read’ (imported from Prelude),
‘pred’ (imported from Prelude)
2. • Variable not in scope: repeDoubleColon :: [Char] -> t0
• Perhaps you meant ‘replaceDoubleColon’ (line 32)
2021-07-09 20:36:08 +02:00
marvim
832e1708c2
docs: regenerate
2021-07-09 10:39:24 +00:00
Folke Lemaitre
9132b76da6
fix(lsp): support duplicate params in signature help ( #15032 )
2021-07-09 03:38:29 -07:00
marvim
6b313d68d0
docs: regenerate
2021-07-08 15:42:31 +00:00
Folke Lemaitre
03d15d9e09
fix(lsp): restore diagnostics extmarks that were moved to the last edit line ( #15023 )
2021-07-08 08:40:41 -07:00
Folke Lemaitre
af263711a3
feat(lsp): highlight active parameter in signature help ( #15018 )
2021-07-07 23:04:35 -07:00
cbarrete
f2205b83c5
doc: "--remote" is not supported #14936
...
There are plans to support the --remote-xx stuff (or something like it): #1750 #8326
But we don't need this doc meanwhile.
2021-07-07 19:04:49 -07:00
cbarrete
bd7a0b46a9
doc: remove mentions of compile-time flags #14935
...
Nvim always compiles everything in so those are useless at best and
confusing at worst.
2021-07-07 18:51:40 -07:00
Folke Lemaitre
77b33e4b9f
fix(lsp): restore diagnostics extmarks on buffer changes ( #15011 )
2021-07-07 22:31:39 +02:00
Folke Lemaitre
910967e5af
fix(lsp): prevent double <text> for cached plaintext markup
2021-07-05 00:39:46 +02:00
Jan Edmund Lazo
18bfcfe77f
Merge pull request #14981 from janlazo/vim-8.2.3081
...
vim-patch:8.2.{3081,3082,3085,3087,3088,3093,3094,3097,3098}
2021-07-04 11:00:48 -04:00
Jan Edmund Lazo
c2a7e445ce
vim-patch:8.2.3087: Gemtext files are not recognized
...
Problem: Gemtext files are not recognized.
Solution: Recognize .gmi and .gemini files. (closes vim/vim#8427 )
fcde67c99f
2021-07-04 09:22:49 -04:00
Jan Edmund Lazo
d7060183b8
vim-patch:8.2.3085: JSONC files are not recognized
...
Problem: JSONC files are not recognized.
Solution: Recognize .jsonc files. (Izhak Jakov, closes vim/vim#8500 )
acbb4b5720
N/A patches for version.c:
vim-patch:8.2.3081: cannot catch errors in a channel command
Problem: Cannot catch errors in a channel command.
Solution: Instead of skipping the error make it silent. (closes vim/vim#8477 )
11a632d60b
vim-patch:8.2.3082: a channel command "echoerr" does not show anything
Problem: A channel command "echoerr" does not show anything.
Solution: Do not use silent errors when using an "echoerr" command.
(closes vim/vim#8494 )
b836f631db
vim-patch:8.2.3094: Test_popup_atcursor_pos() fails without the conceal feature
Problem: Test_popup_atcursor_pos() fails without the conceal feature.
Solution: Add a check for the conceal feature. (Dominique Pellé,
closes vim/vim#8505 )
c60e959cba
vim-patch:8.2.3098: popup window test is flaky on MS-Windows with GUI
Problem: Popup window test is flaky on MS-Windows with GUI.
Solution: Skip the check in this situation.
999db2346b
2021-07-04 09:22:45 -04:00
jadedpasta
490615612e
fix(vim.opt): vimL map string values not trimmed ( #14982 )
...
Options formatted as a list of comma-separated key-value pairs may have
values that contain leading and trailing whitespace characters. For
example, the `listchars` option has a default value of
`"tab:> ,trail:-,nbsp:+"`. When converting this value to a lua table,
leading and trailing whitespace should not be trimmed.
Co-authored-by: Robert Hrusecky <robert.hrusecky@utexas.edu>
2021-07-04 00:14:39 -07:00
Justin M. Keyes
05330ba508
doc/startup: cleanup; assign ENN to "conflicing configs" msg ( #14971 )
2021-07-03 06:31:00 -07:00
Shadman
d791274a9d
fixup(clipboard): Use case matching #14962
...
Context: https://github.com/neovim/neovim/pull/14848#discussion_r663203173
2021-07-02 17:47:18 -07:00
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
Jaehwang Jerry Jung
b8dfa2f112
fix(lsp): fix on_detach in lsp.diagnostic
...
`lsp.diagnostic.get_all()` was returning diagnotics for `:bwipeout`-ed
buffers because the diagnostic cache is not cleared. The first argument
of on_detach callback is the string "detach", not the bufnr.
2021-06-14 23:07:52 -07:00
Folke Lemaitre
d7d1f40d2c
fix(lsp): replace --- by a line in stylize_markdown
2021-06-15 07:35:58 +02:00
Michael Lingelbach
b28d458f87
Merge pull request #14482 from elianiva/lsp/remove_hover_line
...
feat(lsp): hide triple - in hover window
2021-06-14 15:03:25 -07:00
Michael Lingelbach
98b597bf03
Merge pull request #14737 from rktjmp/lsp-guard-against-negative-lines
...
[RDY] fix(lsp): guard against negative diagnostic line numbers
2021-06-14 15:01:58 -07:00
elianiva
6488fca06b
feat(lsp): hide triple - in hover window.
2021-06-15 05:01:45 +07:00
Timothée Sterle
15039d7597
fix(lsp): allow 'rounded' and 'solid' in floats
2021-06-14 23:19:45 +02:00
Michael Lingelbach
8162792283
Merge pull request #13165 from mfussenegger/codelens
...
feat(lsp): Add codelens support
2021-06-14 14:15:57 -07:00
marvim
67c4ae1322
docs: regenerate
2021-06-14 20:39:02 +00:00
Mathias Fussenegger
2bdd553c9e
feat(lsp): Add codelens support
2021-06-14 21:45:14 +02:00
Jan Edmund Lazo
8f4ba0a46b
vim-patch:8.2.2990: Jupyter Notebook files are not recognized
...
Problem: Jupyter Notebook files are not recognized.
Solution: Recognize *.ipynb. (closes vim/vim#8375 )
2e66b0d137
2021-06-13 15:27:24 -04:00
Jan Edmund Lazo
8b81218300
vim-patch:8.2.1354: test 59 is old style
...
Problem: Test 59 is old style.
Solution: Convert into a new style test. (Yegappan Lakshmanan, closes vim/vim#6604 )
aa970abd0a
2021-06-13 10:19:48 -04:00
Michael Lingelbach
141647cfbb
Merge pull request #14765 from folke/lsp_plaintext
...
fix(lsp): convert_input_to_markdown_lines: preserve plaintext
2021-06-12 17:48:04 -07:00
Björn Linse
9c7132cda4
Merge pull request #14788 from shadmansaleh/fix/lua_runtime1
...
fixup(runtime): Fix lua runtime files not listed in :scriptnames
2021-06-13 00:52:30 +02:00
Folke Lemaitre
afb0274c28
fix(lsp): convert_input_to_markdown_lines: preserve plaintext
2021-06-12 21:47:17 +02:00
shadmansaleh
1f280b582f
fixup(runtime): Fix lua runtime files not listed
...
lua runtime files weren't listed in :scriptname & profiler.
This fixes that.
* Add tests
* Small doc tweeks
2021-06-13 00:27:52 +06:00
Oliver Marriott
ee4735881d
fix(lsp): guard against negative diagnostic line numbers
2021-06-13 03:38:59 +10:00
Jan Edmund Lazo
72b512bd53
vim-patch:8.2.0945: cannot use "z=" when 'spell' is off
...
Problem: Cannot use "z=" when 'spell' is off.
Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
Gary Johnson, closes vim/vim#6227 )
152e79e94b
2021-06-12 13:06:50 -04:00
Jan Edmund Lazo
f376e67a53
vim-patch:8.2.0038: spell suggestions insufficiently tested
...
Problem: Spell suggestions insufficiently tested.
Solution: Add spell suggestion tests. (Dominique Pelle, closes vim/vim#5398 )
e9a8d1f9ad
Requires latest en.utf-8.spl from
https://ftp.nluug.nl/pub/vim/runtime/spell/ .
Include the following patch because patch v8.2.0946 was merged:
vim-patch:8.2.0948: spell test fails
Problem: Spell test fails.
Solution: Adjust expected text of the prompt.
d281b7c227
2021-06-12 13:06:49 -04:00
Jan Edmund Lazo
e75244af63
vim-patch:8.1.1865: spellrare and spellrepall in the wrong order
...
Problem: Spellrare and spellrepall in the wrong order.
Solution: Put spellrare below spellrepall. (closes vim/vim#4820 )
a3891681f7
2021-06-12 13:06:49 -04:00
Jan Edmund Lazo
61117d89a3
vim-patch:8.1.1838: there is :spellwrong and :spellgood but not :spellrare
...
Problem: There is :spellwrong and :spellgood but not :spellrare.
Solution: Add :spellrare. (Martin Tournoij, closes vim/vim#4291 )
08cc374dab
2021-06-12 13:06:48 -04:00
Jan Edmund Lazo
d09b8ad715
Merge pull request #14761 from janlazo/vim-8.2.2966
...
vim-patch:8.2.{1702,2422,2966,2971,2974}
2021-06-11 21:07:47 -04:00
Björn Linse
81a6b70880
Merge pull request #14686 from shadmansaleh/feat/evaluate_plugin/lua
...
runtime: allow to use .lua files for most features defined as &rtp/{feature}/*.vim
2021-06-11 17:42:21 +02:00
Jan Edmund Lazo
8ebbeee1d0
vim-patch:8.2.2971: cannot yank a block without trailing spaces
...
Problem: Cannot yank a block without trailing spaces.
Solution: Add the "zy" command. (Christian Brabandt, closes vim/vim#8292 )
544a38e44d
2021-06-10 22:58:15 -04:00
Michael Lingelbach
f9b9b82047
fix(lsp): cap diagnostic end range to buf length
...
Closes #14743
2021-06-10 22:16:34 -04:00
shadmansaleh
e1edc079dd
refactor(source): Move lua file detection to do_source
...
So now :source can run lua files too :)
* feat: Add support for :[ranged]source for lua files
2021-06-11 01:01:03 +06:00
shadmansaleh
f000251e08
feat(runtime): Allow lua to be used in syntax
2021-06-11 01:01:03 +06:00
shadmansaleh
f256a18fef
feat(runtime): Allow lua to be used in ftdetect
2021-06-11 01:01:02 +06:00
shadmansaleh
4dffe1ff2f
feat(runtime): Allow lua to be used in indent
2021-06-11 01:01:02 +06:00
shadmansaleh
fd5e5d2715
feat(runtime): Allow lua to be used in ftplugin
2021-06-11 01:01:02 +06:00
shadmansaleh
68be8b99cf
feat(runtime): Allow lua to be used in compiler
2021-06-11 01:01:02 +06:00
shadmansaleh
1e6c02510a
feat(runtime): Allow lua to be used in colorschemes
...
* tests(runtime): move runtime/plugin tests to functional/lua/runtime_spec
2021-06-11 01:01:02 +06:00
shadmansaleh
687eb0b39f
feat(startup): Source runtime/plugin/**/*.lua at startup
...
For opt plugins these files are sourced on `:packadd`
* `:runtime` Now can exexute lua files
2021-06-11 00:58:38 +06:00
marvim
04f9511715
docs: regenerate
2021-06-10 08:03:28 +00:00
Björn Linse
53791c0546
Merge pull request #14510 from urandom/doc_nvim_buf_set_extmark
...
Minor observational corrections to the nvim_buf_set_extmark documentation
2021-06-10 09:39:35 +02:00
Mathias Fussenegger
f03a4d616b
feat(lsp): Split out a diagnostics_to_items
function from set_loclist
...
Makes it easier to re-use the logic to populate the quickfix list
instead of the location list.
2021-06-07 18:24:32 +02:00
marvim
0819e1acf9
docs: regenerate
2021-06-06 10:23:07 +00:00
Michael Lingelbach
4ce61742cf
Merge pull request #14726 from folke/lsp_single_popup_per_buffer
...
fix(lsp): max 1 floating preview per buffer. Fixes #11508
2021-06-06 03:22:10 -07:00
Viktor Kojouharov
36d05845f7
feat(lsp): extend diagnostic.set_loclist
...
add option to show workspace diagnostic instead of the current buffer's
2021-06-06 09:59:46 +02:00
Michael Lingelbach
5902bed406
docs(lsp): fix locations_to_items docstring
2021-06-05 17:22:47 -07:00
Michael Lingelbach
36802b895f
Merge pull request #14730 from mjlbach/feature/open_loclist_on_win
...
fix(lsp): set_loclist should target current win
2021-06-05 17:12:55 -07:00
Michael Lingelbach
f214c19e2b
Merge pull request #14707 from ray-x/master
...
fix(lsp): floating window border size for string type
2021-06-05 15:00:07 -07:00
Michael Lingelbach
15abde1676
fix(lsp): set_loclist should target current win
...
Currently, for large number of diagnostics, the delay in populating
loclist may be sufficient for a user to switch to another window,
resulting in the loclist being populated on the wrong window.
2021-06-05 14:46:10 -07:00
Michael Lingelbach
d846bd7e06
feat(lsp): remove line from diagnostic quickfix
...
Adding the line takes up valuable horizontal screen space, and also
precludes using the quickfixtextfunc built into neovim due to the
harcoded `|`.
2021-06-05 13:39:30 -07:00
Folke Lemaitre
149efa9b2b
fix(lsp): max 1 floating preview per buffer. Fixes #11508
2021-06-05 10:13:01 +02:00
ray-x
351050a10f
fix(lsp): floating window border size for string type 'none' and 'shadow'
2021-06-02 20:44:13 +10:00
marvim
2ebc28018e
docs: regenerate
2021-06-02 00:43:13 +00:00
Jose Alvarez
d4caafacc1
fix(lsp): check mode in omnifunc callback
2021-06-01 22:13:21 +09:00
Michael Lingelbach
b10cda83fa
Merge pull request #14693 from shadmansaleh/enhance/lsp/make_focusable_parameter_configurable
...
feat(lsp): Make focusability of lsp float configurable
2021-06-01 04:32:59 -07:00
shadmansaleh
68d48e25b6
docs(lsp): Fix opts param not captured by docgen
...
In the documentation for `vim.lsp.util.open_floating_preview`
the opts table keys were prefixed with `--` instead of `---`,
preventing capture by docgen.
2021-06-01 17:29:06 +06:00
shadmansaleh
0bd34cb4ec
feat(lsp): Make focusability of lsp float configurable
...
This pr allows the user to specify whether `lsp.utils.open_floating_preview`
is focusable via the `opts` parameter. Defaults to true.
It can be configured by setting the focusable key inside opts parameter:
```lua
vim.lsp.util.open_floating_preview(contents, syntax, {focusable = false})
```
2021-06-01 17:23:35 +06:00
Michael Lingelbach
64bdaef327
Merge pull request #14694 from folke/lsp_popup_border
2021-06-01 01:52:38 -07:00
Folke Lemaitre
0ece34cbb8
fix(lsp): properly handle border character list without highlight groups. Fixes #14691
2021-06-01 09:36:29 +02:00
Jan Edmund Lazo
e399731561
vim-patch:8.2.2914: cannot paste a block without adding padding
...
Problem: Cannot paste a block without adding padding.
Solution: Add "zp" and "zP" which paste without adding padding. (Christian
Brabandt, closes vim/vim#8289 )
2fa9384ca1
Cherry-pick Test_normal_z_error() from patch v8.2.0369.
2021-05-31 21:06:11 -04:00
Michael Lingelbach
638c29b7c9
fix(docs): delete duplicate tags
2021-05-31 11:51:02 -07:00
Michael Lingelbach
0866df4d6a
Merge pull request #14687 from kabouzeid/vim-docs
...
Updated vim docs
2021-05-31 11:27:58 -07:00
Michael Lingelbach
96dfa07642
Merge pull request #14635 from folke/lsp_get_lines
...
perf(lsp): get all lines from a file in one go (`locations_to_items`)
2021-05-31 11:12:23 -07:00
Karim Abou Zeid
07f81b3b05
docs: regenerate
2021-05-31 19:47:51 +02:00
Amirreza Askarpour
3cd688ff77
fix vim.opt:remove doc ( #14664 )
2021-05-30 00:09:30 -04:00
Michael Lingelbach
cabf8ab26b
Merge pull request #14649 from folke/lsp_float_refactor
...
refactor(lsp): consolidate the different floating window methods into `open_floating_preview`
2021-05-29 12:06:58 -07:00
Folke Lemaitre
64da499ac2
refactor(lsp): consolidate the different floating window methods into open_floating_preview
2021-05-29 13:42:15 +02:00
TJ DeVries
43956dea55
lua: Add vim.opt and fix scopes of vim.o ( #13479 )
...
* lua: Add vim.opt
* fixup: cleaning
* fixup: comments
* ty clason
* fixup: comments
* this is the last commit. period.
2021-05-28 17:24:48 +02:00
Pino Toscano
192ea01edd
cmake: install app icon in XDG hicolor icon theme ( #14656 )
...
Install the icon of the application in the hicolor XDG icon theme;
this way it can be properly loaded by XDG menus in the currently set
XDG icon theme, without looking in the legacy pixmaps location.
2021-05-27 22:37:24 +02:00
Mathias Fussenegger
e06a73900f
lsp: Ensure floating markdown buffers are deleted on hide
...
After the change to use fancy_floating_markdown for the signature help I
noticed that scratch buffers start to accumulate.
2021-05-26 19:27:04 +02:00
Jan Edmund Lazo
31ea80649d
vim-patch:3ec3217f0491
...
Update runtime files
3ec3217f04
Omit fuzzy-match in pattern.txt.
2021-05-25 22:11:04 -04:00
Folke Lemaitre
54c441c80b
perf(lsp): get all lines from a file in one go
2021-05-25 12:23:39 +02:00
Jan Edmund Lazo
0a653f7ab9
vim-patch:8.2.2879: file extension .hsig not recognized ( #14628 )
...
Problem: File extension .hsig not recognized.
Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
closes vim/vim#8236 )
f5409dbf66
2021-05-23 17:15:38 -04:00
Mathias Fussenegger
5d4717010c
lsp: Only mute RequestCancelled or ContentModified, but not other errors
...
handlers passed to `lsp_buf_request` weren't called if the server
responded with an error that looks like this:
"decoded", {
error = {
code = -32601,
message = "No delegateCommandHandler for foo"
},
id = 5,
jsonrpc = "2.0"
}
An example where that happens is both eclipse.jdt.ls and the
haskell-language-server when invoking a command that doesn't exist:
:lua vim.lsp.buf_request(
0,
'workspace/executeCommand',
{ command = 'foo' },
function(err, _, res)
print(vim.inspect(err), vim.inspect(res))
end
)
2021-05-23 17:04:19 +02:00
Jan Edmund Lazo
59d550345d
vim-patch:8.2.2778: problem restoring 'packpath' in session
...
Problem: Problem restoring 'packpath' in session.
Solution: Let "skiprtp" also apply to 'packpath'.
d23b714d8b
Port Test_mksession_skiprtp() to lua functional test.
2021-05-22 17:32:24 -04:00
Jan Edmund Lazo
8415615b59
vim-patch:8.2.2772: problems when restoring 'runtimepath' from a session file
...
Problem: Problems when restoring 'runtimepath' from a session file.
Solution: Add the "skiprtp" item in 'sessionoptions'.
635bd60804
Allow "terminal" value for sessionoptions even if it's no-opt
because patch v8.0.1592 is not ported yet.
Omit vim9 test, Test_mksession_skiprtp().
2021-05-22 15:40:06 -04:00
Michael Lingelbach
0cbe748da3
Merge pull request #14615 from folke/faster_locations_to_items
...
perf(lsp): `locations_to_items`: use libuv for unloaded buffers to get line
2021-05-22 10:58:45 -07:00
Folke Lemaitre
c98e4d1a2a
perf(lsp): locations_to_items use libuv for unloaded buffers to get line
2021-05-22 18:56:48 +02:00
Michael Lingelbach
5b2be75256
Merge pull request #14269 from fdschmidt93/fix/document_symbol_range
...
fix(lsp): prefer selectionRange over range for document symbols in vim.lsp.util.symbols_to_items
2021-05-22 09:18:03 -07:00
Michael Lingelbach
9c7ad33006
Merge pull request #14603 from folke/format_on_save
...
fix(lsp): allow apply_text_edits to append text (insert at last line)
2021-05-22 09:13:06 -07:00
Thiago Mota Martins
6dd04ed5f6
doc/options: Removed vim-only text from ambiwidth. ( #14602 )
...
NeoVim always includes all features and doesn´t have termcap-options (t_u7).
2021-05-21 19:59:48 -04:00
Michael Lingelbach
efe33fc799
Merge pull request #14604 from folke/master
...
feat(lsp): use same formatting for `signature_help` as `hover`
2021-05-21 11:17:17 -07:00
Folke Lemaitre
bfdd750fce
feat(lsp): use fancy_floating_markdown for signature_help
2021-05-21 19:55:30 +02:00
Folke Lemaitre
02390af5a6
fix(lsp): clear current_syntax before formatting fancy markdown region
2021-05-21 19:18:22 +02:00
Folke Lemaitre
262645b325
fix(lsp): preview_location options and syntax fallback
2021-05-21 19:16:50 +02:00
Folke Lemaitre
d09f53d8ec
fix(lsp): allow apply_text_edits and set_lines to insert text after the last line. Fixes #14017
2021-05-21 09:06:00 +02:00
Michael Lingelbach
75992f2ad9
Merge pull request #14596 from folke/master
...
lsp: `lsp.util.fancy_floating_markdown` improvements
2021-05-20 23:41:34 -07:00
Thiago Mota Martins
de96626ad4
Fixed ttimeout documentation. ( #14600 )
...
ttimeout is a boolean. The correct command for this line is ":set ttimeoutlen=9999"
2021-05-20 18:39:41 -04:00
Folke Lemaitre
07f54201c7
feat(lsp): lsp.util.fancy_floating_markdown improvements
...
fix: fancy_floating_markdown: syn region must include keepend to make sure syntax regions are applied correctly. Fixes #14594
feat: fancy_floating_markdown: handle <pre></pre> code blocks as a markdown code block with plaintext
fix: possible nil check for markdown code blocks till end of buffer
refactor: only one check is needed to see if stripped[h.finish +1] is valid
fix(lsp): dont't set doc ownsyntax, since it breaks contained syntaxes. Set regions for the markdown blocks intsead
fix: apply markdown formatting for code blocks without a language
fix: use markdownCodeBlock when no language was set in a code block
2021-05-21 00:34:30 +02:00
kevinhwang91
d29148ffd8
Merge remote-tracking branch 'origin/master' into qftf
2021-05-20 21:15:31 +08:00
Michael Lingelbach
045e47ec55
Merge pull request #14563 from mjlbach/fix_intelephense_langserver
...
lsp: handle case where CompletionItem.insertTextFormat is nil
2021-05-19 12:39:44 -07:00
Marco Hinz
6deae3d14b
fix(health/python3): remove obsolete check ( #14590 )
...
Python 3.3 reached its end-of-life 2017-09-29:
https://www.python.org/dev/peps/pep-0398
Closes https://github.com/neovim/neovim/issues/14586
2021-05-19 19:26:15 +02:00
Marco Hinz
f6a86a3d7d
Merge pull request #14589 from mhinz/revert-smarter-tagstack
...
Unfortunately, there are some subtle bugs in the smarter tagstack changes,
so we'll revert them for now and try to come up with a better approach.
One of the added tests, adds current position to jumplist before jumping,
is valuable though and changed to still work after reverting the other two
commits.
Closes #14571
2021-05-19 18:58:21 +02:00
Michael Lingelbach
edd48f57aa
Merge pull request #14583 from cbarrete/unsupported-call-hierarchies
...
lsp: handle unsupported call hierarchy call
2021-05-19 09:39:44 -07:00
kevinhwang91
19d4926f5a
vim-patch:8.2.0959: using 'quickfixtextfunc' is a bit slow
...
Problem: Using 'quickfixtextfunc' is a bit slow.
Solution: Process a list of entries. (Yegappan Lakshmanan, closes vim/vim#6234 )
00e260bb6c
2021-05-20 00:24:22 +08:00
kevinhwang91
00246d7be5
vim-patch:8.2.0933: 'quickfixtextfunc' does not get window ID of location list
...
Problem: 'quickfixtextfunc' does not get window ID of location list.
Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
closes vim/vim#6222 )
7ba5a7eff3
2021-05-20 00:19:25 +08:00
kevinhwang91
ebe1a08366
vim-patch:8.2.0869: it is not possible to customize the quickfix window contents
...
Problem: It is not possible to customize the quickfix window contents.
Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes vim/vim#5465 )
858ba06d5f
2021-05-20 00:16:07 +08:00
Cédric Barreteau
ca336c681d
lsp: handle unsupported call hierarchy call
2021-05-19 11:55:03 -04:00
Marco Hinz
34922fba6b
Revert "lsp: make tagstack smarter motion-wise ( #12262 )"
...
This reverts commit 8885ea7f24
.
2021-05-19 15:33:32 +02:00
Marco Hinz
3e5c484ec5
Revert "lsp: fix regression in jump_to_location() ( #14446 )"
...
This reverts commit 993ca90c9b
.
2021-05-19 15:31:41 +02:00
Björn Linse
ef9d3e6791
docs: fix some remanining cases of gender pronoun for "the user"
...
Adapted from original PR by:
Co-Author: Mathias Jean Johansen <mathias@mjj.io>
2021-05-18 22:47:17 +02:00
Michael Lingelbach
63df353545
lsp: handle case where CompletionItem.insertTextFormat is nil
...
* Update tests to use explicit insertTextFormat for snippets
2021-05-16 15:25:34 -07:00
Yegappan Lakshmanan
e0a01bdf7f
Update vim diff and credits ( #14566 )
...
Patch 8.2.2524 added the support for the fields 'foldopen', 'foldclose'
and 'foldsep' to the 'fillchars' option in Vim:
http://ftp.vim.org/pub/vim/patches/8.2/8.2.2524
Update the credits in intro.txt based on Vim credits.
2021-05-16 13:55:53 -04:00
Jan Edmund Lazo
dab6b08a1e
Merge pull request #14406 from shadmansaleh/vim-8.2.0877
...
vim-patch:8.2.{0877, 0880, 0884, 0887, 0896} - port searchcount()
2021-05-15 20:57:50 -04:00
Shadman
d67dcaba02
vim-patch:8.2.2854: custom statusline cannot contain % items ( #14558 )
...
Problem: Custom statusline cannot contain % items.
Solution: Add "%{% expr %}". (closes vim/vim#8190 )
30e3de21fc
2021-05-15 13:10:41 -04:00
Michael Lingelbach
ba04b3d838
Merge pull request #14555 from mickael-menu/fix/range-code-action
...
lsp: Fix range end offset off by one character
2021-05-14 12:30:47 -07:00
Mickaël Menu
c23640140d
lsp: Fix range end offset off by one character
2021-05-14 18:33:23 +02:00
Raymond W. Ko
7c95697026
treesitter: add predicate "any-of?" ( #14344 )
...
For the case of Clojure and other Lisp syntax highlighting, it is
necessary to create huge regexps consisting of hundreds of symbols with
the pipe (|) character. To make things more difficult, these Lisp
symbols sometimes consists of special characters that are themselves
part of special regexp characters like '*'. In addition to being
difficult to maintain, it's performance is suboptimal.
This patch introduces a new predicate to perform 'source' matching in
amortized constant time. This is accomplished by compiling a hash table
on the first use.
2021-05-14 17:41:20 +02:00
Stephan Seitz
5c9b4948d4
treesitter: do not escape in match? ( #14382 )
2021-05-11 11:52:47 +02:00
Viktor Kojouharov
5ea9cbc280
Update the functio documentation in C
2021-05-10 11:27:48 +02:00
Jan Edmund Lazo
d2be261e8d
Merge pull request #14403 from seandewar/vim-8.2.1933
...
vim-patch:8.2.{0174,1933,1935,1946,2286,2287}
2021-05-09 17:08:21 -04:00
shadmansaleh
e498f265f4
vim-patch:8.2.0877: cannot get the search statistics
...
Problem: Cannot get the search statistics.
Solution: Add the searchcount() function. (Fujiwara Takuya, closes vim/vim#4446 )
e8f5ec0d30
Additional changes:
- Tests weren't passing because the test ran assuming the cursor was at
start of buffer but append() left the cursor at end of buffer .
So cursor is moved to start of buffer after append.
- searchcount() added to list of builtin functions.
2021-05-09 06:37:01 +06:00
Jan Edmund Lazo
ec04d37188
vim-patch:8.2.2839: default redirection missing "ash" and "dash"
...
Problem: Default redirection missing "ash" and "dash".
Solution: Recognize "ash" and "dash". (Natanael Copa, closes vim/vim#8180 )
5631836975
2021-05-08 08:23:44 -04:00
Jan Edmund Lazo
6fcd96250b
vim-patch:8.2.2838: file extension .wrap not recognized
...
Problem: File extension .wrap not recognized.
Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes vim/vim#8177 )
e3e598e82b
2021-05-08 08:17:49 -04:00
Viktor Kojouharov
a257f00f75
Minor observational corrections to the set_extmark documentation
...
Add a note for the line and col, saying they are 0-based.
The end_col appears to be exclusive, unline the end_line.
2021-05-07 15:27:38 +02:00
Jan Edmund Lazo
5165513198
Merge pull request #13664 from ivechan/win_exectute
...
vim-patch:8.1.{1418,1425,1832,2124},8.2.{0137, 2340}
2021-05-07 08:34:28 -04:00
Marco Hinz
17434b88b4
checkhealth: ignore 'wildignore' when seeking executables ( #14495 )
...
Certain values of 'wildignore', .e.g `*/node_modules/**`, would make the
provider checks not find the right executables.
Fixes https://github.com/neovim/neovim/issues/14388
2021-05-07 11:07:07 +02:00
jing
f6518e5516
vim-patch:8.1.1418: win_execute() is not implemented yet
...
Problem: Win_execute() is not implemented yet.
Solution: Implement it.
868b7b6712
2021-05-06 23:44:47 +08:00
Jan Edmund Lazo
f70ecbd4dc
vim-patch:8.2.1166: once mouse move events are enabled getchar() returns them
...
Problem: Once mouse move events are enabled getchar() returns them.
Solution: Ignore K_MOUSEMOVE in getchar(). (closes vim/vim#6424 )
ae97b94176
2021-05-06 00:26:37 -04:00
Jan Edmund Lazo
4ad30f775e
Merge pull request #14424 from janlazo/vim-8.1.1726
...
vim-patch:8.1.1726,8.2.{296,860,1827,2388,2788,2790,2801}
2021-05-04 19:18:16 -04:00
Jan Edmund Lazo
d5b063aec1
Revert vim-patch:942db23c9cb7 for phpcomplete.vim
...
It targets Vim 8.2 without feature and version checks.
2021-05-04 07:28:24 -04:00
Thomas Vigouroux
3fc71ea228
Merge pull request #14418 from DerekStride/treesitter-set-directive
...
[RDY] tree-sitter ensure there is a nested table allocated for `#set!`
2021-05-03 21:41:39 +02:00
Michael Lingelbach
ad81144442
Merge pull request #14334 from DarwinSenior/vim.log
...
lsp: deep copy vim.lsp.log when reloading
2021-05-02 23:40:34 -07:00
Michael Lingelbach
cfaf666ac9
Merge pull request #14462 from kabouzeid/feature/formatting_seq_sync
...
[LSP] Support for sequential formatting with multiple clients
2021-05-02 12:52:27 -07:00
Jan Edmund Lazo
ad6bb386be
vim-patch:4c295027a426
...
Update runtime files
4c295027a4
2021-05-02 13:00:38 -04:00
Jan Edmund Lazo
d19ede86ea
vim-patch:8.2.2790: filetype test fails
...
Problem: filetype test fails
Solution: Also update the scripts detection
63276685f9
2021-05-02 12:54:06 -04:00
Jan Edmund Lazo
0020858e1c
vim-patch:8.2.2788: Raku is now the only name what once was called perl6
...
Problem: Raku is now the only name what once was called perl6.
Solution: Adjust the filetype detection. (closes vim/vim#8120 )
3f88e71fa2
2021-05-02 12:54:02 -04:00
Jan Edmund Lazo
3bc852cabf
vim-patch:11e3c5ba8203
...
Update runtime files
11e3c5ba82
2021-05-02 12:53:49 -04:00
Jan Edmund Lazo
7e36c9a2d3
vim-patch:56994d215815
...
Update runtime files.
56994d2158
2021-05-02 12:44:04 -04:00
Jan Edmund Lazo
abb13dde98
vim-patch:130cbfc31235
...
Update runtime files
130cbfc312
2021-05-02 12:03:34 -04:00
Jan Edmund Lazo
b8f3ef10c9
vim-patch:dad4473f02e1
...
Update runtime files.
dad4473f02
Omit :echoconsole. Patch v8.2.2638 is not ported.
2021-05-02 11:51:38 -04:00
Karim Abou Zeid
bcf03affbd
Increase default LSP sync timeout to 1000ms
2021-05-02 17:08:57 +02:00
Jan Edmund Lazo
eea3a692c6
vim-patch:c8cdf0f80b3c
...
Update runtime files.
c8cdf0f80b
2021-05-02 10:33:32 -04:00
Karim Abou Zeid
d923f38882
Add client.request_sync doc
2021-05-02 16:24:58 +02:00
Jan Edmund Lazo
6a8436065c
vim-patch:9faec4e3d439
...
Update runtime files.
9faec4e3d4
Omit vim9.
2021-05-02 10:23:35 -04:00
Karim Abou Zeid
f0f3fddcdd
Synchronous formatting methods notify the user on timeout and interrupted
2021-05-02 16:16:49 +02:00
Karim Abou Zeid
dc9c6ea219
Support multiple range formatting clients
2021-05-02 15:37:31 +02:00
Karim Abou Zeid
54368736d0
doc clarification
2021-05-02 15:23:13 +02:00
Jan Edmund Lazo
2081504a33
vim-patch:942db23c9cb7
...
Update runtime files
942db23c9c
Omit po files.
2021-05-01 23:47:11 -04:00
Jan Edmund Lazo
ac83c6eba6
vim-patch:e0e391755432
...
Update runtime files.
e0e3917554
2021-05-01 23:19:58 -04:00
Jan Edmund Lazo
8f8602d2df
vim-patch:98a29d00a48e
...
Update runtime files.
98a29d00a4
2021-05-01 23:19:57 -04:00
Jan Edmund Lazo
dd2bc06411
vim-patch:82be4849eed0
...
Update runtime files.
82be4849ee
2021-05-01 23:19:57 -04:00
Jan Edmund Lazo
c1dd4e83b4
vim-patch:7e6a515ed14e
...
Update runtime files.
7e6a515ed1
Omit vim9.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo
b1cd67b62e
vim-patch:4072ba571bab
...
Update runtime files.
4072ba571b
Omit vim9 references.
Omit assert_fails(). Patch v8.2.1183 is not ported yet.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo
710f0eae2f
vim-patch:1b884a005398
...
Update runtime files.
1b884a0053
Omit doc/autocmd.txt.
Omit tools/emoji_list.vim. Patch v8.2.1540 is not ported.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo
83b6a18598
vim-patch:23515b4ef758
...
Update runtime files
23515b4ef7
Omit filetype.txt changes for :Man.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo
0c93005383
vim-patch:4466ad6baa22
...
Update runtime files
4466ad6baa
Omit vim9 references in autocmd.txt.
Omit matchfuzzypos().
2021-05-01 22:29:02 -04:00
Jan Edmund Lazo
2ebd1f6286
vim-patch:3132cddd209e
...
Update runtime files
3132cddd20
Omit :sort,sort() changes.
2021-05-01 22:29:02 -04:00
Jan Edmund Lazo
330500a5bf
vim-patch:cb80aa2d53e5
...
Update runtime files.
cb80aa2d53
Omit runtime/doc/tabpage.txt.
Patch v8.2.1401 is not ported yet.
Port optwin.vim changes without gettext().
Patch v8.2.1544 is not ported yet.
2021-05-01 22:29:02 -04:00
Karim Abou Zeid
48a59f8f4f
Add formatting_seq_sync, change formatting and formatting_sync
2021-05-01 21:12:40 +02:00
Jan Edmund Lazo
b16c7c515c
vim-patch:4f4d51a942cc
...
Update runtime files.
4f4d51a942
Omit "??" operator.
Patches v8.2.1794,v8.2.1798 are not ported yet.
2021-05-01 14:22:52 -04:00
francisco souza
993ca90c9b
lsp: fix regression in jump_to_location() ( #14446 )
...
This fixes a regression that was introduced in [1] by accidentally leaving out a line.
1: https://github.com/neovim/neovim/pull/12262
2021-05-01 19:28:21 +02:00
TJ DeVries
27da5511a0
docs: Treesitter ( #13260 )
...
* doc & fixes: Generate treesitter docs
* fixup to treesitter-core
* docs(treesitter): fix docs for most functions
Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
2021-05-01 08:19:48 -04:00
Shadman
ca6107cfbc
doc: update vim.cmd() ( #14450 )
2021-05-01 13:09:05 +02:00
Jan Edmund Lazo
b084f49496
vim-patch:8.2.1827: filetype detection does not test enough file names
...
Problem: Filetype detection does not test enough file names.
Solution: Test more file names. (Adam Stankiewicz, closes vim/vim#7099 )
10a1a534d1
2021-05-01 02:27:32 -04:00
Jan Edmund Lazo
e1171cf1d2
vim-patch:d58a3bf7dac8
...
Update runtime files.
d58a3bf7da
Omit syntax/man.vim.
2021-05-01 02:01:25 -04:00
Jan Edmund Lazo
d1a2523f6c
vim-patch:1d59aa1fdfb1
...
Update runtime files.
1d59aa1fdf
2021-05-01 01:37:13 -04:00
Mathias Fussenegger
69d4143e7b
lsp: Allow decoded.result to be false
...
Some servers might respond to `workspace/executeCommand` requests with a
boolean result and that could be `false`.
A `false` result should be allowed and not trigger the `on_error`
handler:
-- Invalid server message
on_error(client_errors.INVALID_SERVER_MESSAGE, decoded)
Concrete example where this occurred is with eclipse.jdt.ls:
vim.lsp.buf_request(
0,
'workspace/executeCommand',
{
command = 'java.project.isTestFile',
arguments = { vim.uri_from_bufnr(0), },
},
function(err, _, resp)
print(vim.inspect(err), vim.inspect(resp))
end
)
2021-04-30 20:17:56 +02:00
Jan Edmund Lazo
f5d1f0bf03
vim-patch:1c6737b20a5c
...
Update runtime files.
1c6737b20a
2021-04-29 23:35:37 -04:00
Jan Edmund Lazo
1e03e76daf
vim-patch:207f009326c8
...
Update runtime files.
207f009326
Omit nl.po.
2021-04-29 21:56:34 -04:00
Jan Edmund Lazo
9f54d125d2
vim-patch:3d1cde8a2f28
...
Update runtime files.
3d1cde8a2f
2021-04-29 21:08:09 -04:00
Jan Edmund Lazo
09f3e62bc6
vim-patch:e7b1ea0276cc
...
Update runtime files.
e7b1ea0276
2021-04-29 20:42:16 -04:00
Jan Edmund Lazo
0a0034718c
vim-patch:2547aa930b59
...
Update runtime files.
2547aa930b
Omit modifyOtherKeys, vim9, vim.man.
2021-04-29 09:27:19 -04:00
Jan Edmund Lazo
27fb03f5a0
vim-patch:7ff78465f705
...
Update runtime files
7ff78465f7
2021-04-28 23:04:14 -04:00
Jan Edmund Lazo
bb172c5104
vim-patch:e46a44050562
...
Runtime file updates
e46a440505
Omit vim9.
2021-04-28 22:42:43 -04:00
Jan Edmund Lazo
7c6ca6fed8
vim-patch:73fef33014db
...
Update runtime files
73fef33014
Omit usr_46.txt.
2021-04-28 22:14:37 -04:00
Jan Edmund Lazo
df2acdc3be
vim-patch:65e0d77a66b7
...
Update runtime files
65e0d77a66
Omit usr_46.txt because of vim9.
2021-04-28 21:57:50 -04:00
Jan Edmund Lazo
565783be4b
vim-patch:acc224064033
...
Update runtime files
acc2240640
Omit 'quickfixtextfunc'.
Omit ftplugin/man.vim.
2021-04-28 21:29:57 -04:00
Jan Edmund Lazo
04a4bbbe56
vim-patch:8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbers
...
Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes vim/vim#6144 )
aaad995f83
2021-04-28 21:29:57 -04:00
Jan Edmund Lazo
65821cc1b9
vim-patch:388a5d4f20b4
...
Update runtime files
388a5d4f20
Omit vim9.
2021-04-28 21:29:57 -04:00
Jan Edmund Lazo
0185625c04
vim-patch:47e13953ffdb
...
Update runtime files
47e13953ff
Ignore *.rej files, generated by vim-patch.sh.
Source of mistakes for 1st-time contributors.
2021-04-28 21:29:57 -04:00
Jan Edmund Lazo
3d86857f28
vim-patch:2cfb4a2a7248
...
Update runtime files
2cfb4a2a72
2021-04-28 21:29:56 -04:00
Jan Edmund Lazo
038ce7a5af
vim-patch:7ceefb35c811
...
Update runtime files
7ceefb35c8
Omit {ftplugin,syntax}/man.vim changes.
Omit E565,E578. They depend on patches v8.2.0614, v2.2.0670.
2021-04-28 21:29:56 -04:00
Jan Edmund Lazo
c2635665c5
vim-patch:2c7f8c574f1f
...
Update runtime files
2c7f8c574f
Omit the following line for man.vim:
hi def link manFooter PreProc
2021-04-28 21:29:56 -04:00
Jan Edmund Lazo
9d3576246b
vim-patch:8.2.2801: free Pascal makefile not recognized
...
Problem: Free Pascal makefile not recognized.
Solution: Add the fpcmake filetype. (Doug Kearns)
f6d9935a13
2021-04-27 22:54:38 -04:00
Jan Edmund Lazo
e612a0a76a
vim-patch:d1caa941d876
...
Update runtime files
d1caa941d8
Cherry-pick error E452 from patch v8.2.0486.
2021-04-27 22:40:39 -04:00
Jan Edmund Lazo
d894b3da1e
vim-patch:191acfdecabf
...
Update runtime files
191acfdeca
Skip has() changes for the "check" optional argument.
Patch v8.2.0427 is not ported yet.
Skip Vim9 (ex. :def).
2021-04-27 21:47:42 -04:00
Jan Edmund Lazo
c287e734f1
vim-patch:ff78155aa175
...
Update runtime files
ff78155aa1
Omit menu_info().
2021-04-27 21:31:28 -04:00
Jan Edmund Lazo
e7f6c52014
vim-patch:b17893aa940d
...
Update runtime files
b17893aa94
Omit feedkeys() changes.
2021-04-27 21:25:35 -04:00
Jan Edmund Lazo
a299f54cd7
vim-patch:eab6dff19f38
...
Update runtime files
eab6dff19f
Omit de.po translations.
2021-04-27 20:25:21 -04:00
derekstride
44d4526e18
Ensure there is a nested table allocated for #set!
...
Fixes the following bug:
```
test/functional/helpers.lua:107: Error executing lua:
vim/treesitter/query.lua:256: attempt to index a nil value
```
2021-04-27 12:29:37 -02:30
Jan Edmund Lazo
95f02cb587
vim-patch:8.2.2388: no easy way to get the maximum or mininum number value
...
Problem: No easy way to get the maximum or mininum number value.
Solution: Add v:numbermax and v:numbermin.
57d5a01cb4
2021-04-27 09:21:36 -04:00
Jan Edmund Lazo
25c0675fe3
vim-patch:8.2.0296: mixing up "long long" and __int64 may cause problems
...
Problem: Mixing up "long long" and __int64 may cause problems. (John
Marriott)
Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
f9706e9df0
2021-04-27 09:21:35 -04:00
Jan Edmund Lazo
e257aff016
vim-patch:bc93cebb692f
...
Update runtime files.
bc93cebb69
2021-04-27 09:21:35 -04:00
Jan Edmund Lazo
278ca5f456
vim-patch:ebdf3c964a90
...
Update runtime files.
ebdf3c964a
Omit vim9.
2021-04-27 09:21:35 -04:00
Jan Edmund Lazo
4819737853
vim-patch:560979ed4f02
...
Update runtime files.
560979ed4f
Omit vim9.
2021-04-27 09:21:34 -04:00
Jan Edmund Lazo
e8178093dc
vim-patch:1d9215b9aaa1
...
Update runtime files.
1d9215b9aa
2021-04-27 09:21:34 -04:00
Jan Edmund Lazo
d112db157c
vim-patch:ade0d3946801
...
Update runtime files.
ade0d39468
2021-04-27 09:21:34 -04:00
Jan Edmund Lazo
f406e4631d
vim-patch:8024f9363683
...
Update runtime files.
8024f93636
Omit "modifyOtherKeys" changes.
2021-04-27 09:21:34 -04:00