aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp/skeleton.lua
Commit message (Collapse)AuthorAgeFilesLines
* rename "skeleton" to "configs" #100Michael Lingelbach2020-01-311-185/+0
| | | | | | | | | | | | | | `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
* skeleton.setup(): pass init_options #89Hirokazu Hata2020-01-051-1/+5
| | | | | | | | | | | | | | | 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
* remove Vimscript wrapper nvim_lsp#setup()Justin M. Keyes2019-12-081-1/+1
| | | | | | | | | | | | 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 docs and vscode names. (#53)Ashkan Kiani2019-11-261-1/+3
| | | | | | | | * 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.
* Fixes for new LSP changesAshkan Kiani2019-11-211-1/+1
|
* Add workspace/didChangeConfiguration support. (#30)Ashkan Kiani2019-11-211-0/+15
| | | | - Add client.workspace_did_change_configuration() - Notify settings on init.
* Remove -o pipefail for dash compatibilityAshkan Kiani2019-11-211-1/+1
| | | | Fixes neovim/nvim-lsp#39.
* Add ElmLS (#9)Ashkan Kiani2019-11-141-2/+4
| | | | | | | | | | | | | - 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>
* Rename to nvim_lsp and nvim-lsp.Ashkan Kiani2019-11-141-0/+162