| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
`nvim_lsp/skeleton.lua` is not really a skeleton, it's a `configs`
class that provides
1. actual functionality
2. a bunch of configs
Each config is added to the `configs` object (FKA "skeleton") as
a property. Those configs are not "templates", they are "configs". So we
should clean up the wording in various places to say "config" instead of
"skeleton"/"template".
Closes #64
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Nvim built-in lsp client can handle `initializeOptions` as init_options.
But nvim-lsp can't give init_options to lsp.start_client.
Not all language servers implement `workspace/didChangeConfiguration` now .(ex, gopls)
If we use those servers, we get 'not yet implement' error message.
So if config.settings is empty list, we don't request `workspace/didChangeConfiguration`.
For reference, other client impls:
- https://github.com/prabirshrestha/vim-lsp/blob/f769a450b2b96d517610f0e69408c2ebd5cb4214/autoload/lsp.vim#L355-L356
https://github.com/autozimu/LanguageClient-neovim/blob/5d0b1528f2e5d524a739277b4a1623bcfc0e8688/src/language_server_protocol.rs#L3059-L3070
- https://github.com/natebosch/vim-lsc/blob/bef6e960731f1a2b8797dfee29a14e5a650013ca/autoload/lsc/server.vim#L128-L143
https://github.com/prabirshrestha/vim-lsp/blob/f769a450b2b96d517610f0e69408c2ebd5cb4214/autoload/lsp.vim#L461-L519
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Lua is easy to use from Vimscript, there is no reason to have multiple
ways to work with nvim-lsp.
- massively clarifies the "story" that users need to comprehend
- reduces surface area, maintenance, tests
- avoids constant "Vim or Lua" dance in the documentation
- simplifies discussions, tutorials, etc.
- avoids confusing situation for users that start with Vimscript but
later need Lua-only features
|
| |
|
|
|
|
|
|
| |
* Add vscode name for leanls
* Add vscode name for fortls
* Add vscode name for solargraph
* Add vscode name for ccls
* Add vscode name for elmls
* Update for new lsp.callbacks and add note.
|
| | |
|
| |
|
|
| |
- Add client.workspace_did_change_configuration()
- Notify settings on init.
|
| |
|
|
| |
Fixes neovim/nvim-lsp#39.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Initial add of elmLS support
- Removes unnecessary vim.schedule_wrap fn calls in elmls & clangd impls
- Add automatic installation for elmls and update docs.
- Sort server output in the README.
- Add commands for elmls for buffer and globally.
- [bugfix] Skeleton could've tried to attach even if root_dir was nil
TODO: check for updates and warn the user if there are updates when an elm server is started.
Co-authored-by: Seth Messer <seth.messer@gmail.com>
|
| |
|