Jan Edmund Lazo
e34a7bca68
eval: fix pvs/v547
2020-06-18 18:01:42 -04:00
Jan Edmund Lazo
ee4265285d
vim-patch:8.2.0932: missspelling spelllang
...
Problem: Missspelling spelllang.
Solution: Add an "l". (Dominique Pelle)
f154f3ab2c
2020-06-18 18:01:42 -04:00
Jan Edmund Lazo
9d565c5ba3
vim-patch:8.2.0930: script filetype detection trips over env -S argument
...
Problem: Script filetype detection trips over env -S argument.
Solution: Remove "-S" and "--ignore-environment". (closes vim/vim#5013 )
Add tests.
b5e18f29fa
2020-06-18 18:01:42 -04:00
Jan Edmund Lazo
150168b881
vim-patch:8.2.0927: some sshconfig and ssdhconfig files are not recognized
...
Problem: Some sshconfig and ssdhconfig files are not recognized.
Solution: Add filetype patterns.
da84ac2a6f
2020-06-18 18:01:41 -04:00
Jan Edmund Lazo
a5bde56b37
vim-patch:8.0.1554: custom plugins loaded with --clean
...
Problem: Custom plugins loaded with --clean.
Solution: Do not include the home directory in 'runtimepath'.
0726870326
2020-06-18 18:01:41 -04:00
francisco souza
70d4b31b83
lsp: Add new highlight groups used in show_line_diagnostics ( #12473 )
...
* lsp: support custom hl groups in show_line_diagnostics
Closes #12472 .
* runtime: add docs for the new lsp highlight groups
Co-authored-by: francisco souza <fsouza@users.noreply.github.com>
2020-06-18 08:04:49 -04:00
TJ DeVries
25aa2969f2
Merge pull request #12497 from leun4m/patch/tex-runtime
...
Apply several upstream changes to text-runtime
2020-06-18 07:31:24 -04:00
Manuel Krebs
8498c40fcf
tex.vim: patch runtime/indent to 388a5d4f20b4
...
vim/vim@388a5d4f20
2020-06-17 12:52:39 +02:00
Manuel Krebs
ad42ac4618
tex.vim: patch runtime to 65e0d77a66b7
...
vim/vim@65e0d77a66
2020-06-16 19:57:41 +02:00
Manuel Krebs
db756fca52
tex.vim: patch runtime to 388a5d4f20b4
...
vim/vim@388a5d4f20
2020-06-16 19:56:14 +02:00
Manuel Krebs
78f37f6a35
tex.vim: patch runtime to 1d9215b9aaa1
...
vim/vim@1d9215b9aa
2020-06-16 19:53:35 +02:00
Hirokazu Hata
e628a05b51
Merge pull request #12342 from h-michael/fix-doc
2020-06-15 18:08:34 +09:00
Hirokazu Hata
52cd8bf507
doc: fix vim.api.nvim_buf_attach callback arguments
2020-06-15 12:30:13 +09:00
Hirokazu Hata
6613ab6bca
Merge pull request #12469 from h-michael/request
...
lsp: even if contents before change is 0 byte, request to server
2020-06-15 11:11:42 +09:00
Kevin Fleming
8daefe2f04
Fix highlight group names in LSP documentation ( #12427 )
...
LspDiagnosticInformation -> LspDiagnosticsInformation
LspDiagnosticInformationSign -> LspDiagnosticsInformationSign
LspDiagnosticHint -> LspDiagnosticsHint
LspDiagnosticHintSign -> LspDiagnosticsHintSign
2020-06-14 15:25:39 -04:00
Andreas Johansson
44fe8828f0
lsp: Fix text edits with the same start position ( #12434 )
...
According to the LSP spec[1], multiple edits can have the same starting
position, and if that is the case, they should be applied in the order
as they come in the array.
The implementation uses a reverse sort to not interfere with non applied
edits, but failed to take into account the spec.
[1] https://microsoft.github.io/language-server-protocol/specifications/specification-3-14/#textedit
2020-06-14 15:23:16 -04:00
Dheepak Krishnamurthy
a0a84fc9e0
lsp: Add BufLeave
to close_preview_autocmd
function call ( #12477 )
...
else popup window remains open when switching buffer.
2020-06-12 20:38:33 +02:00
David Lukes
6d1404faf0
test: Fix ignored LSP tests ( #12470 )
...
* Fix ignored LSP tests
* Restructure _make_floating_popup_size tests
Co-authored-by: Christian Clason <christian.clason@uni-due.de>
Co-authored-by: Christian Clason <christian.clason@uni-due.de>
2020-06-11 20:34:34 -04:00
Stephan Seitz
b751d16cad
lsp: Fix #12449 textDocumentSync.save can be boolean. Access textDocumentSync.save.includeText only if table. ( #12450 )
2020-06-11 15:47:03 -04:00
Hirokazu Hata
e39ec50d73
lsp: even if contents before change is 0 byte, request to server
...
fix: https://github.com/neovim/neovim/issues/12414
2020-06-11 13:09:05 +09:00
Hirokazu Hata
e78658348d
Merge pull request #12467 from h-michael/issue-template
...
issue template: fix label syntax for lsp bug report
2020-06-11 09:42:35 +09:00
Hirokazu Hata
d7f2318ada
issue template: fix label syntax for lsp bug report
2020-06-11 08:18:12 +09:00
Hirokazu Hata
bb946fb475
Merge pull request #12461 from h-michael/issue-template
2020-06-11 08:08:32 +09:00
Hirokazu Hata
9aba7f122c
add GitHub issue template for lsp
2020-06-11 06:12:37 +09:00
James McCoy
dcd6cf5f34
Merge pull request #11819 from erw7/fix-dot-net-stdin
...
[RDY] win: make UV_OVERLAPPED_PIPE optional
2020-06-10 13:24:45 -04:00
erw7
d17e38e482
Add overlapped option to jobstart
...
When UV_OVERLAPPED_PIPE was used for the pipe passed to the child process, a
problem occurred with the standard input of the .Net Framework application
(#11809 ). Therefore, add the overlapped option to jobstart() and change it so
that it is set only when necessary
2020-06-10 22:21:14 +09:00
Matthieu Coudron
d8c5d122f1
Merge pull request #12376 from erw7/fix-stack-overflow-on-input-enqueue
...
input: fix stack overflow
2020-06-08 16:52:56 +02:00
Matthieu Coudron
980b12edba
Merge pull request #12192 from Billy4195/vim-8.2.0629
...
[RFC] vim-patch:8.2.0629
2020-06-07 18:00:43 +02:00
Billy Su
22f6da9514
vim-patch:8.2.0629: setting a boolean option to v:false does not work
...
Problem: Setting a boolean option to v:false does not work.
Solution: Do not use the string representation of the value. (Christian
Brabandt, closes vim/vim#5974 )
65d032c779
2020-06-06 23:25:07 +08:00
Billy Su
1805fb469a
vim-patch:8.2.0111: VAR_SPECIAL is also used for booleans
...
Problem: VAR_SPECIAL is also used for booleans.
Solution: Add VAR_BOOL for better type checking.
9b4a15d5db
2020-06-06 23:24:58 +08:00
Matthieu Coudron
dbc8ec9446
Merge pull request #12321 from vigoux/treesitter-runtime
...
treesitter: update runtime
2020-06-06 15:37:51 +02:00
Matthieu Coudron
39f802bef4
Merge pull request #12416 from teto/openbsd_fix
...
ci: bump openbsd image
2020-06-06 02:06:40 +02:00
Matthieu Coudron
33dafc4f0f
Merge pull request #12413 from janlazo/vim-8.2.0089
...
[RDY]vim-patch:8.0.1564,8.1.{917,1895,2018,2335},8.2.{89,491,873,892,905}
2020-06-06 02:05:49 +02:00
Matthieu Coudron
fca471d8e2
Merge pull request #12411 from kuuote/fix-remote-plugin-command
...
runtime: fix remote plugin command fails at some case
2020-06-06 01:39:12 +02:00
TJ DeVries
d14298a1f0
test: remove flaky unhelpful test
...
vim.wait( sthg)
2020-06-06 01:11:12 +02:00
Matthieu Coudron
c4888b2bde
ci: bump openbsd image 6.5 -> 6.7
...
seems like 6.5 is not supported anymore.
2020-06-06 01:11:12 +02:00
Jan Edmund Lazo
9538a7895c
vim-patch:8.2.0905: test coverage could be better
...
Problem: Test coverage could be better.
Solution: Add a couple of tests. (Dominique Pelle, closes vim/vim#6202 )
e0c3c3d6cb
2020-06-04 21:21:10 -04:00
Jan Edmund Lazo
0fa2aefb61
vim-patch:8.2.0892: ubsan warns for undefined behavior
...
Problem: Ubsan warns for undefined behavior.
Solution: Use unsigned instead of signed variable. (Dominique Pelle,
closes vim/vim#6193 )
c5acc0f7fe
2020-06-04 20:52:53 -04:00
Jan Edmund Lazo
ed85d68123
vim-patch:8.1.2335: error message for function arguments may use NULL pointer
...
Problem: Error message for function arguments may use NULL pointer.
(Coverity)
Solution: Use the original function name.
2118a30295
2020-06-04 20:52:53 -04:00
Jan Edmund Lazo
909af2f3f1
vim-patch:8.2.0491: cannot recognize a <script> mapping using maparg()
...
Problem: Cannot recognize a <script> mapping using maparg().
Solution: Add the "script" key. (closes vim/vim#5873 )
2da0f0c445
2020-06-04 20:52:53 -04:00
Jan Edmund Lazo
f85bf6ec37
vim-patch:8.2.0873: a .jl file can be sawfish (lisp) or Julia
...
Problem: A .jl file can be sawfish (lisp) or Julia.
Solution: Do not recognize *.jl as lisp, since it might be Julia.
(closes vim/vim#6178 )
2891459b81
2020-06-04 20:52:52 -04:00
Jan Edmund Lazo
44531928b3
vim-patch:8.1.2018: using freed memory when out of memory and displaying message
...
Problem: Using freed memory when out of memory and displaying message.
Solution: Make a copy of the message first.
e5fbd73930
2020-06-04 20:52:52 -04:00
Jan Edmund Lazo
310a56d0a0
vim-patch:8.1.1895: using NULL pointer when out of memory
...
Problem: Using NULL pointer when out of memory.
Solution: Bail out or skip the code using the pointer. (Zu-Ming Jiang,
closes vim/vim#4805 , closes vim/vim#4843 , closes vim/vim#4939 , closes vim/vim#4844 )
6f10c70b59
2020-06-04 20:52:52 -04:00
Jan Edmund Lazo
64a2884d4c
vim-patch:8.0.1564: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
f2bd8ef2b4
2020-06-04 20:52:52 -04:00
Jan Edmund Lazo
2298350884
vim-patch:8.1.0917: double free when running out of memory
...
Problem: Double free when running out of memory.
Solution: Remove one free. (Ken Takata, closes vim/vim#3955 )
445e71c5ee
2020-06-04 20:52:52 -04:00
Jan Edmund Lazo
f5c1314cb0
vim-patch:8.2.0089: crash when running out of memory in :setfiletype completion
...
Problem: Crash when running out of memory in :setfiletype completion.
Solution: Do not allocate memory. (Dominique Pelle, closes vim/vim#5438 )
f0f8055102
2020-06-04 20:52:52 -04:00
TJ DeVries
dd4018947c
lsp: do not process diagnostics for unloaded buffers ( #12440 )
2020-06-04 19:37:38 -04:00
Christian Clason
b7f3f11049
lsp: compute height of floating preview correctly for wrapped lines ( #12380 )
...
* take wrapping into account when computing float height
* factor out size calculation
* add test
* accept and pass through opts.wrap_at in floating_preview
* make padding configurable
* slightly refactor fancy_floating_markdown to make use of make_position
* padding using string.format
* move trim and pad to separate function
* nit
Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
* remove mention of backward compat
* make lint happy
Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
2020-06-04 14:23:03 -04:00
Dheepak Krishnamurthy
6f4f38cd54
lsp: Add check for declaration
and typeDefinition
support in vim lsp server before making request
( #12421 )
...
* Add check for typeDefinition support in vim lsp server
* Check for typeDefinitionProvider in server
* Check for declarationProvider in server
* Add check for client support
* Fix typo
2020-06-04 08:52:44 -04:00
notomo
ac5a3f2c56
lua: fix behavior when split empty string ( #12429 )
...
* lua: fix behavior when split empty string
* test: lsp.util.apply_text_edits with an empty edit
2020-06-04 08:48:48 -04:00