aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp/util.lua
Commit message (Collapse)AuthorAgeFilesLines
* Rename nvim_lsp to lspconfigHirokazu Hata2020-09-061-445/+0
|
* Switch to Lua on_exit callback in util.sh (#302)David Lukes2020-08-301-18/+6
| | | | With neovim/neovim#12507 merged, we can get rid of the hacky global VimL callback :tada:
* Add omnisharp language server (#291)Damien Pontifex2020-08-291-1/+1
| | | | | | | | | | | * first pass at adding omnisharp lsp * Using globpath to expand root_patterns * updated command * make run executable * strip whitespace
* fixJerry Wang2020-06-181-1/+1
|
* init npm repo firstJerry Wang2020-06-181-0/+1
|
* LspInstall: --no-package-lock --no-save --production #198Tan Kian2020-04-281-1/+1
|
* Use builtin terminal for util.sh output (#208)David Lukes2020-04-271-48/+19
| | | | | | | | | | | | | | | | | | | | | close https://github.com/neovim/nvim-lsp/issues/207 close https://github.com/neovim/nvim-lsp/pull/201 Using `termopen()`, `util.sh` gets full terminal functionality for free: - progress bars leveraging `\r` and other more fancy output types (e.g. curses UIs) - interactive prompts - canceling with `Ctrl-C` - etc. The drawback is that currently (see https://github.com/neovim/neovim/issues/7607), the `on_exit` callback for `termopen()`/`jobstart()` *has* to be a VimL function, which means a global VimL function has to be created on-the-fly with a name which hopefully won't clobber anything that's already defined. Like #201, this commit makes sure that the output buffer remains open if the script exits with anything else than 0.
* Merge pull request #178 from h-michael/deep-extendHirokazu Hata2020-03-261-11/+29
|\ | | | | util: add behavior options to tbl_deep_extend function
| * util: add behavior options to tbl_deep_extend functionHirokazu Hata2020-03-221-11/+29
| | | | | | | | | | tbl_deep_extend always override extended table properties. This behavior is not expected. This will fix #155.
* | if root_dir is not directry, we don't execute lsp.start_clientHirokazu Hata2020-03-241-0/+1
|/ | | | | fix: #161. If the buffer is not actual file like the special buffer for the plugin, it doesn't have root_dir and we should not execute lsp.start_client for that buffer.
* Merge pull request #149 from h-michael/override-defaultHirokazu Hata2020-03-101-0/+8
|\ | | | | default_config: let user specify default_config yourself.
| * default_config: let user specify default_config yourself.Hirokazu Hata2020-03-051-0/+8
| | | | | | | | | | If users want to change something like log_level for all servers, changing log_level for all servers is a bit tedious. So we can make this easier by overriding util.default_config.
* | Fix problems when relative paths are passederw72020-03-011-0/+9
|/
* Use empty_dict instead of {}Hirokazu Hata2020-02-161-1/+1
|
* checkhealth: add checkhealth nvim_lsp commandMatthieu Coudron2020-02-131-3/+2
| | | | Only check command for now
* CI: luacheck #86Hirokazu Hata2019-12-311-16/+14
|
* intelephense (PHP) #61Simon Hartcher2019-12-161-0/+15
| | | | * use composer.json for root * prefer cwd unless root is outside cwd
* 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 sumneko_lua installation and util.sh helper. (#49)Ashkan Kiani2019-11-261-0/+61
| | | | | | | | * 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
* Bugfix in settings lookup (#47)Ashkan Kiani2019-11-211-0/+3
|
* Remove -o pipefail for dash compatibilityAshkan Kiani2019-11-211-1/+1
| | | | 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
* Change root_dir for single instance servers (#33)Ashkan Kiani2019-11-171-5/+0
| | | | * Use os_homedir as root_dir for single instance servers.
* Fix docs and add util.once (#31)Ashkan Kiani2019-11-171-0/+5
|
* Redo installation. (#17)Ashkan Kiani2019-11-151-2/+100
| | | | | | | | | | | | | | | * Redo installation. Servers which want to be auto installed should specify skeleton[name].install() and it will be automatically added to the list of installable servers. - Add :LspInstall and :LspInstallInfo - Auto generate docs for servers with .install() available. - Add util.npm_installer - Refactor utf8 capabilities common config into a single function - Add contribution notes. - Also expose util.base_install_dir for other installers potentially - Fix tsserver's arguments and add javascript filetypes
* Add ElmLS (#9)Ashkan Kiani2019-11-141-0/+10
| | | | | | | | | | | | | - 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/+262