Commit Graph
1404 Commits
Author SHA1 Message Date
Justin M. Keyes ad9c2d3cb9 doc
closes #7622
2017-12-10 17:13:22 +01:00
Justin M. Keyes dc232b74fb doc: hack to avoid doxygen bug
Use `@cond <something>` to obscure a section from doxygen.

doxygen thinks kvec_withinit_t() is a function. That adds noise to the
generated API documentation, and also prevents the following function
from being noticed.
2017-12-10 17:13:22 +01:00
Justin M. Keyes 3cc7ebf810 Merge #7234 'built-in expression parser' 2017-12-09 18:47:34 +01:00
Justin M. Keyes 3aa24042a8 tui: dump termcap info if -V3 ('verbose' >= 3)
Get terminal debugging info by starting Nvim with 'verbose' level 3:

    nvim -V3log

This is like Vim's `:set termcap`, which was removed in Nvim (and would
be very awkward to restore because of the decoupled UI).
2017-12-05 01:45:39 +01:00
Filip Szymański e9990b43c2 Fix job_control doc 2017-12-03 20:49:01 +01:00
ZyX 7af8601db4 Merge branch 'master' into expression-parser
Hoping that could fix the LSAN issue: no idea what it is talking about.
2017-12-03 16:19:40 +03:00
Wang Shidong ee2e6d1d1a Fix type in job_control doc 2017-12-01 06:40:03 -06:00
ZyX 5ab0f988ca *: Replace all occurrences of NVim with Nvim 2017-11-30 11:53:25 +03:00
ZyX b588ccddd7 Merge branch 'master' into expression-parser 2017-11-30 02:02:55 +03:00
Jan Edmund Lazo 2d732a11b1 provider: fix batchfile extension for ruby gem (#7651)
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.
2017-11-29 03:19:33 +01:00
Justin M. Keyes d109f5645b Merge #7640 'term' option 2017-11-27 22:07:23 +01:00
Björn Linse df019cebd5 Revert "provider: delete vimL stderr collector, now that it exists builtin"
This change exposed a memory issue with buffered channels, possibly
involving GC. Revert until it has been fixed.

This reverts commit 0de019b6a6.
2017-11-27 11:07:49 +01:00
Justin M. Keyes 944e3c0619 tui: expose terminal type in 'term' option
Since "builtin" terminfo definitions were implemented (7cbf52db1b),
the decisions made by tui.c and terminfo.c are more relevant. Exposing
that decision in the 'term' option helps with troubleshooting.

Also: remove code that allowed setting t_Co. `:set t_Co=…` has never
worked; the highlight_spec test asserting that nvim_set_option('t_Co')
_does_ work makes no sense, and should not have worked.
2017-11-27 09:45:32 +01:00
ZyX 11a05e778f doc: Some small fixes 2017-11-26 15:56:27 +03:00
ZyX b9c7813058 Merge branch 'master' into expression-parser 2017-11-26 15:54:03 +03:00
Björn Linse 0de019b6a6 provider: delete vimL stderr collector, now that it exists builtin 2017-11-26 09:17:06 +01:00
Björn Linse baa981ea21 channels: update documentation 2017-11-25 09:37:01 +01:00
Björn Linse 3e59c1e20d channels: move away term code from eval.c 2017-11-25 09:37:00 +01:00
Björn Linse a4f6cec7a3 cmdline: CmdlineEnter and CmdlineLeave autocommands (#7422)
vim-patch:fafcf0dd59fd

patch 8.0.1206: no autocmd for entering or leaving the command line

Problem:    No autocmd for entering or leaving the command line.
Solution:   Add CmdlineEnter and CmdlineLeave.

https://github.com/vim/vim/commit/fafcf0dd59fd9c4ef743bb333ae40d1d322b6079
2017-11-22 22:35:20 +01:00
ZyX 1ffa4e5047 doc: Update documentation 2017-11-19 23:33:02 +03:00
ckelsel 540ed64635 vim-patch:8.0.0283
Problem:    The return value of mode() does not indicate that completion is
            active in Replace and Insert mode. (Zhen-Huan (Kenny) Hu)
Solution:   Add "c" or "x" for two kinds of completion. (Yegappan Lakshmanan,
            closes vim/vim#1397)  Test some more modes.

https://github.com/vim/vim/commit/e90858d0229444b3cd16b1cd3a8d61a24c435705
2017-11-19 19:53:47 +08:00
Eric Roberts a6de144c3e 'viewoptions': add "curdir" flag #7447
The flag enables the current local directory set by ":lcd" to be saved
to views which is the current default behaviour. The option can be
removed to disable this behaviour.

closes #7435

vim-patch:8.0.1289
2017-11-18 12:02:15 +01:00
Jan Edmund Lazo e8af34dc63 win: provider: Detect(): return *.cmd path (#7577)
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.
2017-11-17 23:52:51 +01:00
Billy Vong eacd788cf5 :checkhealth: fix check for npm and yarn (#7569)
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
2017-11-16 23:43:50 +01:00
Drew Neil 59b0d9f62d doc: Fix pathshorten() example (#7571) 2017-11-16 23:41:16 +01:00
zandrmartin f8d40e7d53 health.vim: define highlights as default (#7560) 2017-11-14 22:08:50 +01:00
Justin M. Keyes c5f001a46a runtime: revert netrw update (#7557)
fixes #7527
fixes #7536
2017-11-14 20:56:00 +01:00
Justin M. Keyes 67e4529292 defaults: scrollback=10000 (#7556) 2017-11-14 20:55:25 +01:00
Jan Edmund Lazo a43a573ad5 health.vim: normalize slashes for script path (#7525)
: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.
2017-11-13 02:10:06 +01:00
Justin M. Keyes 69e3308771 cmake: install runtime/rgb.txt
closes #6682
2017-11-12 15:52:21 +01:00
Justin M. Keyes b6a603fe51 Merge #7458 'remote: add node host' 2017-11-11 01:54:32 +01:00
Justin M. Keyes f5d4da0144 :checkhealth : validate 'runtimepath' (#7526) 2017-11-10 22:37:54 +01:00
Justin M. Keyes 314ff440f7 doc/vim_diff.txt: mention NormalNC 2017-11-10 02:44:18 +01:00
Hidehito Yabuuchi d0b05e3c36 runtime: Fix syntax error in runtime/syntax/tex.vim (#7518) 2017-11-10 01:38:08 +01:00
Marco Hinz 9837a9c401 compat: "v:count" distinct from "count" (#7407) 2017-11-09 02:20:12 +01:00
Felipe Morales 55d8967147 tutor: some fixes (#7510)
- conceal inline types
- fix some links
2017-11-08 23:32:49 +01:00
Arno Friedrich a48e078c0d doc: 'clipboard': soft-remove autoselect* flags #7509
We may restore this feature, but docs shouldn't mention it until then.

ref #2325
2017-11-08 23:28:14 +01:00
Justin M. Keyes e98bcf0523 Merge #7465 has('ttyin'), has('ttyout') 2017-11-08 04:10:22 +01:00
Justin M. Keyes 2ca59638ba vim-patch:b0d45e7f5354
Update runtime files.

https://github.com/vim/vim/commit/b0d45e7f5354375edd02afafde3bd37dac1515ff
2017-11-07 23:07:03 +01:00
Justin M. Keyes 4175dfac9a vim-patch:01164a6546b4
Long overdue runtime update.

https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66
2017-11-07 23:07:03 +01:00
Justin M. Keyes 3a7feb6989 vim-patch.sh: remove vimrc_example.vim
vimrc_example.vim is not relevant to Nvim. Anything worth having in
there should be made an actual default.

.gitignore:
  - remove *.orig ... super annoying
2017-11-07 20:38:04 +01:00
Justin M. Keyes 10e5040b61 vim-patch:24a98a0eb772
Update runtime files

https://github.com/vim/vim/commit/24a98a0eb77245adc50facad8b735b20bfd31a7e
2017-11-07 20:16:48 +01:00
Justin M. Keyes 8c6168565c vim-patch:37c64c78fd87
Note: Ignored changes to matchit.vim in favor of faca814116.

---

Update runtime files.

https://github.com/vim/vim/commit/37c64c78fd87e086b5a945ad7032787c274e2dcb
2017-11-07 20:03:24 +01:00
Justin M. Keyes ae569ea57b Merge #7500 'vim-patch: runtime' 2017-11-07 18:59:39 +01:00
Justin M. Keyes 8c3377ee76 vim-patch:c572da5f67aa
Update runtime files

https://github.com/vim/vim/commit/c572da5f67aa5cdbbc127fc6f1d0a42e38468325
2017-11-07 03:23:37 +01:00
Justin M. Keyes 1a3e54231a vim-patch:1ccd8fff8acf
Update runtime files.

https://github.com/vim/vim/commit/1ccd8fff8acfbd5df0fc0e9b4d288af84e51233e
2017-11-07 03:16:34 +01:00
Justin M. Keyes 39fa278216 vim-patch:f55e4c867f77
Updated runtime files

https://github.com/vim/vim/commit/f55e4c867f774d1f27973d06b07b97c0a4d6b968
2017-11-07 03:14:31 +01:00
Justin M. Keyes 208dee4585 vim-patch:b6e0ec6b71c4
Documentation updates.

https://github.com/vim/vim/commit/b6e0ec6b71c45284d94f51728dbc33e5d3428ff4
2017-11-07 02:57:50 +01:00
James McCoy b9b2fb7d5d spellfile.vim: Search for a writable directory on Windows
Fixes #6664 until #6272 is merged and sdtpath('data') can be used.
2017-11-06 20:54:07 -05:00
Justin M. Keyes b7f1885fab health.vim: env var may be defined but empty #7498 2017-11-07 02:15:34 +01:00