Andy Russell
4dee942e73
provider/clipboard.vim: capture/display errors ( #6684 )
...
TODO: handle errors in the `get`. systemlist() should take an
options dictionary like jobstart(), which may specify a stderr handler.
References #6565
2017-07-15 20:51:51 +02:00
Felipe Morales
37af859930
tutor: update syntax
...
sampletext regions no longer supported
make sure tutorExpect is available
don't conceal code region delimiters
2017-07-15 11:01:45 -04:00
Felipe Morales
8e48d7c19e
tutor: disable old method for setting "expect" regions
...
tutor: remove movement mappings
2017-07-15 11:01:45 -04:00
Felipe Morales
ec67d07065
tutor: allow metadata to exist outside of the documents.
...
this makes 'expect' regions simpler to handle.
2017-07-15 11:01:45 -04:00
Justin M. Keyes
72c38b5cd5
health.vim: validate g:clipboard
...
Closes #7020
Also fix 'iskeyword' setting, which I fumbled in
440133e0d5
2017-07-15 15:19:01 +02:00
Justin M. Keyes
f0dafa89c2
provider/clipboard.vim: Handle missing g:clipboard keys
2017-06-28 09:42:03 +02:00
Justin M. Keyes
6016ac270f
provider/clipboard.vim: allow configuration #6030
...
Closes #6029
2017-06-27 12:22:06 +02:00
Alex Genco
f400c6f05f
runtime: Allow overriding ruby host with g:ruby_host_prog
...
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'`
2017-06-17 08:20:00 -07:00
Alex Genco
826210a465
runtime: Fix issue with Ruby health latest_gem
determination
...
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.
2017-06-17 08:20:00 -07:00
Xu Cheng
6efe84af68
provider/clipboard: add tmux support ( #6894 )
2017-06-15 09:15:56 +02:00
Justin M. Keyes
133f8bc628
Merge #4700 from AdnoC/keep-default-register
2017-05-31 23:43:40 +02:00
AdnoC
a00b03d03f
shada: Set the unnamed register to the previous unnamed register on startup
2017-05-31 13:18:59 -04:00
raichoo
967e892cb6
man.vim: feature-test section (-s) flag #6815
...
Different implementations of `man` might be using different
flags for sections.
2017-05-26 00:30:40 +02:00
raichoo
3280765f2d
man.vim: check for -l flag #6766
2017-05-19 14:02:11 +02:00
Justin M. Keyes
3eaf4a0d5b
health.vim: Don't lose contents after hide.
2017-05-11 14:20:57 +02:00
Justin M. Keyes
73c6bf3879
health.vim: On error, show a valid shell command.
...
Helped-by: Nikolai Aleksandrovich Pavlov <kp-pav@yandex.ru >
Closes #6715
2017-05-11 14:20:57 +02:00
Edd Barrett
bc4fd8b10d
health.vim: Fix hardcoded python
name. #6714
2017-05-11 12:01:56 +02:00
Justin M. Keyes
d9023b84e6
health.vim: Remove sensible.vim advice. ( #6709 )
...
sensible.vim now avoids setting ttimeoutlen for nvim.
2017-05-10 09:43:17 +02:00
Matthew Wynn
e7a4d95a9e
man.vim: Fix filename argument in mandoc #6693
...
Use the -l flag to open a man file.
TODO: Does not work on SunOS.
Fixes #6683
2017-05-08 17:45:06 +02:00
Marco Hinz
2b3cb2c448
Make script_host.rb rubocop-clean
...
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+.
2017-05-03 22:24:51 +02:00
Tommy Allen
bc4a2e1576
help, man.vim: "outline" (TOC) feature #5169
2017-05-01 17:45:54 +02:00
Justin M. Keyes
deccd843ed
vim-patch:3df0173fa6d0
...
Updated runtime files.
3df0173fa6
2017-05-01 13:32:51 +02:00
Justin M. Keyes
5a304b7864
Merge #6615 from justinmk/vim-patches
2017-04-29 14:59:10 +02:00
Justin M. Keyes
51a2d8dc36
win: health.vim/check_ruby(): find gem.cmd
#6608
...
gem.cmd is not found by system(['gem', ...]), pass it to cmd.exe.
2017-04-29 01:57:09 +02:00
Justin M. Keyes
8d3f8f639b
vim-patch:46fceaaa8d14
...
Updated runtime files.
46fceaaa8d
2017-04-29 01:47:36 +02:00
Justin M. Keyes
9f6d693e26
Merge #6613 from justinmk/vim-patches
2017-04-29 01:41:29 +02:00
Justin M. Keyes
5341967315
vim-patch:4575876dc865
...
Updated runtime files.
4575876dc8
2017-04-29 01:03:42 +02:00
Justin M. Keyes
60e68f3096
vim-patch:dc08328821a2
...
Updated runtime files.
dc08328821
NA patches:
vim-patch:8.0.0028
vim-patch:8.0.0029
vim-patch:8.0.0030
2017-04-29 01:01:51 +02:00
Justin M. Keyes
460d5971f6
vim-patch:2ec618c9feac
...
Updated runtime files.
2ec618c9fe
2017-04-28 23:49:16 +02:00
Justin M. Keyes
40fb96c76a
vim-patch:3e496b0ea319
...
Updated runtime files.
3e496b0ea3
NA patches:
vim-patch:8.0.0015
vim-patch:8.0.0016
vim-patch:177778575148
2017-04-28 23:39:24 +02:00
Daniel Hahler
59be0b4280
health.vim: syntax/style fixes ( #6614 )
2017-04-28 23:18:10 +02:00
Justin M. Keyes
06879e2e89
vim-patch:d07969093a9b
...
Updated runtime files.
d07969093a
2017-04-28 22:51:30 +02:00
Justin M. Keyes
becde1745a
vim-patch:8.0.0002
...
Problem: The netrw plugin does not work.
Solution: Make it accept version 8.0.
9e1e7afc1f
vim-patch:b56e7ff0dbbf
Update translations for intro page.
b56e7ff0db
2017-04-28 22:41:07 +02:00
Justin M. Keyes
a53409b564
vim-patch:89bcfda6834a
...
Updated runtime files. Remove version checks for Vim older than 6.0.
89bcfda683
2017-04-28 21:13:55 +02:00
TJ DeVries
19646a2985
health.vim: 'guicursor' advice #6506
...
Also:
- Mark provider sections as "(optional)".
- Fix help-link substitution to support single-quoted tags.
2017-04-20 22:44:51 +02:00
Justin M. Keyes
440133e0d5
health.vim: Set 'iskeyword' to that of ft=help.
2017-04-19 04:03:08 +02:00
Justin M. Keyes
6fbcbebae0
win: health/provider.vim: check with .exe
extension
...
Also fix `python_multiple` comparison.
2017-03-28 01:49:36 +02:00
Anmol Sethi
a346cb1d58
man.vim: call s:error in man#read_page ( #6362 )
...
The comment is incorrect, s:error does need to be called. I thought the
call was unnecessary because it didn't show any message for me but I had
shortmess+=F which was hiding the message.
2017-03-25 22:43:25 +01:00
Tommy Allen
a62ec4eb98
health.vim: tmux: Try -qvg and -qvgs ( #6348 )
2017-03-24 01:38:01 +01:00
Justin M. Keyes
d1afd434f3
rplugin: Call s:LoadRemotePlugins() on startup.
...
Dispense with the FuncUndefined/CmdUndefined quasi-optimization.
If there are no rplugins, plugin/rplugin.vim takes less than 1ms.
Closes #5821
Closes #6250
Helped-by: Qiming zhao <chemzqm@gmail.com >
2017-03-11 12:26:22 +01:00
Justin M. Keyes
e5be3aaaef
health.vim: tmux $TERM, default-terminal
2017-03-06 03:17:40 +01:00
Anmol Sethi
c8ee0be745
man.vim: use 'eventignore' instead of :noautocmd #6149
...
We only need to ignore BufReadCmd (from runtime/plugin/man.vim).
Closes #6144
2017-02-27 18:16:37 +01:00
Justin M. Keyes
2f38ed11c9
providers: Disable if g:loaded_*
exists.
...
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
2017-02-14 00:02:50 +01:00
Justin M. Keyes
9451647d9b
health.vim: Do not check intentionally disabled providers.
...
Closes #6107
2017-02-13 22:21:23 +01:00
Justin M. Keyes
f50de5be41
health.vim: ruby provider advice
2017-02-12 12:51:54 +01:00
Justin M. Keyes
c43ba671c3
health.vim: Reduce visual noise.
...
- SUCCESS should be extra green, regardless of colorscheme.
- Do not highlight INFO and SUGGESTIONS, they should not demand the
user's attention.
2017-02-12 11:38:28 +01:00
Justin M. Keyes
611411bf85
CheckHealth: choose correct $PATH separator
2017-02-04 11:07:49 +01:00
Anmol Sethi
3d3b1641d0
man.vim: more robust s:verify_exists #6043
...
Closes #6039
Also: close the window if we could not get the page from man but only if
we opened it ourselves.
2017-02-04 10:02:59 +01:00
Anmol Sethi
39a6f835e7
man.vim: get page after opening split ( #6032 )
...
This will ensure that $MANWIDTH is correctly set.
2017-01-31 16:03:45 +01:00
Anmol Sethi
5bcb972a88
man.vim: remove terminal escape characters ( #6033 )
...
This will make man.vim work on nixOS.
2017-01-31 16:00:00 +01:00