aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
Commit message (Collapse)AuthorAge
...
* | man.vim: s:get_path(): trim newline in all casesJustin M. Keyes2018-05-10
| | | | | | | | ref #8372
* | man.vim: get() first item if -w returns multiple paths #8372Jon Bernard2018-05-10
|/ | | | | | | | | OpenBSD's man returns all candidates when searching with -w instead of the first one it finds. So this patch takes the first one if multiple entries are found. closes #8372 closes #8341
* health#provider: fix sys.path for PythonDaniel Hahler2018-04-30
| | | | | | | Remove "" from sys.path (typically the first entry), which could cause e.g. "logging" to be added from the current directory. This gets done already for loading the host in runtime/autoload/provider/pythonx.vim.
* health#provider: improve error reportingDaniel Hahler2018-04-30
| | | | | - quote command, so that e.g. markdown handling is not applied to `__init__.py` - include cwd
* health#provider: fix logic with s:shellifyDaniel Hahler2018-04-30
| | | | | It should be quoted if there is any character that needs escaping, but not if there is a character that does not need escaping.
* vim-patch:8.0.1285Justin M. Keyes2018-04-02
| | | | | | https://github.com/vim/vim/commit/d09a206ee94ccb653707ce9b6e536d4d58886e04 vim-patch:8.0.0564: cannot detect Bazel BUILD files on some systems
* vim-patch:8.0.1282Justin M. Keyes2018-04-02
| | | | | | | Problem: script-local variable defined in the wrong script Solution: Move variable to autoload/filetype.vim. https://github.com/vim/vim/commit/cef7322d8a902b4655ed861489c4e798672074f0
* vim-patch:8.0.1281Justin M. Keyes2018-04-02
| | | | | | | | | | | | Problem: Loading file type detection slows down startup. Solution: Move functions to an autoload script. https://github.com/vim/vim/commit/851ee6c3da5fd726d92e1e3300d7e5e2e8b907c5 --- vim-patch:8.0.0635 Problem: When 'ignorecase' is set script detection is inaccurate. Solution: Enforce matching case for text. (closes #1753)
* node/provider: support g:node_host_prog #8135chemzqm2018-03-15
|
* health/provider: python: warning with correct host prog (#8049)Daniel Hahler2018-03-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have `g:python3_host_prog` set to the system Python, where a package is also installed to provide the "neovim" module. `:checkhealth provider` however displays a warning for this: > Your virtualenv is not set up optimally. This is because /usr/bin/python is not in /home/user/.pyenv. I think this warning should not get displayed if host_prog_var exists. It goes back to the initial commit (20447ba09), and is maybe only missing the `!` there as with the previous commit. Full output: ``` - INFO: pyenv: /home/user/.pyenv/libexec/pyenv - INFO: pyenv root: /home/user/.pyenv - INFO: Using: g:python3_host_prog = "/usr/bin/python" - WARNING: Your virtualenv is not set up optimally (/usr/bin/python is not in /home/user/.pyenv). - ADVICE: - Create a virtualenv specifically for Neovim and use `g:python3_host_prog`. This will avoid the need to install Neovim's Python module in each virtualenv. - WARNING: $VIRTUAL_ENV exists but appears to be inactive. This could lead to unexpected results. - ADVICE: - If you are using Zsh, see: http://vi.stackexchange.com/a/7654 - INFO: Executable: /usr/bin/python - INFO: Python3 version: 3.6.4 - INFO: python-neovim version: 0.2.1 - OK: Latest python-neovim is installed: 0.2.1 ```
* health.vim: minor cleanup (#8046)Daniel Hahler2018-02-22
|
* health/provider: check Python also with loaded_var (#8047)Daniel Hahler2018-02-22
| | | | | | | | | | | | | | | `g:loaded_python3_provider` gets set when the autoload file is sourced, but this might error out, e.g. with deoplete: [deoplete] Failed to load python3 host. You can try to see what happened by starting nvim with $NVIM_PYTHON_LOG_FILE set and opening the generated log file. Also, the host stderr is available in messages. [deoplete] function remote#define#FunctionBootstrap[1]..remote#host#Require[10]..provider#pythonx#Require[13]..provider#Poll, line 14 [deoplete] deoplete requires Python3 support("+python3"). [deoplete] deoplete failed to load. Try the :UpdateRemotePlugins command and restart Neovim. See also :checkhealth. It refers to `:checkhealth` from there explicitly, which would then (without this patch) say that Python 3 is disabled. This patch changes the reported info to include that it might have been disabled due to some error, and keeps on going.
* checkhealth: python: do not report pythonx_errs twice (#8045)Daniel Hahler2018-02-22
| | | They get reported unconditionally as errors below.
* runtime/autoload/health/*.vim: fix vint warning (#8048)Daniel Hahler2018-02-22
|
* 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.
* man.vim: use correct offset in presence of modifier commandsMarco Hinz2018-01-22
| | | | | | | | | | | The argument expansion for :Man depends on the number of arguments given to it starting at the command itself. But user completion functions always provide the entire command-line which can include modifier commands like :tab, :vert, etc. leading to a wrong number of arguments. Prune all arguments up to :Man. Fixes #7872.
* tutor: don't resize (#7854)Felipe Morales2018-01-15
|
* Merge #7623 'man.vim: highlight bold, underlined text'Justin M. Keyes2018-01-09
|\
| * Address PR commentsGabriel Holodak2017-12-27
| |
| * Add support for escape sequencesGabriel Holodak2017-12-27
| |
| * Switch to processing in LuaGabriel Holodak2017-12-27
| |
| * Highlight backspaced charactersGabriel Holodak2017-12-27
| |
* | man.vim: always keep the alternate buffer (#7784)Anmol Sethi2017-12-29
| | | | | | Closes #7772
* | health.vim: fix $VIRTUAL_ENV validationJustin M. Keyes2017-12-29
|/ | | | | | | Check that the full path to the python interpreter starts with $VIRTUAL_ENV. closes #7770
* health.vim: minor refactor (group related logic)Justin M. Keyes2017-12-27
|
* 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.
* docJustin M. Keyes2017-12-26
| | | | | | | | vim-patch:8.0.1206: no autocmd for entering or leaving the command line (commit a4f6cec7a31ff8dbfa089b9e22227afbeb951e9b) NA patches: vim-patch:8.0.0320: warning for unused variable with small build
* 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
|
* health.vim: mention g:ruby_host_prog #7737Alex Genco2017-12-17
|
* health.vim: Try `pyenv root` #7341quinoa422017-12-17
|
* provider/nodejs: check version in Detect()Justin M. Keyes2017-12-17
|
* health.vim: nodejs: skip if nodejs is too oldJustin 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.
* :checkhealth: fix check for npm and yarn (#7569)Billy Vong2017-11-16
| | | | | | | Fix bug that checked for npm AND yarn, where we wanted npm OR yarn. But since we call `npm` exclusively, and it's highly unlikely you have yarn installed without npm, let's just remove the yarn check altogether. Addresses https://github.com/neovim/node-client/issues/41
* health.vim: define highlights as `default` (#7560)zandrmartin2017-11-14
|
* runtime: revert netrw update (#7557)Justin M. Keyes2017-11-14
| | | | fixes #7527 fixes #7536
* health.vim: normalize slashes for script path (#7525)Jan Edmund Lazo2017-11-13
| | | | | :checkhealth reports that remote plugins are unregistered after running :UpdateRemotePlugins because of the backslashes in filepath. Normalize them to forward slashes because the paths in rplugin.vim are normalized in autoload/remote/host.vim.
* Merge #7458 'remote: add node host'Justin M. Keyes2017-11-11
|\
| * use `provider#stderr_collector`Billy Vong2017-10-31
| |
| * remote: add node.js as a remote plugin providerBilly Vong2017-10-29
| |
| * health: add node health checkBilly Vong2017-10-29
| |