1
mirror of https://github.com/neovim/neovim.git synced 2025-01-01 17:23:36 -07:00
neovim/runtime
Yi Ming d5063f4b29
feat(lsp): vim.lsp.inlay_hint.enable(nil) applies to all buffers
Problem:
Inlay hints `enable()` does not fully implement the `:help dev-lua` guidelines:

    Interface conventions ~
    - When accepting a buffer id, etc., 0 means "current buffer", nil means "all
      buffers".  Likewise for window id, tabpage id, etc.
      - Examples: |vim.lsp.codelens.clear()| |vim.diagnostic.enable()|

Solution:
Implement globally enabling inlay hints.
* refactor(lsp): do not rely on `enable` to create autocmds
* refactor(lsp): make `bufstates` a defaulttable
* refactor(lsp): make `bufstate` inherit values from `globalstate`
* feat(lsp): `vim.lsp.inlay_hints` now take effect on all buffers by default
* test(lsp): add basic tests for enable inlay hints for all buffers
* test(lsp): add test cases cover more than one buffer
2024-05-02 06:16:20 -07:00
..
autoload vim-patch:08d2401fbc6d 2024-04-04 10:29:58 +02:00
colors fix(treesitter): document more standard highlight groups 2024-03-19 09:41:16 +01:00
compiler vim-patch:79952b9c6774 2024-04-27 11:01:14 +02:00
doc feat(lsp): vim.lsp.inlay_hint.enable(nil) applies to all buffers 2024-05-02 06:16:20 -07:00
ftplugin vim-patch:9.1.0386: filetype: stylus files not recognized 2024-05-02 00:37:16 +02:00
indent vim-patch:9.1.0386: filetype: stylus files not recognized 2024-05-02 00:37:16 +02:00
keymap vim-patch:caee7956a21a 2023-11-05 21:56:56 +01:00
lua feat(lsp): vim.lsp.inlay_hint.enable(nil) applies to all buffers 2024-05-02 06:16:20 -07:00
macros vim-patch:79230f027a25 2024-02-16 08:57:45 +01:00
pack/dist/opt vim-patch:d3c0ff5d5a90 2024-03-24 10:32:07 +01:00
plugin feat(defaults): add :Inspect to right-click menu () 2024-04-05 18:08:54 +08:00
queries fix(treesitter): update parsers and queries 2024-04-05 18:36:17 +02:00
spell
syntax vim-patch:9.1.0386: filetype: stylus files not recognized 2024-05-02 00:37:16 +02:00
tools
tutor docs: fix typos () 2024-03-28 09:32:32 +08:00
CMakeLists.txt build: various fixes 2024-02-01 12:06:55 +01:00
delmenu.vim vim-patch:e978b4534a5e () 2023-08-13 13:25:10 +01:00
filetype.lua fix(filetype): use unexpanded file name () 2024-03-23 11:46:23 +08:00
ftoff.vim vim-patch:e978b4534a5e () 2023-08-13 13:25:10 +01:00
ftplugin.vim vim-patch:e978b4534a5e () 2023-08-13 13:25:10 +01:00
ftplugof.vim vim-patch:e978b4534a5e () 2023-08-13 13:25:10 +01:00
indent.vim vim-patch:e978b4534a5e () 2023-08-13 13:25:10 +01:00
indoff.vim vim-patch:e978b4534a5e () 2023-08-13 13:25:10 +01:00
macmap.vim
makemenu.vim vim-patch:9.1.0013: Modula2 filetype support lacking () 2024-01-16 17:45:57 +00:00
menu.vim vim-patch:e059fae10044 2023-08-24 11:33:06 +09:00
mswin.vim vim-patch:45da32964d6e 2024-03-14 15:04:31 +08:00
neovim.ico
nvim.appdata.xml docs: add wiki FAQ to the runtime documentation () 2023-12-13 17:31:39 +01:00
nvim.desktop
nvim.png
optwin.vim vim-patch:9.1.0147: Cannot keep a buffer focused in a window 2024-03-11 11:38:13 +08:00
synmenu.vim vim-patch:9.1.0013: Modula2 filetype support lacking () 2024-01-16 17:45:57 +00:00