aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add dartls lua scripttms2020-02-071-0/+42
| |
* | vue-language-server #117Hirokazu Hata2020-02-091-0/+127
|/
* clangd: fix root_dir problem #114erw72020-02-051-2/+5
| | | | | | | | | | | | | | | - On Windows an error occurred (#113). - On non-Windows, it was always the directory where the file located. Since 638dad178311e the following error occurs when opening a C source file on Windows: E5108: Error executing lua shared.lua:427: root_dir: expected directory, got C:\msys64\home\erw7\src\github.com\neovim\neovim\src\nvim\tui\tui.c On Windows, the following result does not seem to be `nil`. vim.loop.fs_stat('C:\\Windows\\System32\\notepad.exe\\.') fix #113
* julials #91Dheepak Krishnamurthy2020-02-051-0/+53
|
* jsonls (vscode-json-languageserver) #85Hirokazu Hata2020-02-021-0/+54
|
* nvim_lsp.lua: lazy require language server modules (#109)Hirokazu Hata2020-02-021-27/+3
|
* doc #108Justin M. Keyes2020-01-311-13/+13
| | | | - mention :packadd - more renames
* pyls_ms: bump auto-install version #99Michael Lingelbach2020-01-311-1/+1
|
* configs.__newindex(): set init_options to empty dictJan2020-01-311-1/+1
| | | | | | | | | | | | | | Problem: Sending default initOptions to ra_lsp_server the init options emits error: "failed to deserialize config: invalid length 0, expected struct ServerConfig with 12 elements" when receiving an empty initializationOptions from vim.lsp. Solution: Use an empty dict instead of empty list for default_config.init_options LSP spec says initOptions must be a dictionary. fix #94 fix #107
* rename "skeleton" to "configs"Justin M. Keyes2020-01-311-4/+4
| | | | | ref b487481e19ab ref #100
* rename "skeleton" to "configs" #100Michael Lingelbach2020-01-3127-107/+107
| | | | | | | | | | | | | | `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
* clangd: fallback root_dir to CWD #105Eisuke Kawashima2020-01-271-2/+2
| | | c.f. #44
* Update coursier url (#104)Chris Kipp2020-01-261-1/+1
|
* metals (75Fernando Garcia Borges2020-01-252-0/+80
| | | | Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
* yaml-language-server #88Hirokazu Hata2020-01-052-0/+51
|
* terraform-lsp #90Hirokazu Hata2020-01-052-0/+27
|
* 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
* CI: luacheck #86Hirokazu Hata2019-12-317-38/+35
|
* vimls #84Michael Lingelbach2019-12-282-0/+65
|
* Add ocamlls (#76)Fernando Garcia Borges2019-12-272-0/+49
|
* flow: set package.json #79Hirokazu Hata2019-12-241-0/+1
|
* pyls_ms: add documentation, fix os check #78Michael Lingelbach2019-12-221-3/+13
|
* intelephense (PHP) #61Simon Hartcher2019-12-163-0/+88
| | | | * use composer.json for root * prefer cwd unless root is outside cwd
* sumneko_lua: add macOS support to installer #71JINNOUCHI Yasushi2019-12-161-8/+28
|
* pyls_ms: Fix OS detection #72JINNOUCHI Yasushi2019-12-161-3/+3
| | | vim.fn.has('xxx') returns 1 or 0 that both are true in lua.
* dockerls: Fix names #73JINNOUCHI Yasushi2019-12-161-4/+4
|
* doc: fix copypastaJustin M. Keyes2019-12-091-2/+1
|
* Fix typo in dockerls (#67)Ahmed El Gabri2019-12-081-2/+1
|
* remove Vimscript wrapper nvim_lsp#setup()Justin M. Keyes2019-12-086-13/+10
| | | | | | | | | | | | 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
* :LspInstall : set complete fn to Lua fnJustin M. Keyes2019-12-081-7/+2
| | | | | The sid() hack didn't work on my system, and we can reference Lua global functions meanwhile.
* implement "ghcide" #59rektrex2019-11-302-0/+28
|
* Add docker lsp (#56)Ahmed El Gabri2019-11-292-0/+52
|
* pyls_ms: Microsoft Python Language Server #57Michael Lingelbach2019-11-292-0/+127
|
* Add support for rust-analyzer (#43)csmoe2019-11-262-0/+29
| | | | * add support for rust-analyzer * add rust-analyzer package json
* Add docs and vscode names. (#53)Ashkan Kiani2019-11-266-3/+10
| | | | | | | | * 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 support for lean language server (#51)Felipe Morales2019-11-262-0/+27
|
* Add support for fortls (#52)Eisuke Kawashima2019-11-262-0/+30
|
* Add sumneko_lua installation and util.sh helper. (#49)Ashkan Kiani2019-11-265-1/+170
| | | | | | | | * Add sumneko_lua installation and util.sh helper. * Add vspackage extraction for package.json information via vscode name. * Allow specifying a tempdir at DOCGEN_TEMPDIR * Fix on_new_config and add docs for root_dir * User settings titles are not always useful
* Merge pull request #46 from neovim/fix-lsp-followupBjörn Linse2019-11-241-1/+1
|\ | | | | Fixes for new LSP changes
| * Fixes for new LSP changesAshkan Kiani2019-11-211-1/+1
| |
* | Bugfix in settings lookup (#47)Ashkan Kiani2019-11-211-0/+3
|/
* 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-212-2/+2
| | | | Fixes neovim/nvim-lsp#39.
* Fix iterate_parents infinite loop on Windows (#42)erw72019-11-201-3/+6
| | | | | | | | | - Fix the problem that Windows identification fails because uv.os_uname().sysname is different between MSVC(Windows_NT) and MINGW(MINGW32_NT-XX.X). - Fixes an issue where is_fs_root() does not return true in the root directory because dirname() returns a value (such as C:) that does not include the last path_sep. - Fix problem where path_join('/', 'home') return '//home'.
* Update util.lua (#38)yangyangxcf2019-11-201-1/+1
| | | `api.nvim_err_writeln` expected only 1 argument
* Add support solargraph (#37)Hirokazu Hata2019-11-192-0/+32
|
* Add css lsp (#36)Mike Hartington2019-11-192-0/+61
|
* Add package_json for pyls and update docgen (#32)Ashkan Kiani2019-11-171-37/+2
|
* Change root_dir for single instance servers (#33)Ashkan Kiani2019-11-174-8/+3
| | | | * Use os_homedir as root_dir for single instance servers.
* Fix docs and add util.once (#31)Ashkan Kiani2019-11-175-9/+10
|