diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-17 16:07:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-17 16:07:22 +0100 |
commit | d09091d4955c5f41de69928f2db85611ed54ed23 (patch) | |
tree | 9ae3f6b6c693334f58138064918222640c049ff5 | |
parent | bb1969b6ab28120c93b77817e7b6075e1aecf663 (diff) |
Update runtime files.
40 files changed, 1069 insertions, 662 deletions
diff --git a/nsis/lang/danish.nsi b/nsis/lang/danish.nsi index fc3720a92a..141bc17eb8 100644 --- a/nsis/lang/danish.nsi +++ b/nsis/lang/danish.nsi @@ -10,7 +10,7 @@ # Overwrite the default translation. -# These string should be always English. Otherwise dosinst.c fails. +# These strings should be always English. Otherwise dosinst.c fails. LangString ^SetupCaption ${LANG_DANISH} "$(^Name) Setup" LangString ^UninstallCaption ${LANG_DANISH} "$(^Name) Uninstall" diff --git a/nsis/lang/dutch.nsi b/nsis/lang/dutch.nsi index 3ff986dc3d..cf861d4787 100644 --- a/nsis/lang/dutch.nsi +++ b/nsis/lang/dutch.nsi @@ -11,7 +11,7 @@ # Overwrite the default translation. -# These string should be always English. Otherwise dosinst.c fails. +# These strings should be always English. Otherwise dosinst.c fails. LangString ^SetupCaption ${LANG_DUTCH} \ "$(^Name) Setup" LangString ^UninstallCaption ${LANG_DUTCH} \ diff --git a/nsis/lang/english.nsi b/nsis/lang/english.nsi index f8990a5956..6b7aa28304 100644 --- a/nsis/lang/english.nsi +++ b/nsis/lang/english.nsi @@ -10,7 +10,7 @@ # Overwrite the default translation. -# These string should be always English. Otherwise dosinst.c fails. +# These strings should be always English. Otherwise dosinst.c fails. LangString ^SetupCaption ${LANG_ENGLISH} \ "$(^Name) Setup" LangString ^UninstallCaption ${LANG_ENGLISH} \ diff --git a/nsis/lang/german.nsi b/nsis/lang/german.nsi index 62b1531abe..8c1e4ac414 100644 --- a/nsis/lang/german.nsi +++ b/nsis/lang/german.nsi @@ -10,7 +10,7 @@ # Overwrite the default translation. -# These string should be always English. Otherwise dosinst.c fails. +# These strings should be always English. Otherwise dosinst.c fails. LangString ^SetupCaption ${LANG_GERMAN} \ "$(^Name) Setup" LangString ^UninstallCaption ${LANG_GERMAN} \ diff --git a/nsis/lang/italian.nsi b/nsis/lang/italian.nsi index d816fee1fc..296bb84c6f 100644 --- a/nsis/lang/italian.nsi +++ b/nsis/lang/italian.nsi @@ -4,14 +4,14 @@ # # Locale ID : 1040 # Locale Name : it -# fileencoding : latin1 +# fileencoding : UTF-8 # Author : Antonio Colombo !insertmacro MUI_LANGUAGE "Italian" # Overwrite the default translation. -# These string should be always English. Otherwise dosinst.c fails. +# These strings should be always English. Otherwise dosinst.c fails. LangString ^SetupCaption ${LANG_ITALIAN} \ "$(^Name) Setup" LangString ^UninstallCaption ${LANG_ITALIAN} \ @@ -48,7 +48,7 @@ LangString str_desc_old_ver ${LANG_ITALIAN} \ "Disinstalla versione/i esistente/i di Vim dal vostro sistema." LangString str_section_exe ${LANG_ITALIAN} \ - "Vim GUI (gvim.exe per Windows)" + "Vim GUI e file di supporto" LangString str_desc_exe ${LANG_ITALIAN} \ "Vim GUI programmi e file di supporto. Questa componente è indispensabile." @@ -61,7 +61,7 @@ LangString str_section_batch ${LANG_ITALIAN} \ "Crea file di invocazione (MS-DOS) .bat" LangString str_desc_batch ${LANG_ITALIAN} \ "Crea file di invocazione .bat per varianti di Vim nella directory \ - di Windows, da utilizzare da linea di comando (MS-DOS)." + di Windows, per utilizzo da linea di comando (MS-DOS)." LangString str_group_icons ${LANG_ITALIAN} \ "Crea icone per Vim" @@ -71,13 +71,12 @@ LangString str_desc_icons ${LANG_ITALIAN} \ LangString str_section_desktop ${LANG_ITALIAN} \ "Sul Desktop" LangString str_desc_desktop ${LANG_ITALIAN} \ - "Crea icone per programma gvim sul desktop." + "Crea icone per programma gVim sul desktop." LangString str_section_start_menu ${LANG_ITALIAN} \ "Nella cartella del menù START" LangString str_desc_start_menu ${LANG_ITALIAN} \ - "Aggiungi Vim alle cartelle del menù START. \ - Disponibile solo da Windows 95 in avanti." + "Aggiungi Vim alle cartelle del menù START." #LangString str_section_quick_launch ${LANG_ITALIAN} \ # "Nella barra di Avvio Veloce" @@ -102,26 +101,26 @@ LangString str_desc_edit_with ${LANG_ITALIAN} \ # per applicazioni a 64-bit." LangString str_section_vim_rc ${LANG_ITALIAN} \ - "Crea Configurazione di default" + "Crea configurazione di default" LangString str_desc_vim_rc ${LANG_ITALIAN} \ - "Crea file configurazione di default (_vimrc) se non ne \ - esiste già uno." + "Crea un file configurazione di default (_vimrc) se non \ + ne esiste già uno." LangString str_group_plugin ${LANG_ITALIAN} \ - "Crea Directory per Plugin" + "Crea directory per plugin" LangString str_desc_plugin ${LANG_ITALIAN} \ - "Crea Directory per Plugin. Servono per aggiungere funzionalità \ - a Vim aggiungendo file a una di queste directory." + "Crea directory per plugin. Consentono di aggiungere funzionalità \ + a Vim mettendo file in una di queste directory." LangString str_section_plugin_home ${LANG_ITALIAN} \ - "Privato" + "Private" LangString str_desc_plugin_home ${LANG_ITALIAN} \ - "Create plugin directories in HOME directory." + "Crea directory per plugin nella directory HOME." LangString str_section_plugin_vim ${LANG_ITALIAN} \ - "Condiviso" + "Condivise" LangString str_desc_plugin_vim ${LANG_ITALIAN} \ - "Crea Directory Plugin nella directory di installazione di Vim \ + "Crea directory per plugin nella directory di installazione di Vim \ per uso da parte di tutti gli utenti di questo sistema." LangString str_section_vis_vim ${LANG_ITALIAN} \ @@ -140,35 +139,29 @@ LangString str_desc_unregister ${LANG_ITALIAN} \ "Togli Vim dal Registry di configurazione sistema." LangString str_unsection_exe ${LANG_ITALIAN} \ - "Cancella programmi/file_ausiliari Vim" + "Cancella programmi/file di supporto Vim" LangString str_desc_rm_exe ${LANG_ITALIAN} \ - "Cancella tutti i programmi/file_ausiliari di Vim." - -LangString str_unsection_rc ${LANG_ITALIAN} \ - "Cancella file di configurazione di Vim" -LangString str_desc_rm_rc ${LANG_ITALIAN} \ - "Cancella file di configurazione di Vim $vim_install_root\_vimrc. \ - Da saltare se avete personalizzato il file di configurazione." + "Cancella tutti i programmi/file di supporto di Vim." LangString str_ungroup_plugin ${LANG_ITALIAN} \ - "Remove plugin directories" + "Cancella le directory per plugin" LangString str_desc_rm_plugin ${LANG_ITALIAN} \ - "Remove the plugin directories if they are empty." + "Cancella le directory per plugin se sono vuote." LangString str_unsection_plugin_home ${LANG_ITALIAN} \ - "Privato" + "Private" LangString str_desc_rm_plugin_home ${LANG_ITALIAN} \ - "Remove the plugin directories from HOME directory." + "Cancella le directory per plugin dalla directory HOME." LangString str_unsection_plugin_vim ${LANG_ITALIAN} \ - "Condiviso" + "Condivise" LangString str_desc_rm_plugin_vim ${LANG_ITALIAN} \ - "Remove the plugin directories from Vim install directory." + "Cancella le directory per plugin dalla directory di installazione di Vim." LangString str_unsection_rootdir ${LANG_ITALIAN} \ - "Remove the Vim root directory" + "Cancella la directory di installazione di Vim" LangString str_desc_rm_rootdir ${LANG_ITALIAN} \ - "Remove the Vim root directory. It contains your Vim configuration files!" + "Cancella la directory di installazione di Vim. Contiene i vostri file di configurazione!" ############################################################################## @@ -177,8 +170,8 @@ LangString str_desc_rm_rootdir ${LANG_ITALIAN} \ #LangString str_msg_too_many_ver ${LANG_ITALIAN} \ # "Trovate $vim_old_ver_count versioni di Vim sul vostro sistema.$\r$\n\ -# Questo programma di installazione può gestirne solo \ -# ${VIM_MAX_OLD_VER}.$\r$\n\ +# Questo programma di installazione può gestire solo \ +# ${VIM_MAX_OLD_VER} versioni.$\r$\n\ # Disinstallate qualche versione precedente e ricominciate." #LangString str_msg_invalid_root ${LANG_ITALIAN} \ @@ -186,7 +179,7 @@ LangString str_desc_rm_rootdir ${LANG_ITALIAN} \ # Dovrebbe terminare con $\"vim$\"." #LangString str_msg_bin_mismatch ${LANG_ITALIAN} \ -# "Incongruenza di installazione!$\r$\n$\r$\n\ +# "Conflitto nella directory di installazione!$\r$\n$\r$\n\ # Cartella di installazione dev'essere $\"$vim_bin_path$\",$\r$\n\ # ma il sistema segnala invece $\"$INSTDIR$\"." @@ -196,14 +189,14 @@ LangString str_desc_rm_rootdir ${LANG_ITALIAN} \ #LangString str_msg_register_ole ${LANG_ITALIAN} \ # "Tentativo di registrazione di Vim con OLE. \ -# Non ci sono messaggi che indicano se ha funzionato o no." +# Non c'è messaggio che indica se è riuscito o no." #LangString str_msg_unreg_ole ${LANG_ITALIAN} \ -# "Tentativo di togliere da Registry Vim con OLE. \ -# Non ci sono messaggi che indicano se ha funzionato o no." +# "Tentativo di togliere dal Registry Vim con OLE. \ +# Non c'è messaggio che indica se è riuscito o no." #LangString str_msg_rm_start ${LANG_ITALIAN} \ -# "Disinstallazione delle seguenti versioni:" +# "Disinstallazione della seguente versione:" #LangString str_msg_rm_fail ${LANG_ITALIAN} \ # "Disinstallazione non riuscita per la seguente versione:" @@ -215,7 +208,7 @@ LangString str_desc_rm_rootdir ${LANG_ITALIAN} \ # "Non riesco a trovare programma disinstallazione nel Registry." #LangString str_msg_no_rm_exe ${LANG_ITALIAN} \ -# "Non riesco a utilizzare programma disinstallazione." +# "Non riesco a trovare programma disinstallazione." #LangString str_msg_rm_copy_fail ${LANG_ITALIAN} \ # "Non riesco a copiare programma disinstallazione a una \ @@ -238,13 +231,13 @@ LangString str_msg_rm_exe_fail ${LANG_ITALIAN} \ # "AVVISO: Non posso cancellare $\"$vim_install_root$\", non è vuota!" LangString str_msg_uninstalling ${LANG_ITALIAN} \ - "Uninstalling the old version..." + "Sto disinstallando la vecchia versione..." LangString str_msg_registering ${LANG_ITALIAN} \ - "Registering..." + "Sto aggiungendo Vim al Registry..." LangString str_msg_unregistering ${LANG_ITALIAN} \ - "Unregistering..." + "Sto togliendo Vim dal Registry..." ############################################################################## @@ -252,39 +245,39 @@ LangString str_msg_unregistering ${LANG_ITALIAN} \ ############################################################################## LangString str_vimrc_page_title ${LANG_ITALIAN} \ - "Choose _vimrc settings" + "Scelta impostazioni _vimrc" LangString str_vimrc_page_subtitle ${LANG_ITALIAN} \ - "Choose the settings for enhancement, keyboard and mouse." + "Scelta impostazioni per funzionalità ulteriori, tastiera e mouse." LangString str_msg_compat_title ${LANG_ITALIAN} \ - " Vi / Vim behavior " + " comportamento come Vi / Vim " LangString str_msg_compat_desc ${LANG_ITALIAN} \ - "&Compatibility and enhancements" + "&Compatibilità e funzionalità ulteriori" LangString str_msg_compat_vi ${LANG_ITALIAN} \ - "Vi compatible" + "Compatibile con Vi" LangString str_msg_compat_vim ${LANG_ITALIAN} \ - "Vim original" + "Vim originale" LangString str_msg_compat_defaults ${LANG_ITALIAN} \ - "Vim with some enhancements (load defaults.vim)" + "Vim con alcune funzionalità ulteriori (esecuzione defaults.vim)" LangString str_msg_compat_all ${LANG_ITALIAN} \ - "Vim with all enhancements (load vimrc_example.vim) (Default)" + "Vim con tutte le funzionalità ulteriori (esecuzione vimrc_example.vim) (Default)" LangString str_msg_keymap_title ${LANG_ITALIAN} \ - " Mappings " + " Mappature " LangString str_msg_keymap_desc ${LANG_ITALIAN} \ - "&Remap a few keys for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)" + "&Rimappatura di alcuni tasti per Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc.)" LangString str_msg_keymap_default ${LANG_ITALIAN} \ - "Do not remap keys (Default)" + "Non effettuare rimappature di tasti (Default)" LangString str_msg_keymap_windows ${LANG_ITALIAN} \ - "Remap a few keys" + "Rimappare solo alcuni tasti" LangString str_msg_mouse_title ${LANG_ITALIAN} \ " Mouse " LangString str_msg_mouse_desc ${LANG_ITALIAN} \ - "&Behavior of right and left buttons" + "&Comportamento dei pulsanti destro e sinistro" LangString str_msg_mouse_default ${LANG_ITALIAN} \ - "Right: popup menu, Left: visual mode (Default)" + "Destro: popup menu, Sinistro: modalità visuale (Default)" LangString str_msg_mouse_windows ${LANG_ITALIAN} \ - "Right: popup menu, Left: select mode (Windows)" + "Destro: popup menu, Sinistro: seleziona modalità (Windows)" LangString str_msg_mouse_unix ${LANG_ITALIAN} \ - "Right: extends selection, Left: visual mode (Unix)" + "Destro: estende selezione, Sinistro: modalità visuale (Unix)" diff --git a/nsis/lang/japanese.nsi b/nsis/lang/japanese.nsi index 8d167f9e8a..e5e1a9ad3e 100644 --- a/nsis/lang/japanese.nsi +++ b/nsis/lang/japanese.nsi @@ -10,7 +10,7 @@ # Overwrite the default translation. -# These string should be always English. Otherwise dosinst.c fails. +# These strings should be always English. Otherwise dosinst.c fails. LangString ^SetupCaption ${LANG_JAPANESE} \ "$(^Name) Setup" LangString ^UninstallCaption ${LANG_JAPANESE} \ diff --git a/nsis/lang/simpchinese.nsi b/nsis/lang/simpchinese.nsi index c93bfc2d61..7f3d51c88f 100644 --- a/nsis/lang/simpchinese.nsi +++ b/nsis/lang/simpchinese.nsi @@ -11,7 +11,7 @@ # Overwrite the default translation. -# These string should be always English. Otherwise dosinst.c fails. +# These strings should be always English. Otherwise dosinst.c fails. LangString ^SetupCaption ${LANG_SIMPCHINESE} \ "$(^Name) Setup" LangString ^UninstallCaption ${LANG_SIMPCHINESE} \ diff --git a/nsis/lang/tradchinese.nsi b/nsis/lang/tradchinese.nsi index 504830aa9d..c273230a57 100644 --- a/nsis/lang/tradchinese.nsi +++ b/nsis/lang/tradchinese.nsi @@ -11,7 +11,7 @@ # Overwrite the default translation. -# These string should be always English. Otherwise dosinst.c fails. +# These strings should be always English. Otherwise dosinst.c fails. LangString ^SetupCaption ${LANG_TRADCHINESE} \ "$(^Name) Setup" LangString ^UninstallCaption ${LANG_TRADCHINESE} \ diff --git a/runtime/autoload/rubycomplete.vim b/runtime/autoload/rubycomplete.vim index 40b87f4cbe..ea18470232 100644 --- a/runtime/autoload/rubycomplete.vim +++ b/runtime/autoload/rubycomplete.vim @@ -1,9 +1,9 @@ " Vim completion script -" Language: Ruby -" Maintainer: Mark Guzman <segfault@hasno.info> -" URL: https://github.com/vim-ruby/vim-ruby -" Release Coordinator: Doug Kearns <dougkearns@gmail.com> -" Maintainer Version: 0.8.1 +" Language: Ruby +" Maintainer: Mark Guzman <segfault@hasno.info> +" URL: https://github.com/vim-ruby/vim-ruby +" Release Coordinator: Doug Kearns <dougkearns@gmail.com> +" Last Change: 2019 Jan 06 " ---------------------------------------------------------------------------- " " Ruby IRB/Complete author: Keiju ISHITSUKA(keiju@ishitsuka.com) @@ -103,7 +103,7 @@ function! s:GetBufferRubyEntity( name, type, ... ) endif let curpos = getpos(".") - let [enum,ecol] = searchpairpos( crex, '', '\(end\|}\)', 'wr' ) + let [enum,ecol] = searchpairpos( crex, '', '\(end\|}\)', 'W' ) call cursor(lastpos[1], lastpos[2]) if lnum > enum @@ -253,15 +253,27 @@ class VimRubyCompletion # {{{ buffer analysis magic def load_requires + + custom_paths = VIM::evaluate("get(g:, 'rubycomplete_load_paths', [])") + + if !custom_paths.empty? + $LOAD_PATH.concat(custom_paths).uniq! + end + buf = VIM::Buffer.current enum = buf.line_number nums = Range.new( 1, enum ) nums.each do |x| + ln = buf[x] begin - eval( "require %s" % $1 ) if /.*require\s*(.*)$/.match( ln ) - rescue Exception - #ignore? + if /.*require_relative\s*(.*)$/.match( ln ) + eval( "require %s" % File.expand_path($1) ) + elsif /.*require\s*(["'].*?["'])/.match( ln ) + eval( "require %s" % $1 ) + end + rescue Exception => e + dprint e.inspect end end end @@ -344,8 +356,13 @@ class VimRubyCompletion if x != cur_line next if x == 0 ln = buf[x] - if /^\s*(module|class|def|include)\s+/.match(ln) - clscnt += 1 if $1 == "class" + is_const = false + if /^\s*(module|class|def|include)\s+/.match(ln) || is_const = /^\s*?[A-Z]([A-z]|[1-9])*\s*?[|]{0,2}=\s*?.+\s*?/.match(ln) + clscnt += 1 if /class|module/.match($1) + # We must make sure to load each constant only once to avoid errors + if is_const + ln.gsub!(/\s*?[|]{0,2}=\s*?/, '||=') + end #dprint "\$1$1 classdef += "%s\n" % ln classdef += "end\n" if /def\s+/.match(ln) @@ -423,7 +440,6 @@ class VimRubyCompletion return get_buffer_entity_list( "class" ) end - def load_rails allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails") return if allow_rails.to_i.zero? @@ -529,7 +545,6 @@ class VimRubyCompletion ret += ActiveRecord::ConnectionAdapters::SchemaStatements.methods end - return ret end @@ -587,11 +602,13 @@ class VimRubyCompletion # {{{ main completion code def self.preload_rails a = VimRubyCompletion.new - require 'Thread' - Thread.new(a) do |b| - begin - b.load_rails - rescue + if VIM::evaluate("has('nvim')") == 0 + require 'thread' + Thread.new(a) do |b| + begin + b.load_rails + rescue + end end end a.load_rails @@ -612,7 +629,6 @@ class VimRubyCompletion want_gems = VIM::evaluate("get(g:, 'rubycomplete_load_gemfile')") load_gems unless want_gems.to_i.zero? - input = VIM::Buffer.current.line cpos = VIM::Window.current.cursor[1] - 1 @@ -666,6 +682,7 @@ class VimRubyCompletion message = Regexp.quote($4) dprint "const or cls 2 [recv: \'%s\', msg: \'%s\']" % [ receiver, message ] load_buffer_class( receiver ) + load_buffer_module( receiver ) begin classes = eval("#{receiver}.constants") #methods = eval("#{receiver}.methods") @@ -786,7 +803,6 @@ class VimRubyCompletion methods += Kernel.public_methods end - include_object = VIM::evaluate("exists('g:rubycomplete_include_object') && g:rubycomplete_include_object") methods = clean_sel( methods, message ) methods = (methods-Object.instance_methods) if include_object == "0" @@ -829,5 +845,4 @@ let s:rubycomplete_rails_loaded = 0 call s:DefRuby() "}}} ruby-side code - " vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl: diff --git a/runtime/compiler/eruby.vim b/runtime/compiler/eruby.vim index 45ad5eeadf..a81a3f3b77 100644 --- a/runtime/compiler/eruby.vim +++ b/runtime/compiler/eruby.vim @@ -3,6 +3,7 @@ " Maintainer: Doug Kearns <dougkearns@gmail.com> " URL: https://github.com/vim-ruby/vim-ruby " Release Coordinator: Doug Kearns <dougkearns@gmail.com> +" Last Change: 2018 Jan 25 if exists("current_compiler") finish @@ -28,8 +29,8 @@ CompilerSet errorformat= \%W%f:%l:\ warning:\ %m, \%E%f:%l:in\ %*[^:]:\ %m, \%E%f:%l:\ %m, - \%-C%\tfrom\ %f:%l:in\ %.%#, - \%-Z%\tfrom\ %f:%l, + \%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#, + \%-Z%\t%\\d%#:%#\ %#from\ %f:%l, \%-Z%p^, \%-G%.%# diff --git a/runtime/compiler/rake.vim b/runtime/compiler/rake.vim index 8490f2a9e9..3d11a31f89 100644 --- a/runtime/compiler/rake.vim +++ b/runtime/compiler/rake.vim @@ -3,6 +3,7 @@ " Maintainer: Tim Pope <vimNOSPAM@tpope.org> " URL: https://github.com/vim-ruby/vim-ruby " Release Coordinator: Doug Kearns <dougkearns@gmail.com> +" Last Change: 2018 Mar 02 if exists("current_compiler") finish @@ -20,12 +21,12 @@ CompilerSet makeprg=rake CompilerSet errorformat= \%D(in\ %f), - \%\\s%#from\ %f:%l:%m, - \%\\s%#from\ %f:%l:, - \%\\s%##\ %f:%l:%m, - \%\\s%##\ %f:%l, - \%\\s%#[%f:%l:\ %#%m, - \%\\s%#%f:%l:\ %#%m, + \%\\s%#%\\d%#:%#\ %#from\ %f:%l:%m, + \%\\s%#%\\d%#:%#\ %#from\ %f:%l:, + \%\\s%##\ %f:%l:%m%\\&%.%#%\\D:%\\d%\\+:%.%#, + \%\\s%##\ %f:%l%\\&%.%#%\\D:%\\d%\\+, + \%\\s%#[%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#, + \%\\s%#%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#, \%\\s%#%f:%l:, \%m\ [%f:%l]:, \%+Erake\ aborted!, diff --git a/runtime/compiler/rspec.vim b/runtime/compiler/rspec.vim index c77bd70da7..0cfce04572 100644 --- a/runtime/compiler/rspec.vim +++ b/runtime/compiler/rspec.vim @@ -3,6 +3,7 @@ " Maintainer: Tim Pope <vimNOSPAM@tpope.org> " URL: https://github.com/vim-ruby/vim-ruby " Release Coordinator: Doug Kearns <dougkearns@gmail.com> +" Last Change: 2018 Aug 07 if exists("current_compiler") finish @@ -23,7 +24,8 @@ CompilerSet errorformat= \%E%.%#:in\ `load':\ %f:%l:%m, \%E%f:%l:in\ `%*[^']':\ %m, \%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#, - \%E\ \ %\\d%\\+)%.%#, + \%E\ \ \ \ \ Failure/Error:\ %m, + \%E\ \ \ \ \ Failure/Error:, \%C\ \ \ \ \ %m, \%C%\\s%#, \%-G%.%# diff --git a/runtime/compiler/ruby.vim b/runtime/compiler/ruby.vim index dcf7a40129..82d4d1c876 100644 --- a/runtime/compiler/ruby.vim +++ b/runtime/compiler/ruby.vim @@ -4,7 +4,7 @@ " Maintainer: Tim Pope <vimNOSPAM@tpope.org> " URL: https://github.com/vim-ruby/vim-ruby " Release Coordinator: Doug Kearns <dougkearns@gmail.com> -" ---------------------------------------------------------------------------- +" Last Change: 2019 Jan 06 if exists("current_compiler") finish @@ -21,21 +21,21 @@ set cpo-=C " default settings runs script normally " add '-c' switch to run syntax check only: " -" CompilerSet makeprg=ruby\ -wc\ $* +" CompilerSet makeprg=ruby\ -c " " or add '-c' at :make command line: " " :make -c %<CR> " -CompilerSet makeprg=ruby\ -w\ $* +CompilerSet makeprg=ruby CompilerSet errorformat= \%+E%f:%l:\ parse\ error, \%W%f:%l:\ warning:\ %m, \%E%f:%l:in\ %*[^:]:\ %m, \%E%f:%l:\ %m, - \%-C%\tfrom\ %f:%l:in\ %.%#, - \%-Z%\tfrom\ %f:%l, + \%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#, + \%-Z%\t%\\d%#:%#\ %#from\ %f:%l, \%-Z%p^, \%-G%.%# diff --git a/runtime/compiler/rubyunit.vim b/runtime/compiler/rubyunit.vim index ed0639b581..48e8fa41ab 100644 --- a/runtime/compiler/rubyunit.vim +++ b/runtime/compiler/rubyunit.vim @@ -3,6 +3,7 @@ " Maintainer: Doug Kearns <dougkearns@gmail.com> " URL: https://github.com/vim-ruby/vim-ruby " Release Coordinator: Doug Kearns <dougkearns@gmail.com> +" Last Change: 2014 Mar 23 if exists("current_compiler") finish diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index b3790d5d5b..b78cddfef1 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 8.1. Last change: 2018 Dec 28 +*autocmd.txt* For Vim version 8.1. Last change: 2019 Jan 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1017,8 +1017,10 @@ TermResponse After the response to |t_RV| is received from anything else that takes time is involved. *TextChanged* TextChanged After a change was made to the text in the - current buffer in Normal mode. That is when - |b:changedtick| has changed. + current buffer in Normal mode. That is after + |b:changedtick| has changed (also when that + happened before the TextChanged autocommand + was defined). Not triggered when there is typeahead or when an operator is pending. Careful: This is triggered very often, don't diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 6e9ff7ca05..93958d174e 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 8.1. Last change: 2019 Jan 15 +*eval.txt* For Vim version 8.1. Last change: 2019 Jan 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -107,7 +107,7 @@ To force conversion from String to Number, add zero to it: > To avoid a leading zero to cause octal conversion, or for using a different base, use |str2nr()|. - *TRUE* *FALSE* + *TRUE* *FALSE* *Boolean* For boolean operators Numbers are used. Zero is FALSE, non-zero is TRUE. You can also use |v:false| and |v:true|. When TRUE is returned from a function it is the Number one, FALSE is the number zero. @@ -131,8 +131,8 @@ A List, Dictionary or Float is not a Number or String, thus evaluate to FALSE. *E745* *E728* *E703* *E729* *E730* *E731* *E908* *E910* *E913* *E974* *E975* *E976* -List, Dictionary, Funcref, Job, Channel and Blob types are not automatically -converted. +|List|, |Dictionary|, |Funcref|, |Job|, |Channel| and |Blob| types are not +automatically converted. *E805* *E806* *E808* When mixing Number and Float the Number is converted to Float. Otherwise @@ -673,6 +673,7 @@ Part of a blob ~ A part of the Blob can be obtained by specifying the first and last index, separated by a |