aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
Commit message (Collapse)AuthorAge
...
* 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
| |
* | vim-patch:b0d45e7f5354Justin M. Keyes2017-11-07
| | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/b0d45e7f5354375edd02afafde3bd37dac1515ff
* | vim-patch:01164a6546b4Justin M. Keyes2017-11-07
| | | | | | | | | | | | Long overdue runtime update. https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66
* | vim-patch:37c64c78fd87Justin M. Keyes2017-11-07
| | | | | | | | | | | | | | | | | | | | Note: Ignored changes to matchit.vim in favor of faca81411628. --- Update runtime files. https://github.com/vim/vim/commit/37c64c78fd87e086b5a945ad7032787c274e2dcb
* | spellfile.vim: Search for a writable directory on WindowsJames McCoy2017-11-06
| | | | | | | | Fixes #6664 until #6272 is merged and sdtpath('data') can be used.
* | health.vim: env var may be defined but empty #7498Justin M. Keyes2017-11-07
| |
* | vim-patch:3c2881dc1195Justin M. Keyes2017-11-07
| | | | | | | | | | | | Update runtime files. Add Rust support. https://github.com/vim/vim/commit/3c2881dc1195f53ebafc387378399ddd6cb677a7
* | health.vim: show TUI-related env vars (#7498)Justin M. Keyes2017-11-07
| | | | | | | | ref #7473 ref #7490
* | vim-patch:214641f77df6Justin M. Keyes2017-11-06
| | | | | | | | | | | | | | | | | | Runtime file updates. https://github.com/vim/vim/commit/214641f77df6f318a4b3a0b09723c19859a103f4 N/A: vim-patch:26a280c47a1c
* | spellfile.vim: use :keeppatterns before :globalJustin M. Keyes2017-11-06
|/
* rpc: Don't delay notifications when request is pending (#6544)Björn Linse2017-10-29
| | | | | | | | | | | | | | | | | | | | | | With the old behavior, if a GUI makes a blocking request that requires user interaction (like nvim_input()), it would not get any screen updates. The client, not nvim, should decide how to handle notifications during a pending request. If an rplugin wants to avoid async calls while a sync call is busy, it likely wants to avoid processing async calls while another async call also is handled as well. This may break the expectation of some existing rplugins. For compatibility, remote/define.vim reimplements the old behavior. Clients can opt-out by specifying `sync=urgent`. - Legacy hosts should be updated to use `sync=urgent`. They could add a flag indicating which async methods are always safe to call and which must wait until the main loop returns. - New hosts can expose the full asyncness, they don't need to offer both behaviors. ref #6532 ref #1398 d83868fe9071af1b4866594eac12f7aa0fa71b53
* :checkhealth : validate $VIMJustin M. Keyes2017-10-17
|
* ex_checkhealth: call health#check() directlyJustin M. Keyes2017-10-17
| | | | This allows us to remove :CheckHealth later (avoids wildmenu noise).
* doc: replace ":CheckHealth" with ":checkhealth"Justin M. Keyes2017-10-17
|
* health.vim: rename "suggestions" to "advice" in most placesJustin M. Keyes2017-10-15
|
* health.vim: fix highlightingJustin M. Keyes2017-10-15
| | | | | | | | | | | `:syntax keyword` is affected by 'iskeyword'. When we aligned 'iskeyword' to that of filetype=help, colon (:) is now included. Simplest way to deal with this is to include colon (:) in the `:syntax keyword` directive. Also: - change "SUGGESTIONS" mouthful to "ADVICE" - change "SUCCESS" to "OK"
* health.vim: warn about 'paste' optionJustin M. Keyes2017-10-15
|
* escape amatch filename (#7292)Andy Russell2017-09-19
| | | | Fixes #7046 Fixes autozimu/LanguageClient-neovim#77
* health.vim: always check pyenv if installed #7219Greg Anders2017-09-09
| | | | | | | | Always check for the presence of pyenv_root if pyenv is installed: if it is not set, we don't know if it was intentional. If it wasn't intentional, the warning is confusing (see #7176). closes #7176
* provider: Remove dict attribute from stderr_collectorJames McCoy2017-08-26
| | | | | | | | | | | | If an autoloaded function hasn't been resolved before it is used in function(), the self dict will not be created which causes E725 when calling the function. Since self isn't being used in provider#stderr_collector, we can remove the dict attribute to workaround the self dict bug[0]. Closes #7115 [0]: https://groups.google.com/d/msg/vim_dev/I7AXOyv-P4o/DzbyOxDHBgAJ
* 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#clear_stderr: Use remove() not delete() to update s:stderrJames McCoy2017-08-18
| | | | Ref #7184
* 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
* Merge #7028 from fmoralesc/vimtutor-disentangle2Justin M. Keyes2017-07-16
|\ | | | | | | | | | | Closes #4533 Closes #6389 Closes #4913 Closes #7005
| * tutor: reorganizeFelipe Morales2017-07-16
| |
| * tutor: update syntaxFelipe Morales2017-07-15
| | | | | | | | | | | | | | | | sampletext regions no longer supported make sure tutorExpect is available don't conceal code region delimiters
| * tutor: disable old method for setting "expect" regionsFelipe Morales2017-07-15
| | | | | | | | tutor: remove movement mappings
| * tutor: allow metadata to exist outside of the documents.Felipe Morales2017-07-15
| | | | | | | | this makes 'expect' regions simpler to handle.
* | 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
* | health.vim: validate g:clipboardJustin M. Keyes2017-07-15
|/ | | | | | | Closes #7020 Also fix 'iskeyword' setting, which I fumbled in 440133e0d5d576e46bd5ffa555f6a9c534789b48
* 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'`
* runtime: Fix issue with Ruby health `latest_gem` determinationAlex Genco2017-06-17
| | | | | | | Sometimes the `gem list` command used for finding the latest version of the `neovim` gem prints an error, which can throw off the `split()` call due to extra parenthesis. This locks down the split pattern to make conflicts less likely.