Rom Grk
ffe1a067df
docs: add documentation for Scroll autocmd
2020-10-24 04:57:15 -04:00
Jan Edmund Lazo
2894649c2e
vim-patch:8.2.0901: formatting CJK text isn't optimal
...
Problem: Formatting CJK text isn't optimal.
Solution: Properly break CJK lines. (closes vim/vim#3875 )
https://github.com/vim/vim/commit/e52702f00322c8a8861efd0bd6a3775e685e5685
2020-10-23 08:57:16 -04:00
Jan Edmund Lazo
d69a8a3fc4
vim-patch:8.2.0952: no simple way to interrupt Vim
...
Problem: No simple way to interrupt Vim.
Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
closes vim/vim#1718 )
https://github.com/vim/vim/commit/be5ee8686a50acf07b823bd293f9c765e533d213
2020-10-22 18:24:08 -04:00
TJ DeVries
78556aba7d
api: nvim_buf_delete
2020-10-22 16:08:32 -04:00
Mathias Fußenegger
df726408d7
lsp: Fix "client has shut down" errors during initializing ( #13103 )
...
Language servers can already send log messages to the client while the
server is still being initialized.
This currently leads to "client has shut down" messages which are
confusing to the user as the server is properly starting.
To fix this this changes the `get_client_by_id` method to also return a
client if it is still initializing.
2020-10-22 14:59:17 -04:00
Jan Edmund Lazo
3f0850e9f0
vim-patch:8.2.1874: can't do something just before leaving Insert mode
...
Problem: Can't do something just before leaving Insert mode.
Solution: Add the InsertLeavePre autocommand event. (closes vim/vim#7177 )
https://github.com/vim/vim/commit/b53e13a91ab2fc9d52bd044715daa84972f4ce47
N/A patches for version.c:
vim-patch:8.1.1877: graduated features scattered
Problem: Graduated features scattered.
Solution: Put graduated and obsolete features together.
https://github.com/vim/vim/commit/ffc0716af8e448ef8a2a3249edfd0260546933df
vim-patch:8.2.1875: warning when building GTK gui
Problem: Warning when building GTK gui.
Solution: Add missing function parameter.
https://github.com/vim/vim/commit/3da855c8e28140d9f02b1572e445f8d4f977cf64
vim-patch:8.2.1877: test for function list fails
Problem: Test for function list fails.
Solution: Move "obsolete" comments one line up.
https://github.com/vim/vim/commit/b8f519e5382f9876ae7f8bc64d9814d07a8ef972
vim-patch:8.2.1878: GTK: error for redefining function
Problem: GTK: error for redefining function. (Tony Mechelynck)
Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
global functions.
https://github.com/vim/vim/commit/8a99e66b4f7616d9b0b9cefe742f82f9122087d5
vim-patch:8.2.1881: cannot build with GTK3
Problem: Cannot build with GTK3.
Solution: Adjust form functions.
https://github.com/vim/vim/commit/692d1a51e74fea2db3c7e9ae7c7c6c3a1a1945ee
vim-patch:8.2.1883: compiler warnings when using Python
Problem: Compiler warnings when using Python.
Solution: Adjust PyCFunction to also have the second argument. Use "int"
return type for some functions. Insert "(void *)" to get rid of
the remaining warnings.
https://github.com/vim/vim/commit/4ce5fe4c87820c7d22964d6e91d7b07e96640e6f
2020-10-21 23:36:56 -04:00
Alex Genco
ed0a70087a
vim-patch:8.1.1056: no eval function for Ruby
...
Problem: No eval function for Ruby.
Solution: Add rubyeval(). (Ozaki Kiichi, closes vim/vim#4152 )
https://github.com/vim/vim/commit/e99be0e6d28fad96efd2b2be23fa38e7559e80e1
2020-10-21 10:20:21 -07:00
Jan Edmund Lazo
7b2fd21560
Revert "vim-patch:8.1.1015: quickfix buffer shows up in list, can't get buffer number"
...
This reverts commit 4cd69151cf .
2020-10-20 22:07:45 -04:00
Björn Linse
18bf216993
docs: update api
2020-10-20 21:57:07 +02:00
skippi
8c9d9fa304
vim-patch:8.2.0868: trim() always trims both ends
...
Problem: trim() always trims both ends.
Solution: Add an argument to only trim the beginning or end. (Yegappan
Lakshmanan, closes vim/vim#6126 )
https://github.com/vim/vim/commit/2245ae18e3480057f98fc0e5d9f18091f32a5de0
2020-10-17 14:07:35 -05:00
Jan Edmund Lazo
4543af9d53
vim-patch:8.1.0221: not enough testing for the Ruby interface
...
Problem: Not enough testing for the Ruby interface.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#3252 )
https://github.com/vim/vim/commit/edd6aacb010ad2402fc98f19e7f6b7c29ba2656f
Modified some tests to make them pass for Neovim.
Some tests will always fail because +ruby is externalized in Neovim.
Skip failing ruby tests for now.
2020-10-14 22:00:40 -04:00
Jan Edmund Lazo
ff104e197d
vim-patch:8.1.1204: output of :command with address completion is not nice
...
Problem: Output of :command with address completion is not nice.
Solution: Shorten the address completion names.
https://github.com/vim/vim/commit/a561a41a70db7a9367f883c1dbb14e69b3364d08
2020-10-11 11:53:40 -04:00
Jan Edmund Lazo
4cd69151cf
vim-patch:8.1.1015: quickfix buffer shows up in list, can't get buffer number
...
Problem: Quickfix buffer shows up in list, can't get buffer number.
Solution: Make the quickfix buffer unlisted when the quickfix window is
closed. get the quickfix buffer number with getqflist().
(Yegappan Lakshmanan, closes vim/vim#4113 )
https://github.com/vim/vim/commit/647e24ba3dbf7ff448aa471b1a659a18267ae056
2020-10-10 22:58:39 -04:00
Jan Edmund Lazo
e9004e2af0
vim-patch:8.1.0720: cannot easily change the current quickfx list index
...
Problem: Cannot easily change the current quickfx list index.
Solution: Add the "idx" argument to setqflist(). (Yegappan Lakshmanan,
closes vim/vim#3701 )
https://github.com/vim/vim/commit/5b69c22fd2bf0c0d32aab90ee4c7ef74259d2c4c
2020-10-10 15:28:07 -04:00
Jan Edmund Lazo
4a6e201e37
vim-patch:8.1.1705: using ~{} for a literal dict is not nice
...
Problem: Using ~{} for a literal dict is not nice.
Solution: Use #{} instead.
https://github.com/vim/vim/commit/4c6d90458baae843463f930fdc3fe4a7a2191d27
2020-10-07 01:03:48 -04:00
Jan Edmund Lazo
20fc7ef161
vim-patch:8.1.1692: using *{} for literal dict is not backwards compatible
...
Problem: Using *{} for literal dict is not backwards compatible. (Yasuhiro
Matsumoto)
Solution: Use ~{} instead.
https://github.com/vim/vim/commit/b8be54dcc517c9d57b62409945b7d4b90b6c3071
2020-10-07 00:56:38 -04:00
Jan Edmund Lazo
7ca5dc2519
vim-patch:8.1.1683: dictionary with string keys is longer than needed
...
Problem: Dictionary with string keys is longer than needed.
Solution: Use *{key: val} for literaly keys.
https://github.com/vim/vim/commit/d5abb4c87727eecb71b0e8ffdda60fc9598272f3
Vim's popup,textprop features are N/A.
Neovim has not polyfilled their APIs.
Skip docs and tests for these features.
2020-10-07 00:36:48 -04:00
TJ DeVries
7b89353985
lua: vim.wait allows control of fast events ( #13053 )
...
* lua: vim.wait allows control of fast events
* fixup: remove requirement of function for easier waiting
* fixup: lint
* fixup: bfredl comments
2020-10-06 12:58:05 -04:00
Matt Wozniski
2f06413dfb
Treat unmapped ALT/META as ESC+c in all modes
...
In #8226 <A-x> and <M-x> were changed to behave like <Esc>x in insert
mode when no mapping exists. This commit backs out that change and
replaces it with a more general one that makes unmapped ALT and META
keypresses as <Esc>+char in all modes. This fixes an unnecessary and
confusing inconsistency between modes.
2020-10-05 15:27:04 -04:00
Jan Edmund Lazo
86ab4a1cb4
vim-patch:8.2.0841: 'verbose' value 16 causes duplicate output
...
Problem: 'verbose' value 16 causes duplicate output.
Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
closes vim/vim#6153 )
https://github.com/vim/vim/commit/823654bc06c847af20967d41db32d592aba416cb
2020-10-03 01:06:24 -04:00
Jan Edmund Lazo
8bc55f656a
Merge pull request #12922 from AlxHnr/master
...
Use HTTPS for downloading spell files
2020-09-27 09:29:23 -04:00
Jan Edmund Lazo
c14d2399f6
doc: test_garbagecollect_now() was ported
2020-09-26 10:14:50 -04:00
Thomas Vigouroux
a08959bc7a
vim-patch:8.2.0953: spell checking doesn't work for CamelCased words
...
Problem: Spell checking doesn't work for CamelCased words.
Solution: Add the "camel" value in the new option 'spelloptions'.
(closes vim/vim#1235 )
https://github.com/vim/vim/commit/362b44bd4aa87a2aef0f8fd5a28d68dd09a7d909
2020-09-24 07:13:39 +02:00
Minh Son Nguyen
dc4f81b49c
Update doc
...
vim/vim@8ffc7c8b
vim-patch:8.1.1281
2020-09-21 11:29:51 +03:00
Alexander Heinrich
53efdedca9
runtime: update g:spellfile_URL to URL used in Vim 8
...
See vim/vim@7ff7846
2020-09-17 13:31:55 +02:00
Thomas Vigouroux
924cab4cef
docs: Move treesitter docs in their own file
2020-09-14 19:04:33 +02:00
TJ DeVries
4a2618c817
doc: Add docs for uri functions ( #12887 )
2020-09-14 09:12:17 -04:00
Stephan Seitz
05c68922d3
Fix typo in treesitter docs: parser directory is parser not parsers
2020-09-13 07:46:39 +02:00
erw7
397be5d380
UI: fix cursor not displayed after hiding and un-hiding #12811
...
- TUI: Fix a case where the cursor was not displayed after hiding the
cursor and then setting it to be displayed again.
- Change to reset everything before setting guicursor.
fixes #12800
close #12811
Steps to reproduce:
nvim -u NORC
:set termguicolors
:hi nCursor guifg=red guibg=red
:hi iCursor guifg=green guibg=green
:hi cCursor guifg=blue guibg=blue
:set guicursor=n:block-nCursor,i:hor25-iCursor,c:ver25-cCursor
:set guicursor-=c:ver25-cCursor
Actual behaviour: Cursor is a blue vertical.
Expected behaviour: Cursor should be the default color block.
2020-09-12 11:42:42 -07:00
Dave Lage
1e10342382
docs: Add hint for :help vim.lsp.buf for new users ( #12886 )
...
* docs: Add hint for :help vim.lsp.buf for new users
* fix: Use help linker for vim.lsp.buf
* docs: Extend full api list language. Move gd to bottom. Add note about limited support
2020-09-12 13:01:14 -04:00
Dave Lage
97c03227c8
docs: Use nvim-lspconfig plugin in lsp docs ( #12885 )
...
* docs: Use nvim-lspconfig plugin in lsp docs
2020-09-12 17:52:30 +02:00
Dave Lage
459f8ad808
docs: Align help docs to match using tab ( #12891 )
2020-09-12 16:48:16 +02:00
Jan Edmund Lazo
df6b49b4ee
vim-patch:8.2.1635: no digraph for 0x2022 BULLET #12876
...
Problem: No digraph for 0x2022 BULLET.
Solution: Use "oo". (Hans Ginzel, closes vim/vim#6904 )
https://github.com/vim/vim/commit/57ad94c5a9ee6f3626e1ec728519a8558a4346c8
2020-09-08 20:45:27 -07:00
TJ DeVries
d8e6a0396a
docs: update ( #12860 )
2020-09-06 19:55:49 -04:00
Justin M. Keyes
c1d395a6d6
UI: forward 'mousefocus' option #12863
...
close #12849
ref eb4aab7173
2020-09-06 11:40:07 -07:00
Thomas Vigouroux
e54c6b077c
treesitter: update docs on predicates
2020-09-06 10:31:47 +02:00
Georgy Komarov
e57ea5f2a9
doc: fix invalid help tags #12745
2020-09-05 22:10:56 -07:00
Justin M. Keyes
858c056133
Support for :perl, :perlfile, :perldo and perleval() ( #12809 )
...
* support for :perl, :perlfile, :perldo and perleval()
* document that the perl provider doesn't currently work on Windows
* document that the perl legacy interface is now also supported
* added perleval() documentation
* import legacy perl interface tests
* only perl 5.22+ is supported
* healtcheck: use g:perl_host_prog if its set instead
using just 'perl' isn't correct as it may not be the version requested.
ditto for 'cpanm', rather go through 'App::cpanminus' to find the latest
perl version
2020-09-05 13:55:06 -07:00
Thomas Vigouroux
3fd6e3b923
treesitter: allow to list supported predicates
2020-09-04 15:24:23 +02:00
Jacques Germishuys
98dea93ba0
only perl 5.22+ is supported
2020-09-03 09:57:59 +01:00
Jacques Germishuys
7725fd9880
added perleval() documentation
2020-09-03 09:57:59 +01:00
Jacques Germishuys
8c6e96bb50
document that the perl legacy interface is now also supported
2020-09-03 09:57:59 +01:00
Jacques Germishuys
a166c2aadb
eval_call_provider(): free unused return value #12819
...
Caller can pass discard=true to free the unwanted return value.
2020-09-01 20:22:42 -07:00
Björn Linse
04ab26b885
Merge pull request #12736 from vigoux/ts-iter-children
...
treesitter: allow to iterate over node children
2020-09-01 10:52:55 +02:00
DDoSolitary
c14a9f6fcc
g 📋 allow command given as a list #12775
...
fixes #12768
2020-09-01 00:27:38 -07:00
Thomas Vigouroux
18217b987f
treesitter: add node:field() to get field children
2020-09-01 08:57:55 +02:00
Thomas Vigouroux
e123fd0a5d
treesitter: allow to iterate over node children
2020-08-31 13:42:30 +02:00
Justin M. Keyes
c2662210b5
docs, remove 'guifontset' #11708
...
- remove redundant autocmd list
This "grouped" list is useless, it only gets in the way when searching
for event names.
- intro.txt: cleanup
- starting.txt: update, revisit
- doc: `:help bisect`
- mbyte.txt: update aliases 1656367b90 . closes #11960
- options: remove 'guifontset'. Why:
- It is complicated and is used by almost no one.
- It is unlikely to be implemented by Nvim GUIs (complicated to parse,
specific to Xorg...).
2020-08-31 00:51:35 -07:00
Jacques Germishuys
dd33725802
document that the perl provider doesn't currently work on Windows
2020-08-30 17:19:05 +01:00
Jacques Germishuys
9bef25314e
support for :perl, :perlfile, :perldo and perleval()
2020-08-30 17:19:05 +01:00