diff options
| author | Michael Reed <m.reed@mykolab.com> | 2015-03-25 17:21:53 -0400 |
|---|---|---|
| committer | Michael Reed <m.reed@mykolab.com> | 2015-04-10 16:38:11 -0400 |
| commit | 5bc151c2a401aa2b91adc783b9155895c6a483d1 (patch) | |
| tree | c8b3f59b38422e9611b33c6607dd13909059a256 /runtime/doc | |
| parent | b0cc6eadd79af1fcd31f0c02d6e7c77c4c6d69bc (diff) | |
| download | rneovim-5bc151c2a401aa2b91adc783b9155895c6a483d1.tar.gz rneovim-5bc151c2a401aa2b91adc783b9155895c6a483d1.tar.bz2 rneovim-5bc151c2a401aa2b91adc783b9155895c6a483d1.zip | |
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`
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/Makefile | 10 | ||||
| -rw-r--r-- | runtime/doc/cmdline.txt | 5 | ||||
| -rw-r--r-- | runtime/doc/eval.txt | 38 | ||||
| -rw-r--r-- | runtime/doc/help.txt | 5 | ||||
| -rw-r--r-- | runtime/doc/if_pyth.txt | 23 | ||||
| -rw-r--r-- | runtime/doc/index.txt | 13 | ||||
| -rw-r--r-- | runtime/doc/insert.txt | 6 | ||||
| -rw-r--r-- | runtime/doc/options.txt | 9 | ||||
| -rw-r--r-- | runtime/doc/quickref.txt | 1 | ||||
| -rw-r--r-- | runtime/doc/todo.txt | 8 | ||||
| -rw-r--r-- | runtime/doc/usr_41.txt | 2 | ||||
| -rw-r--r-- | runtime/doc/various.txt | 10 | ||||
| -rw-r--r-- | runtime/doc/vi_diff.txt | 3 |
13 files changed, 27 insertions, 106 deletions
diff --git a/runtime/doc/Makefile b/runtime/doc/Makefile index 4bced03d7e..e0d6e48cb9 100644 --- a/runtime/doc/Makefile +++ b/runtime/doc/Makefile @@ -34,12 +34,7 @@ DOCS = \ helphelp.txt \ howto.txt \ if_cscop.txt \ - if_lua.txt \ - if_mzsch.txt \ - if_perl.txt \ if_pyth.txt \ - if_ruby.txt \ - if_tcl.txt \ indent.txt \ index.txt \ insert.txt \ @@ -156,12 +151,7 @@ HTMLS = \ helphelp.html \ howto.html \ if_cscop.html \ - if_lua.html \ - if_mzsch.html \ - if_perl.html \ if_pyth.html \ - if_ruby.html \ - if_tcl.html \ indent.html \ index.html \ insert.html \ diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index b426799239..da101e2dd1 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -522,8 +522,6 @@ followed by another Vim command: :lcscope :make :normal - :perl - :perldo :promptfind :promptrepl :pyfile @@ -532,9 +530,6 @@ followed by another Vim command: :read ! :scscope :sign - :tcl - :tcldo - :tclfile :vglobal :windo :write ! diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 710793fb04..6215756f08 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1879,7 +1879,6 @@ lispindent( {lnum}) Number Lisp indent for line {lnum} localtime() Number current time log( {expr}) Float natural logarithm (base e) of {expr} log10( {expr}) Float logarithm of Float {expr} to base 10 -luaeval( {expr}[, {expr}]) any evaluate |Lua| expression map( {expr}, {string}) List/Dict change each item in {expr} to {expr} maparg( {name}[, {mode} [, {abbr} [, {dict}]]]) String or Dict @@ -1905,7 +1904,6 @@ min( {list}) Number minimum value of items in {list} mkdir( {name} [, {path} [, {prot}]]) Number create directory {name} mode( [expr]) String current editing mode -mzeval( {expr}) any evaluate |MzScheme| expression nextnonblank( {lnum}) Number line nr of non-blank line >= {lnum} nr2char( {expr}[, {utf8}]) String single char with ASCII/UTF8 value {expr} or( {expr}, {expr}) Number bitwise OR @@ -4239,19 +4237,6 @@ log10({expr}) *log10()* < -2.0 -luaeval({expr}[, {expr}]) *luaeval()* - Evaluate Lua expression {expr} and return its result converted - to Vim data structures. Second {expr} may hold additional - argument accessible as _A inside first {expr}. - Strings are returned as they are. - Boolean objects are converted to numbers. - Numbers are converted to |Float| values. - Dictionaries and lists obtained by vim.eval() are returned - as-is. - Other objects are returned as zero without any errors. - See |lua-luaeval| for more details. - {only available when compiled with the |+lua| feature} - map({expr}, {string}) *map()* {expr} must be a |List| or a |Dictionary|. Replace each item in {expr} with the result of evaluating @@ -4615,23 +4600,6 @@ mode([expr]) Return a string that indicates the current mode. "c" or "n". Also see |visualmode()|. -mzeval({expr}) *mzeval()* - Evaluate MzScheme expression {expr} and return its result - converted to Vim data structures. - Numbers and strings are returned as they are. - Pairs (including lists and improper lists) and vectors are - returned as Vim |Lists|. - Hash tables are represented as Vim |Dictionary| type with keys - converted to strings. - All other types are converted to string with display function. - Examples: > - :mz (define l (list 1 2 3)) - :mz (define h (make-hash)) (hash-set! h "list" l) - :echo mzeval("l") - :echo mzeval("h") -< - {only available when compiled with the |+mzscheme| feature} - nextnonblank({lnum}) *nextnonblank()* Return the line number of the first line at or below {lnum} that is not blank. Example: > @@ -6773,7 +6741,6 @@ lispindent Compiled with support for lisp indenting. listcmds Compiled with commands for the buffer list |:files| and the argument list |arglist|. localmap Compiled with local mappings and abbr. |:map-local| -lua Compiled with Lua interface |Lua|. mac Macintosh version of Vim. macunix Macintosh version of Vim, using Unix files (OS-X). menu Compiled with support for |:menu|. @@ -6792,10 +6759,8 @@ multi_byte Compiled with support for 'encoding' multi_byte_encoding 'encoding' is set to a multi-byte encoding. multi_byte_ime Compiled with support for IME input method. multi_lang Compiled with support for multiple languages. -mzscheme Compiled with MzScheme interface |mzscheme|. ole Compiled with OLE automation support for Win32. path_extra Compiled with up/downwards search in 'path' and 'tags' -perl Compiled with Perl interface. persistent_undo Compiled with support for persistent undo history. postscript Compiled with PostScript file printing. printer Compiled with |:hardcopy| support. @@ -6805,12 +6770,10 @@ python3 Compiled with Python 3.x interface. |has-python| quickfix Compiled with |quickfix| support. reltime Compiled with |reltime()| support. rightleft Compiled with 'rightleft' support. -ruby Compiled with Ruby interface |ruby|. scrollbind Compiled with 'scrollbind' support. showcmd Compiled with 'showcmd' support. signs Compiled with |:sign| support. smartindent Compiled with 'smartindent' support. -sniff Compiled with SNiFF interface support. spell Compiled with spell checking support |spell|. startuptime Compiled with |--startuptime| support. statusline Compiled with support for 'statusline', 'rulerformat' @@ -6825,7 +6788,6 @@ tag_old_static Compiled with support for old static tags |tag-old-static|. tag_any_white Compiled with support for any white characters in tags files |tag-any-white|. -tcl Compiled with Tcl interface. terminfo Compiled with terminfo instead of termcap. termresponse Compiled with support for |t_RV| and |v:termresponse|. textobjects Compiled with support for |text-objects|. diff --git a/runtime/doc/help.txt b/runtime/doc/help.txt index 34ca6d0d12..347c1310ff 100644 --- a/runtime/doc/help.txt +++ b/runtime/doc/help.txt @@ -156,12 +156,7 @@ GUI ~ Interfaces ~ |if_cscop.txt| using Cscope with Vim -|if_lua.txt| Lua interface -|if_mzsch.txt| MzScheme interface -|if_perl.txt| Perl interface |if_pyth.txt| Python interface -|if_tcl.txt| Tcl interface -|if_ruby.txt| Ruby interface |debugger.txt| Interface with a debugger |sign.txt| debugging signs diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt index 4ed8eac742..c2d169283f 100644 --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -107,6 +107,29 @@ Here are some examples *python-examples* > (Note that changes - like the imports - persist from one command to the next, just like in the Python interpreter.) + *script-here* +When using a script language in-line, you might want to skip this when the +language isn't supported. Note that this mechanism doesn't work: +> + if has('python') + python << EOF + this will NOT work! + EOF + endif + +Instead, put the Python command in a function and call that function: +> + if has('python') + function DefPython() + python << EOF + this works + EOF + endfunction + call DefPython() + endif + +Note that "EOF" must be at the start of the line. + ============================================================================== 2. The vim module *python-vim* diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index 3eedb234f3..dfa4086488 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -1325,9 +1325,6 @@ tag command action ~ |:ltag| :lt[ag] jump to tag and add matching tags to the location list |:lunmap| :lu[nmap] like ":unmap!" but includes Lang-Arg mode -|:lua| :lua execute |Lua| command -|:luado| :luad[o] execute Lua command for each line -|:luafile| :luaf[ile] execute |Lua| script file |:lvimgrep| :lv[imgrep] search for pattern in files |:lvimgrepadd| :lvimgrepa[dd] like :vimgrep, but append to current list |:lwindow| :lw[indow] open or close location window @@ -1348,8 +1345,6 @@ tag command action ~ |:mkvimrc| :mkv[imrc] write current mappings and settings to a file |:mkview| :mkvie[w] write view of current window to a file |:mode| :mod[e] show or change the screen mode -|:mzscheme| :mz[scheme] execute MzScheme command -|:mzfile| :mzf[ile] execute MzScheme script file |:next| :n[ext] go to next file in the argument list |:new| :new create a new empty window |:nmap| :nm[ap] like ":map" but for Normal mode @@ -1382,13 +1377,11 @@ tag command action ~ |:ownsyntax| :ow[nsyntax] set new local syntax highlight for this window |:pclose| :pc[lose] close preview window |:pedit| :ped[it] edit file in the preview window -|:perl| :pe[rl] execute Perl command |:print| :p[rint] print lines |:profdel| :profd[el] stop profiling a function or script |:profile| :prof[ile] profiling functions and scripts |:promptfind| :pro[mptfind] open GUI dialog for searching |:promptrepl| :promptr[epl] open GUI dialog for search/replace -|:perldo| :perld[o] execute Perl command for each line |:pop| :po[p] jump to older entry in tag stack |:popup| :popu[p] popup a menu by name |:ppop| :pp[op] ":pop" in preview window @@ -1429,9 +1422,6 @@ tag command action ~ |:rewind| :rew[ind] go to the first file in the argument list |:right| :ri[ght] right align text |:rightbelow| :rightb[elow] make split window appear right or below -|:ruby| :rub[y] execute Ruby command -|:rubydo| :rubyd[o] execute Ruby command for each line -|:rubyfile| :rubyf[ile] execute Ruby script file |:rundo| :rund[o] read undo information from a file |:runtime| :ru[ntime] source vim scripts in 'runtimepath' |:rviminfo| :rv[iminfo] read from viminfo file @@ -1534,9 +1524,6 @@ tag command action ~ |:tab| :tab create new tab when opening new window |:tag| :ta[g] jump to tag |:tags| :tags show the contents of the tag stack -|:tcl| :tc[l] execute Tcl command -|:tcldo| :tcld[o] execute Tcl command for each line -|:tclfile| :tclf[ile] execute Tcl script file |:tearoff| :te[aroff] tear-off a menu |:tfirst| :tf[irst] jump to first matching tag |:throw| :th[row] throw an exception diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index c4c21f9175..0b9f958afc 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1421,9 +1421,9 @@ automatically switch to HTML/CSS/JavaScript completion. Note: contrary to original HTML files completion of tags (and only tags) isn't context aware. -RUBY *ft-ruby-omni* +RUBY {Nvim} *ft-ruby-omni* -Completion of Ruby code requires that vim be built with |+ruby|. +NOTE: Completion for ruby code is not currently provided by Nvim. Ruby completion will parse your buffer on demand in order to provide a list of completions. These completions will be drawn from modules loaded by 'require' @@ -1444,7 +1444,7 @@ The completions provided by CTRL-X CTRL-O are sensitive to the context: Notes: - Vim will load/evaluate code in order to provide completions. This may - cause some code execution, which may be a concern. This is no longer + cause some code execution, which may be a concern. This is no longer enabled by default, to enable this feature add > let g:rubycomplete_buffer_loading = 1 <- In context 1 above, Vim can parse the entire buffer to add a list of diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index fad6557eb0..6090dd6cb0 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4953,15 +4953,6 @@ A jump table for the options with a short description can be found at |Q_op|. time in msec between two mouse clicks for the second click to be recognized as a multi click. - *'mzquantum'* *'mzq'* -'mzquantum' 'mzq' number (default 100) - global - {not in Vi} - {not available when compiled without the |+mzscheme| - feature} - The number of milliseconds between polls for MzScheme threads. - Negative or zero value means no thread scheduling. - *'nrformats'* *'nf'* 'nrformats' 'nf' string (default "octal,hex") local to buffer diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt index 1554b823eb..5e0aa8021f 100644 --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -793,7 +793,6 @@ Short explanation of each option: *option-list* 'mousemodel' 'mousem' changes meaning of mouse buttons 'mouseshape' 'mouses' shape of the mouse pointer in different modes 'mousetime' 'mouset' max time between mouse double-click -'mzquantum' 'mzq' the interval between polls for MzScheme threads 'nrformats' 'nf' number formats recognized for CTRL-A command 'number' 'nu' print the line number in front of each line 'numberwidth' 'nuw' number of columns used for the line number diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index f66bc961f0..73dea6293d 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -849,8 +849,6 @@ Results in E670. (Tony Mechelynck, 2010 May 2) 'beval' option should be global-local. -Ruby: ":ruby print $buffer.number" returns zero. - setpos() does not restore cursor position after :normal. (Tyru, 2010 Aug 11) 7 The 'directory' option supports changing path separators to "%" to make @@ -1186,8 +1184,6 @@ still delete them. Also convert all buffer file names? Update src/testdir/main.aap. -"vim -c 'sniff connect'" hangs Vim. (Dominique Pelle, 2008 Dec 7) - Something wrong with session that has "cd" commands and "badd", in such a way that Vim doesn't find the edited file in the buffer list, causing the ATTENTION message? (Tony Mechelynck, 2008 Dec 1) @@ -1604,9 +1600,6 @@ error. without --remote-silent it works fine. (Ben Fritz, 2008 Jun 20) Gvim: dialog for closing Vim should check if Vim is busy writing a file. Then use a different dialog: "busy saving, really quit? yes / no". -Check other interfaces for changing curbuf in a wrong way. Patch like for -if_ruby.c. - ":helpgrep" should use the directory from 'helpfile'. The need_fileinfo flag is messy. Instead make the message right away and put @@ -2689,7 +2682,6 @@ Problems that will (probably) not be solved: XtOpenDisplay() prints this directly, there is no way to avoid it. - X windows: Setting 'guifontset' to an illegal value sometimes crashes Vim. This is caused by a fault in a X library function, can't be solved in Vim. -- Win32 tcl: has("tcl") hangs when the tcl84.dll is from cygwin. - Motif: When adding a menu item "Find this &Symbol", the "s" in "this" will be underlined, instead of in "Symbol". Motif doesn't let us specify which character gets the highlighting. diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt index 4db0af07a5..90b4ba7a9d 100644 --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -914,8 +914,6 @@ Various: *various-functions* taglist() get list of matching tags tagfiles() get a list of tags files - luaeval() evaluate Lua expression - mzeval() evaluate |MzScheme| expression py3eval() evaluate Python expression (|+python3|) pyeval() evaluate Python expression (|+python|) diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index d138fcf456..3f99f603bd 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -364,8 +364,6 @@ N *+lispindent* |'lisp'| N *+listcmds* Vim commands for the list of buffers |buffer-hidden| and argument list |:argdelete| N *+localmap* Support for mappings local to a buffer |:map-local| -m *+lua* |Lua| interface -m *+lua/dyn* |Lua| interface |/dyn| N *+menu* |:menu| N *+mksession* |:mksession| N *+modify_fname* |filename-modifiers| @@ -381,11 +379,7 @@ N *+mouse_xterm* Unix only: xterm mouse handling |xterm-mouse| N *+multi_byte* 16 and 32 bit characters |multibyte| *+multi_byte_ime* Win32 input method for multibyte chars |multibyte-ime| N *+multi_lang* non-English language support |multi-lang| -m *+mzscheme* Mzscheme interface |mzscheme| -m *+mzscheme/dyn* Mzscheme interface |mzscheme-dynamic| |/dyn| N *+path_extra* Up/downwards search in 'path' and 'tags' -m *+perl* Perl interface |perl| -m *+perl/dyn* Perl interface |perl-dynamic| |/dyn| N *+persistent_undo* Persistent undo |undo-persistence| *+postscript* |:hardcopy| writes a PostScript file N *+printer* |:hardcopy| command @@ -398,8 +392,6 @@ N *+quickfix* |:make| and |quickfix| commands N *+reltime* |reltime()| function, 'hlsearch'/'incsearch' timeout, 'redrawtime' option B *+rightleft* Right to left typing |'rightleft'| -m *+ruby* Ruby interface |ruby| -m *+ruby/dyn* Ruby interface |ruby-dynamic| |/dyn| N *+scrollbind* |'scrollbind'| B *+signs* |:sign| N *+smartindent* |'smartindent'| @@ -411,8 +403,6 @@ N *+syntax* Syntax highlighting |syntax| N *+tag_binary* binary searching in tags file |tag-binary-search| N *+tag_old_static* old method for static tags |tag-old-static| m *+tag_any_white* any white space allowed in tags file |tag-any-white| -m *+tcl* Tcl interface |tcl| -m *+tcl/dyn* Tcl interface |tcl-dynamic| |/dyn| *+terminfo* uses |terminfo| instead of termcap N *+termresponse* support for |t_RV| and |v:termresponse| N *+textobjects* |text-objects| selection diff --git a/runtime/doc/vi_diff.txt b/runtime/doc/vi_diff.txt index 9b1657fd09..7661652ac3 100644 --- a/runtime/doc/vi_diff.txt +++ b/runtime/doc/vi_diff.txt @@ -401,8 +401,7 @@ Scripts and Expressions. |expression| |:try| Catch exceptions. etc., etc. See |eval|. Debugging and profiling are supported. |debug-scripts| |profile| - If this is not enough, an interface is provided to |Python|, |Ruby|, - |Tcl|, |Lua|, |Perl| and |MzScheme|. + If this is not enough, an interface is provided to |Python|. Viminfo. |viminfo-file| The command-line history, marks and registers can be stored in a file |