mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	vim-patch:3e496b0ea319
Updated runtime files.
3e496b0ea3
NA patches:
vim-patch:8.0.0015
vim-patch:8.0.0016
vim-patch:177778575148
			
			
This commit is contained in:
		| @@ -931,7 +931,7 @@ function! phpcomplete#EvaluateModifiers(modifiers, required_modifiers, prohibite | |||||||
| 		endfor | 		endfor | ||||||
|  |  | ||||||
| 		for modifier in a:modifiers | 		for modifier in a:modifiers | ||||||
| 			" if the modifier is prohibited its a no match | 			" if the modifier is prohibited it's a no match | ||||||
| 			if index(a:prohibited_modifiers, modifier) != -1 | 			if index(a:prohibited_modifiers, modifier) != -1 | ||||||
| 				return 0 | 				return 0 | ||||||
| 			endif | 			endif | ||||||
|   | |||||||
| @@ -117,7 +117,7 @@ fun! tar#Browse(tarfile) | |||||||
|   if !filereadable(a:tarfile) |   if !filereadable(a:tarfile) | ||||||
| "   call Decho('a:tarfile<'.a:tarfile.'> not filereadable') | "   call Decho('a:tarfile<'.a:tarfile.'> not filereadable') | ||||||
|    if a:tarfile !~# '^\a\+://' |    if a:tarfile !~# '^\a\+://' | ||||||
|     " if its an url, don't complain, let url-handlers such as vim do its thing |     " if it's an url, don't complain, let url-handlers such as vim do its thing | ||||||
|     redraw! |     redraw! | ||||||
|     echohl Error | echo "***error*** (tar#Browse) File not readable<".a:tarfile.">" | echohl None |     echohl Error | echo "***error*** (tar#Browse) File not readable<".a:tarfile.">" | echohl None | ||||||
|    endif |    endif | ||||||
|   | |||||||
| @@ -65,14 +65,14 @@ endif | |||||||
| " zip#Browse: {{{2 | " zip#Browse: {{{2 | ||||||
| fun! zip#Browse(zipfile) | fun! zip#Browse(zipfile) | ||||||
| "  call Dfunc("zip#Browse(zipfile<".a:zipfile.">)") | "  call Dfunc("zip#Browse(zipfile<".a:zipfile.">)") | ||||||
|   " sanity check: insure that the zipfile has "PK" as its first two letters |   " sanity check: ensure that the zipfile has "PK" as its first two letters | ||||||
|   "               (zipped files have a leading PK as a "magic cookie") |   "               (zipped files have a leading PK as a "magic cookie") | ||||||
|   if !filereadable(a:zipfile) || readfile(a:zipfile, "", 1)[0] !~ '^PK' |   if !filereadable(a:zipfile) || readfile(a:zipfile, "", 1)[0] !~ '^PK' | ||||||
|    exe "noautocmd e ".fnameescape(a:zipfile) |    exe "noautocmd e ".fnameescape(a:zipfile) | ||||||
| "   call Dret("zip#Browse : not a zipfile<".a:zipfile.">") | "   call Dret("zip#Browse : not a zipfile<".a:zipfile.">") | ||||||
|    return |    return | ||||||
| "  else        " Decho | "  else        " Decho | ||||||
| "   call Decho("zip#Browse: a:zipfile<".a:zipfile."> passed PK test - its a zip file") | "   call Decho("zip#Browse: a:zipfile<".a:zipfile."> passed PK test - it's a zip file") | ||||||
|   endif |   endif | ||||||
|  |  | ||||||
|   let repkeep= &report |   let repkeep= &report | ||||||
| @@ -95,7 +95,7 @@ fun! zip#Browse(zipfile) | |||||||
|   endif |   endif | ||||||
|   if !filereadable(a:zipfile) |   if !filereadable(a:zipfile) | ||||||
|    if a:zipfile !~# '^\a\+://' |    if a:zipfile !~# '^\a\+://' | ||||||
|     " if its an url, don't complain, let url-handlers such as vim do its thing |     " if it's an url, don't complain, let url-handlers such as vim do its thing | ||||||
|     redraw! |     redraw! | ||||||
|     echohl Error | echo "***error*** (zip#Browse) File not readable<".a:zipfile.">" | echohl None |     echohl Error | echo "***error*** (zip#Browse) File not readable<".a:zipfile.">" | echohl None | ||||||
| "    call inputsave()|call input("Press <cr> to continue")|call inputrestore() | "    call inputsave()|call input("Press <cr> to continue")|call inputrestore() | ||||||
|   | |||||||
| @@ -4553,6 +4553,7 @@ histadd({history}, {item})				*histadd()* | |||||||
| 			"expr"	 or "="   typed expression history | 			"expr"	 or "="   typed expression history | ||||||
| 			"input"  or "@"	  input line history | 			"input"  or "@"	  input line history | ||||||
| 			"debug"  or ">"   debug command history | 			"debug"  or ">"   debug command history | ||||||
|  | 			empty		  the current or last used history | ||||||
| 		The {history} string does not need to be the whole name, one | 		The {history} string does not need to be the whole name, one | ||||||
| 		character is sufficient. | 		character is sufficient. | ||||||
| 		If {item} does already exist in the history, it will be | 		If {item} does already exist in the history, it will be | ||||||
|   | |||||||
| @@ -126,10 +126,7 @@ http://www.vim.org/maillist.php | |||||||
|  |  | ||||||
| Bug reports:				*bugs* *bug-reports* *bugreport.vim* | Bug reports:				*bugs* *bug-reports* *bugreport.vim* | ||||||
|  |  | ||||||
| Send bug reports to: Vim Developers <vim-dev@vim.org> | Report bugs on GitHub: https://github.com/neovim/neovim/issues | ||||||
| This is a maillist, you need to become a member first and many people will see |  | ||||||
| the message.  If you don't want that, e.g. because it is a security issue, |  | ||||||
| send it to <bugs@vim.org>, this only goes to the Vim maintainer (that's Bram). |  | ||||||
|  |  | ||||||
| Please be brief; all the time that is spent on answering mail is subtracted | Please be brief; all the time that is spent on answering mail is subtracted | ||||||
| from the time that is spent on improving Vim!  Always give a reproducible | from the time that is spent on improving Vim!  Always give a reproducible | ||||||
|   | |||||||
| @@ -530,7 +530,7 @@ variable (ex. scp uses the variable g:netrw_scp_cmd, which is defaulted to | |||||||
| 	let g:netrw_sftp_cmd= '"c:\Program Files\PuTTY\psftp.exe"' | 	let g:netrw_sftp_cmd= '"c:\Program Files\PuTTY\psftp.exe"' | ||||||
| < | < | ||||||
| (note: it has been reported that windows 7 with putty v0.6's "-batch" option | (note: it has been reported that windows 7 with putty v0.6's "-batch" option | ||||||
|        doesn't work, so its best to leave it off for that system) |        doesn't work, so it's best to leave it off for that system) | ||||||
|  |  | ||||||
| See |netrw-p8| for more about putty, pscp, psftp, etc. | See |netrw-p8| for more about putty, pscp, psftp, etc. | ||||||
|  |  | ||||||
| @@ -1204,7 +1204,7 @@ The :NetrwMB command is available outside of netrw buffers (once netrw has been | |||||||
| invoked in the session). | invoked in the session). | ||||||
|  |  | ||||||
| The file ".netrwbook" holds bookmarks when netrw (and vim) is not active.  By | The file ".netrwbook" holds bookmarks when netrw (and vim) is not active.  By | ||||||
| default, its stored on the first directory on the user's |'runtimepath'|. | default, it's stored on the first directory on the user's |'runtimepath'|. | ||||||
|  |  | ||||||
| Related Topics: | Related Topics: | ||||||
| 	|netrw-gb| how to return (go) to a bookmark | 	|netrw-gb| how to return (go) to a bookmark | ||||||
| @@ -1429,7 +1429,7 @@ be used in that count. | |||||||
| 						*.netrwhist* | 						*.netrwhist* | ||||||
| See |g:netrw_dirhistmax| for how to control the quantity of history stack | See |g:netrw_dirhistmax| for how to control the quantity of history stack | ||||||
| slots.  The file ".netrwhist" holds history when netrw (and vim) is not | slots.  The file ".netrwhist" holds history when netrw (and vim) is not | ||||||
| active.  By default, its stored on the first directory on the user's | active.  By default, it's stored on the first directory on the user's | ||||||
| |'runtimepath'|. | |'runtimepath'|. | ||||||
|  |  | ||||||
| Related Topics: | Related Topics: | ||||||
| @@ -3269,7 +3269,7 @@ The user function is passed one argument; it resembles > | |||||||
|  |  | ||||||
| 	fun! ExampleUserMapFunc(islocal) | 	fun! ExampleUserMapFunc(islocal) | ||||||
| < | < | ||||||
| where a:islocal is 1 if its a local-directory system call or 0 when | where a:islocal is 1 if it's a local-directory system call or 0 when | ||||||
| remote-directory system call. | remote-directory system call. | ||||||
|  |  | ||||||
| Use netrw#Expose("varname")          to access netrw-internal (script-local) | Use netrw#Expose("varname")          to access netrw-internal (script-local) | ||||||
| @@ -3593,7 +3593,7 @@ Example: Clear netrw's marked file list via a mapping on gu > | |||||||
|  |  | ||||||
| 								*netrw-p16* | 								*netrw-p16* | ||||||
| 	P16. When editing remote files (ex. :e ftp://hostname/path/file), | 	P16. When editing remote files (ex. :e ftp://hostname/path/file), | ||||||
| 	     under Windows I get an |E303| message complaining that its unable | 	     under Windows I get an |E303| message complaining that it's unable | ||||||
| 	     to open a swap file. | 	     to open a swap file. | ||||||
|  |  | ||||||
| 	     (romainl) It looks like you are starting Vim from a protected | 	     (romainl) It looks like you are starting Vim from a protected | ||||||
| @@ -3647,7 +3647,7 @@ Example: Clear netrw's marked file list via a mapping on gu > | |||||||
| 	P21. I've made a directory (or file) with an accented character, but | 	P21. I've made a directory (or file) with an accented character, but | ||||||
| 		netrw isn't letting me enter that directory/read that file: | 		netrw isn't letting me enter that directory/read that file: | ||||||
|  |  | ||||||
| 		Its likely that the shell or o/s is using a different encoding | 		It's likely that the shell or o/s is using a different encoding | ||||||
| 		than you have vim (netrw) using.  A patch to vim supporting | 		than you have vim (netrw) using.  A patch to vim supporting | ||||||
| 		"systemencoding" may address this issue in the future; for | 		"systemencoding" may address this issue in the future; for | ||||||
| 		now, just have netrw use the proper encoding.  For example: > | 		now, just have netrw use the proper encoding.  For example: > | ||||||
|   | |||||||
| @@ -16,7 +16,7 @@ if exists("*CdlGetIndent") | |||||||
|     "finish |     "finish | ||||||
| endif | endif | ||||||
|  |  | ||||||
| " find out if an "...=..." expresion its an asignment (or a conditional) | " find out if an "...=..." expresion is an assignment (or a conditional) | ||||||
| " it scans 'line' first, and then the previos lines | " it scans 'line' first, and then the previos lines | ||||||
| fun! CdlAsignment(lnum, line) | fun! CdlAsignment(lnum, line) | ||||||
|   let f = -1 |   let f = -1 | ||||||
|   | |||||||
| @@ -749,7 +749,7 @@ func! s:CssPrevNonComment(lnum, stopline) | |||||||
|   while 1 |   while 1 | ||||||
|     let ccol = match(getline(lnum), '\*/') |     let ccol = match(getline(lnum), '\*/') | ||||||
|     if ccol < 0 |     if ccol < 0 | ||||||
|       " No comment end thus its something else. |       " No comment end thus it's something else. | ||||||
|       return lnum |       return lnum | ||||||
|     endif |     endif | ||||||
|     call cursor(lnum, ccol + 1) |     call cursor(lnum, ccol + 1) | ||||||
|   | |||||||
| @@ -347,7 +347,7 @@ fun! vimball#Vimball(really,...) | |||||||
| "   call Decho("exe tabn ".curtabnr) | "   call Decho("exe tabn ".curtabnr) | ||||||
|     exe "tabn ".curtabnr |     exe "tabn ".curtabnr | ||||||
|  |  | ||||||
|     " set up help if its a doc/*.txt file |     " set up help if it's a doc/*.txt file | ||||||
| "   call Decho("didhelp<".didhelp."> fname<".fname.">") | "   call Decho("didhelp<".didhelp."> fname<".fname.">") | ||||||
|     if a:really && didhelp == "" && fname =~ 'doc/[^/]\+\.\(txt\|..x\)$' |     if a:really && didhelp == "" && fname =~ 'doc/[^/]\+\.\(txt\|..x\)$' | ||||||
|     	let didhelp= substitute(fname,'^\(.*\<doc\)[/\\][^.]*\.\(txt\|..x\)$','\1','') |     	let didhelp= substitute(fname,'^\(.*\<doc\)[/\\][^.]*\.\(txt\|..x\)$','\1','') | ||||||
|   | |||||||
| @@ -34,7 +34,7 @@ syn match  aveNumber		"[+-]\=\<[0-9]\+\>" | |||||||
| " Operator | " Operator | ||||||
|  |  | ||||||
| syn keyword aveOperator		or and max min xor mod by | syn keyword aveOperator		or and max min xor mod by | ||||||
| " 'not' is a kind of a problem: Its an Operator as well as a method | " 'not' is a kind of a problem: It's an Operator as well as a method | ||||||
| " 'not' is only marked as an Operator if not applied as method | " 'not' is only marked as an Operator if not applied as method | ||||||
| syn match aveOperator		"[^\.]not[^a-zA-Z]" | syn match aveOperator		"[^\.]not[^a-zA-Z]" | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,17 +1,17 @@ | |||||||
| " Vim syntax file | " Vim syntax file | ||||||
| " Language:	Fortran 2008 (and older: Fortran 2003, 95, 90, and 77) | " Language:	Fortran 2008 (and older: Fortran 2003, 95, 90, and 77) | ||||||
| " Version:	0.98 | " Version:	0.99 | ||||||
| " Last Change:	2016 Aug. 29 | " Last Change:	2016 Sep. 23 | ||||||
| " Maintainer:	Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/> | " Maintainer:	Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/> | ||||||
| " Usage:	For instructions, do :help fortran-syntax from Vim | " Usage:	For instructions, do :help fortran-syntax from Vim | ||||||
| " Credits: | " Credits: | ||||||
| "  Version 0.1 (April 2000) was based on the fortran 77 syntax file by Mario Eusebio and | "  Version 0.1 (April 2000) for Fortran 95 was based on the Fortran 77 syntax file by | ||||||
| "  Preben Guldberg. Since then, useful suggestions and contributions have been made, | "  Mario Eusebio and Preben Guldberg. Since then, useful suggestions and contributions | ||||||
| "  in chronological order, by: | "  have been made, in chronological order, by: | ||||||
| "  Andrej Panjkov, Bram Moolenaar, Thomas Olsen, Michael Sternberg, Christian Reile, | "  Andrej Panjkov, Bram Moolenaar, Thomas Olsen, Michael Sternberg, Christian Reile, | ||||||
| "  Walter Dieudonn<6E>, Alexander Wagner, Roman Bertle, Charles Rendleman, | "  Walter Dieudonn<6E>, Alexander Wagner, Roman Bertle, Charles Rendleman, | ||||||
| "  Andrew Griffiths, Joe Krahn, Hendrik Merx, Matt Thompson, Jan Hermann, | "  Andrew Griffiths, Joe Krahn, Hendrik Merx, Matt Thompson, Jan Hermann, | ||||||
| "  Stefano Zaghi and Vishnu V. Krishnan. | "  Stefano Zaghi, Vishnu V. Krishnan and Judica<63>l Grasset | ||||||
|  |  | ||||||
| if exists("b:current_syntax") | if exists("b:current_syntax") | ||||||
|   finish |   finish | ||||||
| @@ -368,7 +368,7 @@ else | |||||||
| endif | endif | ||||||
|  |  | ||||||
| syn match fortranComment	excludenl "!.*$" contains=@fortranCommentGroup,@spell | syn match fortranComment	excludenl "!.*$" contains=@fortranCommentGroup,@spell | ||||||
| syn match fortranOpenMP		excludenl 		"^\s*!\$\(OMP\)\=\s.*$" | syn match fortranOpenMP		excludenl 		"^\s*!\$\(OMP\)\=&\=\s.*$" | ||||||
|  |  | ||||||
| "cpp is often used with Fortran | "cpp is often used with Fortran | ||||||
| syn match	cPreProc		"^\s*#\s*\(define\|ifdef\)\>.*" | syn match	cPreProc		"^\s*#\s*\(define\|ifdef\)\>.*" | ||||||
|   | |||||||
| @@ -381,7 +381,7 @@ ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc15 start="<<-\s*\\\z([^ \ | |||||||
|  |  | ||||||
| " Here Strings: {{{1 | " Here Strings: {{{1 | ||||||
| " ============= | " ============= | ||||||
| " available for: bash; ksh (really should be ksh93 only) but not if its a posix | " available for: bash; ksh (really should be ksh93 only) but not if it's a posix | ||||||
| if exists("b:is_bash") || (exists("b:is_kornshell") && !exists("g:is_posix")) | if exists("b:is_bash") || (exists("b:is_kornshell") && !exists("g:is_posix")) | ||||||
|  syn match shHereString "<<<"	skipwhite	nextgroup=shCmdParenRegion |  syn match shHereString "<<<"	skipwhite	nextgroup=shCmdParenRegion | ||||||
| endif | endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Justin M. Keyes
					Justin M. Keyes