Commit Graph

3546 Commits

Author SHA1 Message Date
David Bürgin
cc76c5b0cf Remove obsolete vi options #2553
These options were never implemented in Vim. They are documented under
|missing-options| in runtime/doc/vi_diff.txt:
  'autoprint'
  'beautify'
  'flash'
  'graphic'
  'hardtabs'
  'mesg'
  'novice'
  'open'
  'optimize'
  'redraw'
  'slowopen'
  'sourceany'
  'w300'
  'w1200'
  'w9600'

References #2548.
2015-05-01 16:17:03 -04:00
Felipe Morales
ff70129d96 vim-patch:7.4.566
Problem:    :argdo, :bufdo, :windo and :tabdo don't take a range.
Solution:   Support the range. (Marcin Szamotulski)

https://code.google.com/p/vim/source/detail?r=v7-4-566
2015-04-28 23:08:31 -03:00
Felipe Morales
7fc952ab67 vim-patch:7.4.542
Problem:    Using a range for window and buffer commands has a few
            problems.
            Cannot specify the type of range for a user command.
Solution:   Add the -addr argument for user commands.  Fix problems.
            (Marcin Szamotulski

https://code.google.com/p/vim/source/detail?name=v7-4-542
2015-04-28 23:08:31 -03:00
Felipe Morales
c525085773 vim-patch:7.4.539
Patch 7.4.539 (after 7.4.530)
Problem:    Crash when computing buffer count.  Problem with range for
            user commands.  Line range wrong in Visual area.
Solution:   Avoid segfault in compute_buffer_local_count().  Check for
            CMD_USER when checking type of range. (Marcin Szamotulski)

https://code.google.com/p/vim/source/detail?name=v7-4-539
2015-04-28 23:08:31 -03:00
Felipe Morales
86330fdd3f vim-patch:7.4.530-531
Specify different kinds of counts for commands.
Updated ex commands generator scripts.

Includes fixes to comments from patch 7.4.531

Original message:

Problem:    Many commands take a count or range that is not using line
            numbers.
Solution:   For each command specify what kind of count it uses.  For
            windows, buffers and arguments have "$" and "." have a
relevant
            meaning. (Marcin Szamotulski)

https://code.google.com/p/vim/source/detail?r=v7-4-530
https://code.google.com/p/vim/source/detail?r=v7-4-531

Add legacy tests for 7.4.530

https://code.google.com/p/vim/source/detail?r=1e6d87a36dcdca231721dde8cbbc26610fb3df27
2015-04-28 23:08:30 -03:00
David Bürgin
7f07646294 vim-patch:7.4.710
Problem:    It is not possible to make spaces visibible in list mode.
Solution:   Add the "space" item to 'listchars'. (David Bürgin, issue 350)

https://github.com/vim/vim/releases/tag/v7-4-710

Closes #2485.
2015-04-27 04:58:37 -04:00
David Bürgin
5a1a2ba783 vim-patch:7.4.537 #2509
Problem:    Value of v:hlsearch reflects an internal variable.
Solution:   Make the value reflect whether search highlighting is actually
            displayed. (Christian Brabandt)

https://github.com/vim/vim/releases/tag/v7-4-537
2015-04-27 02:10:57 -04:00
David Bürgin
4230f8c332 'cpoptions': Remove "w" flag #2507 2015-04-27 01:08:17 -04:00
Jakson Alves de Aquino
f8151735a3 spell.c: give priority to rare words. #2456
See:
  https://groups.google.com/forum/#!topic/vim_dev/rPWOoR3ZgSA
2015-04-25 23:32:48 -04:00
Justin M. Keyes
61d7ca22bb doc/helphelp.txt: mention backticks for technical identifiers
[ci skip]
2015-04-25 18:00:37 -04:00
Justin M. Keyes
a3c0022901 doc: remove :fixdel
:fixdel was removed in 3baba1e7bc

Helped-by: Michael Reed <m.reed@mykolab.com>
2015-04-25 18:00:26 -04:00
Justin M. Keyes
eceff43169 doc/vim_diff.txt: formatting
- backticks in Vim help docs are supported by even the default
  colorscheme; we should start using them for technical identifiers
  instead of quotation marks.
- prefer judicious indentation to gratuitous bullets

Helped-by: Michael Reed <m.reed@mykolab.com>
2015-04-25 18:00:19 -04:00
David Bürgin
deeee5bfab options: Remove "g" flag from 'cpoptions' #2505 2015-04-25 15:07:45 -04:00
Felipe Oliveira Carvalho
c96b933acc Improve comments and fix ascii_* attributes 2015-04-24 22:17:02 -03:00
Felipe Oliveira Carvalho
bcfc37ea98 Replace vim_isspace() with ascii_isspace() defined in ascii.h 2015-04-24 20:37:13 -03:00
Felipe Oliveira Carvalho
93bf201119 Replace vim_iswhite with ascii_iswhite() defined in ascii.h 2015-04-24 20:37:13 -03:00
Shougo Matsushita
42de617974 Add if_python3 support
Reviewed-by: Michael Reed <m.reed@mykolab.com>, Daniel Hahler <github@thequod.de>
Helped-by: Daniel Hahler <github@thequod.de>
2015-04-21 06:20:23 +09:00
Michael Reed
785a91f3da runtime/doc/Makefile: Use wildcard 2015-04-16 20:22:05 -04:00
Marco Hinz
a86193d88e Remove runtime/tools/ #2426
This directory contains old (at least 10+ years) scripts that mainly filter
output of other old programs to make them conformant with an 'errorformat'
from 10+ years ago.
2015-04-14 17:49:37 -04:00
Scott Prager
b47ea5fcde Merge pull request #2331 from splinterofchaos/serverlisten
vimL: serverlisten({addr}), list(), and stop({addr})
2015-04-14 15:45:39 -04:00
Scott Prager
296719428a eval: learn serverstart, list, and close().
Implement functions for spawning, destroying, and listing active
servers, and add server_address_list() to msgpack_rpc/server.c for the
serverlist() vimL function.
2015-04-14 15:31:04 -04:00
Thiago de Arruda
54bd384338 runtime: Handle failures while loading individual remote plugins
The s:RegistrationCommands functions will now test the type of the "specs" rpc
call. If it's not a list, then the plugin failed to load and is skipped
2015-04-13 17:21:28 -03:00
Scott Prager
c4da6bf2ba docs: update for rpcstart('nvim', ['--embed'])
Also, edit the reference to the non-existent api function,
vim_list_buffers, to vim_get_buffers.
2015-04-13 10:20:42 -04:00
Marco Hinz
0e65962a68 Remove all references to JobActivity
The JobActivity event got replaced by callback functions provided to
jobstart() or termopen().

It got removed here:

6e7757ad51
2015-04-11 18:32:18 +02:00
Michael Reed
e584fe0057 doc: Remove |shell-window|
fixes #2384
2015-04-10 16:38:11 -04:00
Michael Reed
95b7059d45 Remove unused 'if_[language].txt': Review 2015-04-10 16:38:11 -04:00
Michael Reed
5bc151c2a4 Remove unused 'if_[language].txt': Clean up
Regarding |script-here|: despite being a language agnostic piece of
advice, it was in `if_perl.txt`. Regardless, we now only have one
support for one legacy plugin interface, so put it in `if_pyth.txt`
2015-04-10 16:38:11 -04:00
Michael Reed
b0cc6eadd7 doc: Remove unused 'if_[language].txt' and related
Rubycomplete requires 'if_ruby', which has never been in Neovim. Because
of this, remove some mentions of it from the docs, but keep the actual
plugin untouched (as to avoid unneeded maintainence costs). It has a
call to `has('ruby')`, so it will still fall back to syntax completion.
2015-04-10 16:38:11 -04:00
Michael Reed
ea8325024e Bring E319 (cmd not available) in line with E519 (opt not available) 2015-04-10 16:38:11 -04:00
Michael Reed
baba9f7096 Clarify that nvim has no built-in GUI 2015-04-10 16:38:10 -04:00
Marco Hinz
cd7b910e81 Add new highlight groups TermCursor/TermCursorNC
These highlight groups replace the old mechanism of setting:

  - {g,b}:terminal_focused_cursor_highlight
  - {g,b}:terminal_unfocused_cursor_highlight
2015-04-09 16:38:32 +02:00
David Bürgin
d3bb177f1e vim-patch:7.4.497 #2295
Problem:    With some regexp patterns the NFA engine uses many states and
            becomes very slow.  To the user it looks like Vim freezes.
Solution:   When the number of states reaches a limit fall back to the old
            engine. (Christian Brabandt)

https://github.com/vim/vim/releases/tag/v7-4-497

Helped-by: David Bürgin <676c7473@gmail.com>
Helped-by: Justin M. Keyes <justinkz@gmail.com>
Helped-by: Scott Prager <splinterofchaos@gmail.com>
2015-04-05 19:24:58 -04:00
Florian Walch
abf9bb63fe Merge pull request #2341 from jalvesaq/r-runtime-update
Update R runtime files
2015-04-05 15:55:43 +03:00
Michael Reed
73bf0551f8 doc/vim_diff.txt: Remove redundant :terminal ref
Stated at the top of the section:
"See |nvim-intro| for a list of Nvim's largest new features."

It's now mentioned in `:h nvim_terminal_emulator.txt`.
2015-04-04 18:31:57 -04:00
Jakson Alves de Aquino
bd30ae53cb Update R runtime files
indent/r.vim      : change shiftwidth to 2 and minor bug fixes.
indent/rhelp.vim  : move the position of the test if the script was already sourced
indent/rmd.vim    : minor bug fix
indent/rnoweb.vim : minor bug fix
syntax/r.vim      : minor bug fixes and improvement (distinguish = from ==)
2015-04-03 10:44:18 -04:00
Thiago de Arruda
617878f747 runtime: Add vimexpect library and example gdb plugin
This library makes it easier to script communication with interactive programs.
It is similar to what the "expect" tcl extension does, but uses an object
oriented API and is designed to integrate nicely with Neovim job control.
2015-04-02 11:33:48 -03:00
Harm te Hennepe
27ead64da0 Create new mode() value for terminal-mode ('t') #2287 2015-03-27 05:25:28 -04:00
Thiago de Arruda
b94f29004b doc: Begin terminal emulator documentation
With some spacing/indentation fixes.

Helped by: @Pyrohh, @kopischke
2015-03-29 20:35:45 -03:00
Thiago de Arruda
b8b9e5ebad eval: Implement jobclose() vimscript function 2015-03-29 20:35:44 -03:00
Thiago de Arruda
028f6d7d3f eval: Implement jobwait() vimscript function 2015-03-29 20:35:44 -03:00
Thiago de Arruda
6e7757ad51 eval: Refactor vimscript job control API
- Remove JobActivity autocmd and v:job_data variable
- Simplify `jobstart` to receive:
  - An argument vector
  - An optional dictionary which may contain any of the current `jobstart`
    options plus `on_stdout`, `on_stderr` and `on_exit` callbacks.
- Refactor and add more job tests
- Update documentation
2015-03-29 20:35:44 -03:00
David Bürgin
2c7e8c38e0 vim-patch:7.4.502 #2282
Problem:    Language mapping also applies to mapped characters.
Solution:   Add the 'langnoremap' option, when on 'langmap' does not apply to
            mapped characters. (Christian Brabandt)

https://github.com/vim/vim/releases/tag/v7-4-502
2015-03-29 09:55:59 -04:00
Michael Reed
c47e0d6210 doc: Introduce vim-differences #2141
This documents the differences between nvim and nvim.

Regarding the removal of references to 'renderoptions': it was never
added in the first place, so there's no need to mention its "removal".
2015-03-26 17:36:40 -04:00
Florian Walch
13f0ef66b4 doc: Document g:python_host_prog. #2205 2015-03-26 17:30:26 -04:00
Michael Reed
d85fabc24f doc: Remove refs to 'compatible' and friends
Also remove some MS-DOS references on lines already being touched.

Based on this commit:
e4db01ca87
2015-03-24 19:33:42 -04:00
Justin M. Keyes
adfc8cf50a doc: Misc. cleanup
Add missing parentheses and whatnot, move dangling comment, etc. Some
specific items worth mentioning:

Fixed some references to non-existent tags, found via `make html`

msgpack_rpc/channel.c:
  ELOG already prefixes each line with "error @ ..."
2015-03-24 19:29:29 -04:00
Justin M. Keyes
ab68ac4c02 doc: Add one-liner job control example 2015-03-24 19:29:29 -04:00
Michael Reed
c60dd09408 doc: Cleanup for #2099
Said PR changed the behavior of `undercurl` in the TUI, but didn't
document it.
2015-03-24 19:29:29 -04:00
Michael Reed
bb7aa04e61 Remove --nofork / -f remnants 2015-03-24 19:29:29 -04:00
Michael Reed
eea804ab59 Remove *_BUILTIN_TCAPS & 'ttybuiltin'
'ttybuiltin' was removed and *_BUILTIN_TCAPS was made into dead code in
PR #1820.
2015-03-22 15:41:29 -04:00
Perry Hung
26e6bca769 vim-patch:7.4.503 #2178
Problem:    Cannot append a list of lines to a file.
Solution:   Add the append option to writefile(). (Yasuhiro Matsumoto)

https://code.google.com/p/vim/source/detail?r=v7-4-503

-Ported old legacy test over to
    test/functional/legacy/writefile_spec.lua
-Tests for mapping and signs from the original patch were removed since
    they have nothing to do this with feature

Tested with: make oldtest, make test on OS X.

Signed-off-by: Perry Hung <iperry@gmail.com>
2015-03-20 17:54:28 -04:00
Michael Reed
2d11eba6fd Interface cleanup: Man pages 2015-03-12 20:04:26 -04:00
Michael Reed
481ebc0bb1 Interface cleanup: Symlink handling & docs
This removes the ability to start nvim via the following aliases in
favor of just using their command line arguments:

ex        vim -e
exim      vim -E
view      vim -R
gvim      vim -g
gex       vim -eg
gview     vim -Rg
rvim      vim -Z
rview     vim -RZ
rgvim     vim -gZ
rgview    vim -RgZ

This also removes Vi mode (-v) for consistency. From ':help -v':

    -v  Start Ex in Vi mode.  Only makes a difference when the
    executable is called "ex" or "gvim".  For gvim the GUI is not
    started if possible.
2015-03-12 20:04:26 -04:00
Geoff Harcourt
c0a668aa26 docs: Clean up python, provider, remote_plugin #2056
* "Python" is a proper noun and should be capitalized in prose
* Corrected use of "its/it's"
* Used better preposition to describe something "in" legacy Vim
* Combine fragments into complete sentence
2015-03-08 17:23:48 -04:00
Björn Linse
5be040ffe4 jobsend: Don't append extra newline after last item
This allows sending binary data that is not newline terminated
2015-03-03 20:18:24 +01:00
Florian Walch
0df6b9168e Simpler handling for "always-on"/"always-off" options. #2002
'compatible' and 'edcompatible' are forced to be off.
'ttyfast' is forced to be on.
2015-02-22 14:55:58 -05:00
Thiago de Arruda
3baba1e7bc refactor: Remove term modules and termcap options
- Removed term.c, term.h and term_defs.h
- Tests for T_* values were removed. screen.c was simplified as a
  consequence(the best strategy for drawing is implemented in the UI layer)
- Redraw functions now call ui.c functions directly. Updates are flushed with
  `ui_flush()`
- Removed all termcap options(they now return empty strings for compatibility)
- &term/&ttybuiltin options return a constant value(nvim)
- &t_Co is still available, but it mirrors t_colors directly
- Remove cursor tracking from screen.c and the `screen_start` function. Now the
  UI is expected to maintain cursor state across any call, and reset it when
  resized.
- Remove unused code
2015-02-21 05:08:21 -03:00
Thiago de Arruda
9894720a05 tui: Don't use 'timeout' for determining esc timeout 2015-02-20 09:43:13 -03:00
Justin M. Keyes
66a03a7385 fix rebase hiccup #1911 2015-02-17 01:10:49 -05:00
Felipe Morales
3ffc5d81c3 Add TabClosed event
TabClosed is triggered when a tab page closes.
2015-02-16 23:24:31 -05:00
Felipe Morales
66d94869a0 Add TabNewEntered
TabNewEntered is triggered after vim has entered a buffer in new tab.
2015-02-16 23:24:30 -05:00
Felipe Morales
817be96be5 Add TabNew event
TabNew triggers when entering a new tab page, but not when entering an
already created one.
2015-02-16 23:24:30 -05:00
Michael Reed
af46564dd6 Remove 'edcompatible' #1911
Closes #1902
2015-02-16 21:00:30 -05:00
Seth Woodworth
fd636fc6dc runtime: make the spellfile creation use .nvim folder #1990 2015-02-15 12:19:55 -05:00
Justin M. Keyes
2d22e1f035 vim-patch:7.4.601 #1950
Problem:    It is not possible to have feedkeys() insert characters.
  Solution:   Add the 'i' flag.

  https://code.google.com/p/vim/source/detail?r=v7-4-601
2015-02-12 23:21:09 -05:00
Michael Reed
b0b9a33e62 doc: man pages: restore removed line. #1968
Accidentally done in 7b98b4c442
2015-02-09 18:56:19 -05:00
Joel Teichroeb
7ab0fcdd94 doc/options.txt: remove 'compatible' #1925 2015-02-09 00:18:38 -05:00
Michael Reed
10b2a0e529 Remove 'ttyfast'
refs #1045 #1051

This was enabled by default a while ago (#1051), and has apparently not
created any issues.  The amount of actual code related to it is tiny, so
it has been removed.
2015-02-08 17:46:09 -05:00
Justin M. Keyes
98413a4932 doc: diff-mode: minor adjustments 2015-02-03 18:52:18 -05:00
Michael Reed
a720b64851 Remove vimdiff: Review suggestions 2015-02-03 16:51:41 -05:00
Michael Reed
7b98b4c442 Remove vimdiff
While we're here:
- Remove references to the '+diff' feature, which has since been made
  non-optional.
- Update a few Vim instances with Nvim.
2015-02-03 15:15:54 -05:00
Marco Hinz
4d70aae770 Add EndOfBuffer hl group for ~ lines after the last line in buffers
This makes it possible to highlight the lines starting with ~ at the end
of buffers and other elements highlighted using NonText.

As proposed by mhinz at
https://groups.google.com/forum/#!topic/vim_dev/p3de1iU1GXI/discussion
2015-02-02 01:16:41 -05:00
Justin M. Keyes
9a3b1d1078 Merge pull request #1834 from Pyrohh/misc-float-double
Factor out float usage & remove '+float' references
2015-01-29 09:19:46 -05:00
Florian Walch
0f2d02569c vim-patch:31f7581
Update runtime files and translations.

https://code.google.com/p/vim/source/detail?r=31f7581068a9c3119e3bd2cd74160eb8282c3c6e
2015-01-26 02:17:13 -05:00
Michael Reed
5b8d84d2c2 Remove '+float' references
The corresponding code was already removed in
b4ca3abc9f
2015-01-24 16:50:42 -05:00
Jack Danger Canty
19c22cdb80 "halfway a line" is a very confusing phrase
If you Google for this phrase found in the Vim documentation you'll find
almost exclusively hits from the Vim documentation. I think changing
"halfway a line" to "halfway through a line" makes more sense.

There seems to be an pervasive odd use of the word 'halfway' in the
original docs which I'm updating everywhere.
2015-01-22 21:57:03 -08:00
Florian Walch
5f00d22853 vim-patch:bd18da9
Update runtime files.

https://code.google.com/p/vim/source/detail?r=bd18da914be9d43a70713f6af02770a0d3280159
2015-01-21 07:27:01 +01:00
Justin M. Keyes
c3028e4353 Merge pull request #1656 from fmoralesc/remove-easy-mode
Remove "easy" mode.
2015-01-21 00:17:17 -05:00
Florian Walch
e6f3b0703c vim-patch:47b1887
Updated runtime files.

https://code.google.com/p/vim/source/detail?r=47b1887483da0bc33d26a3e8d89973d76c9f39ef
2015-01-20 15:11:00 +01:00
Felipe Morales
44b01ca863 Remove easy mode 2015-01-15 18:55:44 -03:00
Michael Reed
16d0976150 Remove QNX/pterm remnants
The function qnx_init() (wrapped in an ifdef in main.c) doesn't even
exist.
2015-01-11 21:00:06 -05:00
Michael Reed
e0f66137d1 docs: Misc. improvements to job_control/msgpack
- Rewrote a few sentences for clarity/brevity
- Various spelling/grammar fixes
- Mention exact time before SIGKILL (mentioned in /src/nvim/os/job.c)
- Reflowed all changed paragraphs accordingly
- Standardize indentation level
- Remove trailing whitespace

- Job control example:
  - Don't buffer output (echo -n); just print a new line for every
    update.
  - Use single quotes around jobsend() arguments to allow for proper
    interpretation of newline characters.
  - Sleep 1 second between updates instead of 2; 10 seconds is plenty of
    time for such a simple example.
2015-01-11 16:50:24 -05:00
Michael Reed
215603ebd7 docs: More consistent descriptions of rpc*() funcs
- Remove note about how {channel} is rpcstop's only argument; just
  mention {channel} at the beginning like the other descriptions.
- Small grammar fixes
2015-01-11 16:50:23 -05:00
Florian Walch
2624d66045 vim-patch:37c2403
Update runtime files.

https://code.google.com/p/vim/source/detail?r=37c24033b2601a4a0953970a0ec85d5537101915
2015-01-04 20:28:08 +01:00
Florian Walch
b332aebe25 vim-patch:6921742
Update runtime files.

https://code.google.com/p/vim/source/detail?r=6921742f396a4abd21d7f69843b804ca0b96059c
2015-01-04 19:42:30 +01:00
Florian Walch
e114529972 vim-patch:babc6a1
Runtime file updates.

https://code.google.com/p/vim/source/detail?r=babc6a1d4c270e3a8004dad9d3b3648f067bdfde
2014-12-30 14:06:20 +01:00
Florian Walch
272f1064c7 vim-patch:1e8ebf8
Updated runtime files.

https://code.google.com/p/vim/source/detail?r=1e8ebf870720e7b671f98f22d653009826304c4f
2014-12-30 13:51:39 +01:00
Florian Walch
a1c03c33b3 vim-patch:7.4.450
Problem:    Not all commands that edit another buffer support the +cmd
	    argument.
Solution:   Add the +cmd argument to relevant commands. (Marcin Szamotulski)

https://code.google.com/p/vim/source/detail?r=v7-4-450
2014-12-23 21:10:40 +01:00
Justin M. Keyes
44fabac4e0 Merge pull request #1724 from fwalch/vim-7.4.452
vim-patch:7.4.449, vim-patch:7.4.452
2014-12-23 14:50:36 -05:00
Florian Walch
d5bdc709d0 vim-patch:7.4.447
Problem:    Spell files from Hunspell may generate a lot of errors.
Solution:   Add the IGNOREEXTRA flag.

https://code.google.com/p/vim/source/detail?r=v7-4-447
2014-12-23 16:14:46 +01:00
Florian Walch
1e17904eb2 vim-patch:7.4.449
Problem:    Can't easily close the help window. (Chris Gaal)
Solution:   Add ":helpclose". (Christian Brabandt)

https://code.google.com/p/vim/source/detail?r=v7-4-449
2014-12-23 16:14:24 +01:00
Marco Hinz
7e31044cd8 vim-patch:7.4.456
Problem:  'backupcopy' is global, cannot write only some
          files in a different way.
Solution: Make 'backupcopy' global-local. (Christian Brabandt)

https://code.google.com/p/vim/source/detail?r=v7-4-456
2014-12-20 16:31:59 +01:00
Michael Reed
a62fe49d3c Remove Amiga remnants
Notes regarding the removal of specific items:

  - Aztec C: only on the Amiga.
  - mch_check_win(): doesn't exist anymore.
  - Comment in ex_cmds.c: It seems the context for this comment was
    removed, but the comment was inadvertantly left alone.
2014-12-19 15:28:49 -05:00
Michael Reed
a5e1723bb1 Remove dec-mcs remnants
It was (apparently) the default character encoding file used for line
printing on VMS, which is unsupported.
2014-12-19 15:28:49 -05:00
Michael Reed
6f50fd6c35 Remove VMS remnants 2014-12-19 15:28:49 -05:00
Florian Walch
815fe28450 vim-patch:7.4.434
Problem:    gettabvar() is not consistent with getwinvar() and getbufvar().
Solution:   Return a dict with all variables when the varname is empty.
	    (Yasuhiro Matsumoto)

https://code.google.com/p/vim/source/detail?r=v7-4-434
2014-12-18 21:22:40 +01:00
Michael Reed
f33abc4661 docs: Fix incorrect Mac path references 2014-12-09 19:43:46 -05:00
Michael Reed
ed4356e75d docs: Remove Photon remnants
Also get rid of some platform references made irrelevant by the removal
of their respective platform specific GUI code.
2014-12-09 19:43:45 -05:00
Michael Reed
500cce1091 docs: Remove OS/390 remnants 2014-12-09 19:43:45 -05:00
Michael Reed
b75989b572 docs: Remove RISC OS remnants 2014-12-09 19:26:18 -05:00
Michael Reed
a08e31368f docs: Remove 'osfiletype' remnants
Even when this was finally removed 6 months ago in b2b920f, it had
already been disabled for a while. Due to this, just remove all remnants
of the option as opposed to putting a placeholder like what was done for
'shortname'and 'cryptmethod'.
2014-12-09 19:25:43 -05:00
Michael Reed
365cf90efb docs: Remove EBCDIC remnants 2014-12-09 19:25:07 -05:00
Michael Reed
3969823759 docs: Remove BeOS/Haiku remnants 2014-12-09 19:24:58 -05:00
Björn Linse
df2eeaeb37 docs: remove unnamedclip option 2014-12-08 23:42:57 +01:00
Björn Linse
63efb9b1f1 clipboard: handle linewise/charwise selections correctly 2014-12-08 22:01:00 +01:00
Björn Linse
c1854d2433 clipboard: support separate '+' and '*' clipboards 2014-12-08 21:38:35 +01:00
Michael Reed
593d63f1d5 doc: Misc. improvements to nvim-related docs
- Improved wording in a few places for clarity
- Various capitalization/grammar fixes
- Change references to Neovim as 'editor' to 'Nvim'
- Be consistent regarding utilization of vim's documentation features,
  e.g. unnamedclip -> |unnamedclip|
- Reflowed all changed paragraphs accordingly

- Add spaces before parentheses
- Remove trailing whitespace
- Standardize single spaces after periods. Vim's docs use two for the
  most part, but Nvim's use one mainly, so just follow Nvim's conventions
2014-12-07 23:45:28 -05:00
Michael Reed
1cb7349302 runtime: Cleanup refs to removed options
- {no,inv,}shortname
- {no,inv,}sn
- cm, key (remnants of cryptmethod)
2014-12-07 13:51:05 -05:00
Michael Reed
8b35090c64 docs: Remove shortname references.
In addition, align the removal notice next to 'key' with other
such notices (options.txt).
2014-12-07 02:32:39 -05:00
Michael Reed
497a688ebc Remove remaining crypto references
Closes https://github.com/neovim/docs/pull/26

Also added stubs for 'cryptmethod' and 'key', and placeholders for
explanation regarding removal of crypto functionality.
2014-12-03 14:46:37 -05:00
Björn Linse
1464b0eda2 systemlist: add keepempty option to preserve final newline 2014-12-02 16:50:52 +01:00
Michael Reed
ba1e2ce287 Remove OS/2 references
Paul Slootman was removed from the top of os_unix.c as OS/2 is no longer
supported, but is still credited in runtime/doc/intro.txt.
2014-11-27 23:42:40 -05:00
Michael Reed
83a4c9d58c Remove Atari MiNT references 2014-11-27 23:42:40 -05:00
John Szakmeister
98b11f5db3 Merge pull request #1562 from Happy-Dude/fix-1560-libuv-refs
Change refs for joyent/libuv repo to libuv/libuv.
2014-11-27 14:52:15 -05:00
Stanley Chan
a4ad5f6bee Change refs for joyent/libuv repo to libuv/libuv
* References to old repository found through grepping
* Replace references from github.com/joyent/libuv to github.com/libuv/libuv
* Fix previous commit by not including whitespace changes

 For issue #1560.
2014-11-27 10:05:14 -05:00
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
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