mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
3f1d09bc94
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()`. |
||
---|---|---|
.. | ||
lsp | ||
ccomplete_spec.lua | ||
cfilter_spec.lua | ||
editorconfig_spec.lua | ||
health_spec.lua | ||
lsp_spec.lua | ||
man_spec.lua | ||
matchparen_spec.lua | ||
msgpack_spec.lua | ||
shada_spec.lua | ||
tohtml_spec.lua | ||
tutor_spec.lua | ||
vim_syntax_spec.lua |