Commit Graph

81 Commits

Author SHA1 Message Date
Justin M. Keyes
763b62698a Merge pull request #1556 from elmart/fix-msgpack-rpc-docs
Fix outdated msgpack-rpc doc.
2014-11-26 17:51:08 -05:00
Florian Walch
98c72305a9 Improve Python host messages. 2014-11-26 16:49:46 +01:00
Eliseo Martínez
2ff36db571 Fix outdated msgpack-rpc doc.
Needed after neovim/python-client#58.
2014-11-26 12:13:49 +01:00
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