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