Commit Graph

7878 Commits

Author SHA1 Message Date
Bjorn Tipling
fe27cbe1d8 Print an error and exit when there are no plugins.
Issue: #1537

Running the :UpdateRemotePlugins command will show an ugly, unhelpful
error when no plugins were found. This change has neovim print an error message
and does not attempt to start the python-client which requires at least one
plugin.
2014-11-24 13:53:21 -08:00
Justin M. Keyes
c10f7e1c62 clipboard: check for X on every invocation
xsel and xcopy may be available even if a valid X display is not. Also,
the availability of X may change at any time, so check on each
invocation.

Closes #1509.
2014-11-23 19:09:32 +00:00
Thiago de Arruda
6b17082d3c runtime: Refer to plugins running outside Nvim as "remote plugins"
- Rename autoload/rpc to autoload/remote
- External plugins are now remote plugins
- External plugins directory is "rplugin"
2014-11-21 10:11:42 -03:00
Eliseo Martínez
f7b5fd6f3f Fix warnings: Fix outdated doc: Connecting to nvim through python REPL.
After neovim/python-client@b8b48bbe8f,
docs were no longer relevant.
2014-11-21 12:35:51 +01:00
Thiago de Arruda
35017bd954 doc: Add nvim_provider/external_plugin to doc Makefile 2014-11-20 16:03:34 -03:00
Thiago de Arruda
ea7a5c7f05 doc: Update external plugin documentation 2014-11-20 15:59:31 -03:00
Thiago de Arruda
f6c2c7bf1f runtime: Prepend the vimrc filename to the external plugin manifest
This is required to support multiple vimrcs with each having it's own set of
installed external plugins.
2014-11-20 08:48:29 -03:00
Thiago de Arruda
58ba2241e9 runtime: Change external plugin directory to "external-plugin" 2014-11-20 08:46:23 -03:00
Thiago de Arruda
d971cb1691 docs: Update to the latest changes in the plugin infrastructure 2014-11-18 14:58:31 -03:00
Thiago de Arruda
f3b4033572 runtime: Remove 'python_setup.vim' 2014-11-18 14:58:31 -03:00
Thiago de Arruda
9b8ca92a01 runtime: Reimplement python/clipboard providers in vimscript
Clipboard is implemented with platform-specific shell commands, and python is
implemented with the external plugin facility (rpc#* functions). The
script_host.py file(legacy python-vim emulation plugin) was moved/adapted from
the python client repository.
2014-11-18 14:58:25 -03:00
Thiago de Arruda
4af5cfb517 runtime: Add vimscript support for external plugins
External plugins(a.k.a msgpack-rpc plugins) are now supported through a
library of vimscript functions that deals with:

- Associating plugin host names(eg: python, ruby, go) with channel ids
- Registration of external plugins
- Definition of commands, autocmds and functions lazily implemented over
  msgpack-rpc
2014-11-18 12:43:30 -03:00
Fredrik Fornwall
b2b9333179 doc: Remove MS-DOS specific options bioskey and conskey #1353 2014-11-17 17:55:47 -05:00
James Baumgarten
06e5c2c063 doc: update msgpack_rpc documentation to use nvim as variable name #1470 2014-11-17 17:41:14 -05:00
Alex Genco
92aba9e942 Fix api metadata function name in docs
The documentation mentions `vim_get_api_metadata`, but the actual function is `vim_get_api_info`
2014-11-13 21:47:08 -08:00
Scott Prager
0051a7cb25 vim-patch:7.4.414
Problem:    Cannot define a command only when it's used.
Solution:   Add the CmdUndefined autocommand event. (partly by Yasuhiro
            Matsumoto)

https://code.google.com/p/vim/source/detail?r=v7-4-414
2014-11-11 11:55:59 -05:00
Justin M. Keyes
b0cd397a43 Merge pull request #1416 from jondkinney/master
Fix the nvim-clipboard help instructions
2014-11-10 12:17:47 -05:00
Scott Prager
fd36dc208e job: Let vimL jobsend() accept a list.
Use save_tv_as_string(), same as vimL system(). This also makes
jobsend() more liberal in what it can accept. For example,
`jobsend(j, 123)` is now valid.

Closes #1176
2014-11-07 13:34:56 -03:00
Scott Prager
e90973e035 job: Make v:job_data[2] a list.
Factor out string_to_list() from f_system()'s implementation
and use that to set job_data. This has the technical advantage of
preserving NULs, and may be more convenient for users.

Required for #1176.
2014-11-07 13:34:56 -03:00
Jon Kinney
b384252d52 Fix the nvim-clipboard help instructions
Fixes #1407
2014-11-06 11:26:38 -06:00
Florian Walch
724a53306f version: Refer to nvim help on startup screen. 2014-11-06 13:37:15 +01:00
Michael Reed
61ef9b21c7 runtime/docs/msgpack-rpc: Misc. fixes
- Correct apostrophe usage, primarily with it's/its
- Correct usage of 'e.g.'
- Capitalize acronyms
- Prepend NVIM_LISTEN_ADDRESS with '$' to match previous instance
- Avoid awkward phrasing
- Make lists with an explicitly stated number of points numbered to
  match other such lists
- Added space before parentheses
- rm trailing whitespace
2014-11-03 16:30:31 -05:00
Eliseo Martínez
cdaa417e8c Fix python setup: Fix issue for users not using python. 2014-10-31 20:31:37 +01:00
Eliseo Martínez
f10779fb7a Fix python setup: Make sure python version on user's path is picked.
Problem:  executable() was detecting python on user's path, but
          system() was executing system-level python.

Solution: Make sure python version on user's path is executed.
          Use exepath() to force system() to do so.
2014-10-31 07:44:10 -03:00
Eliseo Martínez
3fb5cdcb3f Fix python setup: Report errors.
No error indication was being given if something went wrong while
setting up python.
2014-10-31 07:44:10 -03:00
Thiago de Arruda
b4ec764e8e runtime: Fix rpcstop call in python_setup.vim 2014-10-23 21:19:08 -03:00
Scott Prager
21d1016f56 vim-patch:7.4.397
Problem:    Matchparen only uses the topmost syntax item.
Solution:   Go through the syntax stack to find items. (James McCoy)
            Also use getcurpos() when possible.

https://code.google.com/p/vim/source/detail?r=v7-4-397
2014-10-09 22:09:52 -04:00
Justin M. Keyes
08c99dcff0 version: update user-facing version indicators
- VIM_VERSION_LONG and VIM_VERSION_LONG_DATE do not affect plugins,
  they are only cosmetic.
- Vim-related version identifiers will be preserved for plugin
  compatibility (has("patchXXX") and v:version).
2014-10-07 02:45:27 +00:00
Stefan Hoffmann
32fabd8984 doc: remove links to non existent files 2014-10-06 22:43:44 +02:00
Stefan Hoffmann
73f7837350 doc: cleanup
* fix some links
  * typo
  * remove reference to hangul_input
  * remove unused vim2html.pl
2014-10-06 22:43:30 +02:00
Stefan Hoffmann
2bf0850497 doc: remove documentation for :shell
see #450
2014-10-06 22:43:30 +02:00
Stefan Hoffmann
52c6727db6 doc: remove netbeans.txt 2014-10-06 22:43:30 +02:00
Stefan Hoffmann
2947a311e0 doc: remove workshop.txt 2014-10-06 22:43:30 +02:00
Stefan Hoffmann
fdfa6d507d doc: remove if_ole.txt 2014-10-06 22:43:30 +02:00
Stefan Hoffmann
83152918e1 doc: remove if_sniff.txt 2014-10-06 22:43:30 +02:00
Stefan Hoffmann
0c8aae645d doc: remove gui_w16.txt 2014-10-06 22:43:29 +02:00
Stefan Hoffmann
f4e13150db doc: remove legacy os_*.txt
keeping os_dos.txt, see #1115
2014-10-06 22:43:29 +02:00
Joseph Anthony Pasquale Holsten
ae743f8766 Removes shelltype option and all revelant doc. #1249
Fixes #1240
2014-10-06 16:25:53 -04:00
John Szakmeister
ba7472c54d runtime: fix executable bit on some files 2014-09-22 05:56:52 -04:00
Stefan Hoffmann
bb176f4a7e doc: fix links to index.html and vimindex.html 2014-09-21 15:20:21 +02:00
Stefan Hoffmann
ac882bb738 doc: add new doc files to Makefile 2014-09-20 14:24:47 +02:00
Stefan Hoffmann
ef3c63f73d doc: use cat instead of more to display errors
`more` may cause the travis build to hang
2014-09-20 14:24:16 +02:00
Stefan Hoffmann
a7dad2b72e doc: remove links that point nowhere
`make html` displays errors for links that are not in the tagfile
2014-09-20 14:03:14 +02:00
Stefan Hoffmann
9c8008e252 doc: move manpages into their own folder 2014-09-20 14:03:14 +02:00
Stefan Hoffmann
856e01e622 doc: remove uganda.nsis.txt target
It seems that this file was used in the windows installer as license
file.
2014-09-20 14:03:14 +02:00
Stefan Hoffmann
98315a364f doc: rename *.UTF-8.1 files 2014-09-20 14:03:14 +02:00
Stefan Hoffmann
7860b09f65 doc: remove encoding conversion targets
this deletes the source files wich have an utf-8 generated file.
in the next step the generated *UTF-8.1* files will be renamed.
2014-09-20 14:03:13 +02:00
Stefan Hoffmann
1f7289b407 doc: remove some unnecessary targets
these files got all imported, no ned to create them
2014-09-20 14:03:13 +02:00
Stefan Hoffmann
787f879b83 doc: remove generated manpages 2014-09-20 14:03:13 +02:00
Stefan Hoffmann
178bafc290 doc: remove reference to config.mk, hangulin.txt
needed to get `make html` to work.
2014-09-20 14:03:13 +02:00
Thiago de Arruda
5a640821f9 runtime: Fix one of python sanity checks
Use sys.stdout.write which is compatible with python 2 and 3
2014-09-16 14:14:00 -03:00
Thiago de Arruda
e0beb6d0c4 runtime: Make python_setup.vim compatible with python 2.6 2014-09-15 09:47:49 -03:00
Thiago de Arruda
e59d1c5816 runtime: Some nvim documentation fixes pointed by @oni-link 2014-09-15 08:21:31 -03:00
Thiago de Arruda
037ca796a0 eval.c: Rename has('neovim') feature to has('nvim')
To follow the convention of 'nvim' for technical references
2014-09-15 08:21:31 -03:00
Thiago de Arruda
84aff1da6a runtime: Document python interface, clipboard and add intro doc 2014-09-13 21:35:47 -03:00
Thiago de Arruda
40a8193c6a runtime: Document 'unnamedclip' 2014-09-13 21:35:47 -03:00
Thiago de Arruda
c66959d115 runtime: Update python_setup.vim to the new rpc function names
Also improve version checking.
2014-09-13 21:35:47 -03:00
Thiago de Arruda
746e7cce21 runtime: Add highlighting for new functions/events 2014-09-13 21:35:47 -03:00
Thiago de Arruda
13f77ca0fd runtime: Initial job control documentation 2014-09-13 21:35:47 -03:00
Thiago de Arruda
eecdbb57fa runtime: Initial msgpack-rpc documentation 2014-09-13 21:35:47 -03:00
Thiago de Arruda
549311db7d runtime: Enhance help.vim to highlight Nvim/NVIM 2014-09-13 21:35:47 -03:00
Thiago de Arruda
fa01ea8ead runtime: Add script for bootstrapping the python host 2014-09-12 13:50:02 -03:00
Fredrik Fornwall
5a6d7a59dd Remove version{4,5,6,7}.txt 2014-08-26 08:39:29 +02:00
Justin M. Keyes
c2a8f06bba Merge pull request #1087 from fwalch/archlinux-filetypes
Runtime: Support Arch Linux/Pacman file types.
2014-08-26 02:23:58 -04:00
Justin M. Keyes
e11b23e357 Merge pull request #1082 from fornwall/remove-os-msdos-txt
Remove os_msdos.txt due to dropped MS-DOS support
2014-08-26 01:41:44 -04:00
Will Stamper
a1582a841b Spelling fixes 2014-08-24 18:40:06 -05:00
Florian Walch
75f164c43f Runtime: Support Arch Linux/Pacman file types. 2014-08-21 22:18:43 +02:00
Fredrik Fornwall
22860647a7 Remove os_msdos.txt due to dropped MS-DOS support 2014-08-18 17:45:17 +02:00
Fredrik Fornwall
6dcd629ed6 Make ttyfast default to true on all terminals #1051 2014-08-18 03:59:40 +00:00
Pavel Platto
2838f2c3a6 documentation: Update tempfile and tempname() 2014-08-09 11:28:43 -03:00
Fredrik Fornwall
1de8fe30c8 Remove unused USE_TERM_CONSOLE ifdefs #1015
This is unused after dropped amiga and msdos support.
2014-08-07 01:52:03 -04:00
Stefan Hoffmann
84854202fe documentation: update documentation for :mode #1009
see #588
2014-08-07 01:47:49 -04:00
Fredrik Fornwall
e6edfa9617 Drop SGI IRIS support. #1006 2014-08-07 01:37:18 -04:00
Justin M. Keyes
9df1eb27f4 doc: Remove "h" flag of 'highlight' option
HLF_H is an obsolete flag and got replaced by HLF_E.

From: Marco Hinz <mh.codebro@gmail.com>
2014-07-30 20:13:26 -04:00
Justin M. Keyes
80289956a1 runtime: Remove 'textauto' 2014-07-30 20:07:11 -04:00
Justin M. Keyes
666c0be13c doc: Remove 'textmode'
by @mhinz
2014-07-30 19:35:47 -04:00
Fredrik Fornwall
bfaab2e351 Remove FEAT_MOUSE_JSB
This is never built and references some obscure jsb terminal
2014-07-29 18:08:15 +02:00
Justin M. Keyes
a98a6996c2 re-integrate runtime/ vim-patch:0 #938
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7

Excluding:
  Amiga icons (*.info, icons/)
  doc/hangulin.txt
  tutor/
  spell/
  lang/ (only used for menu translations)
  macros/maze/, macros/hanoi/, macros/life/, macros/urm/
      These were used to test vi compatibility.
  termcap
      "Demonstration of a termcap file (for the Amiga and Archimedes)"

Helped-by: Rich Wareham <rjw57@cam.ac.uk>
Helped-by: John <john.schmidt.h@gmail.com>
Helped-by: Yann <yann@yann-salaun.com>
Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com>
Helped-by: drasill <github@tof2k.com>
Helped-by: Tae Sandoval Murgan <taecilla@gmail.com>
Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>
2014-07-29 02:12:31 +00:00