aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload/provider
Commit message (Collapse)AuthorAge
...
* 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
| * provider/pythonx: handle exit code 127 from pyenvDaniel Hahler2016-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | This also checks the major/min version only for expected return codes. With pyenv, you might get the following (return code 127): pyenv: python3.4: command not found The `python3.4' command exists in these Python versions: 3.4.3 3.4.3/envs/tmp-3.4.3-eElS6Y tmp-3.4.3-eElS6Y
* | provider/pythonx: use robust comparison (via vint)Daniel Hahler2016-05-28
|/
* clipboard: support "doit" toolJoel D. Elkins2016-05-15
|
* clipboard: support "lemonade" toolShougo Matsushita2016-04-17
|
* python: move script_host.py to python-clientBjörn Linse2016-03-15
|
* Ruby remote plugin supportAlex Genco2016-03-10
|
* rplugin: Initialize remote plugins lazily. #4384Shougo Matsushita2016-03-10
|
* clipboard: Check $DISPLAY. Prefer xsel. #4150Shougo Matsushita2016-02-05
|
* clipboard: Detach clipboard helper, so contents is kept after nvim exitBjörn Linse2016-01-20
|
* python: Add missing I/O methods to RedirectStreamDan Strokirk2016-01-18
| | | | | | | | | | | `RedirectStream` is used to redirect `stdout` and `stderr`, but are missing certain I/O methods available on other file-like objects. This causes external plugins (like `colorama`) to crash. Inheriting from `io.IOBase` adds an abstract implementation of these methods, which will at least keep the python code running. Fixes #4045
* runtime/autoload/provider/python{,3}.vim: fix E168Daniel Hahler2015-11-03
| | | | Do not use `finish` inside of `provider#python{,3}#Call`, but `return`.
* provider/pythonx: Improve detection code and error messages.Florian Walch2015-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | "python -c" returns 1 in case of an error. Use a return code of 2 if the Neovim module is not found to distinguish these cases. Verify the interpreter version before checking for an installed Neovim module. Show a new error message if the Python interpreter version is below the minimum required version. Always use "pkgutil" to determine if the Neovim module is installed. In contrast to "importlib", which was used for Python 3, "pkgutil.find_loader" is available for all Python versions [1,2]. "pkgutil.find_loader" internally uses "importlib" for Python >= 3.3 [2]. Also, the previously used "importlib.find_loader" is only available since Python 3.3 (so checking the major Python version was not enough) and deprecated since Python 3.4 [3]. Finally, conditioning on the major version in Vimscript was incorrect, as checking the Neovim module for a certain Python major version does not mean that the tested interpreters are actually of that version. For example, we test the "python" executable, which is Python 2 on Ubuntu and Python 3 on Arch Linux. [1] https://docs.python.org/2/library/pkgutil.html#pkgutil.find_loader [2] https://docs.python.org/3/library/pkgutil.html#pkgutil.find_loader [3] https://docs.python.org/3/library/importlib.html#importlib.find_loader
* python: remove current working directory from pathJakob Schnitzer2015-09-14
| | | | | | | | | | Before, running Nvim in a directory containing a Python module `neovim`, or one that is imported by it or a plugin, will load that module and not the system one. So Nvim might be tricked into running arbitrary scripts from the current working directory. Fixes #1665 Fixes #2530
* provider/pythonx.vim: Use shell-agnostic construction. #3190sanmiguel2015-08-21
|
* Merge pull request #2910 from blueyed/python-fix-path_hookJustin M. Keyes2015-08-17
|\ | | | | Python: fixes for sys.path_hooks handler
| * python: VimPathFinder: remove unused load_module methodDaniel Hahler2015-07-09
| | | | | | | | This method was not used, but `VimModuleLoader.load_module` is.
| * python: path_hook: properly implement PEP302Daniel Hahler2015-07-09
| | | | | | | | | | | | | | | | | | | | | | The path hook used to load the module already in the `find_module` hook. This caused different behaviour between Python 2.7 and 3.3, where the former would call the `VimModuleLoader`, while Python 3.3 appears to short-circuited this (because the module was loaded already). This patch will now only find the module, but not load it in the `find_module` hook.
| * python: VimModuleLoader: check sys.modules[fullname]Daniel Hahler2015-07-09
| | | | | | | | This is required by PEP302 for `reload()`ing modules.
| * python: VimPathFinder: use find_spec for Python 3.4Daniel Hahler2015-07-09
| | | | | | | | Fixes https://github.com/neovim/neovim/issues/2909
* | clipboard: support clipboard=unnamedplus,unnamedBjörn Linse2015-08-07
| |
* | python3: remove decoding logic, as this is now done in plugin host #3026Björn Linse2015-07-18
|/ | | | | DecodeHook isn't needed since neovim/python-client#53 rpc methods won't pass bytes anymore, ref neovim/python-client#129
* clipboard: avoid redundant error message on `clipboard_get` failure .Björn Linse2015-06-25
| | | | | | Fixes #2712 Helped-By: Michael Reed <m.reed@mykolab.com>
* clipboard: keep track of ownership and cache clipboard data locallyBjörn Linse2015-06-25
| | | | Helped-By: Justin M. Keyes <justinkz@gmail.com>
* clipboard: don't use &shell in clipboard providerBjörn Linse2015-06-25
|
* provider/pythonx: Show absolute path to executable in error message.Florian Walch2015-06-09
|
* provider/pythonx: Merge s:check_version() and s:check_interpreter().Florian Walch2015-06-09
|