Commit Graph

18259 Commits

Author SHA1 Message Date
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
Jan Edmund Lazo
d662dfde36
vim-patch:8.2.2422: crash when deleting with line number out of range
Problem:    Crash when deleting with line number out of range. (Houyunsong)
Solution:   Avoid using a negative line number.
1d859e2421
2021-06-10 21:28:30 -04:00
Jan Edmund Lazo
cb368e1bff
vim-patch:8.2.1702: crash when using undo after deleting folded lines
Problem:    Crash when using undo after deleting folded lines.
Solution:   Check for NULL pointer. (closes vim/vim#6968)
da697645d5
2021-06-10 19:20:33 -04:00
Jan Edmund Lazo
292037ef9b
vim-patch:8.2.2966: ml_get errors after recovering a file
Problem:    ml_get errors after recovering a file. (Yegappan Lakshmanan)
Solution:   Fix the cursor position after deleting lines.
e3f50ad640
2021-06-10 19:20:32 -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
92b6b3764c refactor(tests): Simplify tests at functional/lua/runtime_spec 2021-06-11 01:01:03 +06:00
shadmansaleh
07c9b20c75 enhance(runtime): Enable completion for lua files
Enabled for `:colorscheme` `:compiler` filetype
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
Michael Lingelbach
1df8a34a7b
docs(contributing): update commit message instructions (#14758)
we are changing the way we write commits to increase automation. This commit explains how to write commit messages.
2021-06-10 19:08:58 +02:00
Björn Linse
988f88c24e
Merge pull request #14249 from euclidianAce/euclidianAce/win-config-include-border
include 'border' in nvim_win_get_config
2021-06-10 12:01:12 +02:00
Björn Linse
7b519cd11c api:get_config: don't add border="none" (inactive default) 2021-06-10 10:41:50 +02:00
Corey Williamson
38d6452899 fix linter errors 2021-06-10 10:41:50 +02:00
Corey Williamson
8021c5a531 api: include border in nvim_win_get_config 2021-06-10 10:41:49 +02:00
Thomas Vigouroux
21645e603c
Merge pull request #14763 from neovim/marvim/api-doc-update/master
docs: regenerate
2021-06-10 10:05:55 +02:00
marvim
04f9511715 docs: regenerate 2021-06-10 08:03:28 +00:00
Björn Linse
70a1331dab
Merge pull request #14717 from notomo/add-win-call-api
api: add nvim_win_call
2021-06-10 10:02:31 +02: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
notomo
1a9eb7a987 api: add nvim_win_call 2021-06-10 09:34:29 +02:00
Björn Linse
fd7e77b227
Merge pull request #14757 from jbyuki/open_line_changed_bytes
fix: changed byte ranges for indented lines
2021-06-09 23:49:02 +02:00
jbyuki
a15c2cbab6 add tests in buffer_updates 2021-06-09 12:20:13 -07:00
jbyuki
7ff7ca56dd minor fix 2021-06-09 11:58:25 +02:00
jbyuki
a1db340cea minor fixes 2021-06-09 11:57:37 +02:00
jbyuki
d9e11f4f78 fix changed byte ranges for indented lines 2021-06-09 11:35:15 +02:00
Michael Lingelbach
93f15db5d6
Merge pull request #14736 from mfussenegger/lsp-diagnostic-get-qfitems
feat(lsp): Split out a "get qf items" func from set_loclist
2021-06-07 09:43:43 -07: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
Thomas Vigouroux
f2906a4669
Merge pull request #14731 from neovim/marvim/api-doc-update/master
docs: regenerate
2021-06-06 20:10:07 +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
Michael Lingelbach
37d5236f88
Merge pull request #14511 from urandom/lsp_diagnostics_workspace_loclist
feat(lsp): add an option to lsp.diagnostic.set_loclist to the workspace
2021-06-06 03:16:43 -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
b3e3ab0567
Merge pull request #14733 from mjlbach/fix_docs_2
docs(lsp): fix locations_to_items docstring
2021-06-05 20:45:24 -07: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
21ecde1728
Merge pull request #14729 from mjlbach/feat/diagnostic_quickfix_cleanup
feat(lsp): remove line from diagnostic quickfix
2021-06-05 13:57:16 -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
Jan Edmund Lazo
becbb7436f
Merge pull request #14724 from janlazo/vim-8.2.2877
vim-patch:8.0.1578,8.2.{2877,2937}
2021-06-05 13:18:05 -04:00
github-actions[bot]
bfcec8d2f0
version.c: update [skip ci] (#14328)
Co-authored-by: marvim <marvim@users.noreply.github.com>

vim-patch:8.1.1433: win_execute() may leave popup window focused
vim-patch:8.1.2257: MS-Windows GUI: scroll wheel always uses current window

vim-patch:8.2.0520: tests are not listed in sorted order
vim-patch:8.2.2794: Linux users don't know how to get ncurses
vim-patch:8.2.2807: build fails with tiny features
vim-patch:8.2.2818: no jump added when opening terminal in current window
vim-patch:8.2.2823: MS-Windows: launching Vim from installer doesn't open README
vim-patch:8.2.2830: terminal colors are not updated when 'background' is set
vim-patch:8.2.2836: build failure without the +quickfix feature
vim-patch:8.2.2841: MS-Windows: cursor wrong when 'lz' and 'stl' are set
vim-patch:8.2.2845: MS-Windows: warning for signed/unsigned comparison
vim-patch:8.2.2852: configure can add --as-needed a second time
vim-patch:8.2.2859: Tcl test fails because of changed error message
vim-patch:8.2.2876: configure cannot detect Python 3.10
vim-patch:8.2.2883: MS-Windows manifest file name is misleading
vim-patch:8.2.2889: typo and verbose comment in Makefiles
vim-patch:8.2.2891: cannot build with Perl 5.34
vim-patch:8.2.2899: Appveyor script does not detect nmake failure
vim-patch:8.2.2907: memory leak when running out of memory
vim-patch:8.2.2909: build error with non-Unix system
vim-patch:8.2.2913: MS-Windows conpty supports using mouse events
vim-patch:8.2.2919: using ":!command" does not work if it uses posix_spawn()
vim-patch:8.2.2923: EBCDIC build is broken
vim-patch:8.2.2924: superfluous extern declaration
vim-patch:8.2.2929: accidentally enable tcl by default
vim-patch:8.2.2939: GTK: righthand scrollbar does not show with split window
vim-patch:8.2.2940: MS-Windows: cannot see the size when resizing

vim-patch:e307073680d498b113c7df8250abd5676de1ed13
vim-patch:8fbd6723af3248a1fa46fa1e610804841603abe5
vim-patch:d52986e7be366b6f8c9e18078648f1c5219c4335
vim-patch:7a212c625362d86327878d57269d63f6a2ca5d2b
vim-patch:424e98baab3bf05d7946f99ddfa180ae71570650
vim-patch:2b72821924ff514727b60fb0b647d5caae8336f7
vim-patch:c882e4d169fd5e0364bc91642040337efe7327a6
2021-06-05 13:16:27 -04:00
Jan Edmund Lazo
77b24c867b
window: pvs/v1071
"void" cast unused return value of win_comp_pos().
2021-06-05 12:49:28 -04:00
Jan Edmund Lazo
0aa16dbd18
regexp: pvs/v1071
"void" cast unused return values of getchr(), peekchr().
2021-06-05 12:49:28 -04:00
Jan Edmund Lazo
61e07d98dd
fold: pvs/v1071
"void" cast unused return value of hasFolding().
2021-06-05 12:49:28 -04:00
Jan Edmund Lazo
c6b8598616
memline: pvs/v1071
"void" cast unused return value of ml_find_line().
2021-06-05 12:49:28 -04:00