Thomas Vigouroux
68d40388f3
Merge pull request #14701 from neovim/marvim/api-doc-update/master
...
docs: regenerate
2021-06-02 08:16:39 +02:00
marvim
2ebc28018e
docs: regenerate
2021-06-02 00:43:13 +00:00
James McCoy
056c464e8a
Merge pull request #14692 from jamessan/api-doc-workflow
...
ci(gha): New workflow to regen API docs on pushes to release branches
2021-06-01 20:40:16 -04:00
Michael Lingelbach
3fe7a04704
Merge pull request #14698 from jose-elias-alvarez/omnifunc-insert-check
...
fix(lsp): check mode in omnifunc callback
2021-06-01 10:13:17 -07: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
Björn Linse
2faa1c361b
Merge pull request #14659 from seandewar/api-win-buf-noautocmd
...
api(nvim_open_win): Enable BufEnter autocmds by default like ordinary window; add "noautocmd" option to block BufEnter.
2021-06-01 10:05:58 +02:00
Folke Lemaitre
0ece34cbb8
fix(lsp): properly handle border character list without highlight groups. Fixes #14691
2021-06-01 09:36:29 +02:00
James McCoy
efef508ec6
ci(gha): New workflow to regen API docs on pushes to release branches
...
Upon pushing updates to files which may contain API documentation, the
workflow will regenerate the docs and, if there are relevant changes,
create a PR targeting the source branch.
[skip ci]
2021-05-31 22:52:44 -04:00
Sean Dewar
db6523cd13
api(parse_float_config): use api_object_to_bool()
2021-06-01 03:05:04 +01:00
Sean Dewar
802f8429d5
api(nvim_open_win): add "noautocmd" option
...
This option, when set, stops nvim_open_win() from potentially firing
buffer-related autocmd events
(BufEnter, BufLeave and BufWinEnter in the case of nvim_open_win()).
2021-06-01 03:05:04 +01:00
Jan Edmund Lazo
27c616d688
Merge pull request #14685 from janlazo/vim-8.2.2911
...
vim-patch:8.1.2400,8.2.{2911,2914.2916}
2021-05-31 22:01:09 -04:00
Jan Edmund Lazo
e8f0ff1d48
Merge pull request #14531 from janlazo/revert-noblock
...
Revert "api/window: use the "noblock" variants in nvim_win_set_buf"
2021-05-31 21:57:44 -04:00
Jan Edmund Lazo
c3ac9c13df
vim-patch:8.2.2916: operators are not fully tested
...
Problem: Operators are not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8290 )
2ac7184d34
2021-05-31 21:37:46 -04:00
Jan Edmund Lazo
2f79caa02d
vim-patch:8.1.2400: test39 is old style
...
Problem: Test39 is old style.
Solution: Convert the test cases into new style. (Yegappan Lakshmanan,
closes vim/vim#5324 )
1f3e7d3bf0
2021-05-31 21:24:31 -04: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
Jan Edmund Lazo
73e3669c7a
vim-patch:8.2.2911: pattern "\%V" does not match all of block selection
...
Problem: Pattern "\%V" does not match all of block selection. (Rick Howe)
Solution: Use the value of vi_curswant. (closes vim/vim#8285 )
e71c0ebe2c
2021-05-31 21:06:10 -04:00
Michael Lingelbach
2a1bc8657a
Merge pull request #14690 from mjlbach/fix_docs
...
fix(docs): delete duplicate tags
2021-05-31 12:01:22 -07: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
Jan Edmund Lazo
a7205e2b70
Merge pull request #14673 from janlazo/vim-8.2.2898
...
vim-patch:8.2.{2898,2900}
2021-05-29 14:08:27 -04:00
Jan Edmund Lazo
ca6a8ac93c
vim-patch:8.2.2900: QuitPre is triggered before :wq writes the file
...
Problem: QuitPre is triggered before :wq writes the file, which is
different from other commands.
Solution: Trigger QuitPre after writing the file. (closes vim/vim#8279 )
1174b018a6
2021-05-29 13:19:22 -04:00
Jan Edmund Lazo
30a34136b6
vim-patch:8.2.2898: QuitPre and ExitPre not triggered when GUI window is closed
...
Problem: QuitPre and ExitPre not triggered when GUI window is closed.
Solution: Call before_quit_autocmds(). (closes vim/vim#8242 )
3552e74289
2021-05-29 09:59:20 -04: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
Michael Lingelbach
192f89ea1b
Merge pull request #14646 from mfussenegger/wipe-floating-markdown-bufs
...
lsp: Ensure floating markdown buffers are deleted on hide
2021-05-26 12:13:58 -07: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
James McCoy
0b905be47b
Merge pull request #14607 from glacambre/fix_get_all_options_info_crash
...
[RDY] Generate PARAM_COUNT macro
2021-05-26 10:30:20 -04:00
Jan Edmund Lazo
fd91e73c57
Merge pull request #14640 from janlazo/vim-3ec3217f0491
...
vim-patch:3ec3217f0491,8.2.{2278,2885}
2021-05-26 09:13:30 -04:00
glacambre
0c8454f5bc
Fix crash on :echo get_all_options_info()
...
Iterating over PARAM_COUNT is wrong as PARAM_COUNT also counts the last
element of the options array, which has a NULL fullname in order to
signal the end of the array.
2021-05-26 07:07:11 +02:00
Jan Edmund Lazo
a7061359b7
vim-patch:8.2.2278: falling back to old regexp engine can some patterns
...
Problem: Falling back to old regexp engine can some patterns.
Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
(Christian Brabandt, closes vim/vim#7572 )
66c50c5653
2021-05-26 00:39:55 -04:00
Jan Edmund Lazo
7e0d50b16e
vim-patch:8.2.2885: searching for \%'> does not match linewise end of line
...
Problem: searching for \%'> does not match linewise end of line. (Tim Chase)
Solution: Match end of line if column is MAXCOL. (closes vim/vim#8238 )
872bee557e
2021-05-26 00:16:32 -04: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
a282a177d3
Merge pull request #14634 from janlazo/vim-8.2.2880
...
vim-patch:8.2.{511,1689,1957,2880,2884}
2021-05-24 16:59:14 -04:00
Jan Edmund Lazo
370e65ed7c
vim-patch:8.2.2884: not enough cscope code is covered by tests
...
Problem: Not enough cscope code is covered by tests.
Solution: Add a few test cases. (Dominique Pellé, closes vim/vim#8246 )
1e469c72ee
2021-05-24 15:36:30 -04:00
Jan Edmund Lazo
25a088b0ad
vim-patch:8.2.0511: Cscope code not fully tested
...
Problem: Cscope code not fully tested.
Solution: Add more test cases. (Dominique Pelle, closes vim/vim#5886 )
d7ffc0ba8c
2021-05-24 15:25:32 -04:00
Jan Edmund Lazo
1b0937dd89
test/old: partial port of patch v8.2.1.0183
...
Prep for patch v8.2.0511.
2021-05-24 15:25:32 -04:00
Jan Edmund Lazo
529d88c641
vim-patch:8.2.1689: 'colorcolumn' doesn't show in indent
...
Problem: 'colorcolumn' doesn't show in indent.
Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
(Alexey Demin, closes vim/vim#6948 , closes vim/vim#6619 )
ad5e5631c5
2021-05-24 13:13:00 -04:00
Jan Edmund Lazo
db3136d2ea
vim-patch:8.2.1957: diff and cursorcolumn highlighting don't mix
...
Problem: Diff and cursorcolumn highlighting don't mix.
Solution: Fix condition for what attribute to use. (Christian Brabandt,
closes vim/vim#7258 , closes vim/vim#7260 )
fabc3ca896
2021-05-24 12:53:27 -04:00
Jan Edmund Lazo
6d932ccb1c
vim-patch:8.2.2880: unified diff fails if actually used
...
Problem: Unified diff fails if actually used.
Solution: Invoke :diffupdate in the test. Fix the check for working external
diff. (Ghjuvan Lacambre, Christian Brabandt, closes vim/vim#8197 )
ad5c178a19
2021-05-24 12:38:02 -04: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