forked from aniani/vim
Updated runtime files.
This commit is contained in:
parent
337ae06ff9
commit
adc2182c40
File diff suppressed because it is too large
Load Diff
23
runtime/compiler/g95.vim
Normal file
23
runtime/compiler/g95.vim
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
" Compiler: G95
|
||||||
|
" Maintainer: H Xu <xuhdev@gmail.com>
|
||||||
|
" Version: 0.1.3
|
||||||
|
" Last Change: 2011 Apr 01
|
||||||
|
" Homepage: http://www.vim.org/scripts/script.php?script_id=3492
|
||||||
|
" https://bitbucket.org/xuhdev/compiler-g95.vim
|
||||||
|
" License: Same as Vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let current_compiler = 'g95'
|
||||||
|
|
||||||
|
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
||||||
|
command -nargs=* CompilerSet setlocal <args>
|
||||||
|
endif
|
||||||
|
|
||||||
|
CompilerSet errorformat=
|
||||||
|
\%AIn\ file\ %f:%l,
|
||||||
|
\%-C%p1,
|
||||||
|
\%-Z%trror:\ %m,
|
||||||
|
\%-Z%tarning\ (%n):\ %m,
|
||||||
|
\%-C%.%#
|
22
runtime/compiler/gfortran.vim
Normal file
22
runtime/compiler/gfortran.vim
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
" Compiler: GNU Fortran Compiler
|
||||||
|
" Maintainer: H Xu <xuhdev@gmail.com>
|
||||||
|
" Version: 0.1.3
|
||||||
|
" Last Change: 19 March 2011
|
||||||
|
" Homepage: http://www.vim.org/scripts/script.php?script_id=3496
|
||||||
|
" https://bitbucket.org/xuhdev/compiler-gfortran.vim
|
||||||
|
" License: Same as Vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let current_compiler = 'gfortran'
|
||||||
|
|
||||||
|
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
||||||
|
command -nargs=* CompilerSet setlocal <args>
|
||||||
|
endif
|
||||||
|
|
||||||
|
CompilerSet errorformat=
|
||||||
|
\%A%f:%l.%c:,
|
||||||
|
\%-Z%trror:\ %m,
|
||||||
|
\%-Z%tarning:\ %m,
|
||||||
|
\%-C%.%#
|
22
runtime/compiler/ifort.vim
Normal file
22
runtime/compiler/ifort.vim
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
" Compiler: Intel Fortran Compiler
|
||||||
|
" Maintainer: H Xu <xuhdev@gmail.com>
|
||||||
|
" Version: 0.1.1
|
||||||
|
" Last Change: 19 March 2011
|
||||||
|
" Homepage: http://www.vim.org/scripts/script.php?script_id=3497
|
||||||
|
" https://bitbucket.org/xuhdev/compiler-ifort.vim
|
||||||
|
" License: Same as Vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let current_compiler = 'ifort'
|
||||||
|
|
||||||
|
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
||||||
|
command -nargs=* CompilerSet setlocal <args>
|
||||||
|
endif
|
||||||
|
|
||||||
|
CompilerSet errorformat=
|
||||||
|
\%A%f(%l):\ %trror\ \#%n:\ %m,
|
||||||
|
\%A%f(%l):\ %tarning\ \#%n:\ %m,
|
||||||
|
\%-Z%p^,
|
||||||
|
\%-G%.%#
|
@ -1,4 +1,4 @@
|
|||||||
*cmdline.txt* For Vim version 7.3. Last change: 2011 Feb 10
|
*cmdline.txt* For Vim version 7.3. Last change: 2011 Mar 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -83,9 +83,9 @@ CTRL-V Insert next non-digit literally. Up to three digits form the
|
|||||||
CTRL-Q Same as CTRL-V. But with some terminals it is used for
|
CTRL-Q Same as CTRL-V. But with some terminals it is used for
|
||||||
control flow, it doesn't work then.
|
control flow, it doesn't work then.
|
||||||
|
|
||||||
*c_<Left>*
|
*c_<Left>* *c_Left*
|
||||||
<Left> cursor left
|
<Left> cursor left
|
||||||
*c_<Right>*
|
*c_<Right>* *c_Right*
|
||||||
<Right> cursor right
|
<Right> cursor right
|
||||||
*c_<S-Left>*
|
*c_<S-Left>*
|
||||||
<S-Left> or <C-Left> *c_<C-Left>*
|
<S-Left> or <C-Left> *c_<C-Left>*
|
||||||
@ -93,18 +93,18 @@ CTRL-Q Same as CTRL-V. But with some terminals it is used for
|
|||||||
*c_<S-Right>*
|
*c_<S-Right>*
|
||||||
<S-Right> or <C-Right> *c_<C-Right>*
|
<S-Right> or <C-Right> *c_<C-Right>*
|
||||||
cursor one WORD right
|
cursor one WORD right
|
||||||
CTRL-B or <Home> *c_CTRL-B* *c_<Home>*
|
CTRL-B or <Home> *c_CTRL-B* *c_<Home>* *c_Home*
|
||||||
cursor to beginning of command-line
|
cursor to beginning of command-line
|
||||||
CTRL-E or <End> *c_CTRL-E* *c_<End>*
|
CTRL-E or <End> *c_CTRL-E* *c_<End>* *c_End*
|
||||||
cursor to end of command-line
|
cursor to end of command-line
|
||||||
|
|
||||||
*c_<LeftMouse>*
|
*c_<LeftMouse>*
|
||||||
<LeftMouse> Move the cursor to the position of the mouse click.
|
<LeftMouse> Move the cursor to the position of the mouse click.
|
||||||
|
|
||||||
CTRL-H *c_<BS>* *c_CTRL-H*
|
CTRL-H *c_<BS>* *c_CTRL-H* *c_BS*
|
||||||
<BS> Delete the character in front of the cursor (see |:fixdel| if
|
<BS> Delete the character in front of the cursor (see |:fixdel| if
|
||||||
your <BS> key does not do what you want).
|
your <BS> key does not do what you want).
|
||||||
*c_<Del>*
|
*c_<Del>* *c_Del*
|
||||||
<Del> Delete the character under the cursor (at end of line:
|
<Del> Delete the character under the cursor (at end of line:
|
||||||
character before the cursor) (see |:fixdel| if your <Del>
|
character before the cursor) (see |:fixdel| if your <Del>
|
||||||
key does not do what you want).
|
key does not do what you want).
|
||||||
@ -118,7 +118,7 @@ CTRL-U Remove all characters between the cursor position and
|
|||||||
preferred behavior, add the following to your .vimrc: >
|
preferred behavior, add the following to your .vimrc: >
|
||||||
:cnoremap <C-U> <C-E><C-U>
|
:cnoremap <C-U> <C-E><C-U>
|
||||||
<
|
<
|
||||||
*c_<Insert>*
|
*c_<Insert>* *c_Insert*
|
||||||
<Insert> Toggle between insert and overstrike. {not in Vi}
|
<Insert> Toggle between insert and overstrike. {not in Vi}
|
||||||
|
|
||||||
{char1} <BS> {char2} or *c_digraph*
|
{char1} <BS> {char2} or *c_digraph*
|
||||||
@ -224,9 +224,9 @@ CTRL-Y When there is a modeless selection, copy the selection into
|
|||||||
the clipboard. |modeless-selection|
|
the clipboard. |modeless-selection|
|
||||||
If there is no selection CTRL-Y is inserted as a character.
|
If there is no selection CTRL-Y is inserted as a character.
|
||||||
|
|
||||||
CTRL-J *c_CTRL-J* *c_<NL>* *c_<CR>*
|
CTRL-J *c_CTRL-J* *c_<NL>* *c_<CR>* *c_CR*
|
||||||
<CR> or <NL> start entered command
|
<CR> or <NL> start entered command
|
||||||
*c_<Esc>*
|
*c_<Esc>* *c_Esc*
|
||||||
<Esc> When typed and 'x' not present in 'cpoptions', quit
|
<Esc> When typed and 'x' not present in 'cpoptions', quit
|
||||||
Command-line mode without executing. In macros or when 'x'
|
Command-line mode without executing. In macros or when 'x'
|
||||||
present in 'cpoptions', start entered command.
|
present in 'cpoptions', start entered command.
|
||||||
@ -235,12 +235,12 @@ CTRL-J *c_CTRL-J* *c_<NL>* *c_<CR>*
|
|||||||
*c_CTRL-C*
|
*c_CTRL-C*
|
||||||
CTRL-C quit command-line without executing
|
CTRL-C quit command-line without executing
|
||||||
|
|
||||||
*c_<Up>*
|
*c_<Up>* *c_Up*
|
||||||
<Up> recall older command-line from history, whose beginning
|
<Up> recall older command-line from history, whose beginning
|
||||||
matches the current command-line (see below).
|
matches the current command-line (see below).
|
||||||
{not available when compiled without the |+cmdline_hist|
|
{not available when compiled without the |+cmdline_hist|
|
||||||
feature}
|
feature}
|
||||||
*c_<Down>*
|
*c_<Down>* *c_Down*
|
||||||
<Down> recall more recent command-line from history, whose beginning
|
<Down> recall more recent command-line from history, whose beginning
|
||||||
matches the current command-line (see below).
|
matches the current command-line (see below).
|
||||||
{not available when compiled without the |+cmdline_hist|
|
{not available when compiled without the |+cmdline_hist|
|
||||||
@ -865,7 +865,7 @@ These modifiers can be given, in this order:
|
|||||||
After this, the previous modifiers can be used again. For
|
After this, the previous modifiers can be used again. For
|
||||||
example ":p", to make a full path after the substitution.
|
example ":p", to make a full path after the substitution.
|
||||||
:gs?pat?sub?
|
:gs?pat?sub?
|
||||||
Substitute all occurrences of "path" with "sub". Otherwise
|
Substitute all occurrences of "pat" with "sub". Otherwise
|
||||||
this works like ":s".
|
this works like ":s".
|
||||||
|
|
||||||
Examples, when the file name is "src/version.c", current dir
|
Examples, when the file name is "src/version.c", current dir
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_netrw.txt* For Vim version 7.3. Last change: 2010 Jul 28
|
*pi_netrw.txt* For Vim version 7.3. Last change: 2011 Apr 01
|
||||||
|
|
||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
NETRW REFERENCE MANUAL by Charles E. Campbell, Jr.
|
NETRW REFERENCE MANUAL by Charles E. Campbell, Jr.
|
||||||
@ -6,7 +6,7 @@
|
|||||||
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
|
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
|
||||||
(remove NOSPAM from Campbell's email first)
|
(remove NOSPAM from Campbell's email first)
|
||||||
|
|
||||||
Copyright: Copyright (C) 1999-2010 Charles E Campbell, Jr *netrw-copyright*
|
Copyright: Copyright (C) 1999-2011 Charles E Campbell, Jr *netrw-copyright*
|
||||||
Permission is hereby granted to use and distribute this code, with
|
Permission is hereby granted to use and distribute this code, with
|
||||||
or without modifications, provided that this copyright notice is
|
or without modifications, provided that this copyright notice is
|
||||||
copied with it. Like anything else that's free, netrw.vim,
|
copied with it. Like anything else that's free, netrw.vim,
|
||||||
@ -41,7 +41,7 @@ Copyright: Copyright (C) 1999-2010 Charles E Campbell, Jr *netrw-copyright*
|
|||||||
NETRC..............................................|netrw-netrc|
|
NETRC..............................................|netrw-netrc|
|
||||||
PASSWORD...........................................|netrw-passwd|
|
PASSWORD...........................................|netrw-passwd|
|
||||||
5. Activation...........................................|netrw-activate|
|
5. Activation...........................................|netrw-activate|
|
||||||
6. Transparent File Editing.............................|netrw-transparent|
|
6. Transparent Remote File Editing......................|netrw-transparent|
|
||||||
7. Ex Commands..........................................|netrw-ex|
|
7. Ex Commands..........................................|netrw-ex|
|
||||||
8. Variables and Options................................|netrw-var|
|
8. Variables and Options................................|netrw-var|
|
||||||
9. Browsing.............................................|netrw-browse|
|
9. Browsing.............................................|netrw-browse|
|
||||||
@ -65,6 +65,7 @@ Copyright: Copyright (C) 1999-2010 Charles E Campbell, Jr *netrw-copyright*
|
|||||||
Displaying Information About File..................|netrw-qf|
|
Displaying Information About File..................|netrw-qf|
|
||||||
Edit File Or Directory Hiding List.................|netrw-ctrl-h|
|
Edit File Or Directory Hiding List.................|netrw-ctrl-h|
|
||||||
Editing The Sorting Sequence.......................|netrw-S|
|
Editing The Sorting Sequence.......................|netrw-S|
|
||||||
|
Forcing treatment as a file or directory...........|netrw-gd| |netrw-gf|
|
||||||
Going Up...........................................|netrw--|
|
Going Up...........................................|netrw--|
|
||||||
Hiding Files Or Directories........................|netrw-a|
|
Hiding Files Or Directories........................|netrw-a|
|
||||||
Improving Browsing.................................|netrw-ssh-hack|
|
Improving Browsing.................................|netrw-ssh-hack|
|
||||||
@ -500,7 +501,23 @@ that file. Your ftp must be able to use the <.netrc> file on its own, however.
|
|||||||
>
|
>
|
||||||
vim ftp://[user@]machine[[:#]portnumber]/path
|
vim ftp://[user@]machine[[:#]portnumber]/path
|
||||||
<
|
<
|
||||||
However, ftp will often need to query the user for the userid and password.
|
Windows provides an ftp (typically c:\Windows\System32\ftp.exe) which uses
|
||||||
|
an option, -s:filename (filename can and probably should be a full path)
|
||||||
|
which contains ftp commands which will be automatically run whenever ftp
|
||||||
|
starts. You may use this feature to enter a user and password for one site: >
|
||||||
|
userid
|
||||||
|
password
|
||||||
|
If |g:netrw_ftp_cmd| contains -s:[path/]MACHINE, then (on Windows machines only)
|
||||||
|
netrw will substitute the current machine name requested for ftp connection
|
||||||
|
for MACHINE. Hence one can have multiple machine.ftp files containing login
|
||||||
|
and password for ftp. Example: >
|
||||||
|
|
||||||
|
g:netrw_ftp_cmd= 'c:\Windows\System32\ftp -s:C:\Users\Myself\MACHINE'
|
||||||
|
vim ftp://myhost.somewhere.net/
|
||||||
|
will use a file >
|
||||||
|
C:\Users\Myself\myhost.ftp
|
||||||
|
<
|
||||||
|
Often, ftp will need to query the user for the userid and password.
|
||||||
The latter will be done "silently"; ie. asterisks will show up instead of
|
The latter will be done "silently"; ie. asterisks will show up instead of
|
||||||
the actually-typed-in password. Netrw will retain the userid and password
|
the actually-typed-in password. Netrw will retain the userid and password
|
||||||
for subsequent read/writes from the most recent transfer so subsequent
|
for subsequent read/writes from the most recent transfer so subsequent
|
||||||
@ -624,7 +641,7 @@ your <.vimrc> customization file: >
|
|||||||
<
|
<
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
6. Transparent File Editing *netrw-transparent* {{{1
|
6. Transparent Remote File Editing *netrw-transparent* {{{1
|
||||||
|
|
||||||
Transparent file transfers occur whenever a regular file read or write
|
Transparent file transfers occur whenever a regular file read or write
|
||||||
(invoked via an |:autocmd| for |BufReadCmd|, |BufWriteCmd|, or |SourceCmd|
|
(invoked via an |:autocmd| for |BufReadCmd|, |BufWriteCmd|, or |SourceCmd|
|
||||||
@ -1225,7 +1242,7 @@ CHANGING TO A PREDECESSOR DIRECTORY *netrw-u* *netrw-updir* {{{2
|
|||||||
|
|
||||||
Every time you change to a new directory (new for the current session),
|
Every time you change to a new directory (new for the current session),
|
||||||
netrw will save the directory in a recently-visited directory history
|
netrw will save the directory in a recently-visited directory history
|
||||||
list (unless g:netrw_dirhistmax is zero; by default, it's ten). With the
|
list (unless |g:netrw_dirhistmax| is zero; by default, it's ten). With the
|
||||||
"u" map, one can change to an earlier directory (predecessor). To do
|
"u" map, one can change to an earlier directory (predecessor). To do
|
||||||
the opposite, see |netrw-U|.
|
the opposite, see |netrw-U|.
|
||||||
|
|
||||||
@ -1527,6 +1544,19 @@ Related topics: |netrw-s| |netrw-S|
|
|||||||
Associated setting variables: |g:netrw_sort_sequence| |g:netrw_sort_options|
|
Associated setting variables: |g:netrw_sort_sequence| |g:netrw_sort_options|
|
||||||
|
|
||||||
|
|
||||||
|
FORCING TREATMENT AS A FILE OR DIRECTORY *netrw-gd* *netrw-gf* {{{2
|
||||||
|
|
||||||
|
Remote symbolic links (ie. those listed via ssh or ftp) are problematic
|
||||||
|
in that it is difficult to tell whether they link to a file or to a
|
||||||
|
directory.
|
||||||
|
|
||||||
|
To force treatment as a file: use >
|
||||||
|
gd
|
||||||
|
<
|
||||||
|
To force treatment as a directory: use >
|
||||||
|
gf
|
||||||
|
<
|
||||||
|
|
||||||
GOING UP *netrw--* {{{2
|
GOING UP *netrw--* {{{2
|
||||||
|
|
||||||
To go up a directory, press "-" or press the <cr> when atop the ../ directory
|
To go up a directory, press "-" or press the <cr> when atop the ../ directory
|
||||||
@ -1740,6 +1770,16 @@ the cursor atop a marked file and press "mf". This process also works
|
|||||||
with <s-leftmouse> using gvim. One may unmark all files by pressing
|
with <s-leftmouse> using gvim. One may unmark all files by pressing
|
||||||
"mu" (see |netrw-mu|).
|
"mu" (see |netrw-mu|).
|
||||||
|
|
||||||
|
Marked files are highlighted using the "netrwMarkFile" highlighting group,
|
||||||
|
which by default is linked to "Identifier" (see Identifier under
|
||||||
|
|group-name|). You may change the highlighting group by putting something
|
||||||
|
like >
|
||||||
|
|
||||||
|
highlight clear netrwMarkFile
|
||||||
|
hi link netrwMarkFile ..whatever..
|
||||||
|
<
|
||||||
|
into $HOME/.vim/after/syntax/netrw.vim .
|
||||||
|
|
||||||
*markfilelist* *global_markfilelist* *local_markfilelist*
|
*markfilelist* *global_markfilelist* *local_markfilelist*
|
||||||
All marked files are entered onto the global marked file list; there is only
|
All marked files are entered onto the global marked file list; there is only
|
||||||
one such list. In addition, every netrw buffer also has its own local marked
|
one such list. In addition, every netrw buffer also has its own local marked
|
||||||
@ -1789,7 +1829,8 @@ MARKED FILES: COPYING *netrw-mc* {{{2
|
|||||||
(Uses the global marked file list)
|
(Uses the global marked file list)
|
||||||
|
|
||||||
Select a target directory with mt (|netrw-mt|). Then change directory,
|
Select a target directory with mt (|netrw-mt|). Then change directory,
|
||||||
select file(s) (see |netrw-mf|), and press "mc".
|
select file(s) (see |netrw-mf|), and press "mc". The copy is done
|
||||||
|
from the current window (where one does the mf) to the target.
|
||||||
|
|
||||||
Associated setting variable: |g:netrw_localcopycmd| |g:netrw_ssh_cmd|
|
Associated setting variable: |g:netrw_localcopycmd| |g:netrw_ssh_cmd|
|
||||||
|
|
||||||
@ -1841,7 +1882,8 @@ MARKED FILES: MOVING *netrw-mm* {{{2
|
|||||||
Use at your own risk!
|
Use at your own risk!
|
||||||
|
|
||||||
Select a target directory with mt (|netrw-mt|). Then change directory,
|
Select a target directory with mt (|netrw-mt|). Then change directory,
|
||||||
select file(s) (see |netrw-mf|), and press "mm".
|
select file(s) (see |netrw-mf|), and press "mm". The move is done
|
||||||
|
from the current window (where one does the mf) to the target.
|
||||||
|
|
||||||
Associated setting variable: |g:netrw_localmovecmd| |g:netrw_ssh_cmd|
|
Associated setting variable: |g:netrw_localmovecmd| |g:netrw_ssh_cmd|
|
||||||
|
|
||||||
@ -1966,15 +2008,23 @@ your browsing preferences. (see also: |netrw-settings|)
|
|||||||
*g:netrw_ctags* ="ctags"
|
*g:netrw_ctags* ="ctags"
|
||||||
The default external program used to create tags
|
The default external program used to create tags
|
||||||
|
|
||||||
*g:netrw_cursorline* = 1 (default)
|
*g:netrw_cursor* = 2 (default)
|
||||||
will use the |'cursorline'| local setting when
|
This option controls the use of the
|
||||||
|g:netrw_liststyle| ==0 (thin listing) or
|
|'cursorline'| (cul) and |'cursorcolumn'|
|
||||||
|g:netrw_liststyle| ==1 (long listing) or
|
(cuc) settings by netrw:
|
||||||
|g:netrw_liststyle| ==3 (tree listing)
|
|
||||||
(ie. doesn't affect the wide listing)
|
Value Thin-Long-Tree Wide
|
||||||
=0: off
|
=0 u-cul u-cuc u-cul u-cuc
|
||||||
=2: like ==1, but the wide listing gets both
|
=1 u-cul u-cuc cul u-cuc
|
||||||
cursorline and |'cursorcolumn'|locally set
|
=2 cul u-cuc cul u-cuc
|
||||||
|
=3 cul u-cuc cul cuc
|
||||||
|
=4 cul cuc cul cuc
|
||||||
|
|
||||||
|
Where
|
||||||
|
u-cul : user's |'cursorline'| setting used
|
||||||
|
u-cuc : user's |'cursorcolumn'| setting used
|
||||||
|
cul : |'cursorline'| locally set
|
||||||
|
cuc : |'cursorcolumn'| locally set
|
||||||
|
|
||||||
*g:netrw_decompress* = { ".gz" : "gunzip" ,
|
*g:netrw_decompress* = { ".gz" : "gunzip" ,
|
||||||
".bz2" : "bunzip2" ,
|
".bz2" : "bunzip2" ,
|
||||||
@ -1983,6 +2033,11 @@ your browsing preferences. (see also: |netrw-settings|)
|
|||||||
A dictionary mapping suffices to
|
A dictionary mapping suffices to
|
||||||
decompression programs.
|
decompression programs.
|
||||||
|
|
||||||
|
*g:netrw_dirhistmax* =10: controls maximum quantity of past
|
||||||
|
history. May be zero to supppress
|
||||||
|
history.
|
||||||
|
(related: |netrw-qb| |netrw-u| |netrw-U|)
|
||||||
|
|
||||||
*g:netrw_fastbrowse* =0: slow speed directory browsing;
|
*g:netrw_fastbrowse* =0: slow speed directory browsing;
|
||||||
never re-uses directory listings,
|
never re-uses directory listings,
|
||||||
always obtains directory listings.
|
always obtains directory listings.
|
||||||
@ -2254,7 +2309,7 @@ file you edit; this apparently also applies to directories. In other words,
|
|||||||
autochdir sets the current directory to that containing the "file" (even if
|
autochdir sets the current directory to that containing the "file" (even if
|
||||||
that "file" is itself a directory).
|
that "file" is itself a directory).
|
||||||
|
|
||||||
NETRW SETTINGS *netrw-settings* {{{2
|
NETRW BROWSER SETTINGS *netrw-settings* {{{2
|
||||||
|
|
||||||
With the NetrwSettings.vim plugin, >
|
With the NetrwSettings.vim plugin, >
|
||||||
:NetrwSettings
|
:NetrwSettings
|
||||||
@ -2298,6 +2353,7 @@ Related topics:
|
|||||||
directory, see |g:netrw_keepdir|.
|
directory, see |g:netrw_keepdir|.
|
||||||
|
|
||||||
|
|
||||||
|
*netrw-createfile*
|
||||||
OPEN A NEW FILE IN NETRW'S CURRENT DIRECTORY *netrw-%*
|
OPEN A NEW FILE IN NETRW'S CURRENT DIRECTORY *netrw-%*
|
||||||
|
|
||||||
To open a file in netrw's current directory, press "%". This map will
|
To open a file in netrw's current directory, press "%". This map will
|
||||||
@ -2655,13 +2711,13 @@ Associated setting variables: |g:netrw_chgwin|
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
11. Debugging Netrw Itself *netrw-debug* {{{1
|
11. Debugging Netrw Itself *netrw-debug* {{{1
|
||||||
|
|
||||||
The <netrw.vim> script is typically available as:
|
The <netrw.vim> script is typically available as something like:
|
||||||
>
|
>
|
||||||
/usr/local/share/vim/vim6x/plugin/netrwPlugin.vim
|
|
||||||
/usr/local/share/vim/vim6x/autoload/netrw.vim
|
|
||||||
< -or- >
|
|
||||||
/usr/local/share/vim/vim7x/plugin/netrwPlugin.vim
|
/usr/local/share/vim/vim7x/plugin/netrwPlugin.vim
|
||||||
/usr/local/share/vim/vim7x/autoload/netrw.vim
|
/usr/local/share/vim/vim7x/autoload/netrw.vim
|
||||||
|
< -or- >
|
||||||
|
/usr/local/share/vim/vim6x/plugin/netrwPlugin.vim
|
||||||
|
/usr/local/share/vim/vim6x/autoload/netrw.vim
|
||||||
<
|
<
|
||||||
which is loaded automatically at startup (assuming :set nocp).
|
which is loaded automatically at startup (assuming :set nocp).
|
||||||
|
|
||||||
@ -2706,6 +2762,16 @@ which is loaded automatically at startup (assuming :set nocp).
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
12. History *netrw-history* {{{1
|
12. History *netrw-history* {{{1
|
||||||
|
|
||||||
|
v141: Aug 28, 2010 * added -s:... support for Windows ftp
|
||||||
|
* restored 2-leftmouse for :Rex-like return
|
||||||
|
* added balloon help for banner
|
||||||
|
Oct 26, 2010 * :Texplore changed to start from netrw's idea
|
||||||
|
of the current directory, not pwd's
|
||||||
|
Feb 10, 2011 * netrwPlugin modified to use BufReadCmd
|
||||||
|
when the "filename" ends with a "/" or a "\"
|
||||||
|
Avoids "... is a directory" message, works
|
||||||
|
inside a try-catch-endtry clause.
|
||||||
|
Feb 22, 2011 * for menus, &go =~# used to insure correct case
|
||||||
v140: Jul 27, 2010 * (Lech Lorens) unexpected change of window
|
v140: Jul 27, 2010 * (Lech Lorens) unexpected change of window
|
||||||
v139: May 14, 2010 * when viewing remote directory listings and
|
v139: May 14, 2010 * when viewing remote directory listings and
|
||||||
changing listing style, going to tree listing
|
changing listing style, going to tree listing
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*syntax.txt* For Vim version 7.3. Last change: 2011 Jan 22
|
*syntax.txt* For Vim version 7.3. Last change: 2011 Apr 01
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -3223,6 +3223,9 @@ DEFINING REGIONS *:syn-region* *:syn-start* *:syn-skip* *:syn-end*
|
|||||||
:hi par1 ctermfg=red guifg=red
|
:hi par1 ctermfg=red guifg=red
|
||||||
:hi par2 ctermfg=blue guifg=blue
|
:hi par2 ctermfg=blue guifg=blue
|
||||||
:hi par3 ctermfg=darkgreen guifg=darkgreen
|
:hi par3 ctermfg=darkgreen guifg=darkgreen
|
||||||
|
<
|
||||||
|
*E849*
|
||||||
|
The maximum number of syntax groups is 19999.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
6. :syntax arguments *:syn-arguments*
|
6. :syntax arguments *:syn-arguments*
|
||||||
@ -3761,6 +3764,9 @@ This also has implications for nested clusters: >
|
|||||||
:syntax match Stuff "( aaa bbb )" contains=@BigGroup
|
:syntax match Stuff "( aaa bbb )" contains=@BigGroup
|
||||||
:syntax cluster BigGroup remove=B " no effect, since B isn't in BigGroup
|
:syntax cluster BigGroup remove=B " no effect, since B isn't in BigGroup
|
||||||
:syntax cluster SmallGroup remove=B " now bbb isn't matched within Stuff
|
:syntax cluster SmallGroup remove=B " now bbb isn't matched within Stuff
|
||||||
|
<
|
||||||
|
*E848*
|
||||||
|
The maximum number of clusters is 9767.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
9. Including syntax files *:syn-include* *E397*
|
9. Including syntax files *:syn-include* *E397*
|
||||||
@ -3800,6 +3806,9 @@ two different ways:
|
|||||||
with his own version, without replacing the file that does the ":syn
|
with his own version, without replacing the file that does the ":syn
|
||||||
include".
|
include".
|
||||||
|
|
||||||
|
*E847*
|
||||||
|
The maximum number of includes is 999.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
10. Synchronizing *:syn-sync* *E403* *E404*
|
10. Synchronizing *:syn-sync* *E403* *E404*
|
||||||
|
|
||||||
|
@ -4229,6 +4229,10 @@ E842 cmdline.txt /*E842*
|
|||||||
E843 editing.txt /*E843*
|
E843 editing.txt /*E843*
|
||||||
E844 syntax.txt /*E844*
|
E844 syntax.txt /*E844*
|
||||||
E845 spell.txt /*E845*
|
E845 spell.txt /*E845*
|
||||||
|
E846 options.txt /*E846*
|
||||||
|
E847 syntax.txt /*E847*
|
||||||
|
E848 syntax.txt /*E848*
|
||||||
|
E849 syntax.txt /*E849*
|
||||||
E85 options.txt /*E85*
|
E85 options.txt /*E85*
|
||||||
E86 windows.txt /*E86*
|
E86 windows.txt /*E86*
|
||||||
E87 windows.txt /*E87*
|
E87 windows.txt /*E87*
|
||||||
@ -4861,6 +4865,8 @@ c_<S-Tab> cmdline.txt /*c_<S-Tab>*
|
|||||||
c_<S-Up> cmdline.txt /*c_<S-Up>*
|
c_<S-Up> cmdline.txt /*c_<S-Up>*
|
||||||
c_<Tab> cmdline.txt /*c_<Tab>*
|
c_<Tab> cmdline.txt /*c_<Tab>*
|
||||||
c_<Up> cmdline.txt /*c_<Up>*
|
c_<Up> cmdline.txt /*c_<Up>*
|
||||||
|
c_BS cmdline.txt /*c_BS*
|
||||||
|
c_CR cmdline.txt /*c_CR*
|
||||||
c_CTRL-A cmdline.txt /*c_CTRL-A*
|
c_CTRL-A cmdline.txt /*c_CTRL-A*
|
||||||
c_CTRL-B cmdline.txt /*c_CTRL-B*
|
c_CTRL-B cmdline.txt /*c_CTRL-B*
|
||||||
c_CTRL-C cmdline.txt /*c_CTRL-C*
|
c_CTRL-C cmdline.txt /*c_CTRL-C*
|
||||||
@ -4893,6 +4899,15 @@ c_CTRL-\_e cmdline.txt /*c_CTRL-\\_e*
|
|||||||
c_CTRL-] cmdline.txt /*c_CTRL-]*
|
c_CTRL-] cmdline.txt /*c_CTRL-]*
|
||||||
c_CTRL-^ cmdline.txt /*c_CTRL-^*
|
c_CTRL-^ cmdline.txt /*c_CTRL-^*
|
||||||
c_CTRL-_ cmdline.txt /*c_CTRL-_*
|
c_CTRL-_ cmdline.txt /*c_CTRL-_*
|
||||||
|
c_Del cmdline.txt /*c_Del*
|
||||||
|
c_Down cmdline.txt /*c_Down*
|
||||||
|
c_End cmdline.txt /*c_End*
|
||||||
|
c_Esc cmdline.txt /*c_Esc*
|
||||||
|
c_Home cmdline.txt /*c_Home*
|
||||||
|
c_Insert cmdline.txt /*c_Insert*
|
||||||
|
c_Left cmdline.txt /*c_Left*
|
||||||
|
c_Right cmdline.txt /*c_Right*
|
||||||
|
c_Up cmdline.txt /*c_Up*
|
||||||
c_digraph cmdline.txt /*c_digraph*
|
c_digraph cmdline.txt /*c_digraph*
|
||||||
c_wildchar cmdline.txt /*c_wildchar*
|
c_wildchar cmdline.txt /*c_wildchar*
|
||||||
call() eval.txt /*call()*
|
call() eval.txt /*call()*
|
||||||
@ -5750,10 +5765,11 @@ g:netrw_chgperm pi_netrw.txt /*g:netrw_chgperm*
|
|||||||
g:netrw_chgwin pi_netrw.txt /*g:netrw_chgwin*
|
g:netrw_chgwin pi_netrw.txt /*g:netrw_chgwin*
|
||||||
g:netrw_compress pi_netrw.txt /*g:netrw_compress*
|
g:netrw_compress pi_netrw.txt /*g:netrw_compress*
|
||||||
g:netrw_ctags pi_netrw.txt /*g:netrw_ctags*
|
g:netrw_ctags pi_netrw.txt /*g:netrw_ctags*
|
||||||
g:netrw_cursorline pi_netrw.txt /*g:netrw_cursorline*
|
g:netrw_cursor pi_netrw.txt /*g:netrw_cursor*
|
||||||
g:netrw_cygwin pi_netrw.txt /*g:netrw_cygwin*
|
g:netrw_cygwin pi_netrw.txt /*g:netrw_cygwin*
|
||||||
g:netrw_dav_cmd pi_netrw.txt /*g:netrw_dav_cmd*
|
g:netrw_dav_cmd pi_netrw.txt /*g:netrw_dav_cmd*
|
||||||
g:netrw_decompress pi_netrw.txt /*g:netrw_decompress*
|
g:netrw_decompress pi_netrw.txt /*g:netrw_decompress*
|
||||||
|
g:netrw_dirhistmax pi_netrw.txt /*g:netrw_dirhistmax*
|
||||||
g:netrw_fastbrowse pi_netrw.txt /*g:netrw_fastbrowse*
|
g:netrw_fastbrowse pi_netrw.txt /*g:netrw_fastbrowse*
|
||||||
g:netrw_fetch_cmd pi_netrw.txt /*g:netrw_fetch_cmd*
|
g:netrw_fetch_cmd pi_netrw.txt /*g:netrw_fetch_cmd*
|
||||||
g:netrw_fname_escape pi_netrw.txt /*g:netrw_fname_escape*
|
g:netrw_fname_escape pi_netrw.txt /*g:netrw_fname_escape*
|
||||||
@ -6710,6 +6726,7 @@ netrw-clean pi_netrw.txt /*netrw-clean*
|
|||||||
netrw-contents pi_netrw.txt /*netrw-contents*
|
netrw-contents pi_netrw.txt /*netrw-contents*
|
||||||
netrw-copyright pi_netrw.txt /*netrw-copyright*
|
netrw-copyright pi_netrw.txt /*netrw-copyright*
|
||||||
netrw-cr pi_netrw.txt /*netrw-cr*
|
netrw-cr pi_netrw.txt /*netrw-cr*
|
||||||
|
netrw-createfile pi_netrw.txt /*netrw-createfile*
|
||||||
netrw-credits pi_netrw.txt /*netrw-credits*
|
netrw-credits pi_netrw.txt /*netrw-credits*
|
||||||
netrw-ctrl-h pi_netrw.txt /*netrw-ctrl-h*
|
netrw-ctrl-h pi_netrw.txt /*netrw-ctrl-h*
|
||||||
netrw-ctrl-l pi_netrw.txt /*netrw-ctrl-l*
|
netrw-ctrl-l pi_netrw.txt /*netrw-ctrl-l*
|
||||||
@ -6733,7 +6750,9 @@ netrw-fixup pi_netrw.txt /*netrw-fixup*
|
|||||||
netrw-ftp pi_netrw.txt /*netrw-ftp*
|
netrw-ftp pi_netrw.txt /*netrw-ftp*
|
||||||
netrw-ftype pi_netrw.txt /*netrw-ftype*
|
netrw-ftype pi_netrw.txt /*netrw-ftype*
|
||||||
netrw-gb pi_netrw.txt /*netrw-gb*
|
netrw-gb pi_netrw.txt /*netrw-gb*
|
||||||
|
netrw-gd pi_netrw.txt /*netrw-gd*
|
||||||
netrw-getftype pi_netrw.txt /*netrw-getftype*
|
netrw-getftype pi_netrw.txt /*netrw-getftype*
|
||||||
|
netrw-gf pi_netrw.txt /*netrw-gf*
|
||||||
netrw-gh pi_netrw.txt /*netrw-gh*
|
netrw-gh pi_netrw.txt /*netrw-gh*
|
||||||
netrw-gp pi_netrw.txt /*netrw-gp*
|
netrw-gp pi_netrw.txt /*netrw-gp*
|
||||||
netrw-gx pi_netrw.txt /*netrw-gx*
|
netrw-gx pi_netrw.txt /*netrw-gx*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 7.3. Last change: 2011 Mar 22
|
*todo.txt* For Vim version 7.3. Last change: 2011 Apr 01
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -30,129 +30,21 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
|||||||
*known-bugs*
|
*known-bugs*
|
||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
The :z command doesn't work exactly as it should. (ChangZhuo Chen, 2011 Mar 2)
|
|
||||||
Compare with how old Vi works and with posix spec. terminal is 80 x 24,
|
|
||||||
'scroll' option set to 11.
|
|
||||||
|
|
||||||
Crash with ":python help(dir)". (Kearn Holliday, 2011 Mar 19)
|
|
||||||
I can reproduce it. Don't know why it happens.
|
|
||||||
|
|
||||||
'cursorline' is displayed too short when there are concealed characters and
|
|
||||||
'list' is set. (Dennis Preiser)
|
|
||||||
Patch 7.3.116 was the wrong solution.
|
|
||||||
|
|
||||||
When opening file from windows explorer, characters inside [] cause
|
|
||||||
problems, even though double quotes are used. (Manuel Stol, 2011 Mar 9)
|
|
||||||
|
|
||||||
Patch for Vim indent file. (Cocular, 2011 Mar)
|
|
||||||
|
|
||||||
:help c_Esc should work, but only :help c_<Esc> does.
|
|
||||||
|
|
||||||
Patch to change the meaning of \n in substitute(). (motoya kurotsu, 2011 Mar 8)
|
|
||||||
|
|
||||||
New version of Pascal indent file. (Neil Carter, 2011 Mar 9)
|
|
||||||
|
|
||||||
Help file foldexpr (ZyX)
|
|
||||||
|
|
||||||
upstart syntax file (James Hunt, Mar 11 2011)
|
|
||||||
|
|
||||||
Syntax region with 'concealends' and a 'cchar' value, 'conceallevel' set to 2,
|
|
||||||
only one of the two ends gets the cchar displayed. (Brett Stahlman, 2010 Aug
|
|
||||||
21, Ben Fritz, 2010 Sep 14)
|
|
||||||
|
|
||||||
Bug in repeating Visual "u". (Lawrence Kesteloot, 2010 Dec 20)
|
|
||||||
|
|
||||||
Crash with big .xpm file. (Yukihiro Nakadaira, 2011 Feb 18)
|
|
||||||
Patch from Ben Schmidt (2011 Mar 3). Needs some more work.
|
|
||||||
|
|
||||||
Patch for disappearing cursor after netbeans command. (Xavier de Gaye, 2011
|
|
||||||
Mar 4)
|
|
||||||
|
|
||||||
Windows keys not set properly on Windows 7? (cncyber, 2010 Aug 26)
|
|
||||||
|
|
||||||
Compiler scripts for fortran (Hong Xu, 2011 March 19)
|
|
||||||
|
|
||||||
This line hangs Vim, because of syntax HL:
|
|
||||||
call append(line, "INFO ....12....18....24....30....36....42....48....54....60....66....72....78%$")
|
|
||||||
|
|
||||||
Building the MingW version without clipboard but with multi-byte doesn't
|
|
||||||
work. (Bill Lam, 2010 Sep 18)
|
|
||||||
|
|
||||||
Patch for handling of NL in substitute() with \= expression. (Motoya Kurotsu,
|
|
||||||
2011 Mar 16)
|
|
||||||
|
|
||||||
When using a Vim server, a # in the path causes an error message.
|
|
||||||
(Jeff Lanzarotta, 2011 Feb 17)
|
|
||||||
|
|
||||||
Bug: E685 error for func_unref(). (ZyX, 2010 Aug 5)
|
|
||||||
|
|
||||||
Using ":break" or something else that stops executing commands inside a
|
|
||||||
":finally" does not rethrow a previously uncaught exception. (ZyX, 2010 Oct
|
|
||||||
15)
|
|
||||||
|
|
||||||
Vim using lots of memory when joining lines. (John Little, 2010 Dec 3)
|
|
||||||
|
|
||||||
On 64 bit MS-Windows "long" is only 32 bits, but we sometimes need to store a
|
|
||||||
64 bits value. Change all number options to use nropt_T and define it to the
|
|
||||||
right type.
|
|
||||||
|
|
||||||
Patch to improve mf_hash, dynamic sizing. (Ivan Krasilnikov, 2010 Dec 17)
|
|
||||||
Update with tests: 2011 Feb 28.
|
|
||||||
|
|
||||||
string() can't parse back "inf" and "nan". Fix documentation or fix code?
|
|
||||||
(ZyX, 2010 Aug 23)
|
|
||||||
|
|
||||||
maparg() does not show the <script> flag. When temporarily changing a
|
|
||||||
mapping, how to restore the script ID?
|
|
||||||
|
|
||||||
Patch to fix \%V item in regexp. (Christian Brabandt, 2010 Nov 8)
|
|
||||||
Update Nov 19. James Vega: still not right. Christian: it's difficult.
|
|
||||||
|
|
||||||
Patch to add up to 99 match groups. (Christian Brabandt, 2010 Dec 22)
|
|
||||||
Also add named groups: \%{name}(re) and \%{name}g
|
|
||||||
|
|
||||||
Bug in try/catch: return with invalid compare throws error that isn't caught.
|
|
||||||
(ZyX, 2011 Jan 26)
|
|
||||||
|
|
||||||
Improvement patch for filetype.vim. (Thilo Six, 2011 Mar 19)
|
Improvement patch for filetype.vim. (Thilo Six, 2011 Mar 19)
|
||||||
|
|
||||||
Patch for "+ and "* getting same selection when "a" is not in 'guioptions'.
|
Patch to recognize more files as log files. (Mathieu Parent, 2011 Jan 14)
|
||||||
(James Vega, 2011 Mar 17)
|
|
||||||
|
|
||||||
Highlighting stops working after changing it many times. Script to reproduce
|
|
||||||
it: Pablo Contreras, 2010 Oct 12 Windows XP and 7. Font is never freed?
|
|
||||||
|
|
||||||
After patch 7.3.097 still get E15. (Yukihiro Nakadaira, 2011 Jan 18)
|
|
||||||
Also for another example (ZyX, 2011 Jan 24)
|
|
||||||
|
|
||||||
Build problem with small features on Mac OS X 10.6. (Rainer, 2011 Jan 24)
|
|
||||||
|
|
||||||
"0g@$" puts '] on last byte of multi-byte. (ZyX, 2011 Jan 22)
|
|
||||||
|
|
||||||
Deleting a linewise selection that includes the last line of the file leaves
|
|
||||||
an empty line. (Ben Schmidt, 2011 Mar 17)
|
|
||||||
Patch by Christian Brabandt, 2011 Mar 19.
|
|
||||||
|
|
||||||
Two patches for xxd. (Florian Zumbiehl, 2011 Jan 11)
|
Two patches for xxd. (Florian Zumbiehl, 2011 Jan 11)
|
||||||
Two updates for second one Jan 12.
|
Two updates for second one Jan 12.
|
||||||
|
|
||||||
Problem with "syn sync gouphere". (Gustavo Niemeyer, 2011 Jan 27)
|
Go through new coverity reports.
|
||||||
|
|
||||||
Loading autoload script even when usage is inside "if 0". (Christian Brabandt,
|
|
||||||
2010 Dec 18)
|
|
||||||
|
|
||||||
When 'colorcolumn' is set locally to a window, ":new" opens a window with the
|
When 'colorcolumn' is set locally to a window, ":new" opens a window with the
|
||||||
same highlighting but 'colorcolumn' is empty. (Tyru, 2010 Nov 15)
|
same highlighting but 'colorcolumn' is empty. (Tyru, 2010 Nov 15)
|
||||||
Patch by Christian Brabandt, 2011 Feb 13 (but move further down).
|
Patch by Christian Brabandt, 2011 Feb 13 (but move further down).
|
||||||
|
|
||||||
In the sandbox it's not allowed to do many things, but it's possible to change
|
|
||||||
or set variables. Add a way to prevent variables from being changed in the
|
|
||||||
sandbox? E.g.: ":protect g:restore_settings".
|
|
||||||
|
|
||||||
Patch for configure related to Ruby on Mac OS X. (Bjorn Winckler, 2011 Jan 14)
|
Patch for configure related to Ruby on Mac OS X. (Bjorn Winckler, 2011 Jan 14)
|
||||||
|
|
||||||
Patch to recognize more files as log files. (Mathieu Parent, 2011 Jan 14)
|
|
||||||
|
|
||||||
Patch to set v:register on startup. (Ingo Karkat, 2011 Jan 16)
|
Patch to set v:register on startup. (Ingo Karkat, 2011 Jan 16)
|
||||||
|
|
||||||
Patch to set v:register default depending on "unnamed" in 'clipboard'. (Ingo
|
Patch to set v:register default depending on "unnamed" in 'clipboard'. (Ingo
|
||||||
@ -170,28 +62,9 @@ Patch for "No errors" showing up after QuickfixCmdPost. (Mike Lundy, 2011 Feb
|
|||||||
|
|
||||||
Patch for cmdline completion of ":lang". (Dominique Pelle, 2011 Feb 5)
|
Patch for cmdline completion of ":lang". (Dominique Pelle, 2011 Feb 5)
|
||||||
|
|
||||||
GTK: drawing a double-width combining character over single-width characters
|
|
||||||
doesn't look right. (Dominique Pelle, 2010 Aug 8)
|
|
||||||
|
|
||||||
GTK: tear-off menu does not work. (Kurt Sonnenmoser, 2010 Oct 25)
|
|
||||||
|
|
||||||
Win32: tear-off menu does not work when menu language is German. (Markus
|
|
||||||
Bossler, 2011 Mar 2) Fixed by 7.3.095?
|
|
||||||
|
|
||||||
Patch for adding 's' option to 'cino', C++ namespace indenting. (Konstantin
|
Patch for adding 's' option to 'cino', C++ namespace indenting. (Konstantin
|
||||||
Lepa, 2011 Jan 18)
|
Lepa, 2011 Jan 18)
|
||||||
|
|
||||||
Version of netbeans.c for use with MacVim. (Kazuki Sakamoto, 2010 Nov 18)
|
|
||||||
|
|
||||||
7.3.014 changed how backslash at end of line works, but still get a NUL when
|
|
||||||
there is one backslash. (Ray Frush, 2010 Nov 18) What does the original ex
|
|
||||||
do?
|
|
||||||
|
|
||||||
":find" completion does not escape space in directory name. (Isz, 2010 Nov 2)
|
|
||||||
|
|
||||||
Searching mixed with Visual mode doesn't redraw properly. (James Vega, 2010 Nov
|
|
||||||
22)
|
|
||||||
|
|
||||||
Patch to support ":!start /b cmd". (Xaizek, 2010 Dec 22)
|
Patch to support ":!start /b cmd". (Xaizek, 2010 Dec 22)
|
||||||
|
|
||||||
Patch to build with GTK on Mac. (Ben Schmidt, 2011 Jan 18)
|
Patch to build with GTK on Mac. (Ben Schmidt, 2011 Jan 18)
|
||||||
@ -207,6 +80,135 @@ Patch to improve optwin.vim. (ZyX, 2011 Jan 29)
|
|||||||
|
|
||||||
Patch for Python 3 support. (lilydjwg, 2011 Feb 24)
|
Patch for Python 3 support. (lilydjwg, 2011 Feb 24)
|
||||||
|
|
||||||
|
Building the MingW version without clipboard but with multi-byte doesn't
|
||||||
|
work. (Bill Lam, 2010 Sep 18)
|
||||||
|
|
||||||
|
Patch for handling of NL in substitute() with \= expression. (Motoya Kurotsu,
|
||||||
|
2011 Mar 16) Update Mar 24.
|
||||||
|
|
||||||
|
Patch to disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka, 2010
|
||||||
|
Nov 25)
|
||||||
|
|
||||||
|
GTK: Patch to fix menu popping down. (Hong Xu, 2010 Dec 4, Dec 5)
|
||||||
|
Update 2011 Feb 3.
|
||||||
|
|
||||||
|
Patch to use pipes on Win32. (Vincent Berthoux, 2011 Feb 28)
|
||||||
|
Update Mar 1 using 'shelltemp'.
|
||||||
|
|
||||||
|
"gh<Del>" deletes the current line, except when it's the last line.
|
||||||
|
Hint by Christian Brabandt, 2011 Mar 22
|
||||||
|
|
||||||
|
The :z command doesn't work exactly as it should. (ChangZhuo Chen, 2011 Mar 2)
|
||||||
|
Compare with how old Vi works and with posix spec. terminal is 80 x 24,
|
||||||
|
'scroll' option set to 11.
|
||||||
|
|
||||||
|
'cursorline' is displayed too short when there are concealed characters and
|
||||||
|
'list' is set. (Dennis Preiser)
|
||||||
|
Patch 7.3.116 was the wrong solution.
|
||||||
|
|
||||||
|
When opening file from windows explorer, characters inside [] cause
|
||||||
|
problems, even though double quotes are used. (Manuel Stol, 2011 Mar 9)
|
||||||
|
|
||||||
|
Patch to change the meaning of \n in substitute(). (motoya kurotsu, 2011 Mar 8)
|
||||||
|
|
||||||
|
Help file foldexpr (ZyX)
|
||||||
|
|
||||||
|
Syntax region with 'concealends' and a 'cchar' value, 'conceallevel' set to 2,
|
||||||
|
only one of the two ends gets the cchar displayed. (Brett Stahlman, 2010 Aug
|
||||||
|
21, Ben Fritz, 2010 Sep 14)
|
||||||
|
|
||||||
|
Bug in repeating Visual "u". (Lawrence Kesteloot, 2010 Dec 20)
|
||||||
|
|
||||||
|
CursorHold repeats typed key when it's the start of a mapping.
|
||||||
|
(Will Gray, 2011 Mar 23)
|
||||||
|
|
||||||
|
Windows keys not set properly on Windows 7? (cncyber, 2010 Aug 26)
|
||||||
|
|
||||||
|
This line hangs Vim, because of syntax HL:
|
||||||
|
call append(line, "INFO ....12....18....24....30....36....42....48....54....60....66....72....78%$")
|
||||||
|
|
||||||
|
When using a Vim server, a # in the path causes an error message.
|
||||||
|
(Jeff Lanzarotta, 2011 Feb 17)
|
||||||
|
|
||||||
|
Bug: E685 error for func_unref(). (ZyX, 2010 Aug 5)
|
||||||
|
|
||||||
|
Using ":break" or something else that stops executing commands inside a
|
||||||
|
":finally" does not rethrow a previously uncaught exception. (ZyX, 2010 Oct
|
||||||
|
15)
|
||||||
|
|
||||||
|
Vim using lots of memory when joining lines. (John Little, 2010 Dec 3)
|
||||||
|
|
||||||
|
On 64 bit MS-Windows "long" is only 32 bits, but we sometimes need to store a
|
||||||
|
64 bits value. Change all number options to use nropt_T and define it to the
|
||||||
|
right type.
|
||||||
|
|
||||||
|
string() can't parse back "inf" and "nan". Fix documentation or fix code?
|
||||||
|
(ZyX, 2010 Aug 23)
|
||||||
|
|
||||||
|
When doing "redir => s:foo" in a script and then "redir END" somewhere else
|
||||||
|
(e.g. in a function) it can't find s:foo.
|
||||||
|
|
||||||
|
maparg() does not show the <script> flag. When temporarily changing a
|
||||||
|
mapping, how to restore the script ID?
|
||||||
|
|
||||||
|
Patch to fix \%V item in regexp. (Christian Brabandt, 2010 Nov 8)
|
||||||
|
Update Nov 19. James Vega: still not right. Christian: it's difficult.
|
||||||
|
|
||||||
|
Patch to add up to 99 match groups. (Christian Brabandt, 2010 Dec 22)
|
||||||
|
Also add named groups: \%{name}(re) and \%{name}g
|
||||||
|
|
||||||
|
Bug in try/catch: return with invalid compare throws error that isn't caught.
|
||||||
|
(ZyX, 2011 Jan 26)
|
||||||
|
|
||||||
|
Highlighting stops working after changing it many times. Script to reproduce
|
||||||
|
it: Pablo Contreras, 2010 Oct 12 Windows XP and 7. Font is never freed?
|
||||||
|
|
||||||
|
After patch 7.3.097 still get E15. (Yukihiro Nakadaira, 2011 Jan 18)
|
||||||
|
Also for another example (ZyX, 2011 Jan 24)
|
||||||
|
|
||||||
|
Build problem with small features on Mac OS X 10.6. (Rainer, 2011 Jan 24)
|
||||||
|
|
||||||
|
"0g@$" puts '] on last byte of multi-byte. (ZyX, 2011 Jan 22)
|
||||||
|
|
||||||
|
Deleting a linewise selection that includes the last line of the file leaves
|
||||||
|
an empty line. (Ben Schmidt, 2011 Mar 17)
|
||||||
|
Patch by Christian Brabandt, 2011 Mar 19.
|
||||||
|
|
||||||
|
Patch to support sorting on floating point number. (Alex Jakushev, 2010 Oct
|
||||||
|
30)
|
||||||
|
|
||||||
|
When a script contains "redir => s:foo" but doesn't end redirection, a
|
||||||
|
following "redir" command gives an error for not being able to access s:foo.
|
||||||
|
(ZyX, 2011 Mar 27)
|
||||||
|
|
||||||
|
Problem with "syn sync gouphere". (Gustavo Niemeyer, 2011 Jan 27)
|
||||||
|
|
||||||
|
Loading autoload script even when usage is inside "if 0". (Christian Brabandt,
|
||||||
|
2010 Dec 18)
|
||||||
|
|
||||||
|
In the sandbox it's not allowed to do many things, but it's possible to change
|
||||||
|
or set variables. Add a way to prevent variables from being changed in the
|
||||||
|
sandbox? E.g.: ":protect g:restore_settings".
|
||||||
|
|
||||||
|
GTK: drawing a double-width combining character over single-width characters
|
||||||
|
doesn't look right. (Dominique Pelle, 2010 Aug 8)
|
||||||
|
|
||||||
|
GTK: tear-off menu does not work. (Kurt Sonnenmoser, 2010 Oct 25)
|
||||||
|
|
||||||
|
Win32: tear-off menu does not work when menu language is German. (Markus
|
||||||
|
Bossler, 2011 Mar 2) Fixed by 7.3.095?
|
||||||
|
|
||||||
|
Version of netbeans.c for use with MacVim. (Kazuki Sakamoto, 2010 Nov 18)
|
||||||
|
|
||||||
|
7.3.014 changed how backslash at end of line works, but still get a NUL when
|
||||||
|
there is one backslash. (Ray Frush, 2010 Nov 18) What does the original ex
|
||||||
|
do?
|
||||||
|
|
||||||
|
":find" completion does not escape space in directory name. (Isz, 2010 Nov 2)
|
||||||
|
|
||||||
|
Searching mixed with Visual mode doesn't redraw properly. (James Vega, 2010 Nov
|
||||||
|
22)
|
||||||
|
|
||||||
New esperanto spell file can't be processed. (Dominique Pelle, 2011 Jan 30)
|
New esperanto spell file can't be processed. (Dominique Pelle, 2011 Jan 30)
|
||||||
- move compflags to separate growarray?
|
- move compflags to separate growarray?
|
||||||
- instead of a regexp use a hashtable. Expand '?', '*", '+'. What would be
|
- instead of a regexp use a hashtable. Expand '?', '*", '+'. What would be
|
||||||
@ -235,15 +237,6 @@ the command line. (Ingo Karkat, 2011 Jan 25)
|
|||||||
Since patch 7.2.46 Yankring plugin has become very slow, eventually make Vim
|
Since patch 7.2.46 Yankring plugin has become very slow, eventually make Vim
|
||||||
crash? (Raiwil, 2010 Nov 17)
|
crash? (Raiwil, 2010 Nov 17)
|
||||||
|
|
||||||
Patch to disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka, 2010
|
|
||||||
Nov 25)
|
|
||||||
|
|
||||||
GTK: Patch to fix menu popping down. (Hong Xu, 2010 Dec 4, Dec 5)
|
|
||||||
Update 2011 Feb 3.
|
|
||||||
|
|
||||||
Patch to use pipes on Win32. (Vincent Berthoux, 2011 Feb 28)
|
|
||||||
Update Mar 1 using 'shelltemp'.
|
|
||||||
|
|
||||||
Python: Adding line to buffer other than the current one doesn't work
|
Python: Adding line to buffer other than the current one doesn't work
|
||||||
correctly. (Rozbujnik, 2010 Dec 19)
|
correctly. (Rozbujnik, 2010 Dec 19)
|
||||||
|
|
||||||
@ -255,9 +248,6 @@ the system encoding (usually utf-8).
|
|||||||
Problem producing tags file when hebrew.frx is present. It has a BOM.
|
Problem producing tags file when hebrew.frx is present. It has a BOM.
|
||||||
Results in E670. (Tony Mechelynck, 2010 May 2)
|
Results in E670. (Tony Mechelynck, 2010 May 2)
|
||||||
|
|
||||||
Patch to support sorting on floating point number. (Alex Jakushev, 2010 Oct
|
|
||||||
30)
|
|
||||||
|
|
||||||
Ruby: ":ruby print $buffer.number" returns zero.
|
Ruby: ":ruby print $buffer.number" returns zero.
|
||||||
|
|
||||||
setpos() does not restore cursor position after :normal. (Tyru, 2010 Aug 11)
|
setpos() does not restore cursor position after :normal. (Tyru, 2010 Aug 11)
|
||||||
@ -896,6 +886,9 @@ Can't easily close the help window, like ":pc" closes the preview window and
|
|||||||
":ccl" closes the quickfix window. Add ":hclose". (Chris Gaal)
|
":ccl" closes the quickfix window. Add ":hclose". (Chris Gaal)
|
||||||
Patch for :helpclose, Christian Brabandt, 2010 Sep 6.
|
Patch for :helpclose, Christian Brabandt, 2010 Sep 6.
|
||||||
|
|
||||||
|
Patch for :lmake not updating the quickfix window title. (Lech Lorens, 2011
|
||||||
|
Mar 26)
|
||||||
|
|
||||||
When 'diffopt' has "context:0" a single deleted line causes two folds to merge
|
When 'diffopt' has "context:0" a single deleted line causes two folds to merge
|
||||||
and mess up syncing. (Austin Jennings, 2008 Jan 31)
|
and mess up syncing. (Austin Jennings, 2008 Jan 31)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim support file to detect file types
|
" Vim support file to detect file types
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2011 Mar 22
|
" Last Change: 2011 Apr 01
|
||||||
|
|
||||||
" Listen very carefully, I will say this only once
|
" Listen very carefully, I will say this only once
|
||||||
if exists("did_load_filetypes")
|
if exists("did_load_filetypes")
|
||||||
@ -75,7 +75,7 @@ endfunc
|
|||||||
au BufNewFile,BufRead *.aap setf aap
|
au BufNewFile,BufRead *.aap setf aap
|
||||||
|
|
||||||
" A2ps printing utility
|
" A2ps printing utility
|
||||||
au BufNewFile,BufRead etc/a2ps.cfg,etc/a2ps/*.cfg,a2psrc,.a2psrc setf a2ps
|
au BufNewFile,BufRead */etc/a2ps.cfg,*/etc/a2ps/*.cfg,a2psrc,.a2psrc setf a2ps
|
||||||
|
|
||||||
" ABAB/4
|
" ABAB/4
|
||||||
au BufNewFile,BufRead *.abap setf abap
|
au BufNewFile,BufRead *.abap setf abap
|
||||||
@ -110,8 +110,7 @@ au BufNewFile,BufRead build.xml setf ant
|
|||||||
au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle')
|
au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle')
|
||||||
|
|
||||||
" Apache config file
|
" Apache config file
|
||||||
au BufNewFile,BufRead .htaccess,/etc/httpd/*.conf setf apache
|
au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache
|
||||||
au BufNewFile,BufRead httpd.conf*,srm.conf*,access.conf*,apache.conf*,apache2.conf*,/etc/apache2/*.conf*,/etc/httpd/conf.d/*.conf* call s:StarSetf('apache')
|
|
||||||
|
|
||||||
" XA65 MOS6510 cross assembler
|
" XA65 MOS6510 cross assembler
|
||||||
au BufNewFile,BufRead *.a65 setf a65
|
au BufNewFile,BufRead *.a65 setf a65
|
||||||
@ -124,7 +123,7 @@ au BufNewFile,BufRead *.am
|
|||||||
\ if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif
|
\ if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif
|
||||||
|
|
||||||
" ALSA configuration
|
" ALSA configuration
|
||||||
au BufNewFile,BufRead ~/.asoundrc,/usr/share/alsa/alsa.conf,/etc/asound.conf setf alsaconf
|
au BufNewFile,BufRead ~/.asoundrc,/usr/share/alsa/alsa.conf,*/etc/asound.conf setf alsaconf
|
||||||
|
|
||||||
" Arc Macro Language
|
" Arc Macro Language
|
||||||
au BufNewFile,BufRead *.aml setf aml
|
au BufNewFile,BufRead *.aml setf aml
|
||||||
@ -157,7 +156,7 @@ au BufNewFile,BufRead *.asp
|
|||||||
\ endif
|
\ endif
|
||||||
|
|
||||||
" Grub (must be before catch *.lst)
|
" Grub (must be before catch *.lst)
|
||||||
au BufNewFile,BufRead /boot/grub/menu.lst,/boot/grub/grub.conf,/etc/grub.conf setf grub
|
au BufNewFile,BufRead /boot/grub/menu.lst,/boot/grub/grub.conf,*/etc/grub.conf setf grub
|
||||||
|
|
||||||
" Assembly (all kinds)
|
" Assembly (all kinds)
|
||||||
" *.lst is not pure assembly, it has two extra columns (address, byte codes)
|
" *.lst is not pure assembly, it has two extra columns (address, byte codes)
|
||||||
@ -296,7 +295,7 @@ endfunc
|
|||||||
au BufNewFile,BufRead *.bl setf blank
|
au BufNewFile,BufRead *.bl setf blank
|
||||||
|
|
||||||
" Blkid cache file
|
" Blkid cache file
|
||||||
au BufNewFile,BufRead /etc/blkid.tab,/etc/blkid.tab.old setf xml
|
au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml
|
||||||
|
|
||||||
" C or lpc
|
" C or lpc
|
||||||
au BufNewFile,BufRead *.c call s:FTlpc()
|
au BufNewFile,BufRead *.c call s:FTlpc()
|
||||||
@ -331,7 +330,7 @@ au BufNewFile,BufRead *.cabal setf cabal
|
|||||||
au BufNewFile,BufRead *.toc setf cdrtoc
|
au BufNewFile,BufRead *.toc setf cdrtoc
|
||||||
|
|
||||||
" Cdrdao config
|
" Cdrdao config
|
||||||
au BufNewFile,BufRead etc/cdrdao.conf,etc/defaults/cdrdao,etc/default/cdrdao,~/.cdrdao setf cdrdaoconf
|
au BufNewFile,BufRead */etc/cdrdao.conf,*/etc/defaults/cdrdao,*/etc/default/cdrdao,~/.cdrdao setf cdrdaoconf
|
||||||
|
|
||||||
" Cfengine
|
" Cfengine
|
||||||
au BufNewFile,BufRead cfengine.conf setf cfengine
|
au BufNewFile,BufRead cfengine.conf setf cfengine
|
||||||
@ -553,7 +552,8 @@ au BufNewFile,BufRead control
|
|||||||
\| endif
|
\| endif
|
||||||
|
|
||||||
" Debian Sources.list
|
" Debian Sources.list
|
||||||
au BufNewFile,BufRead /etc/apt/sources.list setf debsources
|
au BufNewFile,BufRead */etc/apt/sources.list setf debsources
|
||||||
|
au BufNewFile,BufRead */etc/apt/sources.list.d/*.list setf debsources
|
||||||
|
|
||||||
" Deny hosts
|
" Deny hosts
|
||||||
au BufNewFile,BufRead denyhosts.conf setf denyhosts
|
au BufNewFile,BufRead denyhosts.conf setf denyhosts
|
||||||
@ -586,7 +586,7 @@ au BufNewFile,BufRead dictd.conf setf dictdconf
|
|||||||
au BufNewFile,BufRead *.diff,*.rej,*.patch setf diff
|
au BufNewFile,BufRead *.diff,*.rej,*.patch setf diff
|
||||||
|
|
||||||
" Dircolors
|
" Dircolors
|
||||||
au BufNewFile,BufRead .dir_colors,/etc/DIR_COLORS setf dircolors
|
au BufNewFile,BufRead .dir_colors,.dircolors,*/etc/DIR_COLORS setf dircolors
|
||||||
|
|
||||||
" Diva (with Skill) or InstallShield
|
" Diva (with Skill) or InstallShield
|
||||||
au BufNewFile,BufRead *.rul
|
au BufNewFile,BufRead *.rul
|
||||||
@ -767,7 +767,7 @@ au BufNewFile,BufRead *.groovy setf groovy
|
|||||||
au BufNewFile,BufRead *.gsp setf gsp
|
au BufNewFile,BufRead *.gsp setf gsp
|
||||||
|
|
||||||
" Group file
|
" Group file
|
||||||
au BufNewFile,BufRead /etc/group,/etc/group-,/etc/group.edit,/etc/gshadow,/etc/gshadow-,/etc/gshadow.edit,/var/backups/group.bak,/var/backups/gshadow.bak setf group
|
au BufNewFile,BufRead */etc/group,*/etc/group-,*/etc/group.edit,*/etc/gshadow,*/etc/gshadow-,*/etc/gshadow.edit,*/var/backups/group.bak,*/var/backups/gshadow.bak setf group
|
||||||
|
|
||||||
" GTK RC
|
" GTK RC
|
||||||
au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc
|
au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc
|
||||||
@ -826,10 +826,10 @@ au BufNewFile,BufRead *.html.m4 setf htmlm4
|
|||||||
au BufNewFile,BufRead *.tmpl setf htmlcheetah
|
au BufNewFile,BufRead *.tmpl setf htmlcheetah
|
||||||
|
|
||||||
" Host config
|
" Host config
|
||||||
au BufNewFile,BufRead /etc/host.conf setf hostconf
|
au BufNewFile,BufRead */etc/host.conf setf hostconf
|
||||||
|
|
||||||
" Hosts access
|
" Hosts access
|
||||||
au BufNewFile,BufRead /etc/hosts.allow,/etc/hosts.deny setf hostsaccess
|
au BufNewFile,BufRead */etc/hosts.allow,*/etc/hosts.deny setf hostsaccess
|
||||||
|
|
||||||
" Hyper Builder
|
" Hyper Builder
|
||||||
au BufNewFile,BufRead *.hb setf hb
|
au BufNewFile,BufRead *.hb setf hb
|
||||||
@ -889,7 +889,7 @@ au BufNewFile,BufRead indentrc setf indent
|
|||||||
au BufNewFile,BufRead *.inf,*.INF setf inform
|
au BufNewFile,BufRead *.inf,*.INF setf inform
|
||||||
|
|
||||||
" Initng
|
" Initng
|
||||||
au BufNewFile,BufRead /etc/initng/**/*.i,*.ii setf initng
|
au BufNewFile,BufRead */etc/initng/**/*.i,*.ii setf initng
|
||||||
|
|
||||||
" Ipfilter
|
" Ipfilter
|
||||||
au BufNewFile,BufRead ipf.conf,ipf6.conf,ipf.rules setf ipfilter
|
au BufNewFile,BufRead ipf.conf,ipf6.conf,ipf.rules setf ipfilter
|
||||||
@ -953,7 +953,7 @@ au BufNewFile,BufRead *.ace,*.ACE setf lace
|
|||||||
au BufNewFile,BufRead *.latte,*.lte setf latte
|
au BufNewFile,BufRead *.latte,*.lte setf latte
|
||||||
|
|
||||||
" Limits
|
" Limits
|
||||||
au BufNewFile,BufRead /etc/limits setf limits
|
au BufNewFile,BufRead */etc/limits,*/etc/*limits.conf,*/etc/*limits.d/*.conf setf limits
|
||||||
|
|
||||||
" LambdaProlog (*.mod too, see Modsim)
|
" LambdaProlog (*.mod too, see Modsim)
|
||||||
au BufNewFile,BufRead *.sig setf lprolog
|
au BufNewFile,BufRead *.sig setf lprolog
|
||||||
@ -968,10 +968,10 @@ au BufNewFile,BufRead *.ld setf ld
|
|||||||
au BufNewFile,BufRead *.lex,*.l setf lex
|
au BufNewFile,BufRead *.lex,*.l setf lex
|
||||||
|
|
||||||
" Libao
|
" Libao
|
||||||
au BufNewFile,BufRead /etc/libao.conf,*/.libao setf libao
|
au BufNewFile,BufRead */etc/libao.conf,*/.libao setf libao
|
||||||
|
|
||||||
" Libsensors
|
" Libsensors
|
||||||
au BufNewFile,BufRead /etc/sensors.conf setf sensors
|
au BufNewFile,BufRead */etc/sensors.conf,*/etc/sensors3.conf setf sensors
|
||||||
|
|
||||||
" LFTP
|
" LFTP
|
||||||
au BufNewFile,BufRead lftp.conf,.lftprc,*lftp/rc setf lftp
|
au BufNewFile,BufRead lftp.conf,.lftprc,*lftp/rc setf lftp
|
||||||
@ -1002,10 +1002,10 @@ au BufNewFile,BufRead *.lite,*.lt setf lite
|
|||||||
au BufNewFile,BufRead */LiteStep/*/*.rc setf litestep
|
au BufNewFile,BufRead */LiteStep/*/*.rc setf litestep
|
||||||
|
|
||||||
" Login access
|
" Login access
|
||||||
au BufNewFile,BufRead /etc/login.access setf loginaccess
|
au BufNewFile,BufRead */etc/login.access setf loginaccess
|
||||||
|
|
||||||
" Login defs
|
" Login defs
|
||||||
au BufNewFile,BufRead /etc/login.defs setf logindefs
|
au BufNewFile,BufRead */etc/login.defs setf logindefs
|
||||||
|
|
||||||
" Logtalk
|
" Logtalk
|
||||||
au BufNewFile,BufRead *.lgt setf logtalk
|
au BufNewFile,BufRead *.lgt setf logtalk
|
||||||
@ -1036,7 +1036,7 @@ au BufNewFile,BufRead *.mgp setf mgp
|
|||||||
au BufNewFile,BufRead snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,mutt{ng,}-*-\w\+,mutt[[:alnum:]_-]\{6\},ae\d\+.txt,/tmp/SLRN[0-9A-Z.]\+,*.eml setf mail
|
au BufNewFile,BufRead snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,mutt{ng,}-*-\w\+,mutt[[:alnum:]_-]\{6\},ae\d\+.txt,/tmp/SLRN[0-9A-Z.]\+,*.eml setf mail
|
||||||
|
|
||||||
" Mail aliases
|
" Mail aliases
|
||||||
au BufNewFile,BufRead /etc/mail/aliases,/etc/aliases setf mailaliases
|
au BufNewFile,BufRead */etc/mail/aliases,*/etc/aliases setf mailaliases
|
||||||
|
|
||||||
" Mailcap configuration file
|
" Mailcap configuration file
|
||||||
au BufNewFile,BufRead .mailcap,mailcap setf mailcap
|
au BufNewFile,BufRead .mailcap,mailcap setf mailcap
|
||||||
@ -1051,7 +1051,7 @@ au BufNewFile,BufRead *.ist,*.mst setf ist
|
|||||||
au BufNewFile,BufRead *.man setf man
|
au BufNewFile,BufRead *.man setf man
|
||||||
|
|
||||||
" Man config
|
" Man config
|
||||||
au BufNewFile,BufRead /etc/man.conf,man.config setf manconf
|
au BufNewFile,BufRead */etc/man.conf,man.config setf manconf
|
||||||
|
|
||||||
" Maple V
|
" Maple V
|
||||||
au BufNewFile,BufRead *.mv,*.mpl,*.mws setf maple
|
au BufNewFile,BufRead *.mv,*.mpl,*.mws setf maple
|
||||||
@ -1159,8 +1159,8 @@ au BufNewFile,BufRead *.isc,*.monk,*.ssc,*.tsc setf monk
|
|||||||
au BufNewFile,BufRead *.moo setf moo
|
au BufNewFile,BufRead *.moo setf moo
|
||||||
|
|
||||||
" Modconf
|
" Modconf
|
||||||
au BufNewFile,BufRead /etc/modules.conf,/etc/conf.modules setf modconf
|
au BufNewFile,BufRead */etc/modules.conf,*/etc/modules,*/etc/conf.modules setf modconf
|
||||||
au BufNewFile,BufRead /etc/modutils/*
|
au BufNewFile,BufRead */etc/modutils/*
|
||||||
\ if executable(expand("<afile>")) != 1
|
\ if executable(expand("<afile>")) != 1
|
||||||
\| call s:StarSetf('modconf')
|
\| call s:StarSetf('modconf')
|
||||||
\|endif
|
\|endif
|
||||||
@ -1193,7 +1193,7 @@ au BufNewFile,BufRead *.mush setf mush
|
|||||||
au BufNewFile,BufRead Mutt{ng,}rc setf muttrc
|
au BufNewFile,BufRead Mutt{ng,}rc setf muttrc
|
||||||
|
|
||||||
" Nano
|
" Nano
|
||||||
au BufNewFile,BufRead /etc/nanorc,.nanorc setf nanorc
|
au BufNewFile,BufRead */etc/nanorc,.nanorc setf nanorc
|
||||||
|
|
||||||
" Nastran input/DMAP
|
" Nastran input/DMAP
|
||||||
"au BufNewFile,BufRead *.dat setf nastran
|
"au BufNewFile,BufRead *.dat setf nastran
|
||||||
@ -1269,13 +1269,13 @@ au BufNewFile,BufRead *.ora setf ora
|
|||||||
au BufNewFile,BufRead pf.conf setf pf
|
au BufNewFile,BufRead pf.conf setf pf
|
||||||
|
|
||||||
" Pam conf
|
" Pam conf
|
||||||
au BufNewFile,BufRead /etc/pam.conf setf pamconf
|
au BufNewFile,BufRead */etc/pam.conf setf pamconf
|
||||||
|
|
||||||
" PApp
|
" PApp
|
||||||
au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp
|
au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp
|
||||||
|
|
||||||
" Password file
|
" Password file
|
||||||
au BufNewFile,BufRead /etc/passwd,/etc/passwd-,/etc/passwd.edit,/etc/shadow,/etc/shadow-,/var/backups/passwd.bak,/var/backups/shadow.bak setf passwd
|
au BufNewFile,BufRead */etc/passwd,*/etc/passwd-,*/etc/passwd.edit,*/etc/shadow,*/etc/shadow-,*/etc/shadow.edit,*/var/backups/passwd.bak,*/var/backups/shadow.bak setf passwd
|
||||||
|
|
||||||
" Pascal (also *.p)
|
" Pascal (also *.p)
|
||||||
au BufNewFile,BufRead *.pas setf pascal
|
au BufNewFile,BufRead *.pas setf pascal
|
||||||
@ -1502,7 +1502,7 @@ au BufNewFile,BufRead *.pdb setf prolog
|
|||||||
au BufNewFile,BufRead *.pml setf promela
|
au BufNewFile,BufRead *.pml setf promela
|
||||||
|
|
||||||
" Protocols
|
" Protocols
|
||||||
au BufNewFile,BufRead /etc/protocols setf protocols
|
au BufNewFile,BufRead */etc/protocols setf protocols
|
||||||
|
|
||||||
" Pyrex
|
" Pyrex
|
||||||
au BufNewFile,BufRead *.pyx,*.pxd setf pyrex
|
au BufNewFile,BufRead *.pyx,*.pxd setf pyrex
|
||||||
@ -1689,19 +1689,19 @@ func! s:McSetf()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Services
|
" Services
|
||||||
au BufNewFile,BufRead /etc/services setf services
|
au BufNewFile,BufRead */etc/services setf services
|
||||||
|
|
||||||
" Service Location config
|
" Service Location config
|
||||||
au BufNewFile,BufRead /etc/slp.conf setf slpconf
|
au BufNewFile,BufRead */etc/slp.conf setf slpconf
|
||||||
|
|
||||||
" Service Location registration
|
" Service Location registration
|
||||||
au BufNewFile,BufRead /etc/slp.reg setf slpreg
|
au BufNewFile,BufRead */etc/slp.reg setf slpreg
|
||||||
|
|
||||||
" Service Location SPI
|
" Service Location SPI
|
||||||
au BufNewFile,BufRead /etc/slp.spi setf slpspi
|
au BufNewFile,BufRead */etc/slp.spi setf slpspi
|
||||||
|
|
||||||
" Setserial config
|
" Setserial config
|
||||||
au BufNewFile,BufRead /etc/serial.conf setf setserial
|
au BufNewFile,BufRead */etc/serial.conf setf setserial
|
||||||
|
|
||||||
" SGML
|
" SGML
|
||||||
au BufNewFile,BufRead *.sgm,*.sgml
|
au BufNewFile,BufRead *.sgm,*.sgml
|
||||||
@ -1728,7 +1728,7 @@ au BufNewFile,BufRead sgml.catalog* call s:StarSetf('catalog')
|
|||||||
" Gentoo ebuilds are actually bash scripts
|
" Gentoo ebuilds are actually bash scripts
|
||||||
au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash_profile*,.bash_logout*,*.bash,*.ebuild call SetFileTypeSH("bash")
|
au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash_profile*,.bash_logout*,*.bash,*.ebuild call SetFileTypeSH("bash")
|
||||||
au BufNewFile,BufRead .kshrc*,*.ksh call SetFileTypeSH("ksh")
|
au BufNewFile,BufRead .kshrc*,*.ksh call SetFileTypeSH("ksh")
|
||||||
au BufNewFile,BufRead /etc/profile,.profile*,*.sh,*.env call SetFileTypeSH(getline(1))
|
au BufNewFile,BufRead */etc/profile,.profile*,*.sh,*.env call SetFileTypeSH(getline(1))
|
||||||
|
|
||||||
" Also called from scripts.vim.
|
" Also called from scripts.vim.
|
||||||
func! SetFileTypeSH(name)
|
func! SetFileTypeSH(name)
|
||||||
@ -1811,7 +1811,7 @@ func! s:CSH()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Z-Shell script
|
" Z-Shell script
|
||||||
au BufNewFile,BufRead .zprofile,/etc/zprofile,.zfbfmarks setf zsh
|
au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh
|
||||||
au BufNewFile,BufRead .zsh*,.zlog*,.zcompdump* call s:StarSetf('zsh')
|
au BufNewFile,BufRead .zsh*,.zlog*,.zcompdump* call s:StarSetf('zsh')
|
||||||
au BufNewFile,BufRead *.zsh setf zsh
|
au BufNewFile,BufRead *.zsh setf zsh
|
||||||
|
|
||||||
@ -1882,7 +1882,7 @@ au BufNewFile,BufRead *.rules call s:FTRules()
|
|||||||
let s:ft_rules_udev_rules_pattern = '^\s*\cudev_rules\s*=\s*"\([^"]\{-1,}\)/*".*'
|
let s:ft_rules_udev_rules_pattern = '^\s*\cudev_rules\s*=\s*"\([^"]\{-1,}\)/*".*'
|
||||||
func! s:FTRules()
|
func! s:FTRules()
|
||||||
let path = expand('<amatch>:p')
|
let path = expand('<amatch>:p')
|
||||||
if path =~ '^/etc/udev/\%(rules\.d/\)\=.*\.rules$'
|
if path =~ '^/\(etc/udev/\%(rules\.d/\)\=.*\.rules\|lib/udev/\%(rules\.d/\)\=.*\.rules\)$'
|
||||||
setf udevrules
|
setf udevrules
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
@ -1970,13 +1970,13 @@ au BufNewFile,BufRead *.sml setf sml
|
|||||||
au BufNewFile,BufRead *.cm setf voscm
|
au BufNewFile,BufRead *.cm setf voscm
|
||||||
|
|
||||||
" Sysctl
|
" Sysctl
|
||||||
au BufNewFile,BufRead /etc/sysctl.conf setf sysctl
|
au BufNewFile,BufRead */etc/sysctl.conf,*/etc/sysctl.d/*.conf setf sysctl
|
||||||
|
|
||||||
" Synopsys Design Constraints
|
" Synopsys Design Constraints
|
||||||
au BufNewFile,BufRead *.sdc setf sdc
|
au BufNewFile,BufRead *.sdc setf sdc
|
||||||
|
|
||||||
" Sudoers
|
" Sudoers
|
||||||
au BufNewFile,BufRead /etc/sudoers,sudoers.tmp setf sudoers
|
au BufNewFile,BufRead */etc/sudoers,sudoers.tmp setf sudoers
|
||||||
|
|
||||||
" SVG (Scalable Vector Graphics)
|
" SVG (Scalable Vector Graphics)
|
||||||
au BufNewFile,BufRead *.svg setf svg
|
au BufNewFile,BufRead *.svg setf svg
|
||||||
@ -2122,23 +2122,23 @@ au BufNewFile,BufReadPost *.tsscl setf tsscl
|
|||||||
au BufNewFile,BufRead *.uit,*.uil setf uil
|
au BufNewFile,BufRead *.uit,*.uil setf uil
|
||||||
|
|
||||||
" Udev conf
|
" Udev conf
|
||||||
au BufNewFile,BufRead /etc/udev/udev.conf setf udevconf
|
au BufNewFile,BufRead */etc/udev/udev.conf setf udevconf
|
||||||
|
|
||||||
" Udev permissions
|
" Udev permissions
|
||||||
au BufNewFile,BufRead /etc/udev/permissions.d/*.permissions setf udevperm
|
au BufNewFile,BufRead */etc/udev/permissions.d/*.permissions setf udevperm
|
||||||
"
|
"
|
||||||
" Udev symlinks config
|
" Udev symlinks config
|
||||||
au BufNewFile,BufRead /etc/udev/cdsymlinks.conf setf sh
|
au BufNewFile,BufRead */etc/udev/cdsymlinks.conf setf sh
|
||||||
|
|
||||||
" UnrealScript
|
" UnrealScript
|
||||||
au BufNewFile,BufRead *.uc setf uc
|
au BufNewFile,BufRead *.uc setf uc
|
||||||
|
|
||||||
" Updatedb
|
" Updatedb
|
||||||
au BufNewFile,BufRead /etc/updatedb.conf setf updatedb
|
au BufNewFile,BufRead */etc/updatedb.conf setf updatedb
|
||||||
|
|
||||||
" Upstart (init(8)) config files
|
" Upstart (init(8)) config files
|
||||||
au BufNewFile,BufRead */etc/init/*.conf,~/.init/*.conf setf upstart
|
au BufNewFile,BufRead */etc/init/*.conf,*/.init/*.conf setf upstart
|
||||||
au BufNewFile,BufRead */etc/init/*.override,~/.init/*.override setf upstart
|
au BufNewFile,BufRead */etc/init/*.override,*/.init/*.override setf upstart
|
||||||
|
|
||||||
" Vera
|
" Vera
|
||||||
au BufNewFile,BufRead *.vr,*.vri,*.vrh setf vera
|
au BufNewFile,BufRead *.vr,*.vri,*.vrh setf vera
|
||||||
@ -2233,12 +2233,15 @@ au BufNewFile,BufRead XF86Config
|
|||||||
\ let b:xf86c_xfree86_version = 3 |
|
\ let b:xf86c_xfree86_version = 3 |
|
||||||
\ endif |
|
\ endif |
|
||||||
\ setf xf86conf
|
\ setf xf86conf
|
||||||
|
au BufNewFile,BufRead */xorg.conf.d/*.conf
|
||||||
|
\ let b:xf86conf_xfree86_version = 4 |
|
||||||
|
\ setf xf86conf
|
||||||
|
|
||||||
" Xorg config
|
" Xorg config
|
||||||
au BufNewFile,BufRead xorg.conf,xorg.conf-4 let b:xf86c_xfree86_version = 4 | setf xf86conf
|
au BufNewFile,BufRead xorg.conf,xorg.conf-4 let b:xf86conf_xfree86_version = 4 | setf xf86conf
|
||||||
|
|
||||||
" Xinetd conf
|
" Xinetd conf
|
||||||
au BufNewFile,BufRead /etc/xinetd.conf setf xinetd
|
au BufNewFile,BufRead */etc/xinetd.conf setf xinetd
|
||||||
|
|
||||||
" XS Perl extension interface language
|
" XS Perl extension interface language
|
||||||
au BufNewFile,BufRead *.xs setf xs
|
au BufNewFile,BufRead *.xs setf xs
|
||||||
@ -2285,7 +2288,7 @@ au BufNewFile,BufRead *.ts,*.ui setf xml
|
|||||||
au BufNewFile,BufRead *.tpm setf xml
|
au BufNewFile,BufRead *.tpm setf xml
|
||||||
|
|
||||||
" Xdg menus
|
" Xdg menus
|
||||||
au BufNewFile,BufRead /etc/xdg/menus/*.menu setf xml
|
au BufNewFile,BufRead */etc/xdg/menus/*.menu setf xml
|
||||||
|
|
||||||
" ATI graphics driver configuration
|
" ATI graphics driver configuration
|
||||||
au BufNewFile,BufRead fglrxrc setf xml
|
au BufNewFile,BufRead fglrxrc setf xml
|
||||||
@ -2369,8 +2372,9 @@ au StdinReadPost * if !did_filetype() | runtime! scripts.vim | endif
|
|||||||
" Most of these should call s:StarSetf() to avoid names ending in .gz and the
|
" Most of these should call s:StarSetf() to avoid names ending in .gz and the
|
||||||
" like are used.
|
" like are used.
|
||||||
|
|
||||||
" More Apache files.
|
" More Apache config files
|
||||||
au BufNewFile,BufRead /etc/apache2/conf.*/*,/etc/apache2/sites-*/*,/etc/apache2/mods-*/* call s:StarSetf('apache')
|
au BufNewFile,BufRead access.conf*,apache.conf*,apache2.conf*,httpd.conf*,srm.conf* call s:StarSetf('apache')
|
||||||
|
au BufNewFile,BufRead */etc/apache2/*.conf*,*/etc/apache2/conf.*/*,*/etc/apache2/mods-*/*,*/etc/apache2/sites-*/*,*/etc/httpd/conf.d/*.conf* call s:StarSetf('apache')
|
||||||
|
|
||||||
" Asterisk config file
|
" Asterisk config file
|
||||||
au BufNewFile,BufRead *asterisk/*.conf* call s:StarSetf('asterisk')
|
au BufNewFile,BufRead *asterisk/*.conf* call s:StarSetf('asterisk')
|
||||||
@ -2391,10 +2395,7 @@ au BufNewFile,BufRead [cC]hange[lL]og*
|
|||||||
\|endif
|
\|endif
|
||||||
|
|
||||||
" Crontab
|
" Crontab
|
||||||
au BufNewFile,BufRead crontab,crontab.*,/etc/cron.d/* call s:StarSetf('crontab')
|
au BufNewFile,BufRead crontab,crontab.*,*/etc/cron.d/* call s:StarSetf('crontab')
|
||||||
|
|
||||||
" Debian Sources.list
|
|
||||||
au BufNewFile,BufRead /etc/apt/sources.list.d/* call s:StarSetf('debsources')
|
|
||||||
|
|
||||||
" Dracula
|
" Dracula
|
||||||
au BufNewFile,BufRead drac.* call s:StarSetf('dracula')
|
au BufNewFile,BufRead drac.* call s:StarSetf('dracula')
|
||||||
@ -2429,7 +2430,7 @@ au! BufNewFile,BufRead *jarg*
|
|||||||
au BufNewFile,BufRead Kconfig.* call s:StarSetf('kconfig')
|
au BufNewFile,BufRead Kconfig.* call s:StarSetf('kconfig')
|
||||||
|
|
||||||
" Logcheck
|
" Logcheck
|
||||||
au BufNewFile,BufRead /etc/logcheck/*.d*/* call s:StarSetf('logcheck')
|
au BufNewFile,BufRead */etc/logcheck/*.d*/* call s:StarSetf('logcheck')
|
||||||
|
|
||||||
" Makefile
|
" Makefile
|
||||||
au BufNewFile,BufRead [mM]akefile* call s:StarSetf('make')
|
au BufNewFile,BufRead [mM]akefile* call s:StarSetf('make')
|
||||||
@ -2441,7 +2442,7 @@ au BufNewFile,BufRead [rR]akefile* call s:StarSetf('ruby')
|
|||||||
au BufNewFile,BufRead mutt[[:alnum:]._-]\{6\} setf mail
|
au BufNewFile,BufRead mutt[[:alnum:]._-]\{6\} setf mail
|
||||||
|
|
||||||
" Modconf
|
" Modconf
|
||||||
au BufNewFile,BufRead /etc/modprobe.* call s:StarSetf('modconf')
|
au BufNewFile,BufRead */etc/modprobe.* call s:StarSetf('modconf')
|
||||||
|
|
||||||
" Mutt setup file
|
" Mutt setup file
|
||||||
au BufNewFile,BufRead .mutt{ng,}rc*,*/.mutt{ng,}/mutt{ng,}rc* call s:StarSetf('muttrc')
|
au BufNewFile,BufRead .mutt{ng,}rc*,*/.mutt{ng,}/mutt{ng,}rc* call s:StarSetf('muttrc')
|
||||||
@ -2451,7 +2452,7 @@ au BufNewFile,BufRead mutt{ng,}rc*,Mutt{ng,}rc* call s:StarSetf('muttrc')
|
|||||||
au BufNewFile,BufRead tmac.* call s:StarSetf('nroff')
|
au BufNewFile,BufRead tmac.* call s:StarSetf('nroff')
|
||||||
|
|
||||||
" Pam conf
|
" Pam conf
|
||||||
au BufNewFile,BufRead /etc/pam.d/* call s:StarSetf('pamconf')
|
au BufNewFile,BufRead */etc/pam.d/* call s:StarSetf('pamconf')
|
||||||
|
|
||||||
" Printcap and Termcap
|
" Printcap and Termcap
|
||||||
au BufNewFile,BufRead *printcap*
|
au BufNewFile,BufRead *printcap*
|
||||||
@ -2474,10 +2475,10 @@ au BufNewFile,BufRead Xresources*,*/app-defaults/*,*/Xresources/* call s:StarSet
|
|||||||
|
|
||||||
" XFree86 config
|
" XFree86 config
|
||||||
au BufNewFile,BufRead XF86Config-4*
|
au BufNewFile,BufRead XF86Config-4*
|
||||||
\ let b:xf86c_xfree86_version = 4 | call s:StarSetf('xf86conf')
|
\ let b:xf86conf_xfree86_version = 4 | call s:StarSetf('xf86conf')
|
||||||
au BufNewFile,BufRead XF86Config*
|
au BufNewFile,BufRead XF86Config*
|
||||||
\ if getline(1) =~ '\<XConfigurator\>'
|
\ if getline(1) =~ '\<XConfigurator\>'
|
||||||
\| let b:xf86c_xfree86_version = 3
|
\| let b:xf86conf_xfree86_version = 3
|
||||||
\|endif
|
\|endif
|
||||||
\|call s:StarSetf('xf86conf')
|
\|call s:StarSetf('xf86conf')
|
||||||
|
|
||||||
@ -2485,7 +2486,7 @@ au BufNewFile,BufRead XF86Config*
|
|||||||
au BufNewFile,BufRead *xmodmap* call s:StarSetf('xmodmap')
|
au BufNewFile,BufRead *xmodmap* call s:StarSetf('xmodmap')
|
||||||
|
|
||||||
" Xinetd conf
|
" Xinetd conf
|
||||||
au BufNewFile,BufRead /etc/xinetd.d/* call s:StarSetf('xinetd')
|
au BufNewFile,BufRead */etc/xinetd.d/* call s:StarSetf('xinetd')
|
||||||
|
|
||||||
" Z-Shell script
|
" Z-Shell script
|
||||||
au BufNewFile,BufRead zsh*,zlog* call s:StarSetf('zsh')
|
au BufNewFile,BufRead zsh*,zlog* call s:StarSetf('zsh')
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
" SQL filetype plugin file
|
" SQL filetype plugin file
|
||||||
" Language: SQL (Common for Oracle, Microsoft SQL Server, Sybase)
|
" Language: SQL (Common for Oracle, Microsoft SQL Server, Sybase)
|
||||||
" Version: 7.0
|
" Version: 8.0
|
||||||
" Maintainer: David Fishburn <fishburn at ianywhere dot com>
|
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
|
||||||
" Last Change: 2010 Jun 11
|
" Last Change: 2011 Apr 01
|
||||||
" Download: http://vim.sourceforge.net/script.php?script_id=454
|
" Download: http://vim.sourceforge.net/script.php?script_id=454
|
||||||
|
|
||||||
" For more details please use:
|
" For more details please use:
|
||||||
@ -36,6 +36,10 @@
|
|||||||
"
|
"
|
||||||
" History
|
" History
|
||||||
"
|
"
|
||||||
|
" Version 8.0
|
||||||
|
"
|
||||||
|
" NF: Improved the matchit plugin regex (Talek)
|
||||||
|
"
|
||||||
" Version 7.0
|
" Version 7.0
|
||||||
"
|
"
|
||||||
" NF: Calls the sqlcomplete#ResetCacheSyntax() function when calling
|
" NF: Calls the sqlcomplete#ResetCacheSyntax() function when calling
|
||||||
@ -290,6 +294,7 @@ if !exists("b:match_words")
|
|||||||
" WHEN OTHERS THEN
|
" WHEN OTHERS THEN
|
||||||
"
|
"
|
||||||
" create[ or replace] procedure|function|event
|
" create[ or replace] procedure|function|event
|
||||||
|
" \ '^\s*\<\%(do\|for\|while\|loop\)\>.*:'.
|
||||||
|
|
||||||
let b:match_words =
|
let b:match_words =
|
||||||
\ '\<begin\>:\<end\>\W*$,'.
|
\ '\<begin\>:\<end\>\W*$,'.
|
||||||
@ -298,12 +303,9 @@ if !exists("b:match_words")
|
|||||||
\ '\<elsif\>\|\<elseif\>\|\<else\>:'.
|
\ '\<elsif\>\|\<elseif\>\|\<else\>:'.
|
||||||
\ '\<end\s\+if\>,'.
|
\ '\<end\s\+if\>,'.
|
||||||
\
|
\
|
||||||
\ '\<do\>\|'.
|
\ '\(^\s*\)\@<=\(\<\%(do\|for\|while\|loop\)\>.*\):'.
|
||||||
\ '\<while\>\|'.
|
\ '\%(\<exit\>\|\<leave\>\|\<break\>\|\<continue\>\):'.
|
||||||
\ '\%(' . s:notend . '\<loop\>\)\|'.
|
\ '\%(\<doend\>\|\%(\<end\s\+\%(for\|while\|loop\>\)\)\),'.
|
||||||
\ '\%(' . s:notend . '\<for\>\):'.
|
|
||||||
\ '\<exit\>\|\<leave\>\|\<break\>\|\<continue\>:'.
|
|
||||||
\ '\%(\<end\s\+\%(for\|loop\>\)\)\|\<doend\>,'.
|
|
||||||
\
|
\
|
||||||
\ '\%('. s:notend . '\<case\>\):'.
|
\ '\%('. s:notend . '\<case\>\):'.
|
||||||
\ '\%('.s:when_no_matched_or_others.'\):'.
|
\ '\%('.s:when_no_matched_or_others.'\):'.
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
" Language: Pascal
|
" Language: Pascal
|
||||||
" Maintainer: Neil Carter <n.carter@swansea.ac.uk>
|
" Maintainer: Neil Carter <n.carter@swansea.ac.uk>
|
||||||
" Created: 2004 Jul 13
|
" Created: 2004 Jul 13
|
||||||
" Last Change: 2005 Jul 05
|
" Last Change: 2011 Apr 01
|
||||||
|
"
|
||||||
|
" This is version 2.0, a complete rewrite.
|
||||||
|
"
|
||||||
|
" For further documentation, see http://psy.swansea.ac.uk/staff/carter/vim/
|
||||||
|
|
||||||
|
|
||||||
if exists("b:did_indent")
|
if exists("b:did_indent")
|
||||||
@ -38,7 +42,15 @@ function! s:GetPrevNonCommentLineNum( line_num )
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
|
function! s:PurifyCode( line_num )
|
||||||
|
" Strip any trailing comments and whitespace
|
||||||
|
let pureline = 'TODO'
|
||||||
|
return pureline
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
function! GetPascalIndent( line_num )
|
function! GetPascalIndent( line_num )
|
||||||
|
|
||||||
" Line 0 always goes at column 0
|
" Line 0 always goes at column 0
|
||||||
if a:line_num == 0
|
if a:line_num == 0
|
||||||
return 0
|
return 0
|
||||||
@ -46,128 +58,171 @@ function! GetPascalIndent( line_num )
|
|||||||
|
|
||||||
let this_codeline = getline( a:line_num )
|
let this_codeline = getline( a:line_num )
|
||||||
|
|
||||||
" If in the middle of a three-part comment
|
|
||||||
|
" SAME INDENT
|
||||||
|
|
||||||
|
" Middle of a three-part comment
|
||||||
if this_codeline =~ '^\s*\*'
|
if this_codeline =~ '^\s*\*'
|
||||||
return indent( a:line_num )
|
return indent( a:line_num - 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
" COLUMN 1 ALWAYS
|
||||||
|
|
||||||
|
" Last line of the program
|
||||||
|
if this_codeline =~ '^\s*end\.'
|
||||||
|
return 0
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Compiler directives, allowing "(*" and "{"
|
||||||
|
"if this_codeline =~ '^\s*\({\|(\*\)$\(IFDEF\|IFNDEF\|ELSE\|ENDIF\)'
|
||||||
|
if this_codeline =~ '^\s*\({\|(\*\)\$'
|
||||||
|
return 0
|
||||||
|
endif
|
||||||
|
|
||||||
|
" section headers
|
||||||
|
if this_codeline =~ '^\s*\(program\|procedure\|function\|type\)\>'
|
||||||
|
return 0
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Subroutine separators, lines ending with "const" or "var"
|
||||||
|
if this_codeline =~ '^\s*\((\*\ _\+\ \*)\|\(const\|var\)\)$'
|
||||||
|
return 0
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
" OTHERWISE, WE NEED TO LOOK FURTHER BACK...
|
||||||
|
|
||||||
let prev_codeline_num = s:GetPrevNonCommentLineNum( a:line_num )
|
let prev_codeline_num = s:GetPrevNonCommentLineNum( a:line_num )
|
||||||
let prev_codeline = getline( prev_codeline_num )
|
let prev_codeline = getline( prev_codeline_num )
|
||||||
let indnt = indent( prev_codeline_num )
|
let indnt = indent( prev_codeline_num )
|
||||||
|
|
||||||
" Compiler directives should always go in column zero.
|
|
||||||
if this_codeline =~ '^\s*{\(\$IFDEF\|\$ELSE\|\$ENDIF\)'
|
" INCREASE INDENT
|
||||||
return 0
|
|
||||||
|
" If the PREVIOUS LINE ended in these items, always indent
|
||||||
|
if prev_codeline =~ '\<\(type\|const\|var\)$'
|
||||||
|
return indnt + &shiftwidth
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" These items have nothing before or after (not even a comment), and
|
if prev_codeline =~ '\<repeat$'
|
||||||
" go on column 0. Make sure that the ^\s* is followed by \( to make
|
if this_codeline !~ '^\s*until\>'
|
||||||
" ORs work properly, and not include the start of line (this must
|
return indnt + &shiftwidth
|
||||||
" always appear).
|
else
|
||||||
" The bracketed expression with the underline is a routine
|
return indnt
|
||||||
" separator. This is one case where we do indent comment lines.
|
endif
|
||||||
if this_codeline =~ '^\s*\((\*\ _\+\ \*)\|\<\(const\|var\)\>\)$'
|
|
||||||
return 0
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" These items may have text after them, and go on column 0 (in most
|
if prev_codeline =~ '\<\(begin\|record\)$'
|
||||||
" cases). The problem is that "function" and "procedure" keywords
|
if this_codeline !~ '^\s*end\>'
|
||||||
" should be indented if within a class declaration.
|
return indnt + &shiftwidth
|
||||||
if this_codeline =~ '^\s*\<\(program\|type\|uses\|procedure\|function\)\>'
|
else
|
||||||
return 0
|
return indnt
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" BEGIN
|
" If the PREVIOUS LINE ended with these items, indent if not
|
||||||
" If the begin does not come after "if", "for", or "else", then it
|
" followed by "begin"
|
||||||
" goes in column 0
|
if prev_codeline =~ '\<\(\|else\|then\|do\)$' || prev_codeline =~ ':$'
|
||||||
if this_codeline =~ '^\s*begin\>' && prev_codeline !~ '^\s*\<\(if\|for\|else\)\>'
|
if this_codeline !~ '^\s*begin\>'
|
||||||
return 0
|
return indnt + &shiftwidth
|
||||||
|
else
|
||||||
|
" If it does start with "begin" then keep the same indent
|
||||||
|
"return indnt + &shiftwidth
|
||||||
|
return indnt
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" These keywords are indented once only.
|
" Inside a parameter list (i.e. a "(" without a ")"). ???? Considers
|
||||||
if this_codeline =~ '^\s*\<\(private\)\>'
|
" only the line before the current one. TODO: Get it working for
|
||||||
return &shiftwidth
|
" parameter lists longer than two lines.
|
||||||
|
if prev_codeline =~ '([^)]\+$'
|
||||||
|
return indnt + &shiftwidth
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" If the PREVIOUS LINE contained these items, the current line is
|
|
||||||
" always indented once.
|
|
||||||
if prev_codeline =~ '^\s*\<\(type\|uses\)\>'
|
|
||||||
return &shiftwidth
|
|
||||||
endif
|
|
||||||
|
|
||||||
" These keywords are indented once only. Possibly surrounded by
|
" DECREASE INDENT
|
||||||
" other chars.
|
|
||||||
if this_codeline =~ '^.\+\<\(object\|record\)\>'
|
|
||||||
return &shiftwidth
|
|
||||||
endif
|
|
||||||
|
|
||||||
" If the previous line was indenting...
|
" Lines starting with "else", but not following line ending with
|
||||||
if prev_codeline =~ '^\s*\<\(for\|if\|case\|else\|end\ else\)\>'
|
" "end".
|
||||||
" then indent.
|
if this_codeline =~ '^\s*else\>' && prev_codeline !~ '\<end$'
|
||||||
let indnt = indnt + &shiftwidth
|
|
||||||
" BUT... if this is the start of a multistatement block then we
|
|
||||||
" need to align the begin with the previous line.
|
|
||||||
if this_codeline =~ '^\s*begin\>'
|
|
||||||
return indnt - &shiftwidth
|
return indnt - &shiftwidth
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" We also need to keep the indentation level constant if the
|
" Lines after a single-statement branch/loop.
|
||||||
" whole if-then statement was on one line.
|
" Two lines before ended in "then", "else", or "do"
|
||||||
if prev_codeline =~ '\<then\>.\+'
|
" Previous line didn't end in "begin"
|
||||||
let indnt = indnt - &shiftwidth
|
let prev2_codeline_num = s:GetPrevNonCommentLineNum( prev_codeline_num )
|
||||||
|
let prev2_codeline = getline( prev2_codeline_num )
|
||||||
|
if prev2_codeline =~ '\<\(then\|else\|do\)$' && prev_codeline !~ '\<begin$'
|
||||||
|
" If the next code line after a single statement branch/loop
|
||||||
|
" starts with "end", "except" or "finally", we need an
|
||||||
|
" additional unindentation.
|
||||||
|
if this_codeline =~ '^\s*\(end;\|except\|finally\|\)$'
|
||||||
|
" Note that we don't return from here.
|
||||||
|
return indnt - &shiftwidth - &shiftwidth
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
" PREVIOUS-LINE BEGIN
|
|
||||||
" If the previous line was an indenting keyword then indent once...
|
|
||||||
if prev_codeline =~ '^\s*\<\(const\|var\|begin\|repeat\|private\)\>'
|
|
||||||
" But only if this is another var in a list.
|
|
||||||
if this_codeline !~ '^\s*var\>'
|
|
||||||
return indnt + &shiftwidth
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
" PREVIOUS-LINE BEGIN
|
|
||||||
" Indent code after a case statement begin
|
|
||||||
if prev_codeline =~ '\:\ begin\>'
|
|
||||||
return indnt + &shiftwidth
|
|
||||||
endif
|
|
||||||
|
|
||||||
" These words may have text before them on the line (hence the .*)
|
|
||||||
" but are followed by nothing. Always indent once only.
|
|
||||||
if prev_codeline =~ '^\(.*\|\s*\)\<\(object\|record\)\>$'
|
|
||||||
return indnt + &shiftwidth
|
|
||||||
endif
|
|
||||||
|
|
||||||
" If we just closed a bracket that started on a previous line, then
|
|
||||||
" unindent. But don't return yet -- we need to check for further
|
|
||||||
" unindentation (for end/until/else)
|
|
||||||
if prev_codeline =~ '^[^(]*[^*])'
|
|
||||||
let indnt = indnt - &shiftwidth
|
|
||||||
endif
|
|
||||||
|
|
||||||
" At the end of a block, we have to unindent both the current line
|
|
||||||
" (the "end" for instance) and the newly-created line.
|
|
||||||
if this_codeline =~ '^\s*\<\(end\|until\|else\)\>'
|
|
||||||
return indnt - &shiftwidth
|
return indnt - &shiftwidth
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" If we have opened a bracket and it continues over one line,
|
" Lines starting with "until" or "end". This rule must be overridden
|
||||||
" then indent once.
|
" by the one for "end" after a single-statement branch/loop. In
|
||||||
|
" other words that rule should come before this one.
|
||||||
|
if this_codeline =~ '^\s*\(end\|until\)\>'
|
||||||
|
return indnt - &shiftwidth
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
" MISCELLANEOUS THINGS TO CATCH
|
||||||
|
|
||||||
|
" Most "begin"s will have been handled by now. Any remaining
|
||||||
|
" "begin"s on their own line should go in column 1.
|
||||||
|
if this_codeline =~ '^\s*begin$'
|
||||||
|
return 0
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
" ____________________________________________________________________
|
||||||
|
" Object/Borland Pascal/Delphi Extensions
|
||||||
"
|
"
|
||||||
" RE = an opening bracket followed by any amount of anything other
|
" Note that extended-pascal is handled here, unless it is simpler to
|
||||||
" than a closing bracket and then the end-of-line.
|
" handle them in the standard-pascal section above.
|
||||||
"
|
|
||||||
" If we didn't include the end of line, this RE would match even
|
|
||||||
" closed brackets, since it would match everything up to the closing
|
" COLUMN 1 ALWAYS
|
||||||
" bracket.
|
|
||||||
"
|
" section headers at start of line.
|
||||||
" This test isn't clever enough to handle brackets inside strings or
|
if this_codeline =~ '^\s*\(interface\|implementation\|uses\|unit\)\>'
|
||||||
" comments.
|
return 0
|
||||||
if prev_codeline =~ '([^*]\=[^)]*$'
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
" INDENT ONCE
|
||||||
|
|
||||||
|
" If the PREVIOUS LINE ended in these items, always indent.
|
||||||
|
if prev_codeline =~ '^\s*\(unit\|uses\|try\|except\|finally\|private\|protected\|public\|published\)$'
|
||||||
return indnt + &shiftwidth
|
return indnt + &shiftwidth
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" ???? Indent "procedure" and "functions" if they appear within an
|
||||||
|
" class/object definition. But that means overriding standard-pascal
|
||||||
|
" rule where these words always go in column 1.
|
||||||
|
|
||||||
|
|
||||||
|
" UNINDENT ONCE
|
||||||
|
|
||||||
|
if this_codeline =~ '^\s*\(except\|finally\)$'
|
||||||
|
return indnt - &shiftwidth
|
||||||
|
endif
|
||||||
|
|
||||||
|
if this_codeline =~ '^\s*\(private\|protected\|public\|published\)$'
|
||||||
|
return indnt - &shiftwidth
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
" ____________________________________________________________________
|
||||||
|
|
||||||
|
" If nothing changed, return same indent.
|
||||||
return indnt
|
return indnt
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
" vi:set ts=8 sts=8 sw=8 tw=0:
|
" vi:set ts=8 sts=8 sw=8 tw=0:
|
||||||
"
|
"
|
||||||
" Menu Translations: Japanese (EUC-JP)
|
" Menu Translations: Japanese (EUC-JP)
|
||||||
" Translated By: MURAOKA Taro <koron@tka.att.ne.jp>
|
" Translated By: MURAOKA Taro <koron.kaoriya@gmail.com>
|
||||||
" Last Change: 18-Apr-2006.
|
" Last Change: 21-Mar-2011.
|
||||||
|
|
||||||
" Quit when menu translations have already been done.
|
" Quit when menu translations have already been done.
|
||||||
if exists("did_menu_trans")
|
if exists("did_menu_trans")
|
||||||
@ -99,6 +99,8 @@ let g:menutrans_tags_dialog = "
|
|||||||
menutrans F&ile\ Settings ファイル設定(&I)
|
menutrans F&ile\ Settings ファイル設定(&I)
|
||||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu!
|
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu!
|
||||||
\ 行番号表示切替(&N)<Tab>:set\ nu!
|
\ 行番号表示切替(&N)<Tab>:set\ nu!
|
||||||
|
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu!
|
||||||
|
\ 相対行番号表示切替(&V)<Tab>:set\ rnu!
|
||||||
menutrans Toggle\ &List\ Mode<Tab>:set\ list!
|
menutrans Toggle\ &List\ Mode<Tab>:set\ list!
|
||||||
\ リストモード切替(&L)<Tab>:set\ list!
|
\ リストモード切替(&L)<Tab>:set\ list!
|
||||||
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap!
|
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap!
|
||||||
@ -149,7 +151,7 @@ menutrans Se&T\ Compiler
|
|||||||
" Tools.Spelling Menu
|
" Tools.Spelling Menu
|
||||||
menutrans &Spelling スペリング(&S)
|
menutrans &Spelling スペリング(&S)
|
||||||
menutrans &Spell\ Check\ On スペルチェック有効(&S)
|
menutrans &Spell\ Check\ On スペルチェック有効(&S)
|
||||||
menutrans Spell\ Check\ &Off スペルチェック有効(&O)
|
menutrans Spell\ Check\ &Off スペルチェック無効(&O)
|
||||||
menutrans To\ &Next\ error<Tab>]s 次のエラー(&N)<Tab>]s
|
menutrans To\ &Next\ error<Tab>]s 次のエラー(&N)<Tab>]s
|
||||||
menutrans To\ &Previous\ error<Tab>[s 前のエラー(&P)<Tab>[s
|
menutrans To\ &Previous\ error<Tab>[s 前のエラー(&P)<Tab>[s
|
||||||
menutrans Suggest\ &Corrections<Tab>z= 修正候補(&C)<Tab>z=
|
menutrans Suggest\ &Corrections<Tab>z= 修正候補(&C)<Tab>z=
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
" vi:set ts=8 sts=8 sw=8 tw=0:
|
" vi:set ts=8 sts=8 sw=8 tw=0:
|
||||||
"
|
"
|
||||||
" Menu Translations: Japanese (UTF-8)
|
" Menu Translations: Japanese (UTF-8)
|
||||||
" Translated By: MURAOKA Taro <koron@tka.att.ne.jp>
|
" Translated By: MURAOKA Taro <koron.kaoriya@gmail.com>
|
||||||
" Last Change: 18-Apr-2006.
|
" Last Change: 21-Mar-2011.
|
||||||
|
|
||||||
" Quit when menu translations have already been done.
|
" Quit when menu translations have already been done.
|
||||||
if exists("did_menu_trans")
|
if exists("did_menu_trans")
|
||||||
@ -99,6 +99,8 @@ let g:menutrans_tags_dialog = "タグファイルの名前を入力してくだ
|
|||||||
menutrans F&ile\ Settings ファイル設定(&I)
|
menutrans F&ile\ Settings ファイル設定(&I)
|
||||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu!
|
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu!
|
||||||
\ 行番号表示切替(&N)<Tab>:set\ nu!
|
\ 行番号表示切替(&N)<Tab>:set\ nu!
|
||||||
|
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu!
|
||||||
|
\ 相対行番号表示切替(&V)<Tab>:set\ rnu!
|
||||||
menutrans Toggle\ &List\ Mode<Tab>:set\ list!
|
menutrans Toggle\ &List\ Mode<Tab>:set\ list!
|
||||||
\ リストモード切替(&L)<Tab>:set\ list!
|
\ リストモード切替(&L)<Tab>:set\ list!
|
||||||
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap!
|
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap!
|
||||||
@ -149,7 +151,7 @@ menutrans Se&T\ Compiler コンパイラ設定(&T)
|
|||||||
" Tools.Spelling Menu
|
" Tools.Spelling Menu
|
||||||
menutrans &Spelling スペリング(&S)
|
menutrans &Spelling スペリング(&S)
|
||||||
menutrans &Spell\ Check\ On スペルチェック有効(&S)
|
menutrans &Spell\ Check\ On スペルチェック有効(&S)
|
||||||
menutrans Spell\ Check\ &Off スペルチェック有効(&O)
|
menutrans Spell\ Check\ &Off スペルチェック無効(&O)
|
||||||
menutrans To\ &Next\ error<Tab>]s 次のエラー(&N)<Tab>]s
|
menutrans To\ &Next\ error<Tab>]s 次のエラー(&N)<Tab>]s
|
||||||
menutrans To\ &Previous\ error<Tab>[s 前のエラー(&P)<Tab>[s
|
menutrans To\ &Previous\ error<Tab>[s 前のエラー(&P)<Tab>[s
|
||||||
menutrans Suggest\ &Corrections<Tab>z= 修正候補(&C)<Tab>z=
|
menutrans Suggest\ &Corrections<Tab>z= 修正候補(&C)<Tab>z=
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
" vi:set ts=8 sts=8 sw=8 tw=0:
|
" vi:set ts=8 sts=8 sw=8 tw=0:
|
||||||
"
|
"
|
||||||
" Menu Translations: Japanese (CP932)
|
" Menu Translations: Japanese (CP932)
|
||||||
" Translated By: MURAOKA Taro <koron@tka.att.ne.jp>
|
" Translated By: MURAOKA Taro <koron.kaoriya@gmail.com>
|
||||||
" Last Change: 18-Apr-2006.
|
" Last Change: 21-Mar-2011.
|
||||||
|
|
||||||
" Quit when menu translations have already been done.
|
" Quit when menu translations have already been done.
|
||||||
if exists("did_menu_trans")
|
if exists("did_menu_trans")
|
||||||
@ -99,6 +99,8 @@ let g:menutrans_tags_dialog = "
|
|||||||
menutrans F&ile\ Settings ファイル設定(&I)
|
menutrans F&ile\ Settings ファイル設定(&I)
|
||||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu!
|
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu!
|
||||||
\ 行番号表示切替(&N)<Tab>:set\ nu!
|
\ 行番号表示切替(&N)<Tab>:set\ nu!
|
||||||
|
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu!
|
||||||
|
\ 相対行番号表示切替(&V)<Tab>:set\ rnu!
|
||||||
menutrans Toggle\ &List\ Mode<Tab>:set\ list!
|
menutrans Toggle\ &List\ Mode<Tab>:set\ list!
|
||||||
\ リストモード切替(&L)<Tab>:set\ list!
|
\ リストモード切替(&L)<Tab>:set\ list!
|
||||||
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap!
|
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap!
|
||||||
@ -149,7 +151,7 @@ menutrans Se&T\ Compiler
|
|||||||
" Tools.Spelling Menu
|
" Tools.Spelling Menu
|
||||||
menutrans &Spelling スペリング(&S)
|
menutrans &Spelling スペリング(&S)
|
||||||
menutrans &Spell\ Check\ On スペルチェック有効(&S)
|
menutrans &Spell\ Check\ On スペルチェック有効(&S)
|
||||||
menutrans Spell\ Check\ &Off スペルチェック有効(&O)
|
menutrans Spell\ Check\ &Off スペルチェック無効(&O)
|
||||||
menutrans To\ &Next\ error<Tab>]s 次のエラー(&N)<Tab>]s
|
menutrans To\ &Next\ error<Tab>]s 次のエラー(&N)<Tab>]s
|
||||||
menutrans To\ &Previous\ error<Tab>[s 前のエラー(&P)<Tab>[s
|
menutrans To\ &Previous\ error<Tab>[s 前のエラー(&P)<Tab>[s
|
||||||
menutrans Suggest\ &Corrections<Tab>z= 修正候補(&C)<Tab>z=
|
menutrans Suggest\ &Corrections<Tab>z= 修正候補(&C)<Tab>z=
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
" netrwPlugin.vim: Handles file transfer and remote directory listing across a network
|
" netrwPlugin.vim: Handles file transfer and remote directory listing across a network
|
||||||
" PLUGIN SECTION
|
" PLUGIN SECTION
|
||||||
" Date: Jul 27, 2010
|
" Date: Feb 10, 2011
|
||||||
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
|
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
|
||||||
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
||||||
" Copyright: Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{1
|
" Copyright: Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{1
|
||||||
@ -20,7 +20,7 @@
|
|||||||
if &cp || exists("g:loaded_netrwPlugin")
|
if &cp || exists("g:loaded_netrwPlugin")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let g:loaded_netrwPlugin = "v140"
|
let g:loaded_netrwPlugin = "v141"
|
||||||
if v:version < 702
|
if v:version < 702
|
||||||
echohl WarningMsg | echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None
|
echohl WarningMsg | echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None
|
||||||
finish
|
finish
|
||||||
@ -34,10 +34,13 @@ set cpo&vim
|
|||||||
" Local Browsing: {{{2
|
" Local Browsing: {{{2
|
||||||
augroup FileExplorer
|
augroup FileExplorer
|
||||||
au!
|
au!
|
||||||
au BufEnter * silent! call s:LocalBrowse(expand("<amatch>"))
|
" au BufReadCmd *[/\\] sil! call s:LocalBrowse(expand("<amatch>"))
|
||||||
au VimEnter * silent! call s:VimEnter(expand("<amatch>"))
|
" au BufEnter *[^/\\] sil! call s:LocalBrowse(expand("<amatch>"))
|
||||||
|
" au VimEnter *[^/\\] sil! call s:VimEnter(expand("<amatch>"))
|
||||||
|
au BufEnter * sil! call s:LocalBrowse(expand("<amatch>"))
|
||||||
|
au VimEnter * sil! call s:VimEnter(expand("<amatch>"))
|
||||||
if has("win32") || has("win95") || has("win64") || has("win16")
|
if has("win32") || has("win95") || has("win64") || has("win16")
|
||||||
au BufEnter .* silent! call s:LocalBrowse(expand("<amatch>"))
|
au BufEnter .* sil! call s:LocalBrowse(expand("<amatch>"))
|
||||||
endif
|
endif
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
@ -45,10 +48,10 @@ augroup END
|
|||||||
augroup Network
|
augroup Network
|
||||||
au!
|
au!
|
||||||
if has("win32") || has("win95") || has("win64") || has("win16")
|
if has("win32") || has("win95") || has("win64") || has("win16")
|
||||||
au BufReadCmd file://* exe "silent doau BufReadPre ".fnameescape(netrw#RFC2396(expand("<amatch>")))|exe 'e '.fnameescape(substitute(netrw#RFC2396(expand("<amatch>")),'file://\(.*\)','\1',""))|exe "bwipe ".fnameescape(expand("<amatch>"))|exe "silent doau BufReadPost ".fnameescape(netrw#RFC2396(expand("<amatch>")))
|
au BufReadCmd file://* call netrw#FileUrlRead(expand("<amatch>"))
|
||||||
else
|
else
|
||||||
au BufReadCmd file://* exe "silent doau BufReadPre ".fnameescape(netrw#RFC2396(expand("<amatch>")))|exe 'e '.fnameescape(substitute(netrw#RFC2396(expand("<amatch>")),'file://\(.*\)','\1',""))|exe "bwipe ".fnameescape(expand("<amatch>"))|exe "silent doau BufReadPost ".fnameescape(netrw#RFC2396(expand("<amatch>")))
|
au BufReadCmd file://* call netrw#FileUrlRead(expand("<amatch>"))
|
||||||
au BufReadCmd file://localhost/* exe "silent doau BufReadPre ".fnameescape(netrw#RFC2396(expand("<amatch>")))|exe 'e '.fnameescape(substitute(netrw#RFC2396(expand("<amatch>")),'file://localhost/\(.*\)','\1',""))|exe "bwipe ".fnameescape(substitute(expand("<amatch>"),'file://\(\k\+@\)\=','',''))|exe "silent doau BufReadPost ".fnameescape(netrw#RFC2396(expand("<amatch>")))
|
au BufReadCmd file://localhost/* call netrw#FileUrlRead(substitute(expand("<amatch>")),'file://localhost/','file:///','')
|
||||||
endif
|
endif
|
||||||
au BufReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau BufReadPre ".fnameescape(expand("<amatch>"))|call netrw#Nread(2,expand("<amatch>"))|exe "silent doau BufReadPost ".fnameescape(expand("<amatch>"))
|
au BufReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau BufReadPre ".fnameescape(expand("<amatch>"))|call netrw#Nread(2,expand("<amatch>"))|exe "silent doau BufReadPost ".fnameescape(expand("<amatch>"))
|
||||||
au FileReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau FileReadPre ".fnameescape(expand("<amatch>"))|call netrw#Nread(1,expand("<amatch>"))|exe "silent doau FileReadPost ".fnameescape(expand("<amatch>"))
|
au FileReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau FileReadPre ".fnameescape(expand("<amatch>"))|call netrw#Nread(1,expand("<amatch>"))|exe "silent doau FileReadPost ".fnameescape(expand("<amatch>"))
|
||||||
@ -100,11 +103,11 @@ fun! s:LocalBrowse(dirname)
|
|||||||
" string is the current directory and not checking would break
|
" string is the current directory and not checking would break
|
||||||
" things such as the help command.
|
" things such as the help command.
|
||||||
if a:dirname != '' && isdirectory(a:dirname)
|
if a:dirname != '' && isdirectory(a:dirname)
|
||||||
silent! call netrw#LocalBrowseCheck(a:dirname)
|
sil! call netrw#LocalBrowseCheck(a:dirname)
|
||||||
endif
|
endif
|
||||||
elseif isdirectory(a:dirname)
|
elseif isdirectory(a:dirname)
|
||||||
" echomsg "dirname<".dirname."> isdir"
|
" echomsg "dirname<".dirname."> isdir"
|
||||||
silent! call netrw#LocalBrowseCheck(a:dirname)
|
sil! call netrw#LocalBrowseCheck(a:dirname)
|
||||||
endif
|
endif
|
||||||
" not a directory, ignore it
|
" not a directory, ignore it
|
||||||
endfun
|
endfun
|
||||||
|
@ -88,7 +88,7 @@ if !exists("did_drchip_netrwlist_syntax")
|
|||||||
hi default link netrwTimeSep netrwDateSep
|
hi default link netrwTimeSep netrwDateSep
|
||||||
hi default link netrwComma netrwComment
|
hi default link netrwComma netrwComment
|
||||||
hi default link netrwHide netrwComment
|
hi default link netrwHide netrwComment
|
||||||
hi default link netrwMarkFile Identifier
|
hi default link netrwMarkFile DiffChange
|
||||||
|
|
||||||
" special syntax highlighting (see :he g:netrw_special_syntax)
|
" special syntax highlighting (see :he g:netrw_special_syntax)
|
||||||
hi default link netrwBak NonText
|
hi default link netrwBak NonText
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
" Language: shell (sh) Korn shell (ksh) bash (sh)
|
" Language: shell (sh) Korn shell (ksh) bash (sh)
|
||||||
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
|
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
|
||||||
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
||||||
" Last Change: Aug 04, 2010
|
" Last Change: Feb 11, 2011
|
||||||
" Version: 114
|
" Version: 115
|
||||||
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
|
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
|
||||||
" For options and settings, please use: :help ft-sh-syntax
|
" For options and settings, please use: :help ft-sh-syntax
|
||||||
" This file includes many ideas from ?ric Brunet (eric.brunet@ens.fr)
|
" This file includes many ideas from ?ric Brunet (eric.brunet@ens.fr)
|
||||||
@ -410,6 +410,10 @@ syn region shDerefVarArray contained matchgroup=shDeref start="\[" end="]" co
|
|||||||
" ksh bash : ${parameter##pattern} remove large left pattern
|
" ksh bash : ${parameter##pattern} remove large left pattern
|
||||||
" ksh bash : ${parameter%pattern} remove small right pattern
|
" ksh bash : ${parameter%pattern} remove small right pattern
|
||||||
" ksh bash : ${parameter%%pattern} remove large right pattern
|
" ksh bash : ${parameter%%pattern} remove large right pattern
|
||||||
|
" ksh bash : ${parameter^pattern} Case modification
|
||||||
|
" ksh bash : ${parameter^^pattern} Case modification
|
||||||
|
" ksh bash : ${parameter,pattern} Case modification
|
||||||
|
" ksh bash : ${parameter,,pattern} Case modification
|
||||||
syn cluster shDerefPatternList contains=shDerefPattern,shDerefString
|
syn cluster shDerefPatternList contains=shDerefPattern,shDerefString
|
||||||
syn match shDerefOpError contained ":[[:punct:]]"
|
syn match shDerefOpError contained ":[[:punct:]]"
|
||||||
syn match shDerefOp contained ":\=[-=?]" nextgroup=@shDerefPatternList
|
syn match shDerefOp contained ":\=[-=?]" nextgroup=@shDerefPatternList
|
||||||
@ -417,6 +421,8 @@ syn match shDerefOp contained ":\=+" nextgroup=@shDerefPatternList
|
|||||||
if exists("b:is_bash") || exists("b:is_kornshell")
|
if exists("b:is_bash") || exists("b:is_kornshell")
|
||||||
syn match shDerefOp contained "#\{1,2}" nextgroup=@shDerefPatternList
|
syn match shDerefOp contained "#\{1,2}" nextgroup=@shDerefPatternList
|
||||||
syn match shDerefOp contained "%\{1,2}" nextgroup=@shDerefPatternList
|
syn match shDerefOp contained "%\{1,2}" nextgroup=@shDerefPatternList
|
||||||
|
syn match shDerefOp contained "\^\{1,2}" nextgroup=@shDerefPatternList
|
||||||
|
syn match shDerefOp contained ",\{1,2}" nextgroup=@shDerefPatternList
|
||||||
syn match shDerefPattern contained "[^{}]\+" contains=shDeref,shDerefSimple,shDerefPattern,shDerefString,shCommandSub,shDerefEscape nextgroup=shDerefPattern
|
syn match shDerefPattern contained "[^{}]\+" contains=shDeref,shDerefSimple,shDerefPattern,shDerefString,shCommandSub,shDerefEscape nextgroup=shDerefPattern
|
||||||
syn region shDerefPattern contained start="{" end="}" contains=shDeref,shDerefSimple,shDerefString,shCommandSub nextgroup=shDerefPattern
|
syn region shDerefPattern contained start="{" end="}" contains=shDeref,shDerefSimple,shDerefString,shCommandSub nextgroup=shDerefPattern
|
||||||
syn match shDerefEscape contained '\%(\\\\\)*\\.'
|
syn match shDerefEscape contained '\%(\\\\\)*\\.'
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: TeX
|
" Language: TeX
|
||||||
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM>
|
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM>
|
||||||
" Last Change: Sep 17, 2010
|
" Last Change: Dec 07, 2010
|
||||||
" Version: 60
|
" Version: 64
|
||||||
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
|
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
|
||||||
"
|
"
|
||||||
" Notes: {{{1
|
" Notes: {{{1
|
||||||
@ -89,18 +89,17 @@ if g:tex_fold_enabled && &fdm == "manual"
|
|||||||
setl fdm=syntax
|
setl fdm=syntax
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" (La)TeX keywords: only use the letters a-zA-Z {{{1
|
" (La)TeX keywords: uses the characters 0-9,a-z,A-Z,192-255 only... {{{1
|
||||||
" but _ is the only one that causes problems.
|
" but _ is the only one that causes problems.
|
||||||
if version < 600
|
" One may override this iskeyword setting by providing
|
||||||
set isk=a-z,A-Z
|
" g:tex_isk
|
||||||
if b:tex_stylish
|
if exists("g:tex_isk")
|
||||||
set isk+=@
|
exe "setlocal isk=".g:tex_isk
|
||||||
endif
|
|
||||||
else
|
else
|
||||||
setlocal isk=a-z,A-Z
|
setlocal isk=48-57,a-z,A-Z,192-255
|
||||||
if b:tex_stylish
|
|
||||||
setlocal isk+=@
|
|
||||||
endif
|
endif
|
||||||
|
if b:tex_stylish
|
||||||
|
setlocal isk+=@-@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Clusters: {{{1
|
" Clusters: {{{1
|
||||||
@ -372,12 +371,44 @@ if !exists("tex_no_math")
|
|||||||
if has("conceal") && &enc == 'utf-8' && s:tex_conceal =~ 'm'
|
if has("conceal") && &enc == 'utf-8' && s:tex_conceal =~ 'm'
|
||||||
syn match texMathDelim contained "\\left\\{\>" skipwhite nextgroup=texMathDelimSet1,texMathDelimSet2,texMathDelimBad contains=texMathSymbol cchar={
|
syn match texMathDelim contained "\\left\\{\>" skipwhite nextgroup=texMathDelimSet1,texMathDelimSet2,texMathDelimBad contains=texMathSymbol cchar={
|
||||||
syn match texMathDelim contained "\\right\\}\>" skipwhite nextgroup=texMathDelimSet1,texMathDelimSet2,texMathDelimBad contains=texMathSymbol cchar=}
|
syn match texMathDelim contained "\\right\\}\>" skipwhite nextgroup=texMathDelimSet1,texMathDelimSet2,texMathDelimBad contains=texMathSymbol cchar=}
|
||||||
|
let s:texMathDelimList=[
|
||||||
|
\ ['<' , '<'] ,
|
||||||
|
\ ['>' , '>'] ,
|
||||||
|
\ ['(' , '('] ,
|
||||||
|
\ [')' , ')'] ,
|
||||||
|
\ ['\[' , '['] ,
|
||||||
|
\ [']' , ']'] ,
|
||||||
|
\ ['\\{' , '{'] ,
|
||||||
|
\ ['\\}' , '}'] ,
|
||||||
|
\ ['|' , '|'] ,
|
||||||
|
\ ['\\|' , '‖'] ,
|
||||||
|
\ ['\\backslash' , '\'] ,
|
||||||
|
\ ['\\downarrow' , '↓'] ,
|
||||||
|
\ ['\\Downarrow' , '⇓'] ,
|
||||||
|
\ ['\\langle' , '<'] ,
|
||||||
|
\ ['\\lbrace' , '['] ,
|
||||||
|
\ ['\\lceil' , '⌈'] ,
|
||||||
|
\ ['\\lfloor' , '⌊'] ,
|
||||||
|
\ ['\\lgroup' , '⌊'] ,
|
||||||
|
\ ['\\lmoustache' , '⎛'] ,
|
||||||
|
\ ['\\rangle' , '>'] ,
|
||||||
|
\ ['\\rbrace' , ']'] ,
|
||||||
|
\ ['\\rceil' , '⌉'] ,
|
||||||
|
\ ['\\rfloor' , '⌋'] ,
|
||||||
|
\ ['\\rgroup' , '⌋'] ,
|
||||||
|
\ ['\\rmoustache' , '⎞'] ,
|
||||||
|
\ ['\\uparrow' , '↑'] ,
|
||||||
|
\ ['\\Uparrow' , '↑'] ,
|
||||||
|
\ ['\\updownarrow', '↕'] ,
|
||||||
|
\ ['\\Updownarrow', '⇕']]
|
||||||
|
syn match texMathDelim '\\[bB]igg\=[lr]' contained nextgroup=texMathDelimBad
|
||||||
|
for texmath in s:texMathDelimList
|
||||||
|
exe "syn match texMathDelim '\\\\[bB]igg\\=[lr]\\=".texmath[0]."' contained conceal cchar=".texmath[1]
|
||||||
|
endfor
|
||||||
|
|
||||||
else
|
else
|
||||||
syn match texMathDelim contained "\\\(left\|right\)\>" skipwhite nextgroup=texMathDelimSet1,texMathDelimSet2,texMathDelimBad
|
syn match texMathDelim contained "\\\(left\|right\)\>" skipwhite nextgroup=texMathDelimSet1,texMathDelimSet2,texMathDelimBad
|
||||||
endif
|
syn match texMathDelim contained "\\[bB]igg\=[lr]\=\>" skipwhite nextgroup=texMathDelimSet1,texMathDelimSet2,texMathDelimBad
|
||||||
syn match texMathDelim contained "\\\([bB]igg\=[lr]\)\>" skipwhite nextgroup=texMathDelimSet1,texMathDelimSet2,texMathDelimBad
|
|
||||||
syn match texMathDelim contained "\\\(left\|right\)arrow\>\|\<\([aA]rrow\|brace\)\=vert\>"
|
|
||||||
syn match texMathDelim contained "\\lefteqn\>"
|
|
||||||
syn match texMathDelimSet2 contained "\\" nextgroup=texMathDelimKey,texMathDelimBad
|
syn match texMathDelimSet2 contained "\\" nextgroup=texMathDelimKey,texMathDelimBad
|
||||||
syn match texMathDelimSet1 contained "[<>()[\]|/.]\|\\[{}|]"
|
syn match texMathDelimSet1 contained "[<>()[\]|/.]\|\\[{}|]"
|
||||||
syn keyword texMathDelimKey contained backslash lceil lVert rgroup uparrow
|
syn keyword texMathDelimKey contained backslash lceil lVert rgroup uparrow
|
||||||
@ -386,6 +417,9 @@ if !exists("tex_no_math")
|
|||||||
syn keyword texMathDelimKey contained langle lmoustache rceil rVert Updownarrow
|
syn keyword texMathDelimKey contained langle lmoustache rceil rVert Updownarrow
|
||||||
syn keyword texMathDelimKey contained lbrace lvert rfloor
|
syn keyword texMathDelimKey contained lbrace lvert rfloor
|
||||||
endif
|
endif
|
||||||
|
syn match texMathDelim contained "\\\(left\|right\)arrow\>\|\<\([aA]rrow\|brace\)\=vert\>"
|
||||||
|
syn match texMathDelim contained "\\lefteqn\>"
|
||||||
|
endif
|
||||||
|
|
||||||
" Special TeX characters ( \$ \& \% \# \{ \} \_ \S \P ) : {{{1
|
" Special TeX characters ( \$ \& \% \# \{ \} \_ \S \P ) : {{{1
|
||||||
syn match texSpecialChar "\\[$&%#{}_]"
|
syn match texSpecialChar "\\[$&%#{}_]"
|
||||||
@ -521,6 +555,7 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
" (many of these symbols were contributed by Björn Winckler)
|
" (many of these symbols were contributed by Björn Winckler)
|
||||||
if s:tex_conceal =~ 'm'
|
if s:tex_conceal =~ 'm'
|
||||||
let s:texMathList=[
|
let s:texMathList=[
|
||||||
|
\ ['|' , '‖'],
|
||||||
\ ['angle' , '∠'],
|
\ ['angle' , '∠'],
|
||||||
\ ['approx' , '≈'],
|
\ ['approx' , '≈'],
|
||||||
\ ['ast' , '∗'],
|
\ ['ast' , '∗'],
|
||||||
@ -624,6 +659,7 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
\ ['lesseqgtr' , '⋚'],
|
\ ['lesseqgtr' , '⋚'],
|
||||||
\ ['lesssim' , '≲'],
|
\ ['lesssim' , '≲'],
|
||||||
\ ['lfloor' , '⌊'],
|
\ ['lfloor' , '⌊'],
|
||||||
|
\ ['lmoustache' , '╭'],
|
||||||
\ ['lneqq' , '≨'],
|
\ ['lneqq' , '≨'],
|
||||||
\ ['ltimes' , '⋉'],
|
\ ['ltimes' , '⋉'],
|
||||||
\ ['mapsto' , '↦'],
|
\ ['mapsto' , '↦'],
|
||||||
@ -694,6 +730,7 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
\ ['rightsquigarrow', '↝'],
|
\ ['rightsquigarrow', '↝'],
|
||||||
\ ['rightthreetimes', '⋌'],
|
\ ['rightthreetimes', '⋌'],
|
||||||
\ ['risingdotseq' , '≓'],
|
\ ['risingdotseq' , '≓'],
|
||||||
|
\ ['rmoustache' , '╮'],
|
||||||
\ ['rtimes' , '⋊'],
|
\ ['rtimes' , '⋊'],
|
||||||
\ ['searrow' , '↘'],
|
\ ['searrow' , '↘'],
|
||||||
\ ['setminus' , '∖'],
|
\ ['setminus' , '∖'],
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Vim 7.3 script
|
" Language: Vim 7.3 script
|
||||||
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
|
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
|
||||||
" Last Change: August 20, 2010
|
" Last Change: Jan 10, 2011
|
||||||
" Version: 7.3-05
|
" Version: 7.3-07
|
||||||
" Automatically generated keyword lists: {{{1
|
" Automatically generated keyword lists: {{{1
|
||||||
|
|
||||||
" Quit when a syntax file was already loaded {{{2
|
" Quit when a syntax file was already loaded {{{2
|
||||||
@ -550,9 +550,9 @@ if !exists("g:vimsyn_embed")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" [-- lua --] {{{3
|
" [-- lua --] {{{3
|
||||||
let s:luapath= expand("<sfile>:p:h")."/lua.vim"
|
let s:luapath= fnameescape(expand("<sfile>:p:h")."/lua.vim")
|
||||||
if !filereadable(s:luapath)
|
if !filereadable(s:luapath)
|
||||||
let s:luapath= globpath(&rtp,"syntax/lua.vim")
|
let s:luapath= fnameescape(globpath(&rtp,"syntax/lua.vim"))
|
||||||
endif
|
endif
|
||||||
if (g:vimsyn_embed =~ 'l' && has("lua")) && filereadable(s:luapath)
|
if (g:vimsyn_embed =~ 'l' && has("lua")) && filereadable(s:luapath)
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
@ -572,9 +572,9 @@ endif
|
|||||||
unlet s:luapath
|
unlet s:luapath
|
||||||
|
|
||||||
" [-- perl --] {{{3
|
" [-- perl --] {{{3
|
||||||
let s:perlpath= expand("<sfile>:p:h")."/perl.vim"
|
let s:perlpath= fnameescape(expand("<sfile>:p:h")."/perl.vim")
|
||||||
if !filereadable(s:perlpath)
|
if !filereadable(s:perlpath)
|
||||||
let s:perlpath= globpath(&rtp,"syntax/perl.vim")
|
let s:perlpath= fnameescape(globpath(&rtp,"syntax/perl.vim"))
|
||||||
endif
|
endif
|
||||||
if (g:vimsyn_embed =~ 'p' && has("perl")) && filereadable(s:perlpath)
|
if (g:vimsyn_embed =~ 'p' && has("perl")) && filereadable(s:perlpath)
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
@ -594,9 +594,9 @@ endif
|
|||||||
unlet s:perlpath
|
unlet s:perlpath
|
||||||
|
|
||||||
" [-- ruby --] {{{3
|
" [-- ruby --] {{{3
|
||||||
let s:rubypath= expand("<sfile>:p:h")."/ruby.vim"
|
let s:rubypath= fnameescape(expand("<sfile>:p:h")."/ruby.vim")
|
||||||
if !filereadable(s:rubypath)
|
if !filereadable(s:rubypath)
|
||||||
let s:rubypath= globpath(&rtp,"syntax/ruby.vim")
|
let s:rubypath= fnameescape(globpath(&rtp,"syntax/ruby.vim"))
|
||||||
endif
|
endif
|
||||||
if (g:vimsyn_embed =~ 'r' && has("ruby")) && filereadable(s:rubypath)
|
if (g:vimsyn_embed =~ 'r' && has("ruby")) && filereadable(s:rubypath)
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
@ -615,9 +615,9 @@ endif
|
|||||||
unlet s:rubypath
|
unlet s:rubypath
|
||||||
|
|
||||||
" [-- python --] {{{3
|
" [-- python --] {{{3
|
||||||
let s:pythonpath= expand("<sfile>:p:h")."/python.vim"
|
let s:pythonpath= fnameescape(expand("<sfile>:p:h")."/python.vim")
|
||||||
if !filereadable(s:pythonpath)
|
if !filereadable(s:pythonpath)
|
||||||
let s:pythonpath= globpath(&rtp,"syntax/python.vim")
|
let s:pythonpath= fnameescape(globpath(&rtp,"syntax/python.vim"))
|
||||||
endif
|
endif
|
||||||
if (g:vimsyn_embed =~ 'P' && has("python")) && filereadable(s:pythonpath)
|
if (g:vimsyn_embed =~ 'P' && has("python")) && filereadable(s:pythonpath)
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
@ -644,9 +644,9 @@ else
|
|||||||
let s:trytcl= 1
|
let s:trytcl= 1
|
||||||
endif
|
endif
|
||||||
if s:trytcl
|
if s:trytcl
|
||||||
let s:tclpath= expand("<sfile>:p:h")."/tcl.vim"
|
let s:tclpath= fnameescape(expand("<sfile>:p:h")."/tcl.vim")
|
||||||
if !filereadable(s:tclpath)
|
if !filereadable(s:tclpath)
|
||||||
let s:tclpath= globpath(&rtp,"syntax/tcl.vim")
|
let s:tclpath= fnameescape(globpath(&rtp,"syntax/tcl.vim"))
|
||||||
endif
|
endif
|
||||||
if (g:vimsyn_embed =~ 't' && has("tcl")) && filereadable(s:tclpath)
|
if (g:vimsyn_embed =~ 't' && has("tcl")) && filereadable(s:tclpath)
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
@ -671,9 +671,9 @@ endif
|
|||||||
unlet s:trytcl
|
unlet s:trytcl
|
||||||
|
|
||||||
" [-- mzscheme --] {{{3
|
" [-- mzscheme --] {{{3
|
||||||
let s:mzschemepath= expand("<sfile>:p:h")."/scheme.vim"
|
let s:mzschemepath= fnameescape(expand("<sfile>:p:h")."/scheme.vim")
|
||||||
if !filereadable(s:mzschemepath)
|
if !filereadable(s:mzschemepath)
|
||||||
let s:mzschemepath= globpath(&rtp,"syntax/scheme.vim")
|
let s:mzschemepath= fnameescape(globpath(&rtp,"syntax/scheme.vim"))
|
||||||
endif
|
endif
|
||||||
if (g:vimsyn_embed =~ 'm' && has("mzscheme")) && filereadable(s:mzschemepath)
|
if (g:vimsyn_embed =~ 'm' && has("mzscheme")) && filereadable(s:mzschemepath)
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
|
622
src/po/ja.po
622
src/po/ja.po
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user