neovim/test/functional
Lewis Russell 3f1d09bc94 feat(lsp): add vim.lsp.config and vim.lsp.enable
Design goals/requirements:
- Default configuration of a server can be distributed across multiple sources.
  - And via RTP discovery.
- Default configuration can be specified for all servers.
- Configuration _can_ be project specific.

Solution:

- Two new API's:
  - `vim.lsp.config(name, cfg)`:
    - Used to define default configurations for servers of name.
    - Can be used like a table or called as a function.
    - Use `vim.lsp.confg('*', cfg)` to specify default config for all
      servers.
  - `vim.lsp.enable(name)`
    - Used to enable servers of name. Uses configuration defined
    via `vim.lsp.config()`.
2024-12-10 17:16:01 +00:00
..
api Merge pull request #31475 from luukvbaal/delgravity 2024-12-07 12:06:58 +01:00
autocmd test(autocmd/termxx_spec): fix TextChangedT test flakiness (#31296) 2024-11-22 08:08:12 +08:00
core test(main_spec): make "nvim -v" test agnostic to build type 2024-12-03 06:31:09 -05:00
editor fix(completion): avoid deleting text when completion leader changes #31448 2024-12-06 04:07:52 -08:00
ex_cmds fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
fixtures fix(lsp): retrigger diagnostics request on server cancellation (#31345) 2024-11-25 11:48:11 -06:00
legacy vim-patch:9.1.0908: not possible to configure :messages (#31492) 2024-12-07 02:17:36 +00:00
lua fix(lua): avoid vim._with() double-free with cmdmod (#31505) 2024-12-08 09:25:43 +08:00
options fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
plugin feat(lsp): add vim.lsp.config and vim.lsp.enable 2024-12-10 17:16:01 +00:00
provider docs: misc (#31138) 2024-11-21 06:50:30 +08:00
script refactor(lsp): rename offset_encoding to position_encoding #31286 2024-11-25 08:06:05 -08:00
shada refactor(api)!: rename Dictionary => Dict 2024-09-23 14:42:57 +02:00
terminal defaults: disable 'number', 'relativenumber', and 'signcolumn' in terminal buffers (#31443) 2024-12-04 08:40:01 -06:00
testnvim test: move exec_lua logic to separate module 2024-11-21 11:35:16 +00:00
treesitter fix(treesitter): #trim! range for nodes ending at col 0 #31488 2024-12-07 03:01:59 -08:00
ui fix(messages): no message kind for :write messages #31519 2024-12-10 02:39:41 -08:00
vimscript fix(messages)!: vim.ui_attach message callbacks are unsafe 2024-11-14 13:23:11 +01:00
example_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
preload.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
testnvim.lua test: move exec_lua logic to separate module 2024-11-21 11:35:16 +00:00
testterm.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00