aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload/provider
Commit message (Collapse)AuthorAge
...
* node/provider: support g:node_host_prog #8135chemzqm2018-03-15
|
* Add provider#Poll() to handle starting and polling the providerJames McCoy2018-02-16
|
* provider: Safely access job.stderr in #RequireJames McCoy2018-02-16
| | | | | | | | | | | | If `jobstart()` fails, then the subsequent `rpcrequest()` will throw due to an invalid channel id. This causes `job.stderr` not to exist, so we throw another exception when trying to dump the job's stderr. Error detected while processing function remote#define#AutocmdBootstrap[1]..remote#host#Require[10]..provider#pythonx#Require: line 22: E716: Key not present in Dictionary: stderr This obfuscates the actual problem.
* provider: ruby: Use stderr_buffered to collect stderrJames McCoy2018-02-16
|
* macOS: Use `pbpaste` to detect a working clipboard (#7983)Marco Hinz2018-02-08
| | | `pbcopy` writes to the clipboard, it should not be used to sanity-check the clipboard.
* clipboard: macOS: fallback to tmux if pbcopy is broken #7940Justin M. Keyes2018-01-31
| | | | | | | | On some versions of macOS, pbcopy doesn't work in tmux <2.6 https://superuser.com/q/231130 Fallback to tmux in that case. Add a healthcheck for this scenario.
* health.vim: remove :CheckHealth commandJustin M. Keyes2017-12-27
| | | | | | | | | For back-compat, :CheckHealth runs :checkhealth. But don't define :CheckHealth explicitly, it adds noise to wildmenu completion. Completion of healthchecks doesn't yet work with :checkhealth, this is a regression but it needs to be implemented for :checkhealth rather than keeping :CheckHealth around.
* provider: delete vimL stderr collector, now that it exists builtinBjörn Linse2017-12-23
|
* provider/nodejs: more robust version-check (#7738)Justin M. Keyes2017-12-18
|
* provider/nodejs: check version in Detect()Justin M. Keyes2017-12-17
|
* ci: nodejs client acceptance-test #7706Jan Edmund Lazo2017-12-17
| | | | | | | | | | | | | | | | | | | | | | | | ci: install nodejs 8 in Appveyor, Travis provider: check node version for debug support Resolve https://github.com/neovim/neovim/pull/7577#issuecomment-350590592 for Unix. provider: test if nodejs in ci supports --inspect-brk nodejs host for neovim requires nodejs 6+ to work properly. nodejs 6.12+ or 7.6+ is required for debug support via `node --inspect-brk`. provider: run cli.js of nodejs host directly npm shims are useless because the user cannot set node to debug mode via --inspect-brk. This is problematic on Windows which use batchfiles and shell scripts to compensate for not supporting shebang. The patch uses `npm root -g` to get the absolute path of the global npm modules. If that fails, then the user did not install neovim npm package globally. Use that absolute path to find `neovim/bin/cli.js`, which is what the npm shim actually runs with node. glob() is for a simple file check in case bin/ is removed because the npm shims are ignored now.
* provider: fix batchfile extension for ruby gem (#7651)Jan Edmund Lazo2017-11-29
| | | | | | | | | | | ruby uses batchfiles with 'cmd' extension. gem creates batchfiles with 'bat' extension. `gem install rails` does the following in Windows (not Cygwin): 1. Run `gem.cmd install rails` on cmd.exe 2. gem.cmd runs `ruby.exe -x gem install rails` 3. `rails` gem is installed. `rails.bat` is created in the same directory where ruby.exe and gem.cmd reside.
* Revert "provider: delete vimL stderr collector, now that it exists builtin"Björn Linse2017-11-27
| | | | | | | This change exposed a memory issue with buffered channels, possibly involving GC. Revert until it has been fixed. This reverts commit 0de019b6a65c6dd5141b7e002343df3689065ce7.
* provider: delete vimL stderr collector, now that it exists builtinBjörn Linse2017-11-26
|
* win: provider: Detect(): return *.cmd path (#7577)Jan Edmund Lazo2017-11-17
| | | | | | | neovim-ruby-host is a ruby script. neovim-node-host is a shell script. Both don't work in cmd.exe so gem and npm provide batchfile shims. Return the full path of these shims, cmd.exe knows better what to do with these files.
* use `provider#stderr_collector`Billy Vong2017-10-31
|
* remote: add node.js as a remote plugin providerBilly Vong2017-10-29
|
* doc: replace ":CheckHealth" with ":checkhealth"Justin M. Keyes2017-10-17
|
* clipboard: disallow recursion; show hint only once (#7203)Justin M. Keyes2017-08-22
| | | | | | | | - Show hint only once per session. - provider#clipboard#Call(): prevent recursion - provider#clear_stderr(): use has_key(), because :silent! is still captured by :redir. closes #7184
* clipboard: test g:clipboard validation, fix a bugJustin M. Keyes2017-08-20
| | | | Also fix `:help foo` highlighting in health.vim
* clipboard: avoid error flood during :redirJustin M. Keyes2017-08-20
| | | | | | | | | | | | | | | | | | redir_write(): - This is a "batch" operation which was not yet covered by start_batch_changes() adjust_clipboard_name(): - msg() and friends during :redir will, of course, cause redir_write() to try to capture that message, which causes recursion. - EMSG() here is trouble: if it interrupts :redir it is a mess. Rather than deal with the mess, show a non-error message. closes #7182 closes #7184 closes #7183 ref #6048 ref #7032
* provider: clipboard: Only report stderr if the job failedJames McCoy2017-07-24
| | | | Closes #7054
* provider: Extra pythonx's stderr handling to common functionsJames McCoy2017-07-24
|
* provider/clipboard.vim: fix logic issue #7042Andy Russell2017-07-17
| | | | Closes #7039
* provider/clipboard.vim: capture/display errors (#6684)Andy Russell2017-07-15
| | | | | | TODO: handle errors in the `get`. systemlist() should take an options dictionary like jobstart(), which may specify a stderr handler. References #6565
* provider/clipboard.vim: Handle missing g:clipboard keysJustin M. Keyes2017-06-28
|
* provider/clipboard.vim: allow configuration #6030Justin M. Keyes2017-06-27
| | | | Closes #6029
* runtime: Allow overriding ruby host with g:ruby_host_progAlex Genco2017-06-17
| | | | | | | This allows users who have per-project Ruby versions (e.g. with `rvm`) to pin to a particular gem installation. For example: `let g:ruby_host_prog = 'rvm system do neovim-ruby-host'`
* provider/clipboard: add tmux support (#6894)Xu Cheng2017-06-15
|
* Make script_host.rb rubocop-cleanMarco Hinz2017-05-03
| | | | | | | | | | | | | | | | | | Fix the following issues according to rubocop: runtime/autoload/provider/script_host.rb:2:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols. require "neovim/ruby_provider" ^^^^^^^^^^^^^^^^^^^^^^ runtime/autoload/provider/script_host.rb:5:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols. "Your neovim RubyGem is missing or out of date. " + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ runtime/autoload/provider/script_host.rb:5:55: C: Use \ instead of + or << to concatenate those strings. "Your neovim RubyGem is missing or out of date. " + runtime/autoload/provider/script_host.rb:6:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols. "Install the latest version using `gem install neovim`." ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This commit assumes Ruby 2.0.0+.
* health.vim: Set 'iskeyword' to that of ft=help.Justin M. Keyes2017-04-19
|
* providers: Disable if `g:loaded_*` exists.Justin M. Keyes2017-02-14
| | | | | | | | | The exists('g:loaded_foo') convention is rather common, and may be relied upon in some cases. It's also very unlikely that a user or plugin has any reason to set g:loaded_foo to zero, so the principle of least surprise can be brushed aside here. https://github.com/neovim/neovim/issues/6107#issuecomment-279532143
* health.vim: Do not check intentionally disabled providers.Justin M. Keyes2017-02-13
| | | | Closes #6107
* Windows: Clipboard provider win32yankRui Abreu Ferreira2017-01-20
|
* clipboard: only check for pbcopy on macOS (#5927)Marco Hinz2017-01-11
| | | Fixes #5926.
* provider: add Python 3.6 (#5886)Marco Hinz2017-01-05
|
* provider/clipboard.vim: fallback if xsel is broken (#5868)Justin M. Keyes2017-01-04
| | | | | | Old versions of `xsel` do not support some required features. Fall back to `xclip` then. Closes #5853
* clipboard: show error message only once and put in history (#5870)Marco Hinz2017-01-04
|
* Remove g:python{,3}_host_skip_check (#5738)Marco Hinz2016-12-09
| | | | | | | | | | | | | | | This option simplifies the configuration options: 1) `g:python{,3}_host_prog` is not set. Neovim tries its best to find a suitable interpreter. This means calling exepath(), potentially multiple times, and a system('python -c ...') with the first found interpreter, to get the Python version. 2) `g:python{,3}_host_prog` is set. Avoids everything of the above. No safety checks, no training wheels. Fast host startup time!
* provider/clipboard.vim: never show a warning on sourcingMarco Hinz2016-11-02
| | | | | | Never throw an error when provider/clipboard.vim is sourced for the first time. Save the error instead and expose it via `provider#clipboard#Error()`, mimicking provider/python.vim.
* provider/clipboard.vim: refactorMarco Hinz2016-11-02
|
* job control: reuse common job code for rpc jobsBjörn Linse2016-08-20
| | | | This makes stderr and exit callbacks work for rpc jobs
* clipboard: fix v:register when clipboard=unnamed,unnamedplusBjörn Linse2016-07-12
|
* Merge #4980 'Support legacy `:ruby` commands'.Justin M. Keyes2016-07-10
|\
| * Add :ruby, :rubyfile, and :rubydo ex commandsAlex Genco2016-07-02
|/
* doc/python: cleanupJustin M. Keyes2016-06-15
| | | | | | - Move info to providers.txt - Remove "nvim-" prefix. - Brevity, clarity, ...
* doc: cleanupJustin M. Keyes2016-06-15
|
* doc/clipboard: cleanupJustin M. Keyes2016-06-15
|
* runtime: clipboard: start daemons in /Aleksa Sarai2016-06-07
| | | | | | | | This avoids the issue of nvim started daemons causing mountpoints to be unmountable. This is currently the only place in runtime/ where this calling convention occurred. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
* Merge pull request #4830 from blueyed/proider-pythonx-handle-127Justin M. Keyes2016-05-28
|\ | | | | provider/pythonx: handle exit code 127 from pyenv