mirror of
https://github.com/zoriya/vim.git
synced 2026-01-02 04:18:15 +00:00
Compare commits
62 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c388fbf9d9 | ||
|
|
670f9312cc | ||
|
|
aba2f487ff | ||
|
|
4f574c8ab1 | ||
|
|
329cc7e429 | ||
|
|
8af244281c | ||
|
|
f57907ec2c | ||
|
|
f6cf987574 | ||
|
|
648120b750 | ||
|
|
572cb561ac | ||
|
|
86eb7a2c03 | ||
|
|
0be6e647d1 | ||
|
|
1d94f9b30e | ||
|
|
04a09c1975 | ||
|
|
83bab71b3c | ||
|
|
d314b2519b | ||
|
|
ecf07c8910 | ||
|
|
78984f503c | ||
|
|
53805d1eaa | ||
|
|
34cf2f5f49 | ||
|
|
25ceb22747 | ||
|
|
5a8684e782 | ||
|
|
3a6c56e422 | ||
|
|
403bd9487a | ||
|
|
4be06f9e1b | ||
|
|
661b182095 | ||
|
|
cfc7d63267 | ||
|
|
87e25fdf80 | ||
|
|
231334e6ef | ||
|
|
027436338b | ||
|
|
c013cb66a6 | ||
|
|
81366db6d6 | ||
|
|
65de869c4f | ||
|
|
58d9823409 | ||
|
|
b01585904a | ||
|
|
d8c0087cce | ||
|
|
63b3ce8757 | ||
|
|
342337a1a0 | ||
|
|
4536002e30 | ||
|
|
a3ffd9c780 | ||
|
|
80fc04348a | ||
|
|
87b774daf2 | ||
|
|
84fb85aaf6 | ||
|
|
fd6e52886b | ||
|
|
7b30e18223 | ||
|
|
0e634daa95 | ||
|
|
84110acb60 | ||
|
|
6a9aa37a3e | ||
|
|
9fad308621 | ||
|
|
ff6f061a9d | ||
|
|
d6c04cd66a | ||
|
|
6c131c43ff | ||
|
|
e7c5a15631 | ||
|
|
f8c07b2712 | ||
|
|
ce0842a6ee | ||
|
|
bbebc85750 | ||
|
|
fe3ca8ddd9 | ||
|
|
b635633989 | ||
|
|
e759a7aa9a | ||
|
|
8d34330fe5 | ||
|
|
1f28b07867 | ||
|
|
5eba4c2daf |
6
Filelist
6
Filelist
@@ -30,6 +30,7 @@ SRC_ALL1 = \
|
||||
src/gui.h \
|
||||
src/gui_beval.c \
|
||||
src/gui_beval.h \
|
||||
src/hardcopy.c \
|
||||
src/hashtable.c \
|
||||
src/keymap.h \
|
||||
src/macros.h \
|
||||
@@ -94,6 +95,7 @@ SRC_ALL2 = \
|
||||
src/proto/getchar.pro \
|
||||
src/proto/gui.pro \
|
||||
src/proto/gui_beval.pro \
|
||||
src/proto/hardcopy.pro \
|
||||
src/proto/hashtable.pro \
|
||||
src/proto/main.pro \
|
||||
src/proto/mark.pro \
|
||||
@@ -509,6 +511,8 @@ RT_SCRIPTS = \
|
||||
runtime/delmenu.vim \
|
||||
runtime/synmenu.vim \
|
||||
runtime/makemenu.vim \
|
||||
runtime/autoload/*.vim \
|
||||
runtime/autoload/README.txt \
|
||||
runtime/colors/*.vim \
|
||||
runtime/colors/README.txt \
|
||||
runtime/compiler/*.vim \
|
||||
@@ -688,6 +692,7 @@ LANG_GEN = \
|
||||
|
||||
# generic language files, binary
|
||||
LANG_GEN_BIN = \
|
||||
runtime/spell/README_en.txt \
|
||||
runtime/spell/en.ascii.spl \
|
||||
runtime/spell/en.latin1.spl \
|
||||
runtime/spell/en.utf-8.spl \
|
||||
@@ -697,6 +702,7 @@ LANG_SRC = \
|
||||
src/po/README.txt \
|
||||
src/po/README_mingw.txt \
|
||||
src/po/README_mvc.txt \
|
||||
src/po/check.vim \
|
||||
src/po/cleanup.vim \
|
||||
src/po/Makefile \
|
||||
src/po/Make_cyg.mak \
|
||||
|
||||
@@ -14,27 +14,34 @@ To compile Vim yourself you need three archives:
|
||||
vim-X.X-extra.tar.gz extra source files
|
||||
|
||||
Compilation is recommended, in order to make sure that the correct
|
||||
libraries are used for your specific system. However, you might not be
|
||||
able to compile Vim, read more from src/INSTALLvms.txt.
|
||||
libraries are used for your specific system. Read about compiling in
|
||||
src/INSTALLvms.txt.
|
||||
|
||||
To use the binary version, you need one of these archives:
|
||||
|
||||
vim-XX-exe-alpha-gui.zip Alpha GUI/Motif executables
|
||||
vim-XX-exe-alpha-gtk.zip Alpha GUI/GTK executables
|
||||
vim-XX-exe-alpha-term.zip Alpha console executables
|
||||
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
|
||||
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
|
||||
vim-XX-exe-ia64-term.zip IA64 console executables
|
||||
vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
|
||||
vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
|
||||
vim-XX-exe-axp-term.zip Alpha console executables
|
||||
vim-XX-exe-vax-gui.zip VAX GUI executables
|
||||
vim-XX-exe-vax-term.zip VAX console executables
|
||||
vim-XX-exe-vax-term.zip VAX console executables
|
||||
|
||||
and of course
|
||||
vim-XX-runtime.zip runtime files
|
||||
|
||||
The binary archives contain: vim.exe, ctags.exe, xxd.exe, mms_vim.exe files,
|
||||
The binary archives contain: vim.exe, ctags.exe, xxd.exe files,
|
||||
but there are also prepared "deploy ready" archives:
|
||||
|
||||
vim-XX-alpha.zip GUI and console executables with runtime and
|
||||
help files for Alpha systems
|
||||
vim-XX-vax.zip GUI and console executables with runtime and
|
||||
help files for VAX systems
|
||||
vim-XX-ia64.zip GUI and console executables with runtime and
|
||||
help files for IA64 systems
|
||||
vim-XX-axp.zip GUI and console executables with runtime and
|
||||
help files for Alpha systems
|
||||
vim-XX-vax.zip GUI and console executables with runtime and
|
||||
help files for VAX systems
|
||||
|
||||
GTK builds need LIBGTK library installed.
|
||||
|
||||
These executables and up to date patches for OpenVMS system are downloadable
|
||||
from http://www.polarhome.com/vim/ or ftp://ftp.polarhome.com/pub/vim/
|
||||
|
||||
6
runtime/autoload/README.txt
Normal file
6
runtime/autoload/README.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
The autoload directory is for standard Vim autoload scripts.
|
||||
|
||||
These are functions used by plugins and for general use. They will be loaded
|
||||
automatically when the function is invoked. See ":help autoload".
|
||||
|
||||
gzip.vim for editing compressed files
|
||||
173
runtime/autoload/gzip.vim
Normal file
173
runtime/autoload/gzip.vim
Normal file
@@ -0,0 +1,173 @@
|
||||
" Vim autoload file for editing compressed files.
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2005 Jul 26
|
||||
|
||||
" These functions are used by the gzip plugin.
|
||||
|
||||
" Function to check that executing "cmd [-f]" works.
|
||||
" The result is cached in s:have_"cmd" for speed.
|
||||
fun s:check(cmd)
|
||||
let name = substitute(a:cmd, '\(\S*\).*', '\1', '')
|
||||
if !exists("s:have_" . name)
|
||||
let e = executable(name)
|
||||
if e < 0
|
||||
let r = system(name . " --version")
|
||||
let e = (r !~ "not found" && r != "")
|
||||
endif
|
||||
exe "let s:have_" . name . "=" . e
|
||||
endif
|
||||
exe "return s:have_" . name
|
||||
endfun
|
||||
|
||||
" Set b:gzip_comp_arg to the gzip argument to be used for compression, based on
|
||||
" the flags in the compressed file.
|
||||
" The only compression methods that can be detected are max speed (-1) and max
|
||||
" compression (-9).
|
||||
fun s:set_compression(line)
|
||||
" get the Compression Method
|
||||
let l:cm = char2nr(a:line[2])
|
||||
" if it's 8 (DEFLATE), we can check for the compression level
|
||||
if l:cm == 8
|
||||
" get the eXtra FLags
|
||||
let l:xfl = char2nr(a:line[8])
|
||||
" max compression
|
||||
if l:xfl == 2
|
||||
let b:gzip_comp_arg = "-9"
|
||||
" min compression
|
||||
elseif l:xfl == 4
|
||||
let b:gzip_comp_arg = "-1"
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
|
||||
" After reading compressed file: Uncompress text in buffer with "cmd"
|
||||
fun gzip#read(cmd)
|
||||
" don't do anything if the cmd is not supported
|
||||
if !s:check(a:cmd)
|
||||
return
|
||||
endif
|
||||
|
||||
" for gzip check current compression level and set b:gzip_comp_arg.
|
||||
silent! unlet b:gzip_comp_arg
|
||||
if a:cmd[0] == 'g'
|
||||
call s:set_compression(getline(1))
|
||||
endif
|
||||
|
||||
" make 'patchmode' empty, we don't want a copy of the written file
|
||||
let pm_save = &pm
|
||||
set pm=
|
||||
" remove 'a' and 'A' from 'cpo' to avoid the alternate file changes
|
||||
let cpo_save = &cpo
|
||||
set cpo-=a cpo-=A
|
||||
" set 'modifiable'
|
||||
let ma_save = &ma
|
||||
setlocal ma
|
||||
" when filtering the whole buffer, it will become empty
|
||||
let empty = line("'[") == 1 && line("']") == line("$")
|
||||
let tmp = tempname()
|
||||
let tmpe = tmp . "." . expand("<afile>:e")
|
||||
" write the just read lines to a temp file "'[,']w tmp.gz"
|
||||
execute "silent '[,']w " . tmpe
|
||||
" uncompress the temp file: call system("gzip -dn tmp.gz")
|
||||
call system(a:cmd . " " . tmpe)
|
||||
if !filereadable(tmp)
|
||||
" uncompress didn't work! Keep the compressed file then.
|
||||
echoerr "Error: Could not read uncompressed file"
|
||||
return
|
||||
endif
|
||||
" delete the compressed lines; remember the line number
|
||||
let l = line("'[") - 1
|
||||
if exists(":lockmarks")
|
||||
lockmarks '[,']d _
|
||||
else
|
||||
'[,']d _
|
||||
endif
|
||||
" read in the uncompressed lines "'[-1r tmp"
|
||||
setlocal nobin
|
||||
if exists(":lockmarks")
|
||||
execute "silent lockmarks " . l . "r " . tmp
|
||||
else
|
||||
execute "silent " . l . "r " . tmp
|
||||
endif
|
||||
|
||||
" if buffer became empty, delete trailing blank line
|
||||
if empty
|
||||
silent $delete _
|
||||
1
|
||||
endif
|
||||
" delete the temp file and the used buffers
|
||||
call delete(tmp)
|
||||
silent! exe "bwipe " . tmp
|
||||
silent! exe "bwipe " . tmpe
|
||||
let &pm = pm_save
|
||||
let &cpo = cpo_save
|
||||
let &l:ma = ma_save
|
||||
" When uncompressed the whole buffer, do autocommands
|
||||
if empty
|
||||
if &verbose >= 8
|
||||
execute "doau BufReadPost " . expand("%:r")
|
||||
else
|
||||
execute "silent! doau BufReadPost " . expand("%:r")
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" After writing compressed file: Compress written file with "cmd"
|
||||
fun gzip#write(cmd)
|
||||
" don't do anything if the cmd is not supported
|
||||
if s:check(a:cmd)
|
||||
" Rename the file before compressing it.
|
||||
let nm = resolve(expand("<afile>"))
|
||||
let nmt = s:tempname(nm)
|
||||
if rename(nm, nmt) == 0
|
||||
if exists("b:gzip_comp_arg")
|
||||
call system(a:cmd . " " . b:gzip_comp_arg . " " . nmt)
|
||||
else
|
||||
call system(a:cmd . " " . nmt)
|
||||
endif
|
||||
call rename(nmt . "." . expand("<afile>:e"), nm)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Before appending to compressed file: Uncompress file with "cmd"
|
||||
fun gzip#appre(cmd)
|
||||
" don't do anything if the cmd is not supported
|
||||
if s:check(a:cmd)
|
||||
let nm = expand("<afile>")
|
||||
|
||||
" for gzip check current compression level and set b:gzip_comp_arg.
|
||||
silent! unlet b:gzip_comp_arg
|
||||
if a:cmd[0] == 'g'
|
||||
call s:set_compression(readfile(nm, "b", 1)[0])
|
||||
endif
|
||||
|
||||
" Rename to a weird name to avoid the risk of overwriting another file
|
||||
let nmt = expand("<afile>:p:h") . "/X~=@l9q5"
|
||||
let nmte = nmt . "." . expand("<afile>:e")
|
||||
if rename(nm, nmte) == 0
|
||||
if &patchmode != "" && getfsize(nm . &patchmode) == -1
|
||||
" Create patchmode file by creating the decompressed file new
|
||||
call system(a:cmd . " -c " . nmte . " > " . nmt)
|
||||
call rename(nmte, nm . &patchmode)
|
||||
else
|
||||
call system(a:cmd . " " . nmte)
|
||||
endif
|
||||
call rename(nmt, nm)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" find a file name for the file to be compressed. Use "name" without an
|
||||
" extension if possible. Otherwise use a weird name to avoid overwriting an
|
||||
" existing file.
|
||||
fun s:tempname(name)
|
||||
let fn = fnamemodify(a:name, ":r")
|
||||
if !filereadable(fn) && !isdirectory(fn)
|
||||
return fn
|
||||
endif
|
||||
return fnamemodify(a:name, ":p:h") . "/X~=@l9q5"
|
||||
endfun
|
||||
|
||||
" vim: set sw=2 :
|
||||
130
runtime/autoload/tar.vim
Normal file
130
runtime/autoload/tar.vim
Normal file
@@ -0,0 +1,130 @@
|
||||
" vim:set ts=8 sts=4 sw=4:
|
||||
"
|
||||
" tar.vim -- a Vim plugin for browsing tarfiles
|
||||
" Copyright (c) 2002, Michael C. Toren <mct@toren.net>
|
||||
" Distributed under the GNU General Public License.
|
||||
"
|
||||
" Version: 1.01
|
||||
" Last Change: 2005 Jul 26
|
||||
"
|
||||
" Updates are available from <http://michael.toren.net/code/>. If you
|
||||
" find this script useful, or have suggestions for improvements, please
|
||||
" let me know.
|
||||
" Also look there for further comments and documentation.
|
||||
"
|
||||
" This part defines the functions. The autocommands are in plugin/tar.vim.
|
||||
|
||||
let s:version = "1.01"
|
||||
|
||||
function! tar#Write(argument)
|
||||
echo "ERROR: Sorry, no write support for tarfiles yet"
|
||||
endfunction
|
||||
|
||||
function! tar#Read(argument, cleanup)
|
||||
let l:argument = a:argument
|
||||
let l:argument = substitute(l:argument, '^tarfile:', '', '')
|
||||
let l:argument = substitute(l:argument, '^\~', $HOME, '')
|
||||
|
||||
let l:tarfile = l:argument
|
||||
while 1
|
||||
if (l:tarfile == "" || l:tarfile == "/")
|
||||
echo "ERROR: Could not find a readable tarfile in path:" l:argument
|
||||
return
|
||||
endif
|
||||
|
||||
if filereadable(l:tarfile) " found it!
|
||||
break
|
||||
endif
|
||||
|
||||
let l:tarfile = fnamemodify(l:tarfile, ":h")
|
||||
endwhile
|
||||
|
||||
let l:toextract = strpart(l:argument, strlen(l:tarfile) + 1)
|
||||
|
||||
if (l:toextract == "")
|
||||
return
|
||||
endif
|
||||
|
||||
let l:cat = s:TarCatCommand(l:tarfile)
|
||||
execute "r !" . l:cat . " < '" . l:tarfile . "'"
|
||||
\ " | tar OPxf - '" . l:toextract . "'"
|
||||
|
||||
if (a:cleanup)
|
||||
0d "blank line
|
||||
execute "doautocmd BufReadPost " . expand("%")
|
||||
setlocal readonly
|
||||
silent preserve
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! tar#Browse(tarfile)
|
||||
setlocal noswapfile
|
||||
setlocal buftype=nofile
|
||||
setlocal bufhidden=hide
|
||||
setlocal filetype=
|
||||
setlocal nobuflisted
|
||||
setlocal buftype=nofile
|
||||
setlocal wrap
|
||||
setlocal syntax=tar
|
||||
|
||||
let l:tarfile = a:tarfile
|
||||
let b:tarfile = l:tarfile
|
||||
let l:cat = s:TarCatCommand(l:tarfile)
|
||||
|
||||
if ! filereadable(l:tarfile)
|
||||
let l:tarfile = substitute(l:tarfile, '^tarfile:', '', '')
|
||||
endif
|
||||
|
||||
if ! filereadable(l:tarfile)
|
||||
echo "ERROR: File not readable:" l:tarfile
|
||||
return
|
||||
endif
|
||||
|
||||
call s:Say("\" tar.vim version " . s:version)
|
||||
call s:Say("\" Browsing tarfile " . l:tarfile)
|
||||
call s:Say("\" Hit ENTER to view a file in a new window")
|
||||
call s:Say("")
|
||||
|
||||
silent execute "r!" . l:cat . "<'" . l:tarfile . "'| tar Ptf - "
|
||||
0d "blank line
|
||||
/^$/1
|
||||
|
||||
setlocal readonly
|
||||
setlocal nomodifiable
|
||||
noremap <silent> <buffer> <cr> :call <SID>TarBrowseSelect()<cr>
|
||||
endfunction
|
||||
|
||||
function! s:TarBrowseSelect()
|
||||
let l:line = getline(".")
|
||||
|
||||
if (l:line =~ '^" ')
|
||||
return
|
||||
endif
|
||||
|
||||
if (l:line =~ '/$')
|
||||
echo "Please specify a file, not a directory"
|
||||
return
|
||||
endif
|
||||
|
||||
let l:selection = "tarfile:" . b:tarfile . "/" . l:line
|
||||
new
|
||||
wincmd _
|
||||
execute "e " . l:selection
|
||||
endfunction
|
||||
|
||||
" kludge to deal with compressed archives
|
||||
function! s:TarCatCommand(tarfile)
|
||||
if a:tarfile =~# '\.\(gz\|tgz\|Z\)$'
|
||||
let l:cat = "gzip -d -c"
|
||||
elseif a:tarfile =~# '\.bz2$'
|
||||
let l:cat = "bzip2 -d -c"
|
||||
else
|
||||
let l:cat = "cat"
|
||||
endif
|
||||
return l:cat
|
||||
endfunction
|
||||
|
||||
function! s:Say(string)
|
||||
let @" = a:string
|
||||
$ put
|
||||
endfunction
|
||||
@@ -1,4 +1,4 @@
|
||||
*autocmd.txt* For Vim version 7.0aa. Last change: 2005 Mar 04
|
||||
*autocmd.txt* For Vim version 7.0aa. Last change: 2005 Jul 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -487,7 +487,7 @@ VimLeave Before exiting Vim, just after writing the
|
||||
VimLeavePre.
|
||||
To detect an abnormal exit use |v:dying|.
|
||||
*EncodingChanged*
|
||||
EncodingChanged Fires off when the 'encoding' option is
|
||||
EncodingChanged Fires off after the 'encoding' option has been
|
||||
changed. Useful to set up fonts, for example.
|
||||
*InsertEnter*
|
||||
InsertEnter When starting Insert mode. Also for Replace
|
||||
@@ -542,6 +542,18 @@ QuickFixCmdPre *QuickFixCmdPre*
|
||||
QuickFixCmdPost *QuickFixCmdPost*
|
||||
like QuickFixCmdPre, but after a quickfix
|
||||
command is run.
|
||||
*MenuPopup*
|
||||
MenuPopup Just before showing the popup menu (under the
|
||||
right mouse button). Useful for adjusting the
|
||||
menu for what is under the cursor or mouse
|
||||
pointer.
|
||||
The pattern is matched against a single
|
||||
character representing the mode:
|
||||
n Normal
|
||||
v Visual
|
||||
o Operator-pending
|
||||
i Insert
|
||||
c Commmand line
|
||||
*UserGettingBored*
|
||||
UserGettingBored When the user hits CTRL-C. Just kidding! :-)
|
||||
*User*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*change.txt* For Vim version 7.0aa. Last change: 2005 Jun 25
|
||||
*change.txt* For Vim version 7.0aa. Last change: 2005 Jul 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -682,8 +682,8 @@ For the definition of a pattern, see |pattern|.
|
||||
|
||||
*sub-replace-special* *:s\=*
|
||||
When the {string} starts with "\=" it is evaluated as an expression, see
|
||||
|sub-replace-expression|. Otherwise these characters in {string} have a
|
||||
special meaning:
|
||||
|sub-replace-expression|. You can use that for any special characters.
|
||||
Otherwise these characters in {string} have a special meaning:
|
||||
*:s%*
|
||||
When {string} is equal to "%" and '/' is included with the 'cpotions' option,
|
||||
then the {string} of the previous substitute command is used. |cpo-/|
|
||||
@@ -771,9 +771,12 @@ Be careful: The separation character must not appear in the expression!
|
||||
Consider using a character like "@" or ":". There is no problem if the result
|
||||
of the expression contains the separation character.
|
||||
|
||||
Example: >
|
||||
Examples: >
|
||||
:s@\n@\="\r" . expand("$HOME") . "\r"@
|
||||
This replaces an end-of-line with a new line containing the value of $HOME.
|
||||
This replaces an end-of-line with a new line containing the value of $HOME. >
|
||||
|
||||
s/E/\="\<Char-0x20ac>"/g
|
||||
This replaces 'E' characters with an euro sign. Read more in |<Char->|.
|
||||
|
||||
|
||||
4.3 Search and replace *search-replace*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*editing.txt* For Vim version 7.0aa. Last change: 2005 May 21
|
||||
*editing.txt* For Vim version 7.0aa. Last change: 2005 Jul 25
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -354,14 +354,32 @@ file1 file2") embedded spaces must be escaped with a backslash.
|
||||
*wildcard*
|
||||
Wildcards in {file} are expanded. Which wildcards are supported depends on
|
||||
the system. These are the common ones:
|
||||
* matches anything, including nothing
|
||||
? matches one character
|
||||
* matches anything, including nothing
|
||||
** matches anything, including nothing, recurses into directories
|
||||
[abc] match 'a', 'b' or 'c'
|
||||
|
||||
To avoid the special meaning of the wildcards prepend a backslash. However,
|
||||
on MS-Windows the backslash is a path separator and "path\[abc]" is still seen
|
||||
as a wildcard when "[" is in the 'isfname' option. A simple way to avoid this
|
||||
is to use "path\[[]abc]". Then the file "path[abc]" literally.
|
||||
|
||||
*starstar-wildcard*
|
||||
Expanding "**" is possible on Unix, Win32, Mac OS/X and a few other systems.
|
||||
This allows searching a directory tree. This goes up to 100 directories deep.
|
||||
Example: >
|
||||
:n **/*.txt
|
||||
Finds files:
|
||||
ttt.txt
|
||||
subdir/ttt.txt
|
||||
a/b/c/d/ttt.txt
|
||||
When non-wildcard characters are used these are only matched in the first
|
||||
directory. Example: >
|
||||
:n /usr/inc**/*.h
|
||||
Finds files:
|
||||
/usr/include/types.h
|
||||
/usr/include/sys/types.h
|
||||
/usr/inc_old/types.h
|
||||
*backtick-expansion* *`-expansion*
|
||||
On Unix and a few other systems you can also use backticks in the file name,
|
||||
for example: >
|
||||
@@ -1406,7 +1424,7 @@ problem goes away the next day.
|
||||
The file searching is currently used for the 'path', 'cdpath' and 'tags'
|
||||
options. There are three different types of searching:
|
||||
|
||||
1) Downward search:
|
||||
1) Downward search: *starstar*
|
||||
Downward search uses the wildcards '*', '**' and possibly others
|
||||
supported by your operating system. '*' and '**' are handled inside Vim, so
|
||||
they work on all operating systems.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2005 Jul 07
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2005 Aug 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1474,6 +1474,8 @@ call( {func}, {arglist} [, {dict}])
|
||||
char2nr( {expr}) Number ASCII value of first char in {expr}
|
||||
cindent( {lnum}) Number C indent for line {lnum}
|
||||
col( {expr}) Number column nr of cursor or mark
|
||||
complete_add( {expr}) Number add completion match
|
||||
complete_check() Number check for key typed during completion
|
||||
confirm( {msg} [, {choices} [, {default} [, {type}]]])
|
||||
Number number of choice picked by user
|
||||
copy( {expr}) any make a shallow copy of {expr}
|
||||
@@ -1511,6 +1513,8 @@ foreground( ) Number bring the Vim window to the foreground
|
||||
function( {name}) Funcref reference to function {name}
|
||||
get( {list}, {idx} [, {def}]) any get item {idx} from {list} or {def}
|
||||
get( {dict}, {key} [, {def}]) any get item {key} from {dict} or {def}
|
||||
getbufline( {expr}, {lnum} [, {end}])
|
||||
List lines {lnum} to {end} of buffer {expr}
|
||||
getchar( [expr]) Number get one character from the user
|
||||
getcharmod( ) Number modifiers for the last typed character
|
||||
getbufvar( {expr}, {varname}) variable {varname} in buffer {expr}
|
||||
@@ -1583,6 +1587,7 @@ mode() String current editing mode
|
||||
nextnonblank( {lnum}) Number line nr of non-blank line >= {lnum}
|
||||
nr2char( {expr}) String single char with ASCII value {expr}
|
||||
prevnonblank( {lnum}) Number line nr of non-blank line <= {lnum}
|
||||
printf( {fmt}, {expr1}...) String format text
|
||||
range( {expr} [, {max} [, {stride}]])
|
||||
List items from {expr} to {max}
|
||||
readfile({fname} [, {binary} [, {max}]])
|
||||
@@ -1883,6 +1888,22 @@ col({expr}) The result is a Number, which is the byte index of the column
|
||||
\<C-O>:echo col(".") . "\n" <Bar>
|
||||
\let &ve = save_ve<CR>
|
||||
<
|
||||
|
||||
complete_add({expr}) *complete_add()*
|
||||
Add {expr} to the list of matches. Only to be used by the
|
||||
function specified with the 'completefunc' option.
|
||||
Returns 0 for failure (empty string or out of memory),
|
||||
1 when the match was added, 2 when the match was already in
|
||||
the list.
|
||||
|
||||
complete_check() *complete_check()*
|
||||
Check for a key typed while looking for completion matches.
|
||||
This is to be used when looking for matches takes some time.
|
||||
Returns non-zero when searching for matches is to be aborted,
|
||||
zero otherwise.
|
||||
Only to be used by the function specified with the
|
||||
'completefunc' option.
|
||||
|
||||
*confirm()*
|
||||
confirm({msg} [, {choices} [, {default} [, {type}]]])
|
||||
Confirm() offers the user a dialog, from which a choice can be
|
||||
@@ -2219,8 +2240,11 @@ expand({expr} [, {flag}]) *expand()*
|
||||
expanded like a file name is expanded on the command line.
|
||||
'suffixes' and 'wildignore' are used, unless the optional
|
||||
{flag} argument is given and it is non-zero. Names for
|
||||
non-existing files are included.
|
||||
|
||||
non-existing files are included. The "**" item can be used to
|
||||
search in a directory tree. For example, to find all "README"
|
||||
files in the current directory and below: >
|
||||
:echo expand("**/README")
|
||||
<
|
||||
Expand() can also be used to expand variables and environment
|
||||
variables that are only known in a shell. But this can be
|
||||
slow, because a shell must be started. See |expr-env-expand|.
|
||||
@@ -2409,6 +2433,30 @@ get({dict}, {key} [, {default}])
|
||||
item is not available return {default}. Return zero when
|
||||
{default} is omitted.
|
||||
|
||||
*getbufline()*
|
||||
getbufline({expr}, {lnum} [, {end}])
|
||||
Return a List with the lines starting from {lnum} to {end}
|
||||
(inclusive) in the buffer {expr}. If {end} is omitted, a List
|
||||
with only the line {lnum} is returned.
|
||||
|
||||
For the use of {expr}, see |bufname()| above.
|
||||
|
||||
For {lnum} and {end} "$" can be used for the last line of the
|
||||
buffer. Otherwise a number must be used.
|
||||
|
||||
When {lnum} is smaller than 1 or bigger than the number of
|
||||
lines in the buffer, an empty List is returned.
|
||||
|
||||
When {end} is greater than the number of lines in the buffer,
|
||||
it is treated as {end} is set to the number of lines in the
|
||||
buffer. When {end} is before {lnum} an empty List is
|
||||
returned.
|
||||
|
||||
This function works only for loaded buffers. For unloaded and
|
||||
non-existing buffers, an empty List is returned.
|
||||
|
||||
Example: >
|
||||
:let lines = getbufline(bufnr("myfile"), 1, "$")
|
||||
|
||||
getbufvar({expr}, {varname}) *getbufvar()*
|
||||
The result is the value of option or local buffer variable
|
||||
@@ -2572,7 +2620,7 @@ getline({lnum} [, {end}])
|
||||
including line {end}.
|
||||
{end} is used in the same way as {lnum}.
|
||||
Non-existing lines are silently omitted.
|
||||
When {end} is before {lnum} an error is given.
|
||||
When {end} is before {lnum} an empty List is returned.
|
||||
Example: >
|
||||
:let start = line('.')
|
||||
:let end = search("^$") - 1
|
||||
@@ -2677,6 +2725,11 @@ globpath({path}, {expr}) *globpath()*
|
||||
The 'wildignore' option applies: Names matching one of the
|
||||
patterns in 'wildignore' will be skipped.
|
||||
|
||||
The "**" item can be used to search in a directory tree.
|
||||
For example, to find all "README.txt" files in the directories
|
||||
in 'runtimepath' and below: >
|
||||
:echo globpath(&rtp, "**/README.txt")
|
||||
<
|
||||
*has()*
|
||||
has({feature}) The result is a Number, which is 1 if the feature {feature} is
|
||||
supported, zero otherwise. The {feature} argument is a
|
||||
@@ -3303,6 +3356,134 @@ nr2char({expr}) *nr2char()*
|
||||
characters. nr2char(0) is a real NUL and terminates the
|
||||
string, thus results in an empty string.
|
||||
|
||||
printf({fmt}, {expr1} ...) *printf()*
|
||||
Return a String with {fmt}, where "%" items are replaced by
|
||||
the formatted form of their respective arguments. Example: >
|
||||
printf("%4d: E%d %.30s", lnum, errno, msg)
|
||||
< May result in:
|
||||
" 99: E42 asdfasdfasdfasdfasdfasdfasdfas" ~
|
||||
|
||||
Often used items are:
|
||||
%s string
|
||||
%6s string right-aligned in 6 characters
|
||||
%c single byte
|
||||
%d decimal number
|
||||
%5d decimal number padded with spaces to 5 characters
|
||||
%x hex number
|
||||
%04x hex number padded with zeros to at least 4 characters
|
||||
%X hex number using upper case letters
|
||||
%o octal number
|
||||
%% the % character
|
||||
|
||||
Conversion specifications start with '%' and end with the
|
||||
conversion type. All other characters are copied unchanged to
|
||||
the result.
|
||||
|
||||
The "%" starts a conversion specification. The following
|
||||
arguments appear in sequence:
|
||||
|
||||
% [flags] [field-width] [.precision] type
|
||||
|
||||
flags
|
||||
Zero or more of the following flags:
|
||||
|
||||
# The value should be converted to an "alternate
|
||||
form". For c, d, and s conversions, this option
|
||||
has no effect. For o conversions, the precision
|
||||
of the number is increased to force the first
|
||||
character of the output string to a zero (except
|
||||
if a zero value is printed with an explicit
|
||||
precision of zero).
|
||||
For x and X conversions, a non-zero result has
|
||||
the string "0x" (or "0X" for X conversions)
|
||||
prepended to it.
|
||||
|
||||
0 (zero) Zero padding. For all conversions the converted
|
||||
value is padded on the left with zeros rather
|
||||
than blanks. If a precision is given with a
|
||||
numeric conversion (d, o, x, and X), the 0 flag
|
||||
is ignored.
|
||||
|
||||
- A negative field width flag; the converted value
|
||||
is to be left adjusted on the field boundary.
|
||||
The converted value is padded on the right with
|
||||
blanks, rather than on the left with blanks or
|
||||
zeros. A - overrides a 0 if both are given.
|
||||
|
||||
' ' (space) A blank should be left before a positive
|
||||
number produced by a signed conversion (d).
|
||||
|
||||
+ A sign must always be placed before a number
|
||||
produced by a signed conversion. A + overrides
|
||||
a space if both are used.
|
||||
|
||||
field-width
|
||||
An optional decimal digit string specifying a minimum
|
||||
field width. If the converted value has fewer
|
||||
characters than the field width, it will be padded
|
||||
with spaces on the left (or right, if the
|
||||
left-adjustment flag has been given) to fill out the
|
||||
field width.
|
||||
|
||||
.precision
|
||||
An optional precision, in the form of a period '.'
|
||||
followed by an optional digit string. If the digit
|
||||
string is omitted, the precision is taken as zero.
|
||||
This gives the minimum number of digits to appear for
|
||||
d, o, x, and X conversions, or the maximum number of
|
||||
characters to be printed from a string for s
|
||||
conversions.
|
||||
|
||||
type
|
||||
A character that specifies the type of conversion to
|
||||
be applied, see below.
|
||||
|
||||
A field width or precision, or both, may be indicated by an
|
||||
asterisk '*' instead of a digit string. In this case, a
|
||||
Number argument supplies the field width or precision. A
|
||||
negative field width is treated as a left adjustment flag
|
||||
followed by a positive field width; a negative precision is
|
||||
treated as though it were missing. Example: >
|
||||
:echo printf("%d: %.*s", nr, width, line)
|
||||
< This limits the length of the text used from "line" to
|
||||
"width" bytes.
|
||||
|
||||
The conversion specifiers and their meanings are:
|
||||
|
||||
doxX The Number argument is converted to signed decimal
|
||||
(d), unsigned octal (o), or unsigned hexadecimal (x
|
||||
and X) notation. The letters "abcdef" are used for
|
||||
x conversions; the letters "ABCDEF" are used for X
|
||||
conversions.
|
||||
The precision, if any, gives the minimum number of
|
||||
digits that must appear; if the converted value
|
||||
requires fewer digits, it is padded on the left with
|
||||
zeros.
|
||||
In no case does a non-existent or small field width
|
||||
cause truncation of a numeric field; if the result of
|
||||
a conversion is wider than the field width, the field
|
||||
is expanded to contain the conversion result.
|
||||
|
||||
c The Number argument is converted to a byte, and the
|
||||
resulting character is written.
|
||||
|
||||
s The text of the String argument is used. If a
|
||||
precision is specified, no more bytes than the number
|
||||
specified are used.
|
||||
|
||||
% A '%' is written. No argument is converted. The
|
||||
complete conversion specification is "%%".
|
||||
|
||||
Each argument can be Number or String and is converted
|
||||
automatically to fit the conversion specifier. Any other
|
||||
argument type results in an error message.
|
||||
|
||||
*E766* *E767*
|
||||
The number of {exprN} arguments must exactly match the number
|
||||
of "%" items. If there are not sufficient or too many
|
||||
arguments an error is given. Up to 18 arguments can be used.
|
||||
|
||||
|
||||
prevnonblank({lnum}) *prevnonblank()*
|
||||
Return the line number of the first line at or above {lnum}
|
||||
that is not blank. Example: >
|
||||
@@ -3497,8 +3678,14 @@ search({pattern} [, {flags}]) *search()*
|
||||
'n' do Not move the cursor
|
||||
'w' wrap around the end of the file
|
||||
'W' don't wrap around the end of the file
|
||||
's' set the ' mark at the previous location of the
|
||||
cursor.
|
||||
If neither 'w' or 'W' is given, the 'wrapscan' option applies.
|
||||
|
||||
If the 's' flag is supplied, the ' mark is set, only if the
|
||||
cursor is moved. The 's' flag cannot be combined with the 'n'
|
||||
flag.
|
||||
|
||||
When a match has been found its line number is returned.
|
||||
The cursor will be positioned at the match, unless the 'n'
|
||||
flag is used).
|
||||
@@ -3979,8 +4166,10 @@ synID({lnum}, {col}, {trans}) *synID()*
|
||||
{lnum} and {col} in the current window.
|
||||
The syntax ID can be used with |synIDattr()| and
|
||||
|synIDtrans()| to obtain syntax information about text.
|
||||
|
||||
{col} is 1 for the leftmost column, {lnum} is 1 for the first
|
||||
line.
|
||||
line. 'synmaxcol' applies, in a longer line zero is returned.
|
||||
|
||||
When {trans} is non-zero, transparent items are reduced to the
|
||||
item that they reveal. This is useful when wanting to know
|
||||
the effective color. When {trans} is zero, the transparent
|
||||
@@ -4058,7 +4247,8 @@ system({expr} [, {input}]) *system()* *E677*
|
||||
|
||||
taglist({expr}) *taglist()*
|
||||
Returns a list of tags matching the regular expression {expr}.
|
||||
Each list item is a dictionary with the following entries:
|
||||
Each list item is a dictionary with at least the following
|
||||
entries:
|
||||
name name of the tag.
|
||||
filename name of the file where the tag is
|
||||
defined.
|
||||
@@ -4077,7 +4267,7 @@ taglist({expr}) *taglist()*
|
||||
information about these fields. For C code the fields
|
||||
"struct", "class" and "enum" may appear, they give the name of
|
||||
the entity the tag is contained in.
|
||||
|
||||
|
||||
The ex-command 'cmd' can be either an ex search pattern, a
|
||||
line number or a line number followed by a byte number.
|
||||
|
||||
@@ -4288,6 +4478,7 @@ arabic Compiled with Arabic support |Arabic|.
|
||||
arp Compiled with ARP support (Amiga).
|
||||
autocmd Compiled with autocommands support.
|
||||
balloon_eval Compiled with |balloon-eval| support.
|
||||
balloon_multiline GUI supports multiline balloons.
|
||||
beos BeOS version of Vim.
|
||||
browse Compiled with |:browse| support, and browse() will
|
||||
work.
|
||||
@@ -5060,8 +5251,8 @@ This would call the function "my_func_whizz(parameter)".
|
||||
value of each item.
|
||||
When an error is detected for a command inside the
|
||||
loop, execution continues after the "endfor".
|
||||
Changing {list} affects what items are used. Make a
|
||||
copy if this is unwanted: >
|
||||
Changing {list} inside the loop affects what items are
|
||||
used. Make a copy if this is unwanted: >
|
||||
:for item in copy(mylist)
|
||||
< When not making a copy, Vim stores a reference to the
|
||||
next item in the list, before executing the commands
|
||||
@@ -5079,12 +5270,6 @@ This would call the function "my_func_whizz(parameter)".
|
||||
changing. Unlet the variable at the end of the loop
|
||||
to allow multiple item types.
|
||||
|
||||
:for {var} in {string}
|
||||
:endfo[r] Like ":for" above, but use each character in {string}
|
||||
as a list item.
|
||||
Composing characters are used as separate characters.
|
||||
A Number is first converted to a String.
|
||||
|
||||
:for [{var1}, {var2}, ...] in {listlist}
|
||||
:endfo[r]
|
||||
Like ":for" above, but each item in {listlist} must be
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*gui.txt* For Vim version 7.0aa. Last change: 2005 Jul 07
|
||||
*gui.txt* For Vim version 7.0aa. Last change: 2005 Aug 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -79,7 +79,7 @@ All this happens AFTER the normal Vim initializations, like reading your
|
||||
But the GUI window is only opened after all the initializations have been
|
||||
carried out. If you want some commands to be executed just after opening the
|
||||
GUI window, use the |GUIEnter| autocommand event. Example: >
|
||||
:autocommand GUIEnter * winpos 100 50
|
||||
:autocmd GUIEnter * winpos 100 50
|
||||
|
||||
You can use the gvimrc files to set up your own customized menus (see |:menu|)
|
||||
and initialize other things that you may want to set up differently from the
|
||||
@@ -736,9 +736,9 @@ from the main menu bar. You must then use the |:popup| or |:tearoff| command
|
||||
to display it.
|
||||
|
||||
*popup-menu*
|
||||
In the Win32, KDE, GTK+, Motif, Athena and Photon GUI, you can define the special
|
||||
menu "PopUp". This is the menu that is displayed when the right mouse button
|
||||
is pressed, if 'mousemodel' is set to popup or popup_setpos.
|
||||
In the Win32, KDE, GTK+, Motif, Athena and Photon GUI, you can define the
|
||||
special menu "PopUp". This is the menu that is displayed when the right mouse
|
||||
button is pressed, if 'mousemodel' is set to popup or popup_setpos.
|
||||
|
||||
|
||||
5.3 Showing What Menus Are Mapped To *showing-menus*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*index.txt* For Vim version 7.0aa. Last change: 2005 Jul 06
|
||||
*index.txt* For Vim version 7.0aa. Last change: 2005 Jul 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -150,6 +150,7 @@ commands in CTRL-X submode *i_CTRL-X_index*
|
||||
|i_CTRL-X_CTRL-K| CTRL-X CTRL-K complete identifiers from dictionary
|
||||
|i_CTRL-X_CTRL-L| CTRL-X CTRL-L complete whole lines
|
||||
|i_CTRL-X_CTRL-N| CTRL-X CTRL-N next completion
|
||||
|i_CTRL-X_CTRL-O| CTRL-X CTRL-O occult completion
|
||||
|i_CTRL-X_CTRL-P| CTRL-X CTRL-P previous completion
|
||||
|i_CTRL-X_CTRL-T| CTRL-X CTRL-T complete identifiers from thesaurus
|
||||
|i_CTRL-X_CTRL-Y| CTRL-X CTRL-Y scroll down
|
||||
@@ -684,6 +685,7 @@ tag char note action in Normal mode ~
|
||||
of the current screen line
|
||||
|g8| g8 print hex value of bytes used in UTF-8
|
||||
character under the cursor
|
||||
|g<| g< display previous command output
|
||||
|g?| g? 2 Rot13 encoding operator
|
||||
|g?g?| g?? 2 Rot13 encode current line
|
||||
|g?g?| g?g? 2 Rot13 encode current line
|
||||
@@ -1059,6 +1061,7 @@ The commands are sorted on the non-optional part of their name.
|
||||
|:cNfile| :cNf[ile] go to last error in previous file
|
||||
|:cabbrev| :ca[bbrev] like ":abbreviate" but for Command-line mode
|
||||
|:cabclear| :cabc[lear] clear all abbreviations for Command-line mode
|
||||
|:caddfile| :cad[dfile] add error message to current quickfix list
|
||||
|:call| :cal[l] call a function
|
||||
|:catch| :cat[ch] part of a :try command
|
||||
|:cbuffer| :cb[uffer] parse error messages and jump to first error
|
||||
@@ -1066,6 +1069,7 @@ The commands are sorted on the non-optional part of their name.
|
||||
|:cclose| :ccl[ose] close quickfix window
|
||||
|:cd| :cd change directory
|
||||
|:center| :ce[nter] format lines at the center
|
||||
|:cexpr| :cex[pr] read errors from expr and jump to first
|
||||
|:cfile| :cf[ile] read file with error messages and jump to first
|
||||
|:cfirst| :cfir[st] go to the specified error, default first one
|
||||
|:cgetfile| :cg[etfile] read file with error messages
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2005 Apr 08
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2005 Aug 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -547,7 +547,7 @@ entering new data while keeping all the columns aligned.
|
||||
==============================================================================
|
||||
7. Insert mode completion *ins-completion*
|
||||
|
||||
In Insert and Replace modes, there are several commands to complete part of a
|
||||
In Insert and Replace mode, there are several commands to complete part of a
|
||||
keyword or line that has been typed. This is useful if you are using
|
||||
complicated keywords (e.g., function names with capitals and underscores).
|
||||
|
||||
@@ -565,7 +565,9 @@ Completion can be done for:
|
||||
7. file names |i_CTRL-X_CTRL-F|
|
||||
8. definitions or macros |i_CTRL-X_CTRL-D|
|
||||
9. Vim command-line |i_CTRL-X_CTRL-V|
|
||||
10. keywords in 'complete' |i_CTRL-N|
|
||||
10. User defined completion |i_CTRL-X_CTRL-U|
|
||||
11. Occult completion |i_CTRL-X_CTRL-O|
|
||||
12. keywords in 'complete' |i_CTRL-N|
|
||||
|
||||
All these (except 2) are done in CTRL-X mode. This is a sub-mode of Insert
|
||||
and Replace modes. You enter CTRL-X mode by typing CTRL-X and one of the
|
||||
@@ -612,12 +614,12 @@ Completing whole lines *compl-whole-line*
|
||||
|
||||
*i_CTRL-X_CTRL-L*
|
||||
CTRL-X CTRL-L Search backwards for a line that starts with the
|
||||
same characters as in the current line before the
|
||||
cursor. Indent is ignored. The found line is
|
||||
same characters as those in the current line before
|
||||
the cursor. Indent is ignored. The matching line is
|
||||
inserted in front of the cursor.
|
||||
The 'complete' option is used to decide in which
|
||||
buffers a match is searched for. But only loaded
|
||||
buffers are used.
|
||||
The 'complete' option is used to decide which buffers
|
||||
are searched for a match. Only loaded buffers are
|
||||
used.
|
||||
CTRL-L or
|
||||
CTRL-P Search backwards for next matching line. This line
|
||||
replaces the previous matching line.
|
||||
@@ -839,7 +841,8 @@ CTRL-X CTRL-D Search in the current and included files for the
|
||||
Completing Vim commands *compl-vim*
|
||||
|
||||
Completion is context-sensitive. It works like on the Command-line. It
|
||||
completes an Ex command as well as its arguments.
|
||||
completes an Ex command as well as its arguments. This is useful when writing
|
||||
a Vim script.
|
||||
|
||||
*i_CTRL-X_CTRL-V*
|
||||
CTRL-X CTRL-V Guess what kind of item is in front of the cursor and
|
||||
@@ -858,7 +861,7 @@ CTRL-X CTRL-V Guess what kind of item is in front of the cursor and
|
||||
completion, for example: >
|
||||
:imap <Tab> <C-X><C-V>
|
||||
|
||||
User defined completing *compl-function*
|
||||
User defined completion *compl-function*
|
||||
|
||||
Completion is done by a function that can be defined by the user with the
|
||||
'completefunc' option. See the option for how the function is called and an
|
||||
@@ -875,6 +878,21 @@ CTRL-X CTRL-U Guess what kind of item is in front of the cursor and
|
||||
previous one.
|
||||
|
||||
|
||||
Occult completion *compl-occult*
|
||||
|
||||
Completion is done by a supernatural being.
|
||||
|
||||
*i_CTRL-X_CTRL-O*
|
||||
CTRL-X CTRL-O Guess what kind of item is in front of the cursor and
|
||||
find the first match for it.
|
||||
CTRL-O or
|
||||
CTRL-N Use the next match. This match replaces the previous
|
||||
one.
|
||||
|
||||
CTRL-P Use the previous match. This match replaces the
|
||||
previous one.
|
||||
|
||||
|
||||
Completing keywords from different sources *compl-generic*
|
||||
|
||||
*i_CTRL-N*
|
||||
@@ -1004,6 +1022,7 @@ NOTE: ":append" and ":insert" don't work properly in between ":if" and
|
||||
Note that when using this command in a function or
|
||||
script, the insertion only starts after the function
|
||||
or script is finished.
|
||||
This command does not work from |:normal|.
|
||||
{not in Vi}
|
||||
{not available when compiled without the +ex_extra
|
||||
feature}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*map.txt* For Vim version 7.0aa. Last change: 2005 Jun 03
|
||||
*map.txt* For Vim version 7.0aa. Last change: 2005 Jul 21
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -974,7 +974,7 @@ the 'path' option: >
|
||||
:com -nargs=1 -bang -complete=customlist,EditFileComplete
|
||||
\ EditFile edit<bang> <args>
|
||||
:fun EditFileComplete(A,L,P)
|
||||
: return split(globpath(&path, a:ArgLead))
|
||||
: return split(globpath(&path, a:ArgLead), "\n")
|
||||
:endfun
|
||||
<
|
||||
Range handling *E177* *E178*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*message.txt* For Vim version 7.0aa. Last change: 2005 Feb 13
|
||||
*message.txt* For Vim version 7.0aa. Last change: 2005 Aug 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -21,6 +21,14 @@ depends on the 'shortmess' option.
|
||||
|
||||
The number of remembered messages is fixed at 20.
|
||||
|
||||
*g<*
|
||||
The "g<" command can be used to see the last page of previous command output.
|
||||
This is especially useful if you accidentally typed <Space> at the hit-return
|
||||
prompt.
|
||||
Note: when you stopped the output with "q" at the more prompt only up to that
|
||||
point will be displayed.
|
||||
The previous command output is cleared when another command produces output.
|
||||
|
||||
If you are using translated messages, the first printed line tells who
|
||||
maintains the messages or the translations. You can use this to contact the
|
||||
maintainer when you spot a mistake.
|
||||
@@ -279,6 +287,19 @@ Example: >
|
||||
changes to: >
|
||||
:w! /tmp/test
|
||||
<
|
||||
*E768* >
|
||||
Swap file exists: {filename} (:silent! overrides)
|
||||
|
||||
You are protected from overwriting a file that is being edited by Vim. This
|
||||
happens when you use ":w! filename" and a swapfile is found.
|
||||
- If the swapfile was left over from an old crashed edit session you may want
|
||||
to delete the swapfile. Edit {filename} to find out information about the
|
||||
swapfile.
|
||||
- If you want to write anyway prepend ":silent!" to the command. For example: >
|
||||
:silent! w! /tmp/test
|
||||
< The special command is needed, since you already added the ! for overwriting
|
||||
an existing file.
|
||||
|
||||
*E139* >
|
||||
File is loaded in another buffer
|
||||
|
||||
@@ -714,9 +735,10 @@ a user-defined command.
|
||||
|
||||
This is an (incomplete) overview of various messages that Vim gives:
|
||||
|
||||
*hit-enter* *press-enter* *hit-return* *press-return* >
|
||||
*hit-enter* *press-enter* *hit-return*
|
||||
*press-return* *hit-enter-prompt*
|
||||
|
||||
Hit ENTER or type command to continue
|
||||
Press ENTER or type command to continue
|
||||
|
||||
This message is given when there is something on the screen for you to read,
|
||||
and the screen is about to be redrawn:
|
||||
@@ -724,10 +746,13 @@ and the screen is about to be redrawn:
|
||||
- Something is displayed on the status line that is longer than the width of
|
||||
the window, or runs into the 'showcmd' or 'ruler' output.
|
||||
|
||||
-> Hit <Enter> or <Space> to redraw the screen and continue, without that key
|
||||
being used otherwise.
|
||||
-> Hit ":" or any other Normal mode command character to start that command.
|
||||
-> Hit <C-Y> to copy (yank) a modeless selection to the clipboard register.
|
||||
-> Press <Enter> or <Space> to redraw the screen and continue, without that
|
||||
key being used otherwise.
|
||||
-> Press ':' or any other Normal mode command character to start that command.
|
||||
-> Press 'k', 'u', 'b' or 'g' to scroll back in the messages. This works the
|
||||
same way as at the |more-prompt|. Only works when 'compatible' is off and
|
||||
'more' is on.
|
||||
-> Press <C-Y> to copy (yank) a modeless selection to the clipboard register.
|
||||
-> Use a menu. The characters defined for Cmdline-mode are used.
|
||||
-> When 'mouse' contains the 'r' flag, clicking the left mouse button works
|
||||
like pressing <Space>. This makes it impossible to select text though.
|
||||
@@ -735,6 +760,9 @@ and the screen is about to be redrawn:
|
||||
pressing <Space>.
|
||||
{Vi: only ":" commands are interpreted}
|
||||
|
||||
If you accidentally hit <Enter> or <Space> and you want to see the displayed
|
||||
text then use |g<|. This only works when 'more' is set.
|
||||
|
||||
To reduce the number of hit-enter prompts:
|
||||
- Set 'cmdheight' to 2 or higher.
|
||||
- Add flags to 'shortmess'.
|
||||
@@ -746,8 +774,7 @@ group.
|
||||
|
||||
*more-prompt* *pager* >
|
||||
-- More --
|
||||
-- More -- (RET: line, SPACE: page, d: half page, q: quit)
|
||||
-- More -- (RET/BS: line, SPACE/b: page, d/u: half page, q: quit)
|
||||
-- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q: quit
|
||||
|
||||
This message is given when the screen is filled with messages. It is only
|
||||
given when the 'more' option is on. It is highlighted with the |hl-MoreMsg|
|
||||
@@ -755,11 +782,16 @@ group.
|
||||
|
||||
Type effect ~
|
||||
<CR> or <NL> or j or <Down> one more line
|
||||
d down a page (half a screen)
|
||||
<Space> or <PageDown> down a screen
|
||||
G down all the way, until the hit-enter
|
||||
prompt
|
||||
|
||||
<BS> or k or <Up> one line back (*)
|
||||
<Space> or <PageDown> next page
|
||||
b or <PageUp> previous page (*)
|
||||
d down half a page
|
||||
u up half a page (*)
|
||||
u up a page (half a screen) (*)
|
||||
b or <PageUp> back a screen (*)
|
||||
g back to the start (*)
|
||||
|
||||
q, <Esc> or CTRL-C stop the listing
|
||||
: stop the listing and enter a
|
||||
command-line
|
||||
@@ -771,8 +803,8 @@ Type effect ~
|
||||
|
||||
Any other key causes the meaning of the keys to be displayed.
|
||||
|
||||
(*) backwards scrolling is only supported for these commands: >
|
||||
:clist
|
||||
(*) backwards scrolling is {not in Vi}. Only scrolls back to where messages
|
||||
started to scroll.
|
||||
(**) Clicking the left mouse button only works:
|
||||
- For the GUI: in the last line of the screen.
|
||||
- When 'r' is included in 'mouse' (but then selecting text won't work).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*motion.txt* For Vim version 7.0aa. Last change: 2005 Apr 04
|
||||
*motion.txt* For Vim version 7.0aa. Last change: 2005 Jul 31
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -72,13 +72,13 @@ and end position. Generally, motions that move between lines affect lines
|
||||
characterwise). However, there are some exceptions.
|
||||
|
||||
*exclusive* *inclusive*
|
||||
A character motion is either inclusive or exclusive. When inclusive, the start
|
||||
and end position of the motion are included in the operation. When exclusive,
|
||||
the last character towards the end of the buffer is not included. Linewise
|
||||
motions always include the start and end position.
|
||||
A character motion is either inclusive or exclusive. When inclusive, the
|
||||
start and end position of the motion are included in the operation. When
|
||||
exclusive, the last character towards the end of the buffer is not included.
|
||||
Linewise motions always include the start and end position.
|
||||
|
||||
Which motions are linewise, inclusive or exclusive is mentioned below. There
|
||||
are however, two general exceptions:
|
||||
Which motions are linewise, inclusive or exclusive is mentioned with the
|
||||
command. There are however, two general exceptions:
|
||||
1. If the motion is exclusive and the end of the motion is in column 1, the
|
||||
end of the motion is moved to the end of the previous line and the motion
|
||||
becomes inclusive. Example: "}" moves to the first line after a paragraph,
|
||||
@@ -247,7 +247,7 @@ f{char} To [count]'th occurrence of {char} to the right. The
|
||||
|
||||
*F*
|
||||
F{char} To the [count]'th occurrence of {char} to the left.
|
||||
The cursor is placed on {char} |inclusive|.
|
||||
The cursor is placed on {char} |exclusive|.
|
||||
{char} can be entered like with the |f| command.
|
||||
|
||||
*t*
|
||||
@@ -259,7 +259,7 @@ t{char} Till before [count]'th occurrence of {char} to the
|
||||
*T*
|
||||
T{char} Till after [count]'th occurrence of {char} to the
|
||||
left. The cursor is placed on the character right of
|
||||
{char} |inclusive|.
|
||||
{char} |exclusive|.
|
||||
{char} can be entered like with the |f| command.
|
||||
|
||||
*;*
|
||||
@@ -595,6 +595,20 @@ i< "inner <> block", select [count] <> blocks, from
|
||||
'>', excluding the '<' and '>'.
|
||||
When used in Visual mode it is made characterwise.
|
||||
|
||||
*v_at* *at*
|
||||
at "a tag block", select [count] tag blocks, from the
|
||||
[count]'th unmatched "<aaa>" backwards to the matching
|
||||
"</aaa>", including the "<aaa>" and "</aaa>".
|
||||
See |tag-blocks| about the details.
|
||||
When used in Visual mode it is made characterwise.
|
||||
|
||||
*v_it* *it*
|
||||
it "inner tag block", select [count] tag blocks, from the
|
||||
[count]'th unmatched "<aaa>" backwards to the matching
|
||||
"</aaa>", excluding the "<aaa>" and "</aaa>".
|
||||
See |tag-blocks| about the details.
|
||||
When used in Visual mode it is made characterwise.
|
||||
|
||||
a} *v_a}* *a}* *a{*
|
||||
a{ *v_aB* *v_a{* *aB*
|
||||
aB "a Block", select [count] Blocks, from "[count] [{" to
|
||||
@@ -679,6 +693,25 @@ where on the object the cursor is. For example, compare "dw" and "daw": "dw"
|
||||
deletes from the cursor position to the start of the next word, "daw" deletes
|
||||
the word under the cursor and the space after or before it.
|
||||
|
||||
|
||||
Tag blocks *tag-blocks*
|
||||
|
||||
For the "it" and "at" text objects an attempt is done to select blocks between
|
||||
matching tags for HTML and XML. But since these are not completely compatible
|
||||
there are a few restrictions.
|
||||
|
||||
The normal method is to select a <tag> until the matching </tag>. For "at"
|
||||
the tags are included, for "it" they are excluded. But when "it" is repeated
|
||||
the tags will be included (otherwise nothing would change).
|
||||
|
||||
"<aaa/>" items are skipped. Case is ignored, also for XML where case does
|
||||
matter.
|
||||
|
||||
In HTML it is possible to have a tag like <br> or <meta ...> without a
|
||||
matching end tag. These are ignored.
|
||||
|
||||
The text objects are tolerant about mistakes. Stray end tags are ignored.
|
||||
|
||||
==============================================================================
|
||||
7. Marks *mark-motions* *E20* *E78*
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2005 Jul 11
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2005 Aug 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -657,12 +657,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
{not in Vi}
|
||||
{only available when compiled with the
|
||||
|+netbeans_intg| or |+sun_workshop| feature}
|
||||
When on, Vim will change its value for the current working directory
|
||||
whenever you open a file, switch buffers, delete a buffer or
|
||||
open/close a window. It will change to the directory containing the
|
||||
file which was opened or selected. This option is provided for
|
||||
backward compatibility with the Vim released with Sun ONE Studio 4
|
||||
Enterprise Edition.
|
||||
When on, Vim will change the current working directory whenever you
|
||||
open a file, switch buffers, delete a buffer or open/close a window.
|
||||
It will change to the directory containing the file which was opened
|
||||
or selected.
|
||||
This option is provided for backward compatibility with the Vim
|
||||
released with Sun ONE Studio 4 Enterprise Edition.
|
||||
Note: When this option is on some plugins may not work. The directory
|
||||
browser sets if off.
|
||||
|
||||
*'arabic'* *'arab'* *'noarabic'* *'noarab'*
|
||||
'arabic' 'arab' boolean (default off)
|
||||
@@ -1013,7 +1015,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
The evaluation of the expression must not have side effects!
|
||||
Example: >
|
||||
function! MyBalloonExpr()
|
||||
return 'Cursor is at line ' . v:beval_lnum .
|
||||
return 'Cursor is at line ' . v:beval_lnum .
|
||||
\', column ' . v:beval_col .
|
||||
\ ' of file ' . bufname(v:beval_bufnr) .
|
||||
\ ' on word "' . v:beval_text . '"'
|
||||
@@ -1026,6 +1028,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Vim does not try to send a message to an external debugger (Netbeans
|
||||
or Sun Workshop).
|
||||
|
||||
To check whether line breaks in the balloon text work use this check: >
|
||||
if has("balloon_multiline")
|
||||
<
|
||||
*'binary'* *'bin'* *'nobinary'* *'nobin'*
|
||||
'binary' 'bin' boolean (default off)
|
||||
local to buffer
|
||||
@@ -1061,7 +1066,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'bioskey' 'biosk' boolean (default on)
|
||||
global
|
||||
{not in Vi} {only for MS-DOS}
|
||||
When on the bios is called to obtain a keyboard character. This works
|
||||
When on the BIOS is called to obtain a keyboard character. This works
|
||||
better to detect CTRL-C, but only works for the console. When using a
|
||||
terminal over a serial port reset this option.
|
||||
Also see |'conskey'|.
|
||||
@@ -1579,46 +1584,88 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'completefunc' 'cfu' string (default: empty)
|
||||
local to buffer
|
||||
{not in Vi}
|
||||
This option specifies a completion function to be used for CTRL-X
|
||||
CTRL-X. The function will be invoked with four arguments:
|
||||
a:line the text of the current line
|
||||
a:base the text with which matches should match
|
||||
a:col column in a:line where the cursor is, first column is
|
||||
zero
|
||||
{not available when compiled without the +eval
|
||||
or +insert_expand feature}
|
||||
This option specifies a function to be used for CTRL-X CTRL-U
|
||||
completion. |i_CTRL-X_CTRL-U|
|
||||
|
||||
The function will be invoked with three arguments:
|
||||
a:findstart either 1 or 0
|
||||
a:col column in the cursor line where the completion ends,
|
||||
first column is zero
|
||||
a:base the text with which matches should match
|
||||
|
||||
When the a:findstart argument is 1, the function must return the
|
||||
column of where the completion starts. It must be a number between
|
||||
zero and "a:col". This involves looking at the characters in a:line
|
||||
before column a:col and include those characters that could be part of
|
||||
the completed item.
|
||||
When the a:findstart argument is 0 the function must return a string
|
||||
with the matching words, separated by newlines. When there are no
|
||||
matches return an empty string.
|
||||
zero and "a:col". This involves looking at the characters in the
|
||||
cursor line before column a:col and include those characters that
|
||||
could be part of the completed item. The text between this column and
|
||||
a:col will be replaced with the matches. Return -1 if no completion
|
||||
can be done.
|
||||
|
||||
When the a:findstart argument is 0 the function must return a List
|
||||
with the matching words. These matches should include the "a:base"
|
||||
text. When there are no matches return an empty List.
|
||||
|
||||
When searching for matches takes some time call |complete_add()| to
|
||||
add each match to the total list. These matches should then not
|
||||
appear in the returned list! Call |complete_check()| now and then to
|
||||
allow the user to press a key while still searching for matches. Stop
|
||||
searching when it returns non-zero.
|
||||
|
||||
The function must not move the cursor!
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
An example that completes the names of the months: >
|
||||
fun! CompleteMonths(line, base, col, findstart)
|
||||
fun! CompleteMonths(findstart, col, base)
|
||||
if a:findstart
|
||||
" locate start column of word
|
||||
" locate the start of the word
|
||||
let line = getline('.')
|
||||
let start = a:col
|
||||
while start > 0 && a:line[start - 1] =~ '\a'
|
||||
let start = start - 1
|
||||
while start > 0 && line[start - 1] =~ '\a'
|
||||
let start -= 1
|
||||
endwhile
|
||||
return start
|
||||
else
|
||||
" find months matching with "a:base"
|
||||
let res = "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"
|
||||
if a:base != ''
|
||||
let res = substitute(res, '\c\<\(\(' . a:base . '.\{-}\>\)\|.\{-}\>\)', '\2', 'g')
|
||||
endif
|
||||
let res = substitute(res, ' \+', "\n", 'g')
|
||||
let res = []
|
||||
for m in split("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec")
|
||||
if m =~ '^' . a:base
|
||||
call add(res, m)
|
||||
endif
|
||||
endfor
|
||||
return res
|
||||
endif
|
||||
endfun
|
||||
set completefunc=CompleteMonths
|
||||
< Note that a substitute() function is used to reduce the list of
|
||||
possible values and remove the ones that don't match the base. The
|
||||
part before the "\|" matches the base, the part after it is used
|
||||
when there is no match. The "\2" in the replacement is empty if the
|
||||
part before the "\|" does not match.
|
||||
<
|
||||
The same, but now pretending searching for matches is slow: >
|
||||
fun! CompleteMonths(findstart, col, base)
|
||||
if a:findstart
|
||||
" locate the start of the word
|
||||
let line = getline('.')
|
||||
let start = a:col
|
||||
while start > 0 && line[start - 1] =~ '\a'
|
||||
let start -= 1
|
||||
endwhile
|
||||
return start
|
||||
else
|
||||
" find months matching with "a:base"
|
||||
for m in split("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec")
|
||||
if m =~ '^' . a:base
|
||||
call complete_add(m)
|
||||
endif
|
||||
sleep 300m " simulate searching for next match
|
||||
if complete_check()
|
||||
break
|
||||
endif
|
||||
endfor
|
||||
return []
|
||||
endif
|
||||
endfun
|
||||
set completefunc=CompleteMonths
|
||||
<
|
||||
|
||||
*'confirm'* *'cf'* *'noconfirm'* *'nocf'*
|
||||
'confirm' 'cf' boolean (default off)
|
||||
@@ -2163,10 +2210,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
- A directory starting with "./" (or ".\" for MS-DOS et al.) means to
|
||||
put the swap file relative to where the edited file is. The leading
|
||||
"." is replaced with the path name of the edited file.
|
||||
- For Unix and Win32, if a directory ends in two path separators, the
|
||||
swap file name will be built from the complete path to the file
|
||||
with all path separators substituted to percent '%' signs. This will
|
||||
ensure file name uniqueness in the preserve directory.
|
||||
- For Unix and Win32, if a directory ends in two path separators "//"
|
||||
or "\\", the swap file name will be built from the complete path to
|
||||
the file with all path separators substituted to percent '%' signs.
|
||||
This will ensure file name uniqueness in the preserve directory.
|
||||
- Spaces after the comma are ignored, other spaces are considered part
|
||||
of the directory name. To have a space at the start of a directory
|
||||
name, precede it with a backslash.
|
||||
@@ -2278,8 +2325,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
setting 'encoding' to one of these values instead of utf-8 only has
|
||||
effect for encoding used for files when 'fileencoding' is empty.
|
||||
|
||||
When 'encoding' is set to a Unicode encoding, and 'fileencodings' was
|
||||
not set yet, the default for 'fileencodings' is changed.
|
||||
When 'encoding' is set to a Unicode encoding, and 'fileencodings' was
|
||||
not set yet, the default for 'fileencodings' is changed.
|
||||
|
||||
*'endofline'* *'eol'* *'noendofline'* *'noeol'*
|
||||
'endofline' 'eol' boolean (default on)
|
||||
@@ -5700,11 +5747,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
region by listing them: "en_us,en_ca" supports both US and Canadian
|
||||
English, but not words specific for Australia, New Zealand or Great
|
||||
Britain.
|
||||
As a special case the name of a .spl file can be given as-is. This is
|
||||
mainly for testing purposes. You must make sure the correct encoding
|
||||
is used, Vim doesn't check it.
|
||||
As a special case the name of a .spl file can be given as-is. The
|
||||
first "_xx" in the name is removed and used as the region name
|
||||
(_xx is an underscore, two letters and followed by a non-letter).
|
||||
This is mainly for testing purposes. You must make sure the correct
|
||||
encoding is used, Vim doesn't check it.
|
||||
When 'encoding' is set the word lists are reloaded. Thus it's a good
|
||||
idea to set 'spelllang' after setting 'encoding'.
|
||||
idea to set 'spelllang' after setting 'encoding' to avoid loading the
|
||||
files twice.
|
||||
How the related spell files are found is explained here: |spell-load|.
|
||||
|
||||
*'spellsuggest'* *'sps'*
|
||||
@@ -6021,10 +6071,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
{not in Vi}
|
||||
{not available when compiled without the |+syntax|
|
||||
feature}
|
||||
Maximum column in which to search for syntax items. With longer lines
|
||||
some parts may not be highlighted and following text may not be
|
||||
highlighted correctly (e.g., when the start or end of a region is not
|
||||
recognized because it is beyond 'synmaxcol').
|
||||
Maximum column in which to search for syntax items. In long lines the
|
||||
text after this column is not highlighted and following lines may not
|
||||
be highlighted correctly, because the syntax state is cleared.
|
||||
This helps to avoid very slow redrawing for an XML file that is one
|
||||
long line.
|
||||
Set to zero to remove the limit.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*os_vms.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
|
||||
*os_vms.txt* For Vim version 7.0aa. Last change: 2005 Jul 12
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL
|
||||
@@ -47,16 +47,19 @@ You can download precompiled executables from:
|
||||
|
||||
To use the precompiled binary version, you need one of these archives:
|
||||
|
||||
vim-XX-exe-alpha-gui.zip Alpha GUI/Motif executables
|
||||
vim-XX-exe-alpha-gtk.zip Alpha GUI/GTK executables
|
||||
vim-XX-exe-alpha-term.zip Alpha console executables
|
||||
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
|
||||
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
|
||||
vim-XX-exe-ia64-term.zip IA64 console executables
|
||||
vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
|
||||
vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
|
||||
vim-XX-exe-axp-term.zip Alpha console executables
|
||||
vim-XX-exe-vax-gui.zip VAX GUI executables
|
||||
vim-XX-exe-vax-term.zip VAX console executables
|
||||
|
||||
and of course
|
||||
vim-XX-runtime.zip runtime files
|
||||
|
||||
The binary archives contain: vim.exe, ctags.exe, xxd.exe, mms_vim.exe files.
|
||||
The binary archives contain: vim.exe, ctags.exe, xxd.exe files.
|
||||
|
||||
==============================================================================
|
||||
|
||||
@@ -68,8 +71,8 @@ See the file [.SRC]INSTALLVMS.TXT.
|
||||
|
||||
4. Problems *vms-problems*
|
||||
|
||||
The code has been tested under Open VMS 6.2 - 7.3 on Alpha and VAX platforms
|
||||
with the DEC C compiler. It should work without bigger problems.
|
||||
The code has been tested under Open VMS 6.2 - 8.2 on Alpha, VAX and IA64
|
||||
platforms with the DEC C compiler. It should work without bigger problems.
|
||||
If your system does not have some include libraries you can tune up in
|
||||
OS_VMS_CONF.H file.
|
||||
|
||||
@@ -78,6 +81,8 @@ to download OpenVMS distributions of Perl and Python. Build and deploy the
|
||||
libraries and change adequate lines in MAKE_VMS.MMS file. There should not be
|
||||
a problem from Vim side.
|
||||
|
||||
Also GTK, XPM library paths should be configured in MAKE_VMS.MMS
|
||||
|
||||
Note: Under VAX it should work with the DEC C compiler without problems. The
|
||||
VAX C compiler is not fully ANSI C compatible in pre-processor directives
|
||||
semantics, therefore you have to use a converter program what will do the lion
|
||||
@@ -250,7 +255,7 @@ you will get errors that some shareable libraries are missing.
|
||||
|
||||
Third: If you choose to run Vim with extra features such as GUI/GTK then you
|
||||
need a GTK installation too or at least a GTK runtime environment (LIBGTK
|
||||
etc.).
|
||||
can be downloaded from http://www.polarhome.com/vim/).
|
||||
|
||||
1) If you are working on the VMS X/Motif console:
|
||||
Start Vim with the command: >
|
||||
@@ -648,6 +653,17 @@ start it with: >
|
||||
|
||||
9. VMS related changes *vms-changes*
|
||||
|
||||
Version 7.0
|
||||
- GTKLIB and Vim build on IA64
|
||||
- colors in terminal mode
|
||||
- syntax highlighting in terminal mode
|
||||
- write problem fixed (extra CR)
|
||||
- ESC and ESC sequence recognition in terminal mode
|
||||
- make file changed to support new MMS version
|
||||
- env variable expansion in path corrected
|
||||
- printing problems corrected
|
||||
- help text added for case insensitive arguments
|
||||
|
||||
Version 6.3 (2004 May 10)
|
||||
- Improved vms_read function
|
||||
- CTAGS v5.5.4 included
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pi_netrw.txt* For Vim version 6.3. Last change: Oct 08, 2004
|
||||
*pi_netrw.txt* For Vim version 7.0. Last change: Aug 08, 2005
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Charles E. Campbell, Jr.
|
||||
@@ -10,17 +10,48 @@
|
||||
==============================================================================
|
||||
0. Contents *netrw-contents*
|
||||
|
||||
1. Netrw Reference.....................................|netrw-ref|
|
||||
2. Network-Oriented File Transfer......................|netrw-xfer|
|
||||
3. Activation..........................................|netrw-activate|
|
||||
4. Transparent File Transfer...........................|netrw-transparent|
|
||||
5. Ex Commands.........................................|netrw-ex|
|
||||
6. Variables and Options...............................|netrw-var|
|
||||
7. Directory Browser...................................|netrw-browse|
|
||||
8. Problems and Fixes..................................|netrw-problems|
|
||||
9. Debugging...........................................|netrw-debug|
|
||||
10. History.............................................|netrw-history|
|
||||
11. Credits.............................................|netrw-credits|
|
||||
1. Netrw Reference......................................|netrw-ref|
|
||||
2. Network-Oriented File Transfer.......................|netrw-xfer|
|
||||
NETRC..............................................|netrw-netrc|
|
||||
PASSWORD...........................................|netrw-passwd|
|
||||
3. Activation...........................................|netrw-activate|
|
||||
4. Transparent File Transfer............................|netrw-transparent|
|
||||
5. Ex Commands..........................................|netrw-ex|
|
||||
6. Variables and Options................................|netrw-var|
|
||||
7. Directory Browser....................................|netrw-browse| {{{1
|
||||
Maps...............................................|netrw-maps|
|
||||
Exploring..........................................|netrw-explore-cmds|
|
||||
Quick Reference Commands Table.....................|netrw-browse-cmds|
|
||||
Netrw Browser Variables............................|netrw-browse-var|
|
||||
Introduction To Directory Browsing.................|netrw-browse-intro|
|
||||
Directory Exploring Commands.......................|netrw-explore|
|
||||
Refreshing The Listing.............................|netrw-ctrl-l|
|
||||
Going Up...........................................|netrw--|
|
||||
Browsing...........................................|netrw-cr|
|
||||
Long Vs Short Listing..............................|netrw-i|
|
||||
Making A New Directory.............................|netrw-d|
|
||||
Deleting Files Or Directories......................|netrw-delete|
|
||||
Renaming Files Or Directories......................|netrw-move|
|
||||
Hiding Files Or Directories........................|g:netrw-a|
|
||||
Edit File Or Directory Hiding List.................|netrw-h|
|
||||
Browsing With A Horizontally Split Window..........|netrw-o|
|
||||
Preview Window.....................................|netrw-p|
|
||||
Selecting Sorting Style............................|netrw-s|
|
||||
Editing The Sorting Sequence.......................|netrw-S|
|
||||
Reversing Sorting Order............................|netrw-r|
|
||||
Changing To A Predecessor Directory................|netrw-u|
|
||||
Changing To A Successor Directory..................|netrw-U|
|
||||
Browsing With A Vertically Split Window............|netrw-v|
|
||||
Customizing Browsing With A User Function..........|netrw-x|
|
||||
Making The Browsing Directory The Current Directory|netrw-c|
|
||||
Bookmarking A Directory............................|netrw-b|
|
||||
Changing To A Bookmarked Directory.................|netrw-B|
|
||||
Listing Bookmarks And History......................|netrw-q|
|
||||
Improving Directory Browsing.......................|netrw-list-hack| }}}1
|
||||
8. Problems and Fixes...................................|netrw-problems|
|
||||
9. Debugging............................................|netrw-debug|
|
||||
10. History..............................................|netrw-history|
|
||||
11. Credits..............................................|netrw-credits|
|
||||
|
||||
The functionality mentioned here is done via using |standard-plugin|
|
||||
techniques. This plugin is only available if
|
||||
@@ -140,7 +171,7 @@ in your <.vimrc> file: >
|
||||
|
||||
example: vim scp://user@host/somefile
|
||||
example: vim scp://user@host/subdir1/subdir2/somefile
|
||||
|
||||
|
||||
where "somefile" is the "user"'s home directory. If you wish to get a
|
||||
file using root-relative paths, use the full path:
|
||||
|
||||
@@ -177,16 +208,16 @@ by setting a variable (ex. scp uses the variable g:netrw_scp_cmd,
|
||||
which is defaulted to "scp -q").
|
||||
|
||||
Ftp, an old protocol, seems to be blessed by numerous implementations.
|
||||
Unfortunately, some implementations are noisy (i.e., add junk to the end
|
||||
Unfortunately, some implementations are noisy (ie., add junk to the end
|
||||
of the file). Thus, concerned users may decide to write a NetReadFixup()
|
||||
function that will clean up after reading with their ftp. Some Unix systems
|
||||
(i.e., FreeBSD) provide a utility called "fetch" which uses the ftp protocol
|
||||
(ie., FreeBSD) provide a utility called "fetch" which uses the ftp protocol
|
||||
but is not noisy and more convenient, actually, for <netrw.vim> to use.
|
||||
Consequently, if "fetch" is executable, it will be used to do reads for
|
||||
ftp://... (and http://...) . See |netrw-var| for more about this.
|
||||
|
||||
For rcp, scp, sftp, and http, one may use network-oriented file transfers
|
||||
transparently; i.e.
|
||||
transparently; ie.
|
||||
>
|
||||
vim rcp://[user@]machine/path
|
||||
vim scp://[user@]machine/path
|
||||
@@ -198,7 +229,7 @@ that file. Your ftp must be able to use the <.netrc> file on its own, however.
|
||||
vim ftp://[user@]machine[[:#]portnumber]/path
|
||||
<
|
||||
However, ftp will often need to query the user for the userid and password.
|
||||
The latter will be done "silently"; i.e. 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
|
||||
for subsequent read/writes from the most recent transfer so subsequent
|
||||
transfers (read/write) to or from that machine will take place without
|
||||
@@ -482,7 +513,7 @@ To handle the SSL certificate dialog for untrusted servers, one may pull
|
||||
down the certificate and place it into /usr/ssl/cert.pem. This operation
|
||||
renders the server treatment as "trusted".
|
||||
|
||||
*netrw-fixup*
|
||||
*netrw-fixup* *netreadfixup*
|
||||
If your ftp for whatever reason generates unwanted lines (such as AUTH
|
||||
messages) you may write a NetReadFixup(tmpfile) function:
|
||||
>
|
||||
@@ -521,30 +552,40 @@ from <netrw.vim> itself:
|
||||
|
||||
==============================================================================
|
||||
7. Directory Browser *netrw-browse* *netrw-dir* *netrw-list* *netrw-help*
|
||||
?..........Help....................................|netrw-help|
|
||||
<cr>.......Browsing................................|netrw-cr|
|
||||
<del>......Deleting Files or Directories...........|netrw-delete|
|
||||
-..........Going Up................................|netrw--|
|
||||
a..........Hiding Files or Directories.............|netrw-a|
|
||||
b..........Bookmarking a Directory.................|netrw-b|
|
||||
B..........Changing to a Bookmarked Directory......|netrw-B|
|
||||
c..........Make Browsing Directory The Current Dir.|netrw-c|
|
||||
d..........Make A New Directory....................|netrw-d|
|
||||
D..........Deleting Files or Directories...........|netrw-D|
|
||||
<c-h>......Edit File/Directory Hiding List.........|netrw-h|
|
||||
i..........Long Listing............................|netrw-i|
|
||||
<c-l>......Refreshing the Listing..................|netrw-ctrl-l|
|
||||
o..........Browsing with a Horizontal Split........|netrw-o|
|
||||
p..........Preview Window..........................|netrw-p|
|
||||
q..........Listing Bookmarks and History...........|netrw-q|
|
||||
r..........Reversing Sorting Order.................|netrw-r|
|
||||
R..........Renaming Files or Directories...........|netrw-R|
|
||||
s..........Selecting Sorting Style.................|netrw-s|
|
||||
S..........Editing the Sorting Sequence............|netrw-S|
|
||||
u..........Changing to a Predecessor Directory.....|netrw-u|
|
||||
U..........Changing to a Successor Directory.......|netrw-U|
|
||||
v..........Browsing with a Vertical Split..........|netrw-v|
|
||||
x..........Customizing Browsing....................|netrw-x|
|
||||
|
||||
MAPS *netrw-maps*
|
||||
?................Help.......................................|netrw-help|
|
||||
<cr>.............Browsing...................................|netrw-cr|
|
||||
<del>............Deleting Files or Directories..............|netrw-delete|
|
||||
-................Going Up...................................|netrw--|
|
||||
a................Hiding Files or Directories................|netrw-a|
|
||||
b................Bookmarking a Directory....................|netrw-b|
|
||||
B................Changing to a Bookmarked Directory.........|netrw-B|
|
||||
c................Make Browsing Directory The Current Dir....|netrw-c|
|
||||
d................Make A New Directory.......................|netrw-d|
|
||||
D................Deleting Files or Directories..............|netrw-D|
|
||||
<c-h>............Edit File/Directory Hiding List............|netrw-h|
|
||||
i................Long Listing...............................|netrw-i|
|
||||
<c-l>............Refreshing the Listing.....................|netrw-ctrl-l|
|
||||
o................Browsing with a Horizontal Split...........|netrw-o|
|
||||
p................Preview Window.............................|netrw-p|
|
||||
q................Listing Bookmarks and History..............|netrw-q|
|
||||
r................Reversing Sorting Order....................|netrw-r|
|
||||
R................Renaming Files or Directories..............|netrw-R|
|
||||
s................Selecting Sorting Style....................|netrw-s|
|
||||
S................Editing the Sorting Sequence...............|netrw-S|
|
||||
u................Changing to a Predecessor Directory........|netrw-u|
|
||||
U................Changing to a Successor Directory..........|netrw-U|
|
||||
v................Browsing with a Vertical Split.............|netrw-v|
|
||||
x................Customizing Browsing.......................|netrw-x|
|
||||
|
||||
COMMANDS *netrw-explore-cmds*
|
||||
:Explore[!] [dir].Explore directory of current file........|netrw-explore|
|
||||
:Sexplore[!] [dir].Split & Explore directory of current file|netrw-explore|
|
||||
:Hexplore[!] [dir].Horizontal Split & Explore...............|netrw-explore|
|
||||
:Vexplore[!] [dir].Vertical Split & Explore.................|netrw-explore|
|
||||
:Pexplore[!] [dir].Vertical Split & Explore.................|netrw-explore|
|
||||
:Nexplore[!] [dir].Vertical Split & Explore.................|netrw-explore|
|
||||
|
||||
QUICK REFERENCE COMMANDS TABLE *netrw-browse-cmds*
|
||||
>
|
||||
@@ -567,6 +608,7 @@ QUICK REFERENCE COMMANDS TABLE *netrw-browse-cmds*
|
||||
<c-l> Causes Netrw to refresh the directory listing
|
||||
o Enter the file/directory under the cursor in a new browser
|
||||
window. A horizontal split is used.
|
||||
p Preview the file
|
||||
r Reverse sorting order
|
||||
s Select sorting style: by name, time, or file size
|
||||
v Enter the file/directory under the cursor in a new browser
|
||||
@@ -581,51 +623,103 @@ NETRW BROWSER VARIABLES *netrw-browse-var*
|
||||
< g:netrw_alto change from above splitting to
|
||||
below splitting by setting this
|
||||
variable (see |netrw-o|)
|
||||
default: =0
|
||||
|
||||
g:netrw_altv change from left splitting to
|
||||
right splitting by setting this
|
||||
variable (see |netrw-v|)
|
||||
default: =0
|
||||
|
||||
g:netrw_ftp_browse_reject ftp can produce a number of errors
|
||||
and warnings that can show up as
|
||||
"directories" and "files" in the
|
||||
listing. This pattern is used to
|
||||
remove such embedded messages.
|
||||
remove such embedded messages. By
|
||||
default its value is:
|
||||
'^total\s\+\d\+$\|
|
||||
^Trying\s\+\d\+.*$\|
|
||||
^KERBEROS_V\d rejected\|
|
||||
^Security extensions not\|
|
||||
No such file\|
|
||||
: connect to address [0-9a-fA-F:]*
|
||||
: No route to host$'
|
||||
|
||||
g:netrw_ssh_browse_reject ssh can sometimes produce unwanted
|
||||
lines/messages/banners/and whatnot
|
||||
that one doesn't want masquerading
|
||||
as "directories" and "files". Use
|
||||
this pattern to remove such embedded
|
||||
messages. By default its value is:
|
||||
'^total\s\+\d\+$'
|
||||
|
||||
g:netrw_keepdir =1 (default) keep current directory
|
||||
immune from the browsing directory.
|
||||
=0 keep the current directory the
|
||||
same as the browsing directory.
|
||||
The browsing directory is contained in
|
||||
b:netrw_curdir
|
||||
|
||||
g:netrw_list_cmd command for listing remote directories
|
||||
default: (if ssh is executable)
|
||||
"ssh HOSTNAME ls -FLa"
|
||||
|
||||
g:netrw_longlist if =1, then long listing will be default
|
||||
|
||||
g:netrw_ftp_list_cmd options for passing along to ftp for
|
||||
directory listing. Defaults:
|
||||
unix or g:netrw_cygwin set: : "ls -lF"
|
||||
otherwise "dir"
|
||||
|
||||
g:netrw_list_hide comma separated list of patterns for
|
||||
hiding files
|
||||
default: ""
|
||||
|
||||
g:netrw_local_mkdir command for making a local directory
|
||||
default: "ssh HOSTNAME mkdir"
|
||||
|
||||
g:netrw_local_rmdir remove directory command (rmdir)
|
||||
g:netrw_local_rename rename file/directory command
|
||||
unix-default: rm win32-default: ren
|
||||
default: "rmdir"
|
||||
|
||||
g:netrw_maxfilenamelen =32 by default, selected so as to make
|
||||
long listings fit on 80 column displays.
|
||||
If your screen is wider, and you have
|
||||
file/directory names longer than 32 bytes,
|
||||
you may set this option to keep listings
|
||||
columnar.
|
||||
|
||||
g:netrw_mkdir_cmd command for making a remote directory
|
||||
default: "ssh HOSTNAME mkdir"
|
||||
|
||||
g:netrw_rm_cmd command for removing files
|
||||
default: "ssh HOSTNAME rm"
|
||||
|
||||
g:netrw_rmdir_cmd command for removing directories
|
||||
default: "ssh HOSTNAME rmdir"
|
||||
|
||||
g:netrw_rmf_cmd command for removing softlinks
|
||||
default: "ssh HOSTNAME rm -f"
|
||||
|
||||
g:netrw_hide if true, the hiding list is used
|
||||
default: =0
|
||||
|
||||
g:netrw_sort_by sort by "name", "time", or "size"
|
||||
default: "name"
|
||||
|
||||
g:netrw_sort_direction sorting direction: "normal" or "reverse"
|
||||
default: "normal"
|
||||
|
||||
g:netrw_sort_sequence when sorting by name, first sort by the
|
||||
comma-separated pattern sequence
|
||||
g:netrw_timefmt specify format string to strftime() (%c)
|
||||
g:netrw_winsize specify initial size of new o/v windows
|
||||
default: '[\/]$,*,\.bak$,\.o$,\.h$,
|
||||
\.info$,\.swp$,\.obj$'
|
||||
|
||||
INTRODUCTION TO DIRECTORY BROWSING *file-explorer*
|
||||
g:netrw_timefmt specify format string to strftime() (%c)
|
||||
default: "%c"
|
||||
|
||||
g:netrw_winsize specify initial size of new o/v windows
|
||||
default: ""
|
||||
|
||||
INTRODUCTION TO DIRECTORY BROWSING *netrw-browse-intro*
|
||||
|
||||
Netrw supports the browsing of directories on the local system and on remote
|
||||
hosts, including generating listing directories, entering directories, editing
|
||||
@@ -647,6 +741,64 @@ trailing slash and it will be interpreted as a request to list a directory:
|
||||
If you'd like to avoid entering the password in for directory listings, scp,
|
||||
ssh interaction, etc, see |netrw-list-hack|.
|
||||
|
||||
*netrw-explore* *netrw-pexplore*
|
||||
*netrw-hexplore* *netrw-sexplore*
|
||||
DIRECTORY EXPLORING COMMANDS *netrw-nexplore* *netrw-vexplore*
|
||||
|
||||
:Explore[!] [dir]... Explore directory of current file
|
||||
:Sexplore[!] [dir]... Split & Explore directory of current file
|
||||
:Hexplore[!] [dir]... Horizontal Split & Explore
|
||||
:Vexplore[!] [dir]... Vertical Split & Explore
|
||||
:Nexplore............. used with **/patterns; go to next matching file
|
||||
:Pexplore............. used with **/patterns; go to previous matching file
|
||||
|
||||
The Explore command will open the local-directory browser on the current
|
||||
file's directory (or on directory [dir] if specified). The window will be
|
||||
split only if the file has been modified, otherwise the browsing window will
|
||||
take over that window. Normally the splitting is taken horizontally; the
|
||||
optional ! will use vertical splitting.
|
||||
|
||||
Sexplore will always split the window before invoking the local-directory
|
||||
browser. As with Explore, the splitting is normally done horizontally, but
|
||||
with the optional ! the splitting will be done vertically.
|
||||
|
||||
Hexplore does an Explore with |belowright| horizontal splitting; the
|
||||
optional ! does the Explore with |aboveleft| horizontal splitting.
|
||||
|
||||
Vexplore does an Explore with |leftabove| vertical splitting; the
|
||||
optional "!" does an Explore with |topleft| vertical splitting.
|
||||
|
||||
(Following needs v7.0 or later) *netrw-starstar*
|
||||
When Explore, Sexplore, Hexplore, or Vexplore are used like
|
||||
>
|
||||
:Explore **/filename_pattern
|
||||
<
|
||||
netrw will attempt to find a (sub)directory which matches the filename
|
||||
pattern. Internally, it produces a list of files which match the pattern
|
||||
and their paths; to that extent it resembles the Unix operation:
|
||||
>
|
||||
find $(pwd) -name "$1" -exec "echo" "{}" ";" 2> /dev/null
|
||||
<
|
||||
The directory display is updated to show the subdirectory containing a
|
||||
matching file. One may then proceed to the next (or previous) matching files'
|
||||
directories by using Nexplore or Pexplore, respectively. If your console or
|
||||
gui produces recognizable shift-up or shift-down sequences, then you'll likely
|
||||
find the following mappings convenient:
|
||||
|
||||
<s-down> == Nexplore, and
|
||||
<s-up> == Pexplore.
|
||||
|
||||
As an example, consider
|
||||
>
|
||||
:Explore **/*.c
|
||||
:Nexplore
|
||||
:Nexplore
|
||||
:Pexplore
|
||||
<
|
||||
The status line will show, on the right hand side of the status line, a
|
||||
message like "Match 3 of 20".
|
||||
|
||||
|
||||
REFRESHING THE LISTING *netrw-ctrl-l*
|
||||
|
||||
To refresh either a local or remote directory listing, press ctrl-l (<c-l>) or
|
||||
@@ -677,6 +829,7 @@ Hitting the <cr> (the return key) will select the file or directory.
|
||||
Directories will themselves be listed, and files will be opened using the
|
||||
protocol given in the original read request.
|
||||
|
||||
|
||||
LONG VS SHORT LISTING *netrw-i*
|
||||
|
||||
The short listing format gives just the files' and directories' names.
|
||||
@@ -694,6 +847,7 @@ new directory's name. A bare <CR> at that point will abort the making of the
|
||||
directory. Attempts to make a local directory that already exists (as either
|
||||
a file or a directory) will be detected, reported on, and ignored.
|
||||
|
||||
|
||||
DELETING FILES OR DIRECTORIES *netrw-delete* *netrw-D*
|
||||
|
||||
Deleting/removing files and directories involves moving the cursor to the
|
||||
@@ -740,15 +894,22 @@ One may rename a block of files and directories by selecting them with
|
||||
the V (|linewise-visual|).
|
||||
|
||||
|
||||
HIDING FILES OR DIRECTORIES *netrw-a* *g:netrw_list_hide*
|
||||
HIDING FILES OR DIRECTORIES *g:netrw-a* *g:netrw_list_hide*
|
||||
|
||||
Netrw's browsing facility allows one to use the hiding list in one of
|
||||
three ways: ignore it, hide files which match, and show only those files
|
||||
which match. The g:netrw_list_hide variable holds a comma delimited list
|
||||
of patterns (ex. \.obj) which specify the hiding list. (also see |netrw-h|)
|
||||
which match. The "a" map allows the user to cycle about these three ways.
|
||||
|
||||
The g:netrw_list_hide variable holds a comma delimited list of patterns
|
||||
(ex. \.obj) which specify the hiding list. (also see |netrw-h|) To
|
||||
set the hiding list, use the <c-h> map. As an example, to hide files
|
||||
which begin with a ".", one may use the <c-h> map to set the hiding
|
||||
list to '^\..*' (or one may put let g:netrw_list_hide= '^\..*' in
|
||||
one's <.vimrc>). One may then use the "a" key to show all files,
|
||||
hide matching files, or to show only the matching files.
|
||||
|
||||
|
||||
EDIT FILE OR DIRECTORY HIDING LIST *netrw-h*
|
||||
EDIT FILE OR DIRECTORY HIDING LIST *netrw-h* *netrw-edithide*
|
||||
|
||||
The "<ctrl-h>" map brings up a requestor allowing the user to change the
|
||||
file/directory hiding list. The hiding list consists of one or more patterns
|
||||
@@ -756,7 +917,7 @@ delimited by commas. Files and/or directories satisfying these patterns will
|
||||
either be hidden (ie. not shown) or be the only ones displayed (see |netrw-a|).
|
||||
|
||||
|
||||
BROWSING WITH A HORIZONTALLY SPLIT WINDOW *netrw-o*
|
||||
BROWSING WITH A HORIZONTALLY SPLIT WINDOW *netrw-o* *netrw-horiz*
|
||||
|
||||
Normally one enters a file or directory using the <cr>. However, the "o" map
|
||||
allows one to open a new window to hold the new directory listing or file. A
|
||||
@@ -770,20 +931,21 @@ with the new window and cursor at the bottom, have
|
||||
|
||||
in your <.vimrc>.
|
||||
|
||||
PREVIEW WINDOW
|
||||
|
||||
PREVIEW WINDOW *netrw-p* *netrw-preview*
|
||||
|
||||
One may use a preview window (currently only for local browsing) by using
|
||||
the "p" key when the cursor is atop the desired filename to be previewed.
|
||||
|
||||
|
||||
SELECTING SORTING STYLE *netrw-s*
|
||||
SELECTING SORTING STYLE *netrw-s* *netrw-sort*
|
||||
|
||||
One may select the sorting style by name, time, or (file) size. The
|
||||
"s" map allows one to circulate among the three choices; the directory
|
||||
listing will automatically be refreshed to reflect the selected style.
|
||||
|
||||
|
||||
EDITING THE SORTING SEQUENCE *netrw-S*
|
||||
EDITING THE SORTING SEQUENCE *netrw-S* *netrw-sortsequence*
|
||||
|
||||
When "Sorted by" is name, one may specify priority via the sorting
|
||||
sequence (g:netrw_sort_sequence). The sorting sequence typically
|
||||
@@ -798,13 +960,13 @@ the g:netrw_sort_sequence variable (either manually or in your <.vimrc>)
|
||||
or by using the "S" map.
|
||||
|
||||
|
||||
REVERSING SORTING ORDER *netrw-r*
|
||||
REVERSING SORTING ORDER *netrw-r* *netrw-reverse*
|
||||
|
||||
One may toggle between normal and reverse sorting order by pressing the
|
||||
"r" key.
|
||||
|
||||
|
||||
CHANGING TO A PREDECESSOR DIRECTORY *netrw-u*
|
||||
CHANGING TO A PREDECESSOR DIRECTORY *netrw-u* *netrw-updir*
|
||||
|
||||
Every time you change to a new directory (new for the current session),
|
||||
netrw will save the directory in a recently-visited directory history
|
||||
@@ -813,7 +975,7 @@ list (unless g:netrw_dirhistmax is zero; by default, its ten). With the
|
||||
the opposite, see |netrw-U|.
|
||||
|
||||
|
||||
CHANGING TO A SUCCESSOR DIRECTORY *netrw-U*
|
||||
CHANGING TO A SUCCESSOR DIRECTORY *netrw-U* *netrw-downdir*
|
||||
|
||||
With the "U" map, one can change to a later directory (successor).
|
||||
This map is the opposite of the "u" map. (see |netrw-u|) Use the
|
||||
@@ -835,7 +997,7 @@ with the new window and cursor at the right, have
|
||||
in your <.vimrc>.
|
||||
|
||||
|
||||
CUSTOMIZING BROWSING WITH A USER FUNCTION *netrw-x*
|
||||
CUSTOMIZING BROWSING WITH A USER FUNCTION *netrw-x* *netrw-handler*
|
||||
|
||||
One may "enter" a file with a special handler, thereby firing up a browser or
|
||||
other application, for example, on a file by hitting the "x" key. Presumably
|
||||
@@ -867,10 +1029,10 @@ the current directory to the current browsing directory.
|
||||
|
||||
BOOKMARKING A DIRECTORY *netrw-b* *netrw-bookmark* *netrw-bookmarks*
|
||||
|
||||
One may easily "bookmark" a directory by using
|
||||
One may easily "bookmark" a directory by using >
|
||||
|
||||
{cnt}b
|
||||
|
||||
<
|
||||
Any count may be used. One may use viminfo's "!" option to retain bookmarks
|
||||
between vim sessions. See |netrw-B| for how to return to a bookmark and
|
||||
|netrw-q| for how to list them.
|
||||
@@ -886,13 +1048,13 @@ Any count may be used to reference any of the bookmarks. See |netrw-b|
|
||||
for how to bookmark a directory and |netrw-q| for how to list them.
|
||||
|
||||
|
||||
LISTING BOOKMARKS AND HISTORY *netrw-q*
|
||||
LISTING BOOKMARKS AND HISTORY *netrw-q* *netrw-listbookmark*
|
||||
|
||||
Pressing "q" will list the bookmarked directories and directory traversal
|
||||
history (query). (see |netrw-b|, |netrw-B|, |netrw-u|, and |netrw-U|)
|
||||
|
||||
|
||||
IMPROVING DIRECTORY BROWSING *netrw-list-hack*
|
||||
IMPROVING DIRECTORY BROWSING *netrw-listhack*
|
||||
|
||||
Especially with the remote directory browser, constantly entering the password
|
||||
is tedious.
|
||||
@@ -918,8 +1080,8 @@ the associated security issues.
|
||||
<.vimrc> file:
|
||||
|
||||
let g:netrw_win95ftp= 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
P2. I use windows, and my network browsing with ftp doesn't sort by
|
||||
time or size
|
||||
@@ -965,7 +1127,7 @@ the associated security issues.
|
||||
How do I do that?
|
||||
|
||||
let g:netrw_keepdir= 0
|
||||
|
||||
|
||||
|
||||
==============================================================================
|
||||
9. Debugging *netrw-debug*
|
||||
@@ -984,7 +1146,7 @@ which is loaded automatically at startup (assuming :set nocp).
|
||||
http://vim.sourceforge.net/scripts/script.php?script_id=120
|
||||
|
||||
and put it into your local plugin directory.
|
||||
|
||||
|
||||
2. <Decho.vim> itself needs the <cecutil.vim> script, so you'll need
|
||||
to put it into your .vim/plugin, too. You may obtain it from:
|
||||
|
||||
@@ -1017,6 +1179,46 @@ which is loaded automatically at startup (assuming :set nocp).
|
||||
==============================================================================
|
||||
10. History *netrw-history*
|
||||
|
||||
v59: * bugfix -- another keepalt work-around installed (for vim6.3)
|
||||
* "Match # of #" for Explore **/pattern matches
|
||||
v58: * Explore and relatives can now handle **/somefilepattern (v7)
|
||||
* Nexplore and Pexplore introduced (v7). shift-down and shift-up
|
||||
cursor keys will invoke Nexplore and Pexplore, respectively.
|
||||
* bug fixed with o and v
|
||||
* autochdir only worked around for vim when it has been
|
||||
compiled with either |+netbeans_intg| or |+sun_workshop|
|
||||
* Under Windows, all directories and files were being preceded
|
||||
with a "/" when local browsing. Fixed.
|
||||
* When: syntax highlighting is off, laststatus=2, and remote
|
||||
browsing is used, sometimes the laststatus highlighting
|
||||
bleeds into the entire display. Work around - do an extra
|
||||
redraw in that case.
|
||||
* Bugfix: when g:netrw_keepdir=0, due to re-use of buffers,
|
||||
netrw didn't change the directory when it should've
|
||||
* Bugfix: D and R commands work again
|
||||
v57: * Explore and relatives can now handle RO files
|
||||
* reverse sort restored with vim7's sort command
|
||||
* g:netrw_keepdir now being used to keep the current directory
|
||||
unchanged as intended (sense change)
|
||||
* vim 6.3 still supported
|
||||
v56: * LocalBrowse now saves autochdir setting, unsets it, and
|
||||
restores it before returning.
|
||||
* using vim's rename() instead of system + local_rename variable
|
||||
* avoids changing directory when g:netrw_keepdir is false
|
||||
v55: * -bar used with :Explore :Sexplore etc to allow multiple
|
||||
commands to be separated by |s
|
||||
* browser listings now use the "nowrap" option
|
||||
* browser: some unuseful error messages now suppressed
|
||||
v54: * For backwards compatibility, Explore and Sexplore have been
|
||||
implemented. In addition, Hexplore and Vexplore commands
|
||||
are available, too.
|
||||
* <amatch> used instead of <afile> in the transparency
|
||||
support (BufReadCmd, FileReadCmd, FileWriteCmd)
|
||||
* ***netrw*** prepended to various error messages netrw may emit
|
||||
* g:netrw_port used instead of b:netrw_port for scp
|
||||
* any leading [:#] is removed from port numbers
|
||||
v53: * backslashes as well as slashes placed in various patterns
|
||||
(ex. g:netrw_sort_sequence) to better support Windows
|
||||
v52: * nonumber'ing now set for browsing buffers
|
||||
* when the hiding list hid all files, error messages ensued. Fixed
|
||||
* when browsing, swf is set, but directory is not set, when netrw
|
||||
@@ -1120,4 +1322,4 @@ which is loaded automatically at startup (assuming :set nocp).
|
||||
Doug Claar -- modifications to test for success with ftp operation
|
||||
|
||||
==============================================================================
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
vim:tw=78:ts=8:ft=help:norl:fdm=marker
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*quickfix.txt* For Vim version 7.0aa. Last change: 2005 May 20
|
||||
*quickfix.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -110,6 +110,11 @@ The following quickfix commands can be used:
|
||||
Read the error file. Just like ":cfile" but don't
|
||||
jump to the first error.
|
||||
|
||||
*:cad* *:caddfile*
|
||||
:cad[dfile] [errorfile] Read the error file and add the errors from the
|
||||
errorfile to the current quickfix list. If a quickfix
|
||||
list is not present, then a new list is created.
|
||||
|
||||
*:cb* *:cbuffer* *E681*
|
||||
:cb[uffer] [bufnr] Read the error list from the current buffer.
|
||||
When [bufnr] is given it must be the number of a
|
||||
@@ -118,6 +123,19 @@ The following quickfix commands can be used:
|
||||
A range can be specified for the lines to be used.
|
||||
Otherwise all lines in the buffer are used.
|
||||
|
||||
*:cex* *:cexpr*
|
||||
:cex[pr][!] {expr} Create a quickfix list using the result of {expr}.
|
||||
If {expr} is a String, then each new-line terminated
|
||||
line in the String is processed using 'errorformat'
|
||||
and the result is added to the quickfix list.
|
||||
If {expr} is a List, then each String item in the list
|
||||
is processed and added to the quickfix list.
|
||||
Non String items in the List are ignored. See |:cc|
|
||||
for [!].
|
||||
Examples: >
|
||||
:cexpr system('grep -n xyz *')
|
||||
:cexpr getline(1, '$')
|
||||
<
|
||||
*:cl* *:clist*
|
||||
:cl[ist] [from] [, [to]]
|
||||
List all errors that are valid |quickfix-valid|.
|
||||
@@ -334,6 +352,8 @@ advantages are:
|
||||
Examples: >
|
||||
:vimgrep /an error/ *.c
|
||||
:vimgrep /\<FileName\>/ *.h include/*
|
||||
:vimgrep /myfunc/ **/*.c
|
||||
< For the use of "**" see |starstar-wildcard|.
|
||||
|
||||
:vim[grep][!] {pattern} {file} ...
|
||||
Like above, but instead of enclosing the pattern in a
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*quickref.txt* For Vim version 7.0aa. Last change: 2005 Jul 06
|
||||
*quickref.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -848,6 +848,7 @@ Short explanation of each option: *option-list*
|
||||
|'swapfile'| |'swf'| whether to use a swapfile for a buffer
|
||||
|'swapsync'| |'sws'| how to sync the swap file
|
||||
|'switchbuf'| |'swb'| sets behavior when switching to another buffer
|
||||
|'synmaxcol'| |'smc'| maximum column to find syntax items
|
||||
|'syntax'| |'syn'| syntax to be loaded for current buffer
|
||||
|'tabstop'| |'ts'| number of spaces that <Tab> in file uses
|
||||
|'tagbsearch'| |'tbs'| use binary searching in tags files
|
||||
@@ -932,6 +933,11 @@ Short explanation of each option: *option-list*
|
||||
|:cprevious| :cp display the previous error
|
||||
|:clist| :cl list all errors
|
||||
|:cfile| :cf read errors from the file 'errorfile'
|
||||
|:cgetfile| :cg like :cfile but don't jump to the first error
|
||||
|:caddfile| :cad add errors from the error file to the current
|
||||
quickfix list
|
||||
|:cbuffer| :cb read errors from text in a buffer
|
||||
|:cexpr| :cex read errors from an expression
|
||||
|:cquit| :cq quit without writing and return error code (to
|
||||
the compiler)
|
||||
|:make| :make [args] start make, read errors, and jump to first
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*spell.txt* For Vim version 7.0aa. Last change: 2005 Jul 05
|
||||
*spell.txt* For Vim version 7.0aa. Last change: 2005 Jul 31
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -33,6 +33,11 @@ The words that are not recognized are highlighted with one of these:
|
||||
|
||||
Vim only checks words for spelling, there is no grammar check.
|
||||
|
||||
If the 'mousemodel' option is set to "popup" and the cursor is on a badly
|
||||
spelled word or it is "popup_setpos" and the mouse pointer is on a badly
|
||||
spelled word, then the popup menu will contain an submenu to replace the bad
|
||||
word. Note: this slows down the appearance of the popup menu.
|
||||
|
||||
To search for the next misspelled word:
|
||||
|
||||
*]s* *E756*
|
||||
@@ -686,7 +691,10 @@ in the .aff file:
|
||||
PFXPOSTPONE ~
|
||||
|
||||
Only prefixes without a chop string can be postponed, prefixes with a chop
|
||||
string will still be included in the word list.
|
||||
string will still be included in the word list. An exception if the chop
|
||||
string is one character and equal to the last character of the added string,
|
||||
but in lower case. Thus when the chop string is used to allow the following
|
||||
word to start with an upper case letter.
|
||||
|
||||
|
||||
KEEP-CASE WORDS
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2005 Jul 05
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2005 Jul 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -2516,17 +2516,17 @@ It will look much better with a font in a quadratic cell size, e.g. for X: >
|
||||
|
||||
Vim understands three types of syntax items:
|
||||
|
||||
1. Keyword.
|
||||
1. Keyword
|
||||
It can only contain keyword characters, according to the 'iskeyword'
|
||||
option. It cannot contain other syntax items. It will only match with a
|
||||
complete word (there are no keyword characters before or after the match).
|
||||
The keyword "if" would match in "if(a=b)", but not in "ifdef x", because
|
||||
"(" is not a keyword character and "d" is.
|
||||
|
||||
2. Match.
|
||||
2. Match
|
||||
This is a match with a single regexp pattern.
|
||||
|
||||
3. Region.
|
||||
3. Region
|
||||
This starts at a match of the "start" regexp pattern and ends with a match
|
||||
with the "end" regexp pattern. Any other text can appear in between. A
|
||||
"skip" regexp pattern can be used to avoid matching the "end" pattern.
|
||||
@@ -2565,13 +2565,30 @@ When several syntax items may match, these rules are used:
|
||||
|
||||
DEFINING CASE *:syn-case* *E390*
|
||||
|
||||
:sy[ntax] case [match|ignore]
|
||||
:sy[ntax] case [match | ignore]
|
||||
This defines if the following ":syntax" commands will work with
|
||||
matching case, when using "match", or with ignoring case, when using
|
||||
"ignore". Note that any items before this are not affected, and all
|
||||
items until the next ":syntax case" command are affected.
|
||||
|
||||
|
||||
SPELL CHECKING *:syn-spell*
|
||||
|
||||
:sy[ntax] spell [toplevel | notoplevel | default]
|
||||
This defines where spell checking is to be done for text that is not
|
||||
in a syntax item:
|
||||
|
||||
toplevel: Text is spell checked.
|
||||
notoplevel: Text is not spell checked.
|
||||
default: When there is a @Spell cluster no spell checking.
|
||||
|
||||
For text in syntax items use the @Spell and @NoSpell clusters
|
||||
|spell-syntax|. When there is no @Spell and no @NoSpell cluster then
|
||||
spell checking is done for "default" and "toplevel".
|
||||
|
||||
To activate spell checking the 'spell' option must be set.
|
||||
|
||||
|
||||
DEFINING KEYWORDS *:syn-keyword*
|
||||
|
||||
:sy[ntax] keyword {group-name} [{options}] {keyword} .. [{options}]
|
||||
@@ -3624,6 +3641,16 @@ specified field is used, and settings are merged with previous ones. So, the
|
||||
result is like this single command has been used: >
|
||||
:hi Comment term=bold ctermfg=Cyan guifg=#80a0ff gui=bold
|
||||
<
|
||||
When listing a highlight group and 'verbose' is non-zero, the listing will
|
||||
also tell where it was last set. Example: >
|
||||
:verbose hi Comment
|
||||
< Comment xxx term=bold ctermfg=4 guifg=Blue ~
|
||||
Last set from /home/mool/vim/vim7/runtime/syntax/syncolor.vim ~
|
||||
|
||||
For details about when this message is given and when it's valid see
|
||||
|:set-verbose|. When ":hi clear" is used then the script where this command
|
||||
is used will be mentioned for the default values.
|
||||
|
||||
*highlight-args* *E416* *E417* *E423*
|
||||
There are three types of terminals for highlighting:
|
||||
term a normal terminal (vt100, xterm)
|
||||
|
||||
@@ -1753,6 +1753,8 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
:cabbrev map.txt /*:cabbrev*
|
||||
:cabc map.txt /*:cabc*
|
||||
:cabclear map.txt /*:cabclear*
|
||||
:cad quickfix.txt /*:cad*
|
||||
:caddfile quickfix.txt /*:caddfile*
|
||||
:cal eval.txt /*:cal*
|
||||
:call eval.txt /*:call*
|
||||
:cat eval.txt /*:cat*
|
||||
@@ -1766,6 +1768,8 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
:cd- editing.txt /*:cd-*
|
||||
:ce change.txt /*:ce*
|
||||
:center change.txt /*:center*
|
||||
:cex quickfix.txt /*:cex*
|
||||
:cexpr quickfix.txt /*:cexpr*
|
||||
:cf quickfix.txt /*:cf*
|
||||
:cfile quickfix.txt /*:cfile*
|
||||
:cfir quickfix.txt /*:cfir*
|
||||
@@ -2498,6 +2502,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
:syn-skipempty syntax.txt /*:syn-skipempty*
|
||||
:syn-skipnl syntax.txt /*:syn-skipnl*
|
||||
:syn-skipwhite syntax.txt /*:syn-skipwhite*
|
||||
:syn-spell syntax.txt /*:syn-spell*
|
||||
:syn-start syntax.txt /*:syn-start*
|
||||
:syn-sync syntax.txt /*:syn-sync*
|
||||
:syn-sync-ccomment syntax.txt /*:syn-sync-ccomment*
|
||||
@@ -3729,6 +3734,9 @@ E762 spell.txt /*E762*
|
||||
E763 spell.txt /*E763*
|
||||
E764 spell.txt /*E764*
|
||||
E765 options.txt /*E765*
|
||||
E766 eval.txt /*E766*
|
||||
E767 eval.txt /*E767*
|
||||
E768 message.txt /*E768*
|
||||
E77 message.txt /*E77*
|
||||
E78 motion.txt /*E78*
|
||||
E79 message.txt /*E79*
|
||||
@@ -3826,6 +3834,7 @@ Mac-format editing.txt /*Mac-format*
|
||||
Mac-format-write editing.txt /*Mac-format-write*
|
||||
Macintosh os_mac.txt /*Macintosh*
|
||||
Mark motion.txt /*Mark*
|
||||
MenuPopup autocmd.txt /*MenuPopup*
|
||||
MiNT os_mint.txt /*MiNT*
|
||||
Moolenaar intro.txt /*Moolenaar*
|
||||
MorphOS os_amiga.txt /*MorphOS*
|
||||
@@ -4176,6 +4185,7 @@ asmh8300-syntax syntax.txt /*asmh8300-syntax*
|
||||
asmh8300.vim syntax.txt /*asmh8300.vim*
|
||||
aspperl-syntax syntax.txt /*aspperl-syntax*
|
||||
aspvbs-syntax syntax.txt /*aspvbs-syntax*
|
||||
at motion.txt /*at*
|
||||
athena-intellimouse gui.txt /*athena-intellimouse*
|
||||
attr-list syntax.txt /*attr-list*
|
||||
author intro.txt /*author*
|
||||
@@ -4442,9 +4452,12 @@ compl-filename insert.txt /*compl-filename*
|
||||
compl-function insert.txt /*compl-function*
|
||||
compl-generic insert.txt /*compl-generic*
|
||||
compl-keyword insert.txt /*compl-keyword*
|
||||
compl-occult insert.txt /*compl-occult*
|
||||
compl-tag insert.txt /*compl-tag*
|
||||
compl-vim insert.txt /*compl-vim*
|
||||
compl-whole-line insert.txt /*compl-whole-line*
|
||||
complete_add() eval.txt /*complete_add()*
|
||||
complete_check() eval.txt /*complete_check()*
|
||||
complex-change change.txt /*complex-change*
|
||||
complex-repeat repeat.txt /*complex-repeat*
|
||||
compress pi_gzip.txt /*compress*
|
||||
@@ -4854,7 +4867,6 @@ fcs_reason-variable eval.txt /*fcs_reason-variable*
|
||||
feature-list eval.txt /*feature-list*
|
||||
fetch pi_netrw.txt /*fetch*
|
||||
file-browser-5.2 version5.txt /*file-browser-5.2*
|
||||
file-explorer pi_netrw.txt /*file-explorer*
|
||||
file-formats editing.txt /*file-formats*
|
||||
file-pattern autocmd.txt /*file-pattern*
|
||||
file-read insert.txt /*file-read*
|
||||
@@ -4970,6 +4982,7 @@ g'a motion.txt /*g'a*
|
||||
g, motion.txt /*g,*
|
||||
g0 motion.txt /*g0*
|
||||
g8 various.txt /*g8*
|
||||
g:netrw-a pi_netrw.txt /*g:netrw-a*
|
||||
g:netrw_list_cmd pi_netrw.txt /*g:netrw_list_cmd*
|
||||
g:netrw_list_hide pi_netrw.txt /*g:netrw_list_hide*
|
||||
g:netrw_rm_cmd pi_netrw.txt /*g:netrw_rm_cmd*
|
||||
@@ -4977,6 +4990,7 @@ g:netrw_rmdir_cmd pi_netrw.txt /*g:netrw_rmdir_cmd*
|
||||
g:netrw_rmf_cmd pi_netrw.txt /*g:netrw_rmf_cmd*
|
||||
g:var eval.txt /*g:var*
|
||||
g; motion.txt /*g;*
|
||||
g< message.txt /*g<*
|
||||
g<Down> motion.txt /*g<Down>*
|
||||
g<End> motion.txt /*g<End>*
|
||||
g<Home> motion.txt /*g<Home>*
|
||||
@@ -5012,6 +5026,7 @@ garbagecollect() eval.txt /*garbagecollect()*
|
||||
gd pattern.txt /*gd*
|
||||
ge motion.txt /*ge*
|
||||
get() eval.txt /*get()*
|
||||
getbufline() eval.txt /*getbufline()*
|
||||
getbufvar() eval.txt /*getbufvar()*
|
||||
getchar() eval.txt /*getchar()*
|
||||
getcharmod() eval.txt /*getcharmod()*
|
||||
@@ -5184,6 +5199,7 @@ histget() eval.txt /*histget()*
|
||||
histnr() eval.txt /*histnr()*
|
||||
history cmdline.txt /*history*
|
||||
hit-enter message.txt /*hit-enter*
|
||||
hit-enter-prompt message.txt /*hit-enter-prompt*
|
||||
hit-return message.txt /*hit-return*
|
||||
hitest.vim syntax.txt /*hitest.vim*
|
||||
hjkl usr_02.txt /*hjkl*
|
||||
@@ -5324,6 +5340,7 @@ i_CTRL-X_CTRL-I insert.txt /*i_CTRL-X_CTRL-I*
|
||||
i_CTRL-X_CTRL-K insert.txt /*i_CTRL-X_CTRL-K*
|
||||
i_CTRL-X_CTRL-L insert.txt /*i_CTRL-X_CTRL-L*
|
||||
i_CTRL-X_CTRL-N insert.txt /*i_CTRL-X_CTRL-N*
|
||||
i_CTRL-X_CTRL-O insert.txt /*i_CTRL-X_CTRL-O*
|
||||
i_CTRL-X_CTRL-P insert.txt /*i_CTRL-X_CTRL-P*
|
||||
i_CTRL-X_CTRL-T insert.txt /*i_CTRL-X_CTRL-T*
|
||||
i_CTRL-X_CTRL-U insert.txt /*i_CTRL-X_CTRL-U*
|
||||
@@ -5428,6 +5445,7 @@ iquote motion.txt /*iquote*
|
||||
is motion.txt /*is*
|
||||
isdirectory() eval.txt /*isdirectory()*
|
||||
islocked() eval.txt /*islocked()*
|
||||
it motion.txt /*it*
|
||||
italic syntax.txt /*italic*
|
||||
items() eval.txt /*items()*
|
||||
iw motion.txt /*iw*
|
||||
@@ -5708,6 +5726,7 @@ netbeans-run netbeans.txt /*netbeans-run*
|
||||
netbeans-setup netbeans.txt /*netbeans-setup*
|
||||
netbeans-support netbeans.txt /*netbeans-support*
|
||||
netbeans.txt netbeans.txt /*netbeans.txt*
|
||||
netreadfixup pi_netrw.txt /*netreadfixup*
|
||||
netrw pi_netrw.txt /*netrw*
|
||||
netrw-- pi_netrw.txt /*netrw--*
|
||||
netrw-B pi_netrw.txt /*netrw-B*
|
||||
@@ -5715,13 +5734,13 @@ netrw-D pi_netrw.txt /*netrw-D*
|
||||
netrw-R pi_netrw.txt /*netrw-R*
|
||||
netrw-S pi_netrw.txt /*netrw-S*
|
||||
netrw-U pi_netrw.txt /*netrw-U*
|
||||
netrw-a pi_netrw.txt /*netrw-a*
|
||||
netrw-activate pi_netrw.txt /*netrw-activate*
|
||||
netrw-b pi_netrw.txt /*netrw-b*
|
||||
netrw-bookmark pi_netrw.txt /*netrw-bookmark*
|
||||
netrw-bookmarks pi_netrw.txt /*netrw-bookmarks*
|
||||
netrw-browse pi_netrw.txt /*netrw-browse*
|
||||
netrw-browse-cmds pi_netrw.txt /*netrw-browse-cmds*
|
||||
netrw-browse-intro pi_netrw.txt /*netrw-browse-intro*
|
||||
netrw-browse-var pi_netrw.txt /*netrw-browse-var*
|
||||
netrw-c pi_netrw.txt /*netrw-c*
|
||||
netrw-cadaver pi_netrw.txt /*netrw-cadaver*
|
||||
@@ -5734,24 +5753,34 @@ netrw-d pi_netrw.txt /*netrw-d*
|
||||
netrw-debug pi_netrw.txt /*netrw-debug*
|
||||
netrw-delete pi_netrw.txt /*netrw-delete*
|
||||
netrw-dir pi_netrw.txt /*netrw-dir*
|
||||
netrw-downdir pi_netrw.txt /*netrw-downdir*
|
||||
netrw-edithide pi_netrw.txt /*netrw-edithide*
|
||||
netrw-ex pi_netrw.txt /*netrw-ex*
|
||||
netrw-explore pi_netrw.txt /*netrw-explore*
|
||||
netrw-explore-cmds pi_netrw.txt /*netrw-explore-cmds*
|
||||
netrw-file pi_netrw.txt /*netrw-file*
|
||||
netrw-fixup pi_netrw.txt /*netrw-fixup*
|
||||
netrw-ftp pi_netrw.txt /*netrw-ftp*
|
||||
netrw-h pi_netrw.txt /*netrw-h*
|
||||
netrw-handler pi_netrw.txt /*netrw-handler*
|
||||
netrw-help pi_netrw.txt /*netrw-help*
|
||||
netrw-history pi_netrw.txt /*netrw-history*
|
||||
netrw-horiz pi_netrw.txt /*netrw-horiz*
|
||||
netrw-i pi_netrw.txt /*netrw-i*
|
||||
netrw-list pi_netrw.txt /*netrw-list*
|
||||
netrw-list-hack pi_netrw.txt /*netrw-list-hack*
|
||||
netrw-listbookmark pi_netrw.txt /*netrw-listbookmark*
|
||||
netrw-listhack pi_netrw.txt /*netrw-listhack*
|
||||
netrw-maps pi_netrw.txt /*netrw-maps*
|
||||
netrw-move pi_netrw.txt /*netrw-move*
|
||||
netrw-netrc pi_netrw.txt /*netrw-netrc*
|
||||
netrw-nread pi_netrw.txt /*netrw-nread*
|
||||
netrw-nwrite pi_netrw.txt /*netrw-nwrite*
|
||||
netrw-o pi_netrw.txt /*netrw-o*
|
||||
netrw-options pi_netrw.txt /*netrw-options*
|
||||
netrw-p pi_netrw.txt /*netrw-p*
|
||||
netrw-passwd pi_netrw.txt /*netrw-passwd*
|
||||
netrw-path pi_netrw.txt /*netrw-path*
|
||||
netrw-preview pi_netrw.txt /*netrw-preview*
|
||||
netrw-problems pi_netrw.txt /*netrw-problems*
|
||||
netrw-protocol pi_netrw.txt /*netrw-protocol*
|
||||
netrw-q pi_netrw.txt /*netrw-q*
|
||||
@@ -5759,10 +5788,14 @@ netrw-r pi_netrw.txt /*netrw-r*
|
||||
netrw-read pi_netrw.txt /*netrw-read*
|
||||
netrw-ref pi_netrw.txt /*netrw-ref*
|
||||
netrw-rename pi_netrw.txt /*netrw-rename*
|
||||
netrw-reverse pi_netrw.txt /*netrw-reverse*
|
||||
netrw-s pi_netrw.txt /*netrw-s*
|
||||
netrw-sort pi_netrw.txt /*netrw-sort*
|
||||
netrw-sortsequence pi_netrw.txt /*netrw-sortsequence*
|
||||
netrw-transparent pi_netrw.txt /*netrw-transparent*
|
||||
netrw-u pi_netrw.txt /*netrw-u*
|
||||
netrw-uidpass pi_netrw.txt /*netrw-uidpass*
|
||||
netrw-updir pi_netrw.txt /*netrw-updir*
|
||||
netrw-urls pi_netrw.txt /*netrw-urls*
|
||||
netrw-v pi_netrw.txt /*netrw-v*
|
||||
netrw-var pi_netrw.txt /*netrw-var*
|
||||
@@ -5811,6 +5844,7 @@ new-line-continuation version5.txt /*new-line-continuation*
|
||||
new-manpage-trans version7.txt /*new-manpage-trans*
|
||||
new-multi-byte version5.txt /*new-multi-byte*
|
||||
new-multi-lang version6.txt /*new-multi-lang*
|
||||
new-netrw-explore version7.txt /*new-netrw-explore*
|
||||
new-network-files version6.txt /*new-network-files*
|
||||
new-operator-mod version6.txt /*new-operator-mod*
|
||||
new-options-5.2 version5.txt /*new-options-5.2*
|
||||
@@ -5823,6 +5857,7 @@ new-printing version6.txt /*new-printing*
|
||||
new-runtime-dir version5.txt /*new-runtime-dir*
|
||||
new-script version5.txt /*new-script*
|
||||
new-script-5.4 version5.txt /*new-script-5.4*
|
||||
new-scroll-back version7.txt /*new-scroll-back*
|
||||
new-search-path version6.txt /*new-search-path*
|
||||
new-searchpat version6.txt /*new-searchpat*
|
||||
new-session-files version5.txt /*new-session-files*
|
||||
@@ -5984,6 +6019,7 @@ print-intro print.txt /*print-intro*
|
||||
print-options print.txt /*print-options*
|
||||
print.txt print.txt /*print.txt*
|
||||
printcap-syntax syntax.txt /*printcap-syntax*
|
||||
printf() eval.txt /*printf()*
|
||||
printing print.txt /*printing*
|
||||
printing-formfeed print.txt /*printing-formfeed*
|
||||
profile repeat.txt /*profile*
|
||||
@@ -6324,6 +6360,8 @@ standard-plugin usr_05.txt /*standard-plugin*
|
||||
standard-plugin-list help.txt /*standard-plugin-list*
|
||||
standout syntax.txt /*standout*
|
||||
star pattern.txt /*star*
|
||||
starstar editing.txt /*starstar*
|
||||
starstar-wildcard editing.txt /*starstar-wildcard*
|
||||
start-of-file pattern.txt /*start-of-file*
|
||||
starting starting.txt /*starting*
|
||||
starting-amiga starting.txt /*starting-amiga*
|
||||
@@ -6549,6 +6587,7 @@ tag tagsrch.txt /*tag*
|
||||
tag-! tagsrch.txt /*tag-!*
|
||||
tag-any-white tagsrch.txt /*tag-any-white*
|
||||
tag-binary-search tagsrch.txt /*tag-binary-search*
|
||||
tag-blocks motion.txt /*tag-blocks*
|
||||
tag-commands tagsrch.txt /*tag-commands*
|
||||
tag-details tagsrch.txt /*tag-details*
|
||||
tag-highlight syntax.txt /*tag-highlight*
|
||||
@@ -6827,6 +6866,7 @@ v_ab motion.txt /*v_ab*
|
||||
v_ap motion.txt /*v_ap*
|
||||
v_aquote motion.txt /*v_aquote*
|
||||
v_as motion.txt /*v_as*
|
||||
v_at motion.txt /*v_at*
|
||||
v_aw motion.txt /*v_aw*
|
||||
v_a{ motion.txt /*v_a{*
|
||||
v_a} motion.txt /*v_a}*
|
||||
@@ -6870,6 +6910,7 @@ v_ib motion.txt /*v_ib*
|
||||
v_ip motion.txt /*v_ip*
|
||||
v_iquote motion.txt /*v_iquote*
|
||||
v_is motion.txt /*v_is*
|
||||
v_it motion.txt /*v_it*
|
||||
v_iw motion.txt /*v_iw*
|
||||
v_i{ motion.txt /*v_i{*
|
||||
v_i} motion.txt /*v_i}*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*tagsrch.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
|
||||
*tagsrch.txt* For Vim version 7.0aa. Last change: 2005 Jul 12
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -352,6 +352,8 @@ Examples: >
|
||||
When the argument both exists literally, and match when used as a regexp, a
|
||||
literal match has a higher priority. For example, ":tag /open" matches "open"
|
||||
before "open_file" and "file_open".
|
||||
When using a pattern case is ignored. If you want to match case use "\C" in
|
||||
the pattern.
|
||||
|
||||
*tag-!*
|
||||
If the tag is in the current file this will always work. Otherwise the
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 Jul 11
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 Aug 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -30,46 +30,30 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
||||
*known-bugs*
|
||||
-------------------- Known bugs and current work -----------------------
|
||||
|
||||
Add extra list of file locations. Can be used with:
|
||||
:ltag list of matching tags, like :tselect
|
||||
Spell checking: code for pre-compressing tree. (Olaf Seibert)
|
||||
Any problems with the reference counting?
|
||||
|
||||
:lnext next location
|
||||
:lprevious :lNext previous location
|
||||
:lnfile location in next file
|
||||
:lNfile :lpfile location in previous file
|
||||
:lrewind :lfirst first location
|
||||
:llast last location
|
||||
:ll [N] go to location N (current one if N omitted)
|
||||
:lwindow open window with locations (separate from quickfix window)
|
||||
:lopen open window with locations
|
||||
:lclose close window with locations
|
||||
:llist list locations
|
||||
:lfile read locations from file using 'errorformat'
|
||||
:lgetfile idem, don't jump to first one
|
||||
:lbuffer idem, from current buffer.
|
||||
spell checking for Yiddish: (Raphael Finkel)
|
||||
- use ~/tmp/yiddish.uspell.dat
|
||||
- suggestions are not displayed with 'rightleft'
|
||||
- suggestions don't have composing characters
|
||||
- out-of-mem error when using suggestion?
|
||||
|
||||
Win32: Balloon text can't contain line break.
|
||||
Hints for multiline tooltips from Alexei Alexandrov (2005 Mar 26)
|
||||
Patch from Sergey Khorev, 2005 Apr 11
|
||||
Add has("balloon_multiline")
|
||||
Spell suggestion for "WOrd" should be "Word" instead of "word".
|
||||
|
||||
Win32: Crash when pasting Simplified Chinese in utf-8. (rainux, 2005 June 20)
|
||||
Spell checking: default value for 'spellcapcheck' in spell file?
|
||||
|
||||
Netrw plugin problems:
|
||||
- when 'autochdir' is set the current dir is wrong (Salman Halim)
|
||||
- "cd -" doesn't work. (Suresh Govindachar)
|
||||
When 'insertmode' is set, CTRL-L no longer moves the cursor left. What
|
||||
compatibility problems does this cause?
|
||||
|
||||
Using "@:" has two problems (Tim Chase, 2005 Aug 9)
|
||||
|
||||
Mac unicode patch (Da Woon Jung):
|
||||
- selecting proportional font breaks display
|
||||
- UTF-8 text causes display problems. Font replacement causes this.
|
||||
|
||||
Should we always set LC_CTYPE to "C", so that all library functions work on
|
||||
bytes? Avoids problems with sprintf() on MS-Windows. (Yongwei)
|
||||
Problem noticed: tooltips are messed up. Depends on the moment 'encoding' is
|
||||
changed.
|
||||
|
||||
Include new PHP indent script from John Wellesz?
|
||||
http://www.vim.org/scripts/download_script.php?src_id=4330
|
||||
Win32: Use the free downloadable compiler 7.1. Figure out how to do debugging
|
||||
(with Agide?) and describe it. (George Reilly)
|
||||
|
||||
autoload:
|
||||
- Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of
|
||||
@@ -82,53 +66,61 @@ autoload:
|
||||
helpfile doc/myscript.txt
|
||||
For the "helpfile" item ":helptags" is run.
|
||||
|
||||
Patch to alternate fold highlighting. (Anthony Iano-Fletcher, 2005 May 12)
|
||||
More levels?
|
||||
|
||||
Awaiting response:
|
||||
- Win32: tearoff menu window should have a scrollbar when it's taller than
|
||||
the screen.
|
||||
|
||||
- mblen(NULL, 0) also in Vim 6.3?
|
||||
|
||||
|
||||
PLANNED FOR VERSION 7.0:
|
||||
|
||||
- Support using "**" in filename for ":next", ":vimgrep", etc., so that a
|
||||
directory tree can be searched.
|
||||
- REFACTORING: The main() function is very long. Move parts to separate
|
||||
functions, especially loops. Ideas from Walter Briscoe (2003 Apr 3, 2004
|
||||
Feb 9).
|
||||
Move the printing stuff to hardcopy.c.
|
||||
- Improve the interface between the generic GUI code and the system-specific
|
||||
code. Generic code handles text window with scrollbars, system-specific
|
||||
code menu, toolbar, etc.
|
||||
- Store messages to allow SCROLLING BACK for all commands. And other "less"
|
||||
like commands.
|
||||
- "INTELLISENSE". First cleanup the Insert-mode completion.
|
||||
- Occult completion: Understands the programming language and finds matches
|
||||
that make sense. Esp. members of classes/structs.
|
||||
|
||||
It's not much different from other Insert-mode completion, use the same
|
||||
mechanism. Use CTRL-X CTRL-O.
|
||||
|
||||
Separately develop the completion logic and the UI. When adding UI stuff
|
||||
make it work for all completion methods.
|
||||
|
||||
First cleanup the Insert-mode completion.
|
||||
|
||||
UI:
|
||||
- At first: use 'wildmenu' kind of thing.
|
||||
- Nicer: Display the list of choices right under the place where they
|
||||
would be inserted in a kind of meny (use scrollbar when there are many
|
||||
alternatives).
|
||||
|
||||
Completion logic:
|
||||
Use something like 'completefunc'?
|
||||
runtime/complete/{filetype}.vim files?
|
||||
In function arguments suggest variables of expected type.
|
||||
|
||||
Ideas from others:
|
||||
http://www.vim.org/scripts/script.php?script_id=747
|
||||
www.vim.org script 1213 (Java Development Environment) (Fuchuan Wang)
|
||||
http://sourceforge.net/projects/insenvim
|
||||
of http://insenvim.sourceforge.net
|
||||
IComplete: http://www.vim.org/scripts/script.php?script_id=1265
|
||||
and http://stud4.tuwien.ac.at/~e0125672/icomplete/
|
||||
http://cedet.sourceforge.net/intellisense.shtml (for Emacs)
|
||||
Ivan Villanueva has something for Java.
|
||||
Ideas from Emads:
|
||||
http://www.xref-tech.com/xrefactory/more_c_completion.html
|
||||
Can't call it Intellisense, it is a trademark by Microsoft.
|
||||
Ideas from the Vim 7 BOF at SANE:
|
||||
- It's not possible to have one solution for all languages. Design an
|
||||
interface for completion plugins. The matches can be done in a
|
||||
Vim-script list.
|
||||
- For interpreted languages, use the interpreter to obtain information.
|
||||
Should work for Java (Eclipse does this), Python, Tcl, etc.
|
||||
Richard Emberson mentioned working on an interface to Java.
|
||||
- Check Readline for its completion interface.
|
||||
- Use ctags for other languages. Writing a file could trigger running
|
||||
ctags, merging the tags of the changed file.
|
||||
Also see "Visual Assist" http://www.wholetomato.com/products:
|
||||
- Put the list of choices right under the place where they would be
|
||||
inserted.
|
||||
- Pre-expand abbreviations, show which abbrevs would match?
|
||||
- Completion in .NET framework SharpDevelop: http://www.icsharpcode.net
|
||||
Emads: http://www.xref-tech.com/xrefactory/more_c_completion.html
|
||||
Ideas from the Vim 7 BOF at SANE:
|
||||
- It's not possible to have one solution for all languages. Design an
|
||||
interface for completion plugins. The matches can be done in a
|
||||
Vim-script list.
|
||||
- For interpreted languages, use the interpreter to obtain information.
|
||||
Should work for Java (Eclipse does this), Python, Tcl, etc.
|
||||
Richard Emberson mentioned working on an interface to Java.
|
||||
- Check Readline for its completion interface.
|
||||
- Use ctags for other languages. Writing a file could trigger running
|
||||
ctags, merging the tags of the changed file.
|
||||
"Visual Assist" http://www.wholetomato.com/products:
|
||||
Completion in .NET framework SharpDevelop: http://www.icsharpcode.net
|
||||
|
||||
- Pre-expand abbreviations, show which abbrevs would match?
|
||||
|
||||
- UNDO TREE: keep all states of the text, don't delete undo info.
|
||||
When making a change, instead of clearing any future undo (thus redo)
|
||||
info, make a new branch.
|
||||
@@ -148,12 +140,21 @@ PLANNED FOR VERSION 7.0:
|
||||
keep undo: "3h", "1d", "2w", "1y", etc. For the file use dot and
|
||||
extension: ".filename.un~" (like swapfile but "un~" instead of "swp").
|
||||
7 Support WINDOW TABS. Works like several pages, each with their own
|
||||
split windows. Patch for GTK 1.2 passed on by Christian Michon, 2004 Jan 6.
|
||||
Don't forget to provide an "X" to close a tab.
|
||||
Also for the console!
|
||||
split windows.
|
||||
In Emacs these are called frames. Could also call them "pages".
|
||||
Use "1gt" - "99gt" to switch to a tab?
|
||||
Use the name of the first buffer in the tab (ignoring the help window,
|
||||
unless it's the only one). Add a number for the window count.
|
||||
First make it work on the console. Use a line of text with highlighting.
|
||||
Then add GUI Tabs for some systems.
|
||||
Patch for GTK 1.2 passed on by Christian Michon, 2004 Jan 6.
|
||||
Simple patch for GTK by Luis M (nov 7).
|
||||
Don't forget to provide an "X" to close a tab.
|
||||
Implementation: keep the list of windows as-is. When switching to another
|
||||
tab make the buffers in the current windows hidden, save the window
|
||||
layout, buildup the other window layout and fill with buffers.
|
||||
Need to be able to search the windows in inactive tabs, e.g. for the
|
||||
quickfix window.
|
||||
Use "1gt" - "99gt" to switch to a tab?
|
||||
- EMBEDDING: Make it possible to run Vim inside a window of another program.
|
||||
For Xwindows this can be done with XReparentWindow().
|
||||
For GTK Neil Bird has a patch to use Vim like a widget.
|
||||
@@ -219,9 +220,19 @@ PLANNED FOR VERSION 7.0:
|
||||
Mattias Flodin (2004 Jul 30)
|
||||
- In a :s command multi-byte characters should also be upper/lower cased
|
||||
with \u, \U, etc.
|
||||
8 Add a command to jump to a certain kind of tag. Allow the user to specify
|
||||
values for the optional fields. E.g., ":tag size type=m".
|
||||
Also allow specifying the file and command, so that the result of
|
||||
taglist() can be used.
|
||||
|
||||
Adjust src/main.aap for installing manpages like in Makefile.
|
||||
|
||||
When editing a file with both utf-8 and latin1 text Vim always falls back to
|
||||
latin1. Add a command to convert the latin1 characters to utf-8?
|
||||
:unmix utf-8,latin1 filename
|
||||
Would only work when 'encoding' is utf-8.
|
||||
Also: command to search for illegal utf-8 byte sequence?
|
||||
|
||||
Also generate the .pdb file that can be used to generate a useful crash report
|
||||
on MS-Windows. (George Reilly)
|
||||
|
||||
@@ -259,9 +270,24 @@ Also place vimtutor.bat in %windir%?
|
||||
|
||||
Add gui_mch_browsedir() for Motif, KDE and Mac OS/X.
|
||||
|
||||
7 Add a ":cstring" command. Works like ":cfile" but reads from a string
|
||||
variable. Also accept a list variable? Patch from Yegappan Lakshmanan.
|
||||
2005 Feb 17 Now it's ":cexpr".
|
||||
Add extra list of file locations. A bit like the quickfix list, but there is
|
||||
one per window. Can be used with:
|
||||
:ltag list of matching tags, like :tselect
|
||||
Commands to use the location list:
|
||||
:lnext next location
|
||||
:lprevious :lNext previous location
|
||||
:lnfile location in next file
|
||||
:lNfile :lpfile location in previous file
|
||||
:lrewind :lfirst first location
|
||||
:llast last location
|
||||
:ll [N] go to location N (current one if N omitted)
|
||||
:lwindow open window with locations (separate from quickfix window)
|
||||
:lopen open window with locations
|
||||
:lclose close window with locations
|
||||
:llist list locations
|
||||
:lfile read locations from file using 'errorformat'
|
||||
:lgetfile idem, don't jump to first one
|
||||
:lbuffer idem, from current buffer.
|
||||
|
||||
HTML indenting can be slow, find out why. Any way to do some kind of
|
||||
profiling for Vim script? At least add a function to get the current time in
|
||||
@@ -328,6 +354,7 @@ Awaiting updated patches:
|
||||
(2003 May 13)
|
||||
raisewin() raise gvim window (see HierAssist patch for
|
||||
Tcl implementation ~/vim/HierAssist/ )
|
||||
7 Make globpath() also work with upwards search. (Brian Medley)
|
||||
7 Add patch from Benoit Cerrina to integrate Vim and Perl functions
|
||||
better. Now also works for Ruby (2001 Nov 10)
|
||||
- Patch from Herculano de Lima Einloft Neto for better formatting of the
|
||||
@@ -374,11 +401,6 @@ Vi incompatibility:
|
||||
Also: A mark is lost after: make change, undo, redo and undo.
|
||||
Example: "{d''" then "u" then "d''": deletes an extra line, because the ''
|
||||
position is one line down. (Veselinovic)
|
||||
8 ":change" in a single-line file adds an empty line. When the file used to
|
||||
be longer a "~" line is displayed, but there really is an empty line.
|
||||
(Haakon Riiser, 2003 Dec 3 and Dec 16)
|
||||
8 ":append" and ":insert" in an empty file add an extra empty line. (Haakon
|
||||
Riiser, 2003 Dec 3) Test for ML_EMPTY.
|
||||
8 When stdin is not a tty, and Vim reads commands from it, an error should
|
||||
make Vim exit.
|
||||
7 Unix Vim (not gvim): Typing CTRL-C in Ex mode should finish the line
|
||||
@@ -998,6 +1020,7 @@ Macintosh:
|
||||
":w!!" for that.
|
||||
Or ask for permission to overwrite it (if file can be made writable) and
|
||||
restore file to readonly afterwards.
|
||||
Overwriting a file for which a swap file exists is similar issue.
|
||||
7 When compiled with "xterm_clipboard", startup can be slower and might get
|
||||
error message for invalid $DISPLAY. Try connecting to the X server in the
|
||||
background (forked), so that Vim starts up quicker? Connect as soon as
|
||||
@@ -1238,6 +1261,8 @@ Help:
|
||||
|
||||
|
||||
User Friendlier:
|
||||
8 Windows install with NSIS: make it possible to do a silent install, see
|
||||
http://nsis.sourceforge.net/Docs/Chapter4.html#4.12
|
||||
8 Windows install with install.exe: Use .exe instead of .bat files for
|
||||
links, so that command line arguments are passed on unmodified? (Walter
|
||||
Briscoe)
|
||||
@@ -1591,7 +1616,6 @@ Built-in script language:
|
||||
Alternative: Support packages. {package-name}:{function-name}().
|
||||
Packages are loaded automatically when first used, from
|
||||
$VIMRUNTIME/packages (or use a search path).
|
||||
7 Make globpath() also work with "**" and upwards search. (Brian Medley)
|
||||
7 Add the markclear() function to delete a mark in another buffer. Charles
|
||||
Campbell (2004 Jan 9)
|
||||
http://mysite.verizon.net/astronaut/vim/index.html#Patch
|
||||
@@ -1608,8 +1632,6 @@ Built-in script language:
|
||||
.vim file. Problem: distribution.
|
||||
3. Use a cache directory for each user. How to recognize which cached
|
||||
file belongs to a sourced script?
|
||||
7 Add "n" flag to search() function, just like searchpair(). (Alexey
|
||||
Marinichev)
|
||||
7 Add argument to winwidth() to subtract the space taken by 'foldcolumn',
|
||||
signs and/or 'number'.
|
||||
8 Add functions:
|
||||
@@ -1631,7 +1653,6 @@ Built-in script language:
|
||||
mapname({idx}, mode) return the name of the idx'th mapping.
|
||||
Patch by Ilya Sher, 2004 Mar 4.
|
||||
Return a list instead.
|
||||
printf(format, arg, ..) How to prevent a crash???
|
||||
char2hex() convert char string to hex string.
|
||||
attributes() return file protection flags "drwxrwxrwx"
|
||||
filecopy(from, to) Copy a file
|
||||
@@ -1641,9 +1662,7 @@ Built-in script language:
|
||||
inputrl() like input() but right-to-left
|
||||
virtualmode() add argument to obtain whether "$" was used in
|
||||
Visual block mode.
|
||||
tagtype(tag) get type of tag (also checks if it exists)
|
||||
getacp() Win32: get codepage (Glenn Maynard)
|
||||
getbufline() get line from any buffer
|
||||
deletebufline() delete line in any buffer
|
||||
appendbufline() append line in any buffer
|
||||
libcall() Allow more than one argument.
|
||||
@@ -1813,8 +1832,6 @@ Messages:
|
||||
lines that aren't executed? Perhaps move the echoing to do_cmdline()?
|
||||
8 Use 'report' for ":bdel"? (Krishna) To avoid these messages when using a
|
||||
script.
|
||||
8 "vim --version" output goes to stderr, should be stdout. Can all output
|
||||
from messages using printf() go to stdout?
|
||||
- Delete message after new command has been entered and have waited for key.
|
||||
Perhaps after ten seconds?
|
||||
- Make message history available in "msg" variables: msg1, msg2, .. msg9.
|
||||
@@ -1915,8 +1932,6 @@ Shared libraries:
|
||||
|
||||
|
||||
Tags:
|
||||
8 Add a command to jump to a certain kind of tag. Allow the user to specify
|
||||
values for the optional fields. E.g., ":tag size type=m".
|
||||
8 Add a function that returns the line in the tags file for a matching tag.
|
||||
Can be used to extract more info (class name, inheritance, etc.) (Rico
|
||||
Hendriks)
|
||||
@@ -2023,9 +2038,9 @@ GUI:
|
||||
7 X11: Support cursorColor resource and "-cr" argument.
|
||||
8 X11 (and others): CTRL-; is not different from ';'. Set the modifier mask
|
||||
to include CTRL for keys where CTRL produces the same ASCII code.
|
||||
7 Add some code to handle proportional fonts? Need to draw each character
|
||||
separately (like xterm). Also for when a double-width font is not exactly
|
||||
double-width. (Maeda)
|
||||
7 Add some code to handle proportional fonts on more systems? Need to draw
|
||||
each character separately (like xterm). Also for when a double-width font
|
||||
is not exactly double-width. (Maeda)
|
||||
8 Should take font from xterm where gvim was started (if no other default).
|
||||
8 Selecting font names in X11 is difficult, make a script or something to
|
||||
select one.
|
||||
@@ -2077,12 +2092,6 @@ GUI:
|
||||
7 Support "-visual <type>" command line argument.
|
||||
|
||||
|
||||
VMS:
|
||||
- Improvement: rewrite term/TTY handling.
|
||||
- Improvement: create VMS GTK runtime libraries on OpenVMS 7.1-2 (today GTK
|
||||
works just on 7.3).
|
||||
|
||||
|
||||
Autocommands:
|
||||
7 For autocommand events that trigger multiple times per buffer (e.g.,
|
||||
CursorHold), go through the list once and cache the result for a specific
|
||||
@@ -2180,12 +2189,12 @@ Insert mode completion/expansion:
|
||||
9 ^X^L completion doesn't repeat correctly. It uses the first match with
|
||||
the last added line, instead of continuing where the last match ended.
|
||||
(Webb)
|
||||
8 The code has become too complex. Redesign it, or at least add proper
|
||||
comments.
|
||||
8 Add option to set different behavior for Insert mode completion:
|
||||
- ignore/match case
|
||||
- different characters than 'iskeyword'
|
||||
8 Add a command to undo the completion, go back to the original text.
|
||||
7 Completion of an abbreviation: Can leave letters out, like what Instant
|
||||
text does: www.textware.com
|
||||
8 Use the class information in the tags file to do context-sensitive
|
||||
completion. After "foo." complete all member functions/variables of
|
||||
"foo". Need to search backwards for the class definition of foo.
|
||||
@@ -3137,6 +3146,10 @@ Debug mode:
|
||||
|
||||
|
||||
Various improvements:
|
||||
7 [t to move to previous xml/html tag (like "vatov"), ]t to move to next
|
||||
("vatv").
|
||||
7 [< to move to previous xml/html tag, e.g., previous <li>. ]< to move to
|
||||
next <li>, ]< to next </li>, [< to previous </li>.
|
||||
8 Add ":rename" command: rename the file of the current buffer and rename
|
||||
the buffer. Buffer may be modified.
|
||||
- Perhaps ":cexpr" could read errors from a list?
|
||||
@@ -3182,7 +3195,6 @@ Various improvements:
|
||||
9 Support ACLs on more systems.
|
||||
7 Add ModeMsgVisual, ModeMsgInsert, etc. so that each mode message can be
|
||||
highlighted differently.
|
||||
8 Allow using "**" as a wildcard in commands like ":next" and ":args".
|
||||
7 Add a message area for the user. Set some option to reserve space (above
|
||||
the command line?). Use an ":echouser" command to display the message
|
||||
(truncated to fit in the space).
|
||||
@@ -3206,13 +3218,6 @@ Various improvements:
|
||||
6 Add ":timer" command, to set a command to be executed at a certain
|
||||
interval, or once after some time has elapsed. (Aaron)
|
||||
8 Add ":confirm" handling in open_exfile(), for when file already exists.
|
||||
8 Use confirm/dialog stuff to ask the user, when a file has changed outside
|
||||
of Vim, if he wants to reload it. Triggered when focus gained, after
|
||||
shell command, when entering another buffer, etc..
|
||||
Also do this when editing a new file, and another application creates
|
||||
the file before doing ":w" in Vim.
|
||||
Also check if the file protection has changed. When checking a file into
|
||||
RCS it is made read-only, when checking out it is made read-write.
|
||||
8 When quitting with changed files, make the dialog list the changed file
|
||||
and allow "write all", "discard all", "write some". The last one would
|
||||
then ask "write" or "discard" for each changed file. Patch in HierAssist
|
||||
|
||||
@@ -692,6 +692,7 @@ Buffers, windows and the argument list:
|
||||
winnr() get the window number for the current window
|
||||
bufwinnr() get the window number of a specific buffer
|
||||
winbufnr() get the buffer number of a specific window
|
||||
getbufline() get a list of lines from the specified buffer
|
||||
getbufvar() get a variable value from a specific buffer
|
||||
setbufvar() set a variable in a specific buffer
|
||||
getwinvar() get a variable value from a specific window
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2005 Jul 11
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2005 Aug 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -25,8 +25,10 @@ MzScheme interface |new-MzScheme|
|
||||
Printing multi-byte text |new-print-multi-byte|
|
||||
Translated manual pages |new-manpage-trans|
|
||||
Internal grep |new-vimgrep|
|
||||
Scroll back in messages |new-scroll-back|
|
||||
POSIX compatibility |new-posix|
|
||||
Debugger support |new-debug-support|
|
||||
Remote file explorer |new-netrw-explore|
|
||||
Various new items |new-items-7|
|
||||
|
||||
IMPROVEMENTS |improvements-7|
|
||||
@@ -61,6 +63,9 @@ In a |literal-string| a single quote can be doubled to get one.
|
||||
":echo 'a''b'" would result in "a b", but now that two quotes stand for one it
|
||||
results in "a'b".
|
||||
|
||||
When overwriting a file with ":w! fname" there was no warning for when "fname"
|
||||
was being edited by another Vim. Vim now gives an error message |E768|.
|
||||
|
||||
|
||||
Minor incompatibilities:
|
||||
|
||||
@@ -222,6 +227,24 @@ patterns, this also allows grepping in compressed and remote files.
|
||||
If you want to use the search results in a script you can use the
|
||||
|getqflist()| function.
|
||||
|
||||
To search in files in various directories the "**" pattern can be used. It
|
||||
expands into an arbitrary depth of directories. "**" can be used in all
|
||||
places where file names are expanded, thus also with |:next| and |:args|.
|
||||
|
||||
|
||||
Scroll back in messages *new-scroll-back*
|
||||
-----------------------
|
||||
|
||||
When displaying messages, at the |more-prompt| and the |hit-enter-prompt|, The
|
||||
'k', 'u' and 'b' keys can be used to scroll back to previous messages. This
|
||||
is especially useful for commands such as ":syntax", ":autocommand" and
|
||||
":highlight". This is implemented in a generic way thus it works for all
|
||||
commands and highlighting is kept. Only works when the 'more' option is set.
|
||||
Previously it only partly worked for ":clist".
|
||||
|
||||
The |g<| command can be used to see the last page of messages after you have
|
||||
hit <Enter> at the |hit-enter-prompt|. Then you can scroll further back.
|
||||
|
||||
|
||||
POSIX compatibility *new-posix*
|
||||
-------------------
|
||||
@@ -278,6 +301,22 @@ balloon functionality. You can use it to show info for the word under the
|
||||
mouse pointer.
|
||||
|
||||
|
||||
Remote file explorer *new-netrw-explore*
|
||||
--------------------
|
||||
|
||||
The netrw plugin now also supports viewing a directory, when "scp://" is used.
|
||||
Deleting and renaming files is possible.
|
||||
|
||||
To avoid duplicating a lot of code, the previous file explorer plugin has been
|
||||
integrated in the netrw plugin. This means browsing local and remote files
|
||||
works the same way.
|
||||
|
||||
":browse edit" and ":browse split" use the netrw plugin when it's available
|
||||
and a GUI dialog is not possible.
|
||||
|
||||
The netrw plugin is maintained by Charles Campbell.
|
||||
|
||||
|
||||
Various new items *new-items-7*
|
||||
-----------------
|
||||
|
||||
@@ -289,6 +328,9 @@ i", i' and i' (Taro Muraoka)
|
||||
CTRL-W <Enter> In the quickfix window: opens a new window to show the
|
||||
location of the error under the cursor.
|
||||
|
||||
|at| and |it| text objects select a block of text between HTML or XML tags.
|
||||
|
||||
|
||||
Options: ~
|
||||
|
||||
'completefunc' The name of a function used for user-specified Insert
|
||||
@@ -343,14 +385,22 @@ Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
|
||||
|:sort| Sort lines in the buffer without depending on an
|
||||
external command.
|
||||
|
||||
|:caddfile| Add error messages to an existing quickfix list
|
||||
(Yegappan Lakshmanan).
|
||||
|
||||
|:cexpr| Read error messages from a Vim expression (Yegappan
|
||||
Lakshmanan).
|
||||
|
||||
|
||||
New functions: ~
|
||||
|
||||
|add()| append an item to a List
|
||||
|append()| append List of lines to the buffer
|
||||
|browsedir()| Dialog to select a directory.
|
||||
|byteidx()| Index of a character. (Ilya Sher)
|
||||
|browsedir()| dialog to select a directory
|
||||
|byteidx()| index of a character (Ilya Sher)
|
||||
|call()| call a function with List as arguments
|
||||
|complete_add()| add match for 'completefunc'
|
||||
|complete_check()| check for key pressed, for 'completefunc'
|
||||
|copy()| make a shallow copy of a List or Dictionary
|
||||
|count()| count nr of times a value is in a List or Dictionary
|
||||
|deepcopy()| make a full copy of a List or Dictionary
|
||||
@@ -359,15 +409,17 @@ New functions: ~
|
||||
|extend()| append one List to another or add items from one
|
||||
Dictionary to another
|
||||
|filter()| remove selected items from a List or Dictionary
|
||||
|finddir()| Find a directory in 'path'.
|
||||
|findfile()| Find a file in 'path'. (Johannes Zellner)
|
||||
|foldtextresult()| The text displayed for a closed fold at line "lnum".
|
||||
|finddir()| find a directory in 'path'
|
||||
|findfile()| find a file in 'path' (Johannes Zellner)
|
||||
|foldtextresult()| the text displayed for a closed fold at line "lnum"
|
||||
|function()| make a Funcref out of a function name
|
||||
|get()| get an item from a List or Dictionary
|
||||
|getfontname()| Get actual font name being used.
|
||||
|getfperm()| Get file permission string. (Nikolai Weibull)
|
||||
|getftype()| Get type of file. (Nikolai Weibull)
|
||||
|getline()| With second argument: get List with buffer lines
|
||||
|getbufline()| get a list of lines from a specified buffer
|
||||
(Yegappan Lakshmanan)
|
||||
|getfontname()| get actual font name being used
|
||||
|getfperm()| get file permission string (Nikolai Weibull)
|
||||
|getftype()| get type of file (Nikolai Weibull)
|
||||
|getline()| with second argument: get List with buffer lines
|
||||
|has_key()| check whether a key appears in a Dictionary
|
||||
|insert()| insert an item somewhere in a List
|
||||
|items()| get List of Dictionary key-value pairs
|
||||
@@ -379,9 +431,10 @@ New functions: ~
|
||||
|max()| maximum value in a List or Dictionary
|
||||
|min()| minimum value in a List or Dictionary
|
||||
|mkdir()| create a directory
|
||||
|printf()| format text
|
||||
|readfile()| read a file into a list of lines
|
||||
|remove()| remove one or more items from a List or Dictionary
|
||||
|repeat()| Repeat "expr" "count" times. (Christophe Poucet)
|
||||
|repeat()| repeat "expr" "count" times (Christophe Poucet)
|
||||
|reverse()| reverse the order of a List
|
||||
|setqflist()| create a quickfix list (Yegappan Lakshmanan)
|
||||
|sort()| sort a List
|
||||
@@ -389,10 +442,10 @@ New functions: ~
|
||||
|split()| split a String into a List
|
||||
|spellbadword()| get a badly spelled word
|
||||
|spellsuggest()| get suggestions for correct spelling
|
||||
|string()| String representation of a List or Dictionary
|
||||
|system()| Filters {input} through a shell command.
|
||||
|taglist()| Get list of matching tags. (Yegappan Lakshmanan)
|
||||
|tr()| Translate characters. (Ron Aaron)
|
||||
|string()| string representation of a List or Dictionary
|
||||
|system()| filters {input} through a shell command
|
||||
|taglist()| get list of matching tags (Yegappan Lakshmanan)
|
||||
|tr()| translate characters (Ron Aaron)
|
||||
|values()| get List of Dictionary values
|
||||
|writefile()| write a list of lines into a file
|
||||
|
||||
@@ -448,6 +501,8 @@ Pascal indent file. (Neil Carter)
|
||||
|
||||
Many filetype plugins and others from Nikolai Weibull.
|
||||
|
||||
Xquery syntax file. (Jean-Marc Vanel)
|
||||
|
||||
Moved all the indent settings from the filetype plugin to the indent file.
|
||||
Implemented b:undo_indent to undo indent settings when setting 'filetype' to a
|
||||
different value.
|
||||
@@ -488,9 +543,6 @@ Mac: better integration with Xcode. Post a fake mouse-up event after the odoc
|
||||
event and the drag receive handler to work around a stall after Vim loads a
|
||||
file. Fixed an off-by-one line number error. (Da Woon Jung)
|
||||
|
||||
The netrw plugin now also supports viewing a directory, when "scp://" is used.
|
||||
Deleting and renaming files is possible. (Charles Campbell)
|
||||
|
||||
Added the t_SI and t_EI escape sequences for starting and ending Insert mode.
|
||||
To be used to set the cursor shape to a bar or a block. No default values,
|
||||
they are not supported by termcap/terminfo.
|
||||
@@ -607,7 +659,7 @@ invalid characters after the register name. |:redir|
|
||||
":redir => variable" and ":redir =>> variable" write or append to a variable.
|
||||
(Yegappan Lakshmanan) |:redir|
|
||||
|
||||
":redir @{a-z}>>" appends to register a to z.
|
||||
":redir @{a-z}>>" appends to register a to z. (Yegappan Lakshmanan)
|
||||
|
||||
The 'verbosefile' option can be used to log messages in a file. Verbose
|
||||
messages are not displayed then. The "-V{filename}" argument can be used to
|
||||
@@ -686,7 +738,23 @@ prepending "8bit-".
|
||||
|
||||
Added the "customlist" completion argument to a user-defined command. The
|
||||
user-defined completion function should return the completion candidates as a
|
||||
Vim List and the returned results are not filtered by Vim.
|
||||
Vim List and the returned results are not filtered by Vim. (Yegappan
|
||||
Lakshmanan)
|
||||
|
||||
Win32: Balloons can have multiple lines if common controls supports it.
|
||||
(Sergey Khorev)
|
||||
|
||||
The 's' flag is added to the search() and searchpair() function to set the
|
||||
' mark if the cursor is moved. (Yegappan Lakshmanan)
|
||||
|
||||
When 'verbose' is set the output of ":highlight" will show where a highlight
|
||||
item was last set.
|
||||
|
||||
For 'errorformat' it was not possible to have a file name that contains the
|
||||
character that follows after "%f". For example, in "%f:%l:%m" the file name
|
||||
could not contain ":". Now include the first ":" where the rest of the
|
||||
pattern matches. In the example a ":" not followed by a line number is
|
||||
included in the file name. (suggested by Emanuele Giaquinta)
|
||||
|
||||
==============================================================================
|
||||
COMPILE TIME CHANGES *compile-changes-7*
|
||||
@@ -710,6 +778,15 @@ to detect memory leaks. Some memory will always reported as leaked, such as
|
||||
allocated by X11 library functions and the memory allocated in alloc_cmdbuff()
|
||||
to store the ":quit" command.
|
||||
|
||||
Moved the code for printing to src/hardcopy.c.
|
||||
|
||||
Moved some code from main() to separate functions to make it easier to see
|
||||
what is being done. Use a structure to avoid a lot of arguments to the
|
||||
functions.
|
||||
|
||||
Moved unix_expandpath() to misc1.c, so that it can also be used by os_mac.c
|
||||
without copying the code.
|
||||
|
||||
==============================================================================
|
||||
BUG FIXES *bug-fixes-7*
|
||||
|
||||
@@ -1180,4 +1257,24 @@ continue.
|
||||
When opening a new buffer the local value of 'bomb' was not initialized from
|
||||
the global value.
|
||||
|
||||
Win32: When using the "Edit with Vim" entry the file name was limited to about
|
||||
200 characters.
|
||||
|
||||
When using command line completion for ":e *foo" and the file "+foo" exists
|
||||
the resulting command ":e +foo" doesn't work. Now insert a backslash: ":e
|
||||
\+foo".
|
||||
|
||||
When the translation of "-- More --" was not 10 characters long the following
|
||||
message would be in the wrong position.
|
||||
|
||||
At the more-prompt the last character in the last line wasn't drawn.
|
||||
|
||||
When deleting non-existing text while 'virtualedit' is set the '[ and '] marks
|
||||
were not set.
|
||||
|
||||
Win32: Could not use "**/" in 'path', it had to be "**\".
|
||||
|
||||
When 'insertmode' is set CTRL-L would move the cursor. That wasn't supposed
|
||||
to happen, CTRL-O doesn't do it either.
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim support file to detect file types
|
||||
"
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2005 Jul 04
|
||||
" Last Change: 2005 Jul 13
|
||||
|
||||
" Listen very carefully, I will say this only once
|
||||
if exists("did_load_filetypes")
|
||||
@@ -1812,6 +1812,9 @@ au BufNewFile,BufRead *.ts,*.ui setf xml
|
||||
" Xdg menus
|
||||
au BufNewFile,BufRead /etc/xdg/menus/*.menu setf xml
|
||||
|
||||
" Xquery
|
||||
au BufNewFile,BufRead *.xq,*.xql,*.xqm,*.xquery,*.xqy setf xquery
|
||||
|
||||
" XSD
|
||||
au BufNewFile,BufRead *.xsd setf xsd
|
||||
|
||||
|
||||
15
runtime/ftplugin/diff.vim
Normal file
15
runtime/ftplugin/diff.vim
Normal file
@@ -0,0 +1,15 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Diff
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2005 Jul 27
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
let b:undo_ftplugin = "setl modeline<"
|
||||
|
||||
" Don't use modelines in a diff, they apply to the diffed file
|
||||
setlocal nomodeline
|
||||
@@ -2,7 +2,7 @@
|
||||
" Language: Perl
|
||||
" Author: Rafael Garcia-Suarez <rgarciasuarez@free.fr>
|
||||
" URL: http://rgarciasuarez.free.fr/vim/indent/perl.vim
|
||||
" Last Change: 2003 Apr 25
|
||||
" Last Change: 2005 Jul 15
|
||||
|
||||
" Suggestions and improvements by :
|
||||
" Aaron J. Sherman (use syntax for hints)
|
||||
@@ -28,9 +28,6 @@ let b:did_indent = 1
|
||||
" Is syntax highlighting active ?
|
||||
let b:indent_use_syntax = has("syntax") && &syntax == "perl"
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo-=C
|
||||
|
||||
setlocal indentexpr=GetPerlIndent()
|
||||
setlocal indentkeys+=0=,0),0=or,0=and
|
||||
if !b:indent_use_syntax
|
||||
@@ -42,6 +39,9 @@ if exists("*GetPerlIndent")
|
||||
finish
|
||||
endif
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo-=C
|
||||
|
||||
function GetPerlIndent()
|
||||
|
||||
" Get the line to be indented
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
" You can also use this as a start for your own set of menus.
|
||||
"
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2005 Jul 08
|
||||
" Last Change: 2005 Jul 30
|
||||
|
||||
" Note that ":an" (short for ":anoremenu") is often used to make a menu work
|
||||
" in all modes and avoid side effects from mappings defined by the user.
|
||||
@@ -424,22 +424,30 @@ if has("spell")
|
||||
an 40.335.260 &Tools.&Spelling.Set\ language\ to\ "en_us" :set spl=en_us spell<CR>
|
||||
an <silent> 40.335.270 &Tools.&Spelling.&Find\ More\ Languages :call <SID>SpellLang()<CR>
|
||||
|
||||
let s:undo_spellang = ['aun &Tools.&Spelling.&Find\ More\ Languages']
|
||||
func! s:SpellLang()
|
||||
silent! aun &Tools.&Spelling.&Find\ More\ Languages
|
||||
for cmd in s:undo_spellang
|
||||
exe "silent! " . cmd
|
||||
endfor
|
||||
let s:undo_spellang = []
|
||||
|
||||
if &enc == "iso-8859-15"
|
||||
let enc = "latin1"
|
||||
else
|
||||
let enc = &enc
|
||||
endif
|
||||
|
||||
let found = 0
|
||||
let s = globpath(&rtp, "spell/*." . enc . ".spl")
|
||||
if s != ""
|
||||
let n = 300
|
||||
for f in split(s, "\n")
|
||||
let nm = substitute(f, '.*spell[/\\]\(..\)\.[^/\\]*\.spl', '\1', "")
|
||||
if nm != "en"
|
||||
exe 'an 40.335.' . n . ' &Tools.&Spelling.Set\ language\ to\ "' . nm . '" :set spl=' . nm . ' spell<CR>'
|
||||
if nm != "en" && nm !~ '/'
|
||||
let found += 1
|
||||
let menuname = '&Tools.&Spelling.Set\ language\ to\ "' . nm . '"'
|
||||
exe 'an 40.335.' . n . ' ' . menuname . ' :set spl=' . nm . ' spell<CR>'
|
||||
let s:undo_spellang += ['aun ' . menuname]
|
||||
endif
|
||||
let n += 10
|
||||
endfor
|
||||
@@ -451,6 +459,10 @@ if has("spell")
|
||||
else
|
||||
echomsg "Found " . found . " more spell files"
|
||||
endif
|
||||
" Need to redo this when 'encoding' is changed.
|
||||
augroup spellmenu
|
||||
au! EncodingChanged * call <SID>SpellLang()
|
||||
augroup END
|
||||
endfun
|
||||
|
||||
endif
|
||||
@@ -873,6 +885,64 @@ noremenu <script> <silent> 1.100 PopUp.Select\ &All :<C-U>call <SID>SelectAll()
|
||||
inoremenu <script> <silent> 1.100 PopUp.Select\ &All <C-O>:call <SID>SelectAll()<CR>
|
||||
cnoremenu <script> <silent> 1.100 PopUp.Select\ &All <C-U>call <SID>SelectAll()<CR>
|
||||
|
||||
if has("spell")
|
||||
" Spell suggestions in the popup menu. Note that this will slow down the
|
||||
" appearance of the menu!
|
||||
func! <SID>SpellPopup()
|
||||
if exists("s:changeitem") && s:changeitem != ''
|
||||
call <SID>SpellDel()
|
||||
endif
|
||||
if !&spell || &spelllang == ''
|
||||
return
|
||||
endif
|
||||
|
||||
let curcol = col('.')
|
||||
let w = spellbadword()
|
||||
if col('.') > curcol " don't use word after the cursor
|
||||
let w = ''
|
||||
call cursor(0, curcol) " put the cursor back where it was
|
||||
endif
|
||||
if w != ''
|
||||
let s:suglist = spellsuggest(w, 10)
|
||||
if len(s:suglist) <= 0
|
||||
call cursor(0, curcol) " put the cursor back where it was
|
||||
else
|
||||
let s:changeitem = 'change\ "' . escape(w, ' .'). '"\ to'
|
||||
let s:fromword = w
|
||||
let pri = 1
|
||||
for sug in s:suglist
|
||||
exe 'amenu 1.5.' . pri . ' PopUp.' . s:changeitem . '.' . escape(sug, ' .')
|
||||
\ . ' :call <SID>SpellReplace(' . pri . ')<CR>'
|
||||
let pri += 1
|
||||
endfor
|
||||
|
||||
let s:additem = 'add\ "' . escape(w, ' .') . '"\ to\ word\ list'
|
||||
exe 'amenu 1.6 PopUp.' . s:additem . ' :spellgood ' . w . '<CR>'
|
||||
|
||||
let s:ignoreitem = 'ignore\ "' . escape(w, ' .') . '"'
|
||||
exe 'amenu 1.7 PopUp.' . s:ignoreitem . ' :spellgood! ' . w . '<CR>'
|
||||
|
||||
amenu 1.8 PopUp.-SpellSep- :
|
||||
endif
|
||||
endif
|
||||
endfunc
|
||||
|
||||
func! <SID>SpellReplace(n)
|
||||
let l = getline('.')
|
||||
call setline('.', strpart(l, 0, col('.') - 1) . s:suglist[a:n - 1]
|
||||
\ . strpart(l, col('.') + len(s:fromword) - 1))
|
||||
endfunc
|
||||
|
||||
func! <SID>SpellDel()
|
||||
exe "aunmenu PopUp." . s:changeitem
|
||||
exe "aunmenu PopUp." . s:additem
|
||||
exe "aunmenu PopUp." . s:ignoreitem
|
||||
aunmenu PopUp.-SpellSep-
|
||||
let s:changeitem = ''
|
||||
endfun
|
||||
|
||||
au! MenuPopup * call <SID>SpellPopup()
|
||||
endif
|
||||
|
||||
" The GUI toolbar (for MS-Windows and GTK)
|
||||
if has("toolbar")
|
||||
|
||||
@@ -1,15 +1,17 @@
|
||||
" NetrwFileHandlers: contains various extension-based file handlers for
|
||||
" netrw's browsers' x command ("eXecute launcher")
|
||||
" Author: Charles E. Campbell, Jr.
|
||||
" Date: Aug 31, 2004
|
||||
" Version: 3
|
||||
" Date: Apr 07, 2005
|
||||
" Version: 4a NOT RELEASED
|
||||
|
||||
" ---------------------------------------------------------------------
|
||||
" Prevent Reloading: {{{1
|
||||
" Load Once: {{{1
|
||||
if exists("g:loaded_netrwfilehandlers") || &cp
|
||||
finish
|
||||
endif
|
||||
let g:loaded_netrwfilehandlers= "v3"
|
||||
let s:keepcpo= &cpo
|
||||
set cpo&vim
|
||||
let g:loaded_netrwfilehandlers= "v4a"
|
||||
|
||||
" ---------------------------------------------------------------------
|
||||
" NetrwFileHandler_html: handles html when the user hits "x" when the {{{1
|
||||
@@ -308,6 +310,7 @@ fun! NetrwFileHandler_obj(obj)
|
||||
return 1
|
||||
endfun
|
||||
|
||||
|
||||
let &cpo= s:keepcpo
|
||||
" ---------------------------------------------------------------------
|
||||
" Modelines: {{{1
|
||||
" vim: ts=4 fdm=marker
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Vim plugin for editing compressed files.
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2005 May 18
|
||||
" Last Change: 2005 Jul 26
|
||||
|
||||
" Exit quickly when:
|
||||
" - this plugin was already loaded
|
||||
@@ -15,188 +15,22 @@ augroup gzip
|
||||
" Remove all gzip autocommands
|
||||
au!
|
||||
|
||||
" Enable editing of gzipped files
|
||||
" set binary mode before reading the file
|
||||
" use "gzip -d", gunzip isn't always available
|
||||
" Enable editing of gzipped files.
|
||||
" The functions are defined in autoload/gzip.vim.
|
||||
"
|
||||
" Set binary mode before reading the file.
|
||||
" Use "gzip -d", gunzip isn't always available.
|
||||
autocmd BufReadPre,FileReadPre *.gz,*.bz2,*.Z setlocal bin
|
||||
autocmd BufReadPost,FileReadPost *.gz call s:read("gzip -dn")
|
||||
autocmd BufReadPost,FileReadPost *.bz2 call s:read("bzip2 -d")
|
||||
autocmd BufReadPost,FileReadPost *.Z call s:read("uncompress")
|
||||
autocmd BufWritePost,FileWritePost *.gz call s:write("gzip")
|
||||
autocmd BufWritePost,FileWritePost *.bz2 call s:write("bzip2")
|
||||
autocmd BufWritePost,FileWritePost *.Z call s:write("compress -f")
|
||||
autocmd FileAppendPre *.gz call s:appre("gzip -dn")
|
||||
autocmd FileAppendPre *.bz2 call s:appre("bzip2 -d")
|
||||
autocmd FileAppendPre *.Z call s:appre("uncompress")
|
||||
autocmd FileAppendPost *.gz call s:write("gzip")
|
||||
autocmd FileAppendPost *.bz2 call s:write("bzip2")
|
||||
autocmd FileAppendPost *.Z call s:write("compress -f")
|
||||
autocmd BufReadPost,FileReadPost *.gz call gzip#read("gzip -dn")
|
||||
autocmd BufReadPost,FileReadPost *.bz2 call gzip#read("bzip2 -d")
|
||||
autocmd BufReadPost,FileReadPost *.Z call gzip#read("uncompress")
|
||||
autocmd BufWritePost,FileWritePost *.gz call gzip#write("gzip")
|
||||
autocmd BufWritePost,FileWritePost *.bz2 call gzip#write("bzip2")
|
||||
autocmd BufWritePost,FileWritePost *.Z call gzip#write("compress -f")
|
||||
autocmd FileAppendPre *.gz call gzip#appre("gzip -dn")
|
||||
autocmd FileAppendPre *.bz2 call gzip#appre("bzip2 -d")
|
||||
autocmd FileAppendPre *.Z call gzip#appre("uncompress")
|
||||
autocmd FileAppendPost *.gz call gzip#write("gzip")
|
||||
autocmd FileAppendPost *.bz2 call gzip#write("bzip2")
|
||||
autocmd FileAppendPost *.Z call gzip#write("compress -f")
|
||||
augroup END
|
||||
|
||||
" Function to check that executing "cmd [-f]" works.
|
||||
" The result is cached in s:have_"cmd" for speed.
|
||||
fun s:check(cmd)
|
||||
let name = substitute(a:cmd, '\(\S*\).*', '\1', '')
|
||||
if !exists("s:have_" . name)
|
||||
let e = executable(name)
|
||||
if e < 0
|
||||
let r = system(name . " --version")
|
||||
let e = (r !~ "not found" && r != "")
|
||||
endif
|
||||
exe "let s:have_" . name . "=" . e
|
||||
endif
|
||||
exe "return s:have_" . name
|
||||
endfun
|
||||
|
||||
" Set b:gzip_comp_arg to the gzip argument to be used for compression, based on
|
||||
" the flags in the compressed file.
|
||||
" The only compression methods that can be detected are max speed (-1) and max
|
||||
" compression (-9).
|
||||
fun s:set_compression(line)
|
||||
" get the Compression Method
|
||||
let l:cm = char2nr(a:line[2])
|
||||
" if it's 8 (DEFLATE), we can check for the compression level
|
||||
if l:cm == 8
|
||||
" get the eXtra FLags
|
||||
let l:xfl = char2nr(a:line[8])
|
||||
" max compression
|
||||
if l:xfl == 2
|
||||
let b:gzip_comp_arg = "-9"
|
||||
" min compression
|
||||
elseif l:xfl == 4
|
||||
let b:gzip_comp_arg = "-1"
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
|
||||
" After reading compressed file: Uncompress text in buffer with "cmd"
|
||||
fun s:read(cmd)
|
||||
" don't do anything if the cmd is not supported
|
||||
if !s:check(a:cmd)
|
||||
return
|
||||
endif
|
||||
|
||||
" for gzip check current compression level and set b:gzip_comp_arg.
|
||||
silent! unlet b:gzip_comp_arg
|
||||
if a:cmd[0] == 'g'
|
||||
call s:set_compression(getline(1))
|
||||
endif
|
||||
|
||||
" make 'patchmode' empty, we don't want a copy of the written file
|
||||
let pm_save = &pm
|
||||
set pm=
|
||||
" remove 'a' and 'A' from 'cpo' to avoid the alternate file changes
|
||||
let cpo_save = &cpo
|
||||
set cpo-=a cpo-=A
|
||||
" set 'modifiable'
|
||||
let ma_save = &ma
|
||||
setlocal ma
|
||||
" when filtering the whole buffer, it will become empty
|
||||
let empty = line("'[") == 1 && line("']") == line("$")
|
||||
let tmp = tempname()
|
||||
let tmpe = tmp . "." . expand("<afile>:e")
|
||||
" write the just read lines to a temp file "'[,']w tmp.gz"
|
||||
execute "silent '[,']w " . tmpe
|
||||
" uncompress the temp file: call system("gzip -dn tmp.gz")
|
||||
call system(a:cmd . " " . tmpe)
|
||||
if !filereadable(tmp)
|
||||
" uncompress didn't work! Keep the compressed file then.
|
||||
echoerr "Error: Could not read uncompressed file"
|
||||
return
|
||||
endif
|
||||
" delete the compressed lines; remember the line number
|
||||
let l = line("'[") - 1
|
||||
if exists(":lockmarks")
|
||||
lockmarks '[,']d _
|
||||
else
|
||||
'[,']d _
|
||||
endif
|
||||
" read in the uncompressed lines "'[-1r tmp"
|
||||
setlocal nobin
|
||||
if exists(":lockmarks")
|
||||
execute "silent lockmarks " . l . "r " . tmp
|
||||
else
|
||||
execute "silent " . l . "r " . tmp
|
||||
endif
|
||||
|
||||
" if buffer became empty, delete trailing blank line
|
||||
if empty
|
||||
silent $delete _
|
||||
1
|
||||
endif
|
||||
" delete the temp file and the used buffers
|
||||
call delete(tmp)
|
||||
silent! exe "bwipe " . tmp
|
||||
silent! exe "bwipe " . tmpe
|
||||
let &pm = pm_save
|
||||
let &cpo = cpo_save
|
||||
let &l:ma = ma_save
|
||||
" When uncompressed the whole buffer, do autocommands
|
||||
if empty
|
||||
if &verbose >= 8
|
||||
execute "doau BufReadPost " . expand("%:r")
|
||||
else
|
||||
execute "silent! doau BufReadPost " . expand("%:r")
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" After writing compressed file: Compress written file with "cmd"
|
||||
fun s:write(cmd)
|
||||
" don't do anything if the cmd is not supported
|
||||
if s:check(a:cmd)
|
||||
" Rename the file before compressing it.
|
||||
let nm = resolve(expand("<afile>"))
|
||||
let nmt = s:tempname(nm)
|
||||
if rename(nm, nmt) == 0
|
||||
if exists("b:gzip_comp_arg")
|
||||
call system(a:cmd . " " . b:gzip_comp_arg . " " . nmt)
|
||||
else
|
||||
call system(a:cmd . " " . nmt)
|
||||
endif
|
||||
call rename(nmt . "." . expand("<afile>:e"), nm)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Before appending to compressed file: Uncompress file with "cmd"
|
||||
fun s:appre(cmd)
|
||||
" don't do anything if the cmd is not supported
|
||||
if s:check(a:cmd)
|
||||
let nm = expand("<afile>")
|
||||
|
||||
" for gzip check current compression level and set b:gzip_comp_arg.
|
||||
silent! unlet b:gzip_comp_arg
|
||||
if a:cmd[0] == 'g'
|
||||
call s:set_compression(readfile(nm, "b", 1)[0])
|
||||
endif
|
||||
|
||||
" Rename to a weird name to avoid the risk of overwriting another file
|
||||
let nmt = expand("<afile>:p:h") . "/X~=@l9q5"
|
||||
let nmte = nmt . "." . expand("<afile>:e")
|
||||
if rename(nm, nmte) == 0
|
||||
if &patchmode != "" && getfsize(nm . &patchmode) == -1
|
||||
" Create patchmode file by creating the decompressed file new
|
||||
call system(a:cmd . " -c " . nmte . " > " . nmt)
|
||||
call rename(nmte, nm . &patchmode)
|
||||
else
|
||||
call system(a:cmd . " " . nmte)
|
||||
endif
|
||||
call rename(nmt, nm)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" find a file name for the file to be compressed. Use "name" without an
|
||||
" extension if possible. Otherwise use a weird name to avoid overwriting an
|
||||
" existing file.
|
||||
fun s:tempname(name)
|
||||
let fn = fnamemodify(a:name, ":r")
|
||||
if !filereadable(fn) && !isdirectory(fn)
|
||||
return fn
|
||||
endif
|
||||
return fnamemodify(a:name, ":p:h") . "/X~=@l9q5"
|
||||
endfun
|
||||
|
||||
" vim: set sw=2 :
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,185 +1,34 @@
|
||||
" vim:set ts=4 sw=4 ai nobackup:
|
||||
|
||||
" tar.vim -- a vim plugin for browsing tarfiles
|
||||
" tar.vim -- a Vim plugin for browsing tarfiles
|
||||
" Copyright (c) 2002, Michael C. Toren <mct@toren.net>
|
||||
" Distributed under the GNU General Public License.
|
||||
"
|
||||
" Version: 1.01
|
||||
" Last Change: 2005 Jul 26
|
||||
"
|
||||
" Updates are available from <http://michael.toren.net/code/>. If you
|
||||
" find this script useful, or have suggestions for improvements, please
|
||||
" let me know.
|
||||
" Also look there for further comments and documentation.
|
||||
"
|
||||
" Usage:
|
||||
" Once this script is installed, attempting to edit a tarfile will present
|
||||
" the user with a list of files contained in the tar archive. By moving the
|
||||
" cursor over a filename and pressing ENTER, the contents of a file can be
|
||||
" viewed in read-only mode, in a new window. Unfortunately, write support
|
||||
" for tarfile components is not currently possible.
|
||||
"
|
||||
" Requirements:
|
||||
" GNU tar, or a tar implementation that supports the "P" (don't strip
|
||||
" out leading /'s from filenames), and "O" (extract files to standard
|
||||
" output) options. Additionally, gzip is required for handling *.tar.Z,
|
||||
" *.tar.gz, and *.tgz compressed tarfiles, and bzip2 is required for
|
||||
" handling *.tar.bz2 compressed tarfiles. A unix-like operating system
|
||||
" is probably also required.
|
||||
"
|
||||
" Installation:
|
||||
" Place this file, tar.vim, in your $HOME/.vim/plugin directory, and
|
||||
" either restart vim, or execute ":source $HOME/.vim/plugin/tar.vim"
|
||||
"
|
||||
" Todo:
|
||||
" - Handle zipfiles?
|
||||
" - Implement write support, somehow.
|
||||
"
|
||||
" License:
|
||||
" This program is free software; you can redistribute it and/or modify it
|
||||
" under the terms of the GNU General Public License, version 2, as published
|
||||
" by the Free Software Foundation.
|
||||
"
|
||||
" This program is distributed in the hope that it will be useful, but
|
||||
" WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
" or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
" for more details.
|
||||
"
|
||||
" A copy of the GNU GPL is available as /usr/doc/copyright/GPL on Debian
|
||||
" systems, or on the World Wide Web at http://www.gnu.org/copyleft/gpl.html
|
||||
" You can also obtain it by writing to the Free Software Foundation, Inc.,
|
||||
" 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
"
|
||||
" Changelog:
|
||||
" Tue Dec 31 13:38:08 EST 2002 First release to beta testers
|
||||
" Sat Jan 4 14:06:19 EST 2003 Version 1.00 released
|
||||
|
||||
let s:version = "1.00"
|
||||
" This part only sets the autocommands. The functions are in autoload/tar.vim.
|
||||
|
||||
if has("autocmd")
|
||||
augroup tar
|
||||
au!
|
||||
au BufReadCmd tarfile:* call s:TarRead(expand("<afile>"), 1)
|
||||
au BufReadCmd tarfile:*/* call s:TarRead(expand("<afile>"), 1)
|
||||
au FileReadCmd tarfile:* call s:TarRead(expand("<afile>"), 0)
|
||||
au FileReadCmd tarfile:*/* call s:TarRead(expand("<afile>"), 0)
|
||||
augroup tar
|
||||
au!
|
||||
au BufReadCmd tarfile:* call tar#Read(expand("<afile>"), 1)
|
||||
au BufReadCmd tarfile:*/* call tar#Read(expand("<afile>"), 1)
|
||||
au FileReadCmd tarfile:* call tar#Read(expand("<afile>"), 0)
|
||||
au FileReadCmd tarfile:*/* call tar#Read(expand("<afile>"), 0)
|
||||
|
||||
au BufWriteCmd tarfile:* call s:TarWrite(expand("<afile>"))
|
||||
au BufWriteCmd tarfile:*/* call s:TarWrite(expand("<afile>"))
|
||||
au FileWriteCmd tarfile:* call s:TarWrite(expand("<afile>"))
|
||||
au FileWriteCmd tarfile:*/* call s:TarWrite(expand("<afile>"))
|
||||
au BufWriteCmd tarfile:* call tar#Write(expand("<afile>"))
|
||||
au BufWriteCmd tarfile:*/* call tar#Write(expand("<afile>"))
|
||||
au FileWriteCmd tarfile:* call tar#Write(expand("<afile>"))
|
||||
au FileWriteCmd tarfile:*/* call tar#Write(expand("<afile>"))
|
||||
|
||||
au BufReadCmd *.tar call s:TarBrowse(expand("<afile>"))
|
||||
au BufReadCmd *.tar.gz call s:TarBrowse(expand("<afile>"))
|
||||
au BufReadCmd *.tar.bz2 call s:TarBrowse(expand("<afile>"))
|
||||
au BufReadCmd *.tar.Z call s:TarBrowse(expand("<afile>"))
|
||||
au BufReadCmd *.tgz call s:TarBrowse(expand("<afile>"))
|
||||
augroup END
|
||||
au BufReadCmd *.tar call tar#Browse(expand("<afile>"))
|
||||
au BufReadCmd *.tar.gz call tar#Browse(expand("<afile>"))
|
||||
au BufReadCmd *.tar.bz2 call tar#Browse(expand("<afile>"))
|
||||
au BufReadCmd *.tar.Z call tar#Browse(expand("<afile>"))
|
||||
au BufReadCmd *.tgz call tar#Browse(expand("<afile>"))
|
||||
augroup END
|
||||
endif
|
||||
|
||||
function! s:TarWrite(argument)
|
||||
echo "ERROR: Sorry, no write support for tarfiles yet"
|
||||
endfunction
|
||||
|
||||
function! s:TarRead(argument, cleanup)
|
||||
let l:argument = a:argument
|
||||
let l:argument = substitute(l:argument, '^tarfile:', '', '')
|
||||
let l:argument = substitute(l:argument, '^\~', $HOME, '')
|
||||
|
||||
let l:tarfile = l:argument
|
||||
while 1
|
||||
if (l:tarfile == "" || l:tarfile == "/")
|
||||
echo "ERROR: Could not find a readable tarfile in path:" l:argument
|
||||
return
|
||||
endif
|
||||
|
||||
if filereadable(l:tarfile) " found it!
|
||||
break
|
||||
endif
|
||||
|
||||
let l:tarfile = fnamemodify(l:tarfile, ":h")
|
||||
endwhile
|
||||
|
||||
let l:toextract = strpart(l:argument, strlen(l:tarfile) + 1)
|
||||
|
||||
if (l:toextract == "")
|
||||
return
|
||||
endif
|
||||
|
||||
let l:cat = s:TarCatCommand(l:tarfile)
|
||||
execute "r !" . l:cat . " < '" . l:tarfile . "'"
|
||||
\ " | tar OPxf - '" . l:toextract . "'"
|
||||
|
||||
if (a:cleanup)
|
||||
0d "blank line
|
||||
execute "doautocmd BufReadPost " . expand("%")
|
||||
setlocal readonly
|
||||
silent preserve
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! s:TarBrowse(tarfile)
|
||||
setlocal noswapfile
|
||||
setlocal buftype=nofile
|
||||
setlocal bufhidden=hide
|
||||
setlocal filetype=
|
||||
setlocal nobuflisted
|
||||
setlocal buftype=nofile
|
||||
setlocal wrap
|
||||
|
||||
let l:tarfile = a:tarfile
|
||||
let b:tarfile = l:tarfile
|
||||
let l:cat = s:TarCatCommand(l:tarfile)
|
||||
|
||||
if ! filereadable(l:tarfile)
|
||||
let l:tarfile = substitute(l:tarfile, '^tarfile:', '', '')
|
||||
endif
|
||||
|
||||
if ! filereadable(l:tarfile)
|
||||
echo "ERROR: File not readable:" l:tarfile
|
||||
return
|
||||
endif
|
||||
|
||||
call s:Say("\" tar.vim version " . s:version)
|
||||
call s:Say("\" Browsing tarfile " . l:tarfile)
|
||||
call s:Say("\" Hit ENTER to view contents in new window")
|
||||
call s:Say("")
|
||||
|
||||
silent execute "r!" . l:cat . "<'" . l:tarfile . "'| tar Ptf - "
|
||||
0d "blank line
|
||||
/^$/1
|
||||
|
||||
setlocal readonly
|
||||
setlocal nomodifiable
|
||||
noremap <silent> <buffer> <cr> :call <SID>TarBrowseSelect()<cr>
|
||||
endfunction
|
||||
|
||||
function! s:TarBrowseSelect()
|
||||
let l:line = getline(".")
|
||||
|
||||
if (l:line =~ '^" ')
|
||||
return
|
||||
endif
|
||||
|
||||
if (l:line =~ '/$')
|
||||
echo "Please specify a file, not a directory"
|
||||
return
|
||||
endif
|
||||
|
||||
let l:selection = "tarfile:" . b:tarfile . "/" . l:line
|
||||
new
|
||||
wincmd _
|
||||
execute "e " . l:selection
|
||||
endfunction
|
||||
|
||||
" kludge to deal with compressed archives
|
||||
function! s:TarCatCommand(tarfile)
|
||||
if a:tarfile =~# '\.\(gz\|tgz\|Z\)$'
|
||||
let l:cat = "gzip -d -c"
|
||||
elseif a:tarfile =~# '\.bz2$'
|
||||
let l:cat = "bzip2 -d -c"
|
||||
else
|
||||
let l:cat = "cat"
|
||||
endif
|
||||
return l:cat
|
||||
endfunction
|
||||
|
||||
function! s:Say(string)
|
||||
let @" = a:string
|
||||
$ put
|
||||
endfunction
|
||||
|
||||
914
runtime/spell/README_en.txt
Normal file
914
runtime/spell/README_en.txt
Normal file
@@ -0,0 +1,914 @@
|
||||
en_US
|
||||
20040623 release.
|
||||
--
|
||||
This dictionary is based on a subset of the original
|
||||
English wordlist created by Kevin Atkinson for Pspell
|
||||
and Aspell and thus is covered by his original
|
||||
LGPL license. The affix file is a heavily modified
|
||||
version of the original english.aff file which was
|
||||
released as part of Geoff Kuenning's Ispell and as
|
||||
such is covered by his BSD license.
|
||||
|
||||
Thanks to both authors for there wonderful work.
|
||||
|
||||
|
||||
===================================================
|
||||
en_AU:
|
||||
This dictionary was based on the en_GB Myspell dictionary
|
||||
which in turn was initially based on a subset of the
|
||||
original English wordlist created by Kevin Atkinson for
|
||||
Pspell and Aspell and thus is covered by his original
|
||||
LGPL licence.
|
||||
|
||||
The credit for this en_AU dictionary goes to:
|
||||
|
||||
Kelvin Eldridge (maintainer)
|
||||
Jean Hollis Weber
|
||||
David Wilson
|
||||
|
||||
- Words incorrect in Australian English removed
|
||||
- a list from the previously removed words with corrected spelling was added
|
||||
- a list of major rivers was added
|
||||
- a list of place names was added
|
||||
- a list of Australian mammals was added
|
||||
- a list of Aboriginal/Koori words commonly used was added
|
||||
|
||||
A total of 119,267 words are now recognized
|
||||
by the dictionary.
|
||||
|
||||
Of course, special thanks go to the editors of the
|
||||
en_GB dictionary (David Bartlett, Brian Kelk and
|
||||
Andrew Brown) which provided the starting point
|
||||
for this dictionary.
|
||||
|
||||
The affix file is currently a duplicate of the en_AU.aff
|
||||
created completely from scratch by David Bartlett and
|
||||
Andrew Brown, based on the published
|
||||
rules for MySpell and is also provided under the LGPL.
|
||||
|
||||
If you find omissions or bugs or have new words to
|
||||
add to the dictionary, please contact the en_AU
|
||||
maintainer at:
|
||||
|
||||
"Kelvin" <audictionary@onlineconnections.com.au>
|
||||
|
||||
|
||||
|
||||
===================================================
|
||||
en_CA:
|
||||
The dictionary file was created using the "final" English and Canadian SCOWL (Spell Checker Oriented Word Lists) wordlists available at Kevin's Word Lists Page (http://wordlist.sourceforge.net). Lists with the suffixes 10, 20, 35, 50, 65 and 65 were used. Lists with the suffixes 70, 80 and 95 were excluded. Copyright information for SCOWL and the wordlists used in creating it is reproduced below.
|
||||
|
||||
The affix file is identical to the MySpell English (United States) affix file. It is a heavily modified version of the original english.aff file which was released as part of Geoff Kuenning's Ispell and as such is covered by his BSD license.
|
||||
|
||||
---
|
||||
|
||||
COPYRIGHT, SOURCES, and CREDITS from SCOWL readme file:
|
||||
|
||||
The collective work is Copyright 2000 by Kevin Atkinson as well as any
|
||||
of the copyrights mentioned below:
|
||||
|
||||
Copyright 2000 by Kevin Atkinson
|
||||
|
||||
Permission to use, copy, modify, distribute and sell these word
|
||||
lists, the associated scripts, the output created from the scripts,
|
||||
and its documentation for any purpose is hereby granted without fee,
|
||||
provided that the above copyright notice appears in all copies and
|
||||
that both that copyright notice and this permission notice appear in
|
||||
supporting documentation. Kevin Atkinson makes no representations
|
||||
about the suitability of this array for any purpose. It is provided
|
||||
"as is" without express or implied warranty.
|
||||
|
||||
Alan Beale <biljir@pobox.com> also deserves special credit as he has,
|
||||
in addition to providing the 12Dicts package and being a major
|
||||
contributor to the ENABLE word list, given me an incredible amount of
|
||||
feedback and created a number of special lists (those found in the
|
||||
Supplement) in order to help improve the overall quality of SCOWL.
|
||||
|
||||
The 10 level includes the 1000 most common English words (according to
|
||||
the Moby (TM) Words II [MWords] package), a subset of the 1000 most
|
||||
common words on the Internet (again, according to Moby Words II), and
|
||||
frequently class 16 from Brian Kelk's "UK English Wordlist
|
||||
with Frequency Classification".
|
||||
|
||||
The MWords package was explicitly placed in the public domain:
|
||||
|
||||
The Moby lexicon project is complete and has
|
||||
been place into the public domain. Use, sell,
|
||||
rework, excerpt and use in any way on any platform.
|
||||
|
||||
Placing this material on internal or public servers is
|
||||
also encouraged. The compiler is not aware of any
|
||||
export restrictions so freely distribute world-wide.
|
||||
|
||||
You can verify the public domain status by contacting
|
||||
|
||||
Grady Ward
|
||||
3449 Martha Ct.
|
||||
Arcata, CA 95521-4884
|
||||
|
||||
grady@netcom.com
|
||||
grady@northcoast.com
|
||||
|
||||
The "UK English Wordlist With Frequency Classification" is also in the
|
||||
Public Domain:
|
||||
|
||||
Date: Sat, 08 Jul 2000 20:27:21 +0100
|
||||
From: Brian Kelk <Brian.Kelk@cl.cam.ac.uk>
|
||||
|
||||
> I was wondering what the copyright status of your "UK English
|
||||
> Wordlist With Frequency Classification" word list as it seems to
|
||||
> be lacking any copyright notice.
|
||||
|
||||
There were many many sources in total, but any text marked
|
||||
"copyright" was avoided. Locally-written documentation was one
|
||||
source. An earlier version of the list resided in a filespace called
|
||||
PUBLIC on the University mainframe, because it was considered public
|
||||
domain.
|
||||
|
||||
Date: Tue, 11 Jul 2000 19:31:34 +0100
|
||||
|
||||
> So are you saying your word list is also in the public domain?
|
||||
|
||||
That is the intention.
|
||||
|
||||
The 20 level includes frequency classes 7-15 from Brian's word list.
|
||||
|
||||
The 35 level includes frequency classes 2-6 and words appearing in at
|
||||
least 11 of 12 dictionaries as indicated in the 12Dicts package. All
|
||||
words from the 12Dicts package have had likely inflections added via
|
||||
my inflection database.
|
||||
|
||||
The 12Dicts package and Supplement is in the Public Domain.
|
||||
|
||||
The WordNet database, which was used in the creation of the
|
||||
Inflections database, is under the following copyright:
|
||||
|
||||
This software and database is being provided to you, the LICENSEE,
|
||||
by Princeton University under the following license. By obtaining,
|
||||
using and/or copying this software and database, you agree that you
|
||||
have read, understood, and will comply with these terms and
|
||||
conditions.:
|
||||
|
||||
Permission to use, copy, modify and distribute this software and
|
||||
database and its documentation for any purpose and without fee or
|
||||
royalty is hereby granted, provided that you agree to comply with
|
||||
the following copyright notice and statements, including the
|
||||
disclaimer, and that the same appear on ALL copies of the software,
|
||||
database and documentation, including modifications that you make
|
||||
for internal use or for distribution.
|
||||
|
||||
WordNet 1.6 Copyright 1997 by Princeton University. All rights
|
||||
reserved.
|
||||
|
||||
THIS SOFTWARE AND DATABASE IS PROVIDED "AS IS" AND PRINCETON
|
||||
UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
||||
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PRINCETON
|
||||
UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANT-
|
||||
ABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE
|
||||
LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL NOT INFRINGE ANY
|
||||
THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
||||
|
||||
The name of Princeton University or Princeton may not be used in
|
||||
advertising or publicity pertaining to distribution of the software
|
||||
and/or database. Title to copyright in this software, database and
|
||||
any associated documentation shall at all times remain with
|
||||
Princeton University and LICENSEE agrees to preserve same.
|
||||
|
||||
The 50 level includes Brian's frequency class 1, words words appearing
|
||||
in at least 5 of 12 of the dictionaries as indicated in the 12Dicts
|
||||
package, and uppercase words in at least 4 of the previous 12
|
||||
dictionaries. A decent number of proper names is also included: The
|
||||
top 1000 male, female, and Last names from the 1990 Census report; a
|
||||
list of names sent to me by Alan Beale; and a few names that I added
|
||||
myself. Finally a small list of abbreviations not commonly found in
|
||||
other word lists is included.
|
||||
|
||||
The name files form the Census report is a government document which I
|
||||
don't think can be copyrighted.
|
||||
|
||||
The name list from Alan Beale is also derived from the linux words
|
||||
list, which is derived from the DEC list. He also added a bunch of
|
||||
miscellaneous names to the list, which he released to the Public Domain.
|
||||
|
||||
The DEC Word list doesn't have a formal name. It is labeled as "FILE:
|
||||
english.words; VERSION: DEC-SRC-92-04-05" and was put together by Jorge
|
||||
Stolfi <stolfi@src.dec.com> DEC Systems Research Center. The DEC Word
|
||||
list has the following copyright statement:
|
||||
|
||||
(NON-)COPYRIGHT STATUS
|
||||
|
||||
To the best of my knowledge, all the files I used to build these
|
||||
wordlists were available for public distribution and use, at least
|
||||
for non-commercial purposes. I have confirmed this assumption with
|
||||
the authors of the lists, whenever they were known.
|
||||
|
||||
Therefore, it is safe to assume that the wordlists in this package
|
||||
can also be freely copied, distributed, modified, and used for
|
||||
personal, educational, and research purposes. (Use of these files in
|
||||
commercial products may require written permission from DEC and/or
|
||||
the authors of the original lists.)
|
||||
|
||||
Whenever you distribute any of these wordlists, please distribute
|
||||
also the accompanying README file. If you distribute a modified
|
||||
copy of one of these wordlists, please include the original README
|
||||
file with a note explaining your modifications. Your users will
|
||||
surely appreciate that.
|
||||
|
||||
(NO-)WARRANTY DISCLAIMER
|
||||
|
||||
These files, like the original wordlists on which they are based,
|
||||
are still very incomplete, uneven, and inconsitent, and probably
|
||||
contain many errors. They are offered "as is" without any warranty
|
||||
of correctness or fitness for any particular purpose. Neither I nor
|
||||
my employer can be held responsible for any losses or damages that
|
||||
may result from their use.
|
||||
|
||||
However since this Word List is used in the linux.words package which
|
||||
the author claims is free of any copyright I assume it is OK to use
|
||||
for most purposes. If you want to use this in a commercial project
|
||||
and this concerns you the information from the DEC word list can
|
||||
easily be removed without much sacrifice in quality as only the name
|
||||
lists were used.
|
||||
|
||||
The file special-jargon.50 uses common.lst and word.lst from the
|
||||
"Unofficial Jargon File Word Lists" which is derived from "The Jargon
|
||||
File". All of which is in the Public Domain. This file also contain
|
||||
a few extra UNIX terms which are found in the file "unix-terms" in the
|
||||
special/ directory.
|
||||
|
||||
The 60 level includes Brian's frequency class 0 and all words
|
||||
appearing in at least 2 of the 12 dictionaries as indicated by the
|
||||
12Dicts package. A large number of names are also included: The 4,946
|
||||
female names and 3,897 male names from the MWords package and the
|
||||
files "computer.names", "misc.names", and "org.names" from the DEC
|
||||
package.
|
||||
|
||||
The 65 level includes words found in the Ispell "medium" word list.
|
||||
The Ispell word lists are under the same copyright of Ispell itself
|
||||
which is:
|
||||
|
||||
Copyright 1993, Geoff Kuenning, Granada Hills, CA
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. All modifications to the source code must be clearly marked as
|
||||
such. Binary redistributions based on modified source code
|
||||
must be clearly marked as modified versions in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
4. All advertising materials mentioning features or use of this software
|
||||
must display the following acknowledgment:
|
||||
This product includes software developed by Geoff Kuenning and
|
||||
other unpaid contributors.
|
||||
5. The name of Geoff Kuenning may not be used to endorse or promote
|
||||
products derived from this software without specific prior
|
||||
written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS
|
||||
IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GEOFF
|
||||
KUENNING OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
The 70 level includes the 74,550 common dictionary words and the 21,986 names
|
||||
list from the MWords package. The common dictionary words, like those
|
||||
from the 12Dicts package, have had all likely inflections added.
|
||||
|
||||
The 80 level includes the ENABLE word list, all the lists in the
|
||||
ENABLE supplement package (except for ABLE), the "UK Advanced Cryptics
|
||||
Dictionary" (UKACD), the list of signature words in from YAWL package,
|
||||
and the 10,196 places list from the MWords package.
|
||||
|
||||
The ENABLE package, mainted by M\Cooper <thegrendel@theriver.com>,
|
||||
is in the Public Domain:
|
||||
|
||||
The ENABLE master word list, WORD.LST, is herewith formally released
|
||||
into the Public Domain. Anyone is free to use it or distribute it in
|
||||
any manner they see fit. No fee or registration is required for its
|
||||
use nor are "contributions" solicited (if you feel you absolutely
|
||||
must contribute something for your own peace of mind, the authors of
|
||||
the ENABLE list ask that you make a donation on their behalf to your
|
||||
favorite charity). This word list is our gift to the Scrabble
|
||||
community, as an alternate to "official" word lists. Game designers
|
||||
may feel free to incorporate the WORD.LST into their games. Please
|
||||
mention the source and credit us as originators of the list. Note
|
||||
that if you, as a game designer, use the WORD.LST in your product,
|
||||
you may still copyright and protect your product, but you may *not*
|
||||
legally copyright or in any way restrict redistribution of the
|
||||
WORD.LST portion of your product. This *may* under law restrict your
|
||||
rights to restrict your users' rights, but that is only fair.
|
||||
|
||||
UKACD, by J Ross Beresford <ross@bryson.demon.co.uk>, is under the
|
||||
following copyright:
|
||||
|
||||
Copyright (c) J Ross Beresford 1993-1999. All Rights Reserved.
|
||||
|
||||
The following restriction is placed on the use of this publication:
|
||||
if The UK Advanced Cryptics Dictionary is used in a software package
|
||||
or redistributed in any form, the copyright notice must be
|
||||
prominently displayed and the text of this document must be included
|
||||
verbatim.
|
||||
|
||||
There are no other restrictions: I would like to see the list
|
||||
distributed as widely as possible.
|
||||
|
||||
The 95 level includes the 354,984 single words and 256,772 compound
|
||||
words from the MWords package, ABLE.LST from the ENABLE Supplement,
|
||||
and some additional words found in my part-of-speech database that
|
||||
were not found anywhere else.
|
||||
|
||||
Accent information was taken from UKACD.
|
||||
|
||||
My VARCON package was used to create the American, British, and
|
||||
Canadian word list.
|
||||
|
||||
Since the original word lists used used in the
|
||||
VARCON package came from the Ispell distribution they are under the
|
||||
Ispell copyright.
|
||||
|
||||
The variant word lists were created from a list of variants found in
|
||||
the 12dicts supplement package as well as a list of variants I created
|
||||
myself.
|
||||
|
||||
|
||||
|
||||
|
||||
===================================================
|
||||
en_GB:
|
||||
This dictionary was initially based on a subset of the
|
||||
original English wordlist created by Kevin Atkinson for
|
||||
Pspell and Aspell and thus is covered by his original
|
||||
LGPL licence.
|
||||
|
||||
It has been extensively updated by David Bartlett, Brian Kelk
|
||||
and Andrew Brown:
|
||||
- numerous Americanism have been removed
|
||||
- numerous American spellings have been corrected
|
||||
- missing words have been added
|
||||
- many errors have been corrected
|
||||
- compound hyphenated words have been added where appropriate
|
||||
|
||||
Valuable inputs to this process were received from many other
|
||||
people - far too numerous to name. Serious thanks to you all
|
||||
for your greatly appreciated help.
|
||||
|
||||
This word list is intended to be a good representation of
|
||||
current modern British English and thus it should be a good
|
||||
basis for Commonwealth English in most countries of the world
|
||||
outside North America.
|
||||
|
||||
The affix file has been created completely from scratch
|
||||
by David Bartlett and Andrew Brown, based on the published
|
||||
rules for MySpell and is also provided under the LGPL.
|
||||
|
||||
In creating the affix rules an attempt has been made to
|
||||
reproduce the most general rules for English word
|
||||
formation, rather than merely use it as a means to
|
||||
compress the size of the dictionary. It is hoped that this
|
||||
will facilitate future localisation to other variants of
|
||||
English.
|
||||
|
||||
Please let David Bartlett <dwb@openoffice.org> know of any
|
||||
errors that you find.
|
||||
|
||||
The current release is R 1.18, 11/04/05
|
||||
===================================================
|
||||
en_NZ:
|
||||
I. Copyright
|
||||
II. Copying (Licence)
|
||||
----------------------------
|
||||
|
||||
I. Copyright
|
||||
|
||||
NZ English Dictionary v0.9 beta - Build 06SEP03
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
NB This is an initial version, please check:
|
||||
http://lingucomponent.openoffice.org/download_dictionary.html
|
||||
or
|
||||
http://www.girlza.com/dictionary/download.html
|
||||
for a final version, after a little while (no hurry).
|
||||
|
||||
This dictionary is based on the en_GB Myspell dictionary
|
||||
which in turn was initially based on a subset of the
|
||||
original English wordlist created by Kevin Atkinson for
|
||||
Pspell and Aspell and thus is covered by his original
|
||||
LGPL licence.
|
||||
|
||||
|
||||
Introduction
|
||||
~~~~~~~~~~~~
|
||||
en_NZ.dic has been altered to include New Zealand places,
|
||||
including major cities and towns, and major suburbs. It
|
||||
also contains NZ words, organisations and expressions.
|
||||
|
||||
en_NZ.aff has had a few REPlace strings added, but is
|
||||
basically unchanged.
|
||||
|
||||
|
||||
Acknowledgements
|
||||
~~~~~~~~~~~~~~~~
|
||||
Thanks must go to the original creators of the British
|
||||
dictionary, David Bartlett, Brian Kelk and Andrew Brown.
|
||||
|
||||
I wouldn't have started this without seeing the Australian
|
||||
dictionary, thanks Kelvin Eldridge, Jean Hollis Weber and
|
||||
David Wilson.
|
||||
|
||||
And thank you to all who've contributed to OpenOffice.org.
|
||||
|
||||
|
||||
License
|
||||
~~~~~~~
|
||||
This dictionary is covered by the GNU Lesser General Public
|
||||
License, viewable at http://www.gnu.org/copyleft/lesser.html
|
||||
|
||||
|
||||
Issues
|
||||
~~~~~~
|
||||
Many of the proper nouns already in the dictionary do not have
|
||||
an affix for 's.
|
||||
All my new words start after the z's of the original dictionary.
|
||||
|
||||
|
||||
Contact
|
||||
~~~~~~~
|
||||
Contact Tristan Burtenshaw (hooty@slingshot.co.nz) with any words,
|
||||
places or other suggestions for the dictionary.
|
||||
|
||||
|
||||
|
||||
II. Copying
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
@@ -1,14 +1,28 @@
|
||||
*** de_DE.orig.aff Fri Feb 25 12:50:10 2005
|
||||
--- de_DE.aff Sun Jul 3 19:04:32 2005
|
||||
--- de_DE.aff Sun Jul 31 22:15:49 2005
|
||||
***************
|
||||
*** 2,3 ****
|
||||
--- 2,10 ----
|
||||
--- 2,24 ----
|
||||
TRY esianrtolcdugmphbyfvkw<6B><77><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ESIANRTOLCDUGMPHBYFVKW<4B><57><EFBFBD>
|
||||
+
|
||||
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+
|
||||
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
|
||||
+
|
||||
+ MIDWORD '
|
||||
+
|
||||
+ MAP 9
|
||||
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP e<><65><EFBFBD><EFBFBD>
|
||||
+ MAP i<><69><EFBFBD><EFBFBD>
|
||||
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP u<><75><EFBFBD><EFBFBD>
|
||||
+ MAP n<>
|
||||
+ MAP c<>
|
||||
+ MAP y<><79>
|
||||
+ MAP s<>
|
||||
+
|
||||
#
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Aap recipe for Dutch Vim spell files.
|
||||
# Aap recipe for German Vim spell files.
|
||||
|
||||
# Use a freshly compiled Vim if it exists.
|
||||
@if os.path.exists('../../../src/vim'):
|
||||
VIM = ../../../src/vim
|
||||
@else:
|
||||
VIM = vim
|
||||
:progsearch VIM vim
|
||||
|
||||
SPELLDIR = ..
|
||||
FILES = de_DE.aff de_DE.dic
|
||||
@@ -14,11 +14,11 @@ all: $(SPELLDIR)/de.latin1.spl $(SPELLDIR)/de.utf-8.spl ../README_de.txt
|
||||
|
||||
$(SPELLDIR)/de.latin1.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=de_DE.ISO8859-1
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/de de_DE" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/de de_DE" -c q
|
||||
|
||||
$(SPELLDIR)/de.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=de_DE.UTF-8
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/de de_DE" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/de de_DE" -c q
|
||||
|
||||
../README_de.txt: README_de_DE_comb.txt
|
||||
:copy $source $target
|
||||
@@ -41,8 +41,9 @@ de_DE.aff de_DE.dic: {buildcheck=}
|
||||
@if not os.path.exists('de_DE.orig.aff'):
|
||||
:copy de_DE.aff de_DE.orig.aff
|
||||
@if not os.path.exists('de_DE.orig.dic'):
|
||||
:copy de_DE.aff de_DE.orig.dic
|
||||
:sys patch <de_DE.diff
|
||||
:copy de_DE.dic de_DE.orig.dic
|
||||
@if os.path.exists('de_DE.diff'):
|
||||
:sys patch <de_DE.diff
|
||||
|
||||
|
||||
# Generate diff files, so that others can get the OpenOffice files and apply
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,11 +1,11 @@
|
||||
*** en_AU.orig.aff Fri Apr 15 13:20:36 2005
|
||||
--- en_AU.aff Sun Jul 3 17:11:07 2005
|
||||
--- en_AU.aff Sun Jul 31 22:16:19 2005
|
||||
***************
|
||||
*** 7,9 ****
|
||||
SET ISO8859-1
|
||||
! TRY esia<69>nrtolcdugmphbyfvkw-'.zqjxSNRTLCGDMPHBEAUYOFIVKW<4B><57><EFBFBD>ZQJX<4A><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
REP 24
|
||||
--- 7,19 ----
|
||||
--- 7,140 ----
|
||||
SET ISO8859-1
|
||||
! TRY esia<69>nrtolcdugmphbyfvkw-'.zqjxSNRTLCGDMPHBEAUYOFIVKW<4B><57><EFBFBD>ZQJX<4A><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
!
|
||||
@@ -17,6 +17,127 @@
|
||||
!
|
||||
! RAR ?
|
||||
! BAD !
|
||||
!
|
||||
! MAP 9
|
||||
! MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
! MAP e<><65><EFBFBD><EFBFBD>
|
||||
! MAP i<><69><EFBFBD><EFBFBD>
|
||||
! MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
|
||||
! MAP u<><75><EFBFBD><EFBFBD>
|
||||
! MAP n<>
|
||||
! MAP c<>
|
||||
! MAP y<><79>
|
||||
! MAP s<>
|
||||
!
|
||||
! # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07
|
||||
!
|
||||
! SAL AH(AEIOUY)-^ *H
|
||||
! SAL AR(AEIOUY)-^ *R
|
||||
! SAL A(HR)^ *
|
||||
! SAL A^ *
|
||||
! SAL AH(AEIOUY)- H
|
||||
! SAL AR(AEIOUY)- R
|
||||
! SAL A(HR) _
|
||||
! SAL <20>^ *
|
||||
! SAL <20>^ *
|
||||
! SAL BB- _
|
||||
! SAL B B
|
||||
! SAL CQ- _
|
||||
! SAL CIA X
|
||||
! SAL CH X
|
||||
! SAL C(EIY)- S
|
||||
! SAL CK K
|
||||
! SAL COUGH^ KF
|
||||
! SAL CC< C
|
||||
! SAL C K
|
||||
! SAL DG(EIY) K
|
||||
! SAL DD- _
|
||||
! SAL D T
|
||||
! SAL <20>< E
|
||||
! SAL EH(AEIOUY)-^ *H
|
||||
! SAL ER(AEIOUY)-^ *R
|
||||
! SAL E(HR)^ *
|
||||
! SAL ENOUGH^$ *NF
|
||||
! SAL E^ *
|
||||
! SAL EH(AEIOUY)- H
|
||||
! SAL ER(AEIOUY)- R
|
||||
! SAL E(HR) _
|
||||
! SAL FF- _
|
||||
! SAL F F
|
||||
! SAL GN^ N
|
||||
! SAL GN$ N
|
||||
! SAL GNS$ NS
|
||||
! SAL GNED$ N
|
||||
! SAL GH(AEIOUY)- K
|
||||
! SAL GH _
|
||||
! SAL GG9 K
|
||||
! SAL G K
|
||||
! SAL H H
|
||||
! SAL IH(AEIOUY)-^ *H
|
||||
! SAL IR(AEIOUY)-^ *R
|
||||
! SAL I(HR)^ *
|
||||
! SAL I^ *
|
||||
! SAL ING6 N
|
||||
! SAL IH(AEIOUY)- H
|
||||
! SAL IR(AEIOUY)- R
|
||||
! SAL I(HR) _
|
||||
! SAL J K
|
||||
! SAL KN^ N
|
||||
! SAL KK- _
|
||||
! SAL K K
|
||||
! SAL LAUGH^ LF
|
||||
! SAL LL- _
|
||||
! SAL L L
|
||||
! SAL MB$ M
|
||||
! SAL MM M
|
||||
! SAL M M
|
||||
! SAL NN- _
|
||||
! SAL N N
|
||||
! SAL OH(AEIOUY)-^ *H
|
||||
! SAL OR(AEIOUY)-^ *R
|
||||
! SAL O(HR)^ *
|
||||
! SAL O^ *
|
||||
! SAL OH(AEIOUY)- H
|
||||
! SAL OR(AEIOUY)- R
|
||||
! SAL O(HR) _
|
||||
! SAL PH F
|
||||
! SAL PN^ N
|
||||
! SAL PP- _
|
||||
! SAL P P
|
||||
! SAL Q K
|
||||
! SAL RH^ R
|
||||
! SAL ROUGH^ RF
|
||||
! SAL RR- _
|
||||
! SAL R R
|
||||
! SAL SCH(EOU)- SK
|
||||
! SAL SC(IEY)- S
|
||||
! SAL SH X
|
||||
! SAL SI(AO)- X
|
||||
! SAL SS- _
|
||||
! SAL S S
|
||||
! SAL TI(AO)- X
|
||||
! SAL TH @
|
||||
! SAL TCH-- _
|
||||
! SAL TOUGH^ TF
|
||||
! SAL TT- _
|
||||
! SAL T T
|
||||
! SAL UH(AEIOUY)-^ *H
|
||||
! SAL UR(AEIOUY)-^ *R
|
||||
! SAL U(HR)^ *
|
||||
! SAL U^ *
|
||||
! SAL UH(AEIOUY)- H
|
||||
! SAL UR(AEIOUY)- R
|
||||
! SAL U(HR) _
|
||||
! SAL V^ W
|
||||
! SAL V F
|
||||
! SAL WR^ R
|
||||
! SAL WH^ W
|
||||
! SAL W(AEIOU)- W
|
||||
! SAL X^ S
|
||||
! SAL X KS
|
||||
! SAL Y(AEIOU)- Y
|
||||
! SAL ZZ- _
|
||||
! SAL Z S
|
||||
!
|
||||
REP 24
|
||||
***************
|
||||
@@ -41,7 +162,7 @@
|
||||
PFX E Y 1
|
||||
! PFX E 0 dis .
|
||||
PFX F Y 5
|
||||
--- 44,63 ----
|
||||
--- 165,184 ----
|
||||
PFX A Y 2
|
||||
! PFX A 0 re [^e]
|
||||
! PFX A 0 re- e
|
||||
@@ -459,7 +580,7 @@
|
||||
SFX T y iest [^aeiou]y
|
||||
! SFX T 0 er [aeiou]y
|
||||
SFX T 0 est [aeiou]y
|
||||
--- 67,461 ----
|
||||
--- 188,582 ----
|
||||
PFX F 0 col l
|
||||
! PFX F 0 con [^abehilmopru].
|
||||
PFX K Y 1
|
||||
@@ -1543,7 +1664,7 @@
|
||||
! SFX 3 0 ist's [aeioubp]y
|
||||
! SFX 3 o ist's o
|
||||
! SFX 3 0 ist's [^eoy]
|
||||
--- 468,1274 ----
|
||||
--- 589,1274 ----
|
||||
SFX R Y 72
|
||||
! SFX R 0 r e
|
||||
! SFX R 0 rs e
|
||||
@@ -2230,127 +2351,6 @@
|
||||
! SFX 3 0 ist's [aeioubp]y
|
||||
! SFX 3 o ist's o
|
||||
! SFX 3 0 ist's [^eoy]
|
||||
!
|
||||
! MAP 5
|
||||
! MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
! MAP e<><65><EFBFBD><EFBFBD>
|
||||
! MAP i<><69><EFBFBD><EFBFBD>
|
||||
! MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
|
||||
! MAP u<><75><EFBFBD><EFBFBD>
|
||||
! MAP n<>
|
||||
! MAP c<>
|
||||
! MAP y<><79>
|
||||
! MAP s<>
|
||||
!
|
||||
! # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07
|
||||
!
|
||||
! SAL AH(AEIOUY)-^ *H
|
||||
! SAL AR(AEIOUY)-^ *R
|
||||
! SAL A(HR)^ *
|
||||
! SAL A^ *
|
||||
! SAL AH(AEIOUY)- H
|
||||
! SAL AR(AEIOUY)- R
|
||||
! SAL A(HR) _
|
||||
! SAL <20>^ *
|
||||
! SAL <20>^ *
|
||||
! SAL BB- _
|
||||
! SAL B B
|
||||
! SAL CQ- _
|
||||
! SAL CIA X
|
||||
! SAL CH X
|
||||
! SAL C(EIY)- S
|
||||
! SAL CK K
|
||||
! SAL COUGH^ KF
|
||||
! SAL CC< C
|
||||
! SAL C K
|
||||
! SAL DG(EIY) K
|
||||
! SAL DD- _
|
||||
! SAL D T
|
||||
! SAL <20>< E
|
||||
! SAL EH(AEIOUY)-^ *H
|
||||
! SAL ER(AEIOUY)-^ *R
|
||||
! SAL E(HR)^ *
|
||||
! SAL ENOUGH^$ *NF
|
||||
! SAL E^ *
|
||||
! SAL EH(AEIOUY)- H
|
||||
! SAL ER(AEIOUY)- R
|
||||
! SAL E(HR) _
|
||||
! SAL FF- _
|
||||
! SAL F F
|
||||
! SAL GN^ N
|
||||
! SAL GN$ N
|
||||
! SAL GNS$ NS
|
||||
! SAL GNED$ N
|
||||
! SAL GH(AEIOUY)- K
|
||||
! SAL GH _
|
||||
! SAL GG9 K
|
||||
! SAL G K
|
||||
! SAL H H
|
||||
! SAL IH(AEIOUY)-^ *H
|
||||
! SAL IR(AEIOUY)-^ *R
|
||||
! SAL I(HR)^ *
|
||||
! SAL I^ *
|
||||
! SAL ING6 N
|
||||
! SAL IH(AEIOUY)- H
|
||||
! SAL IR(AEIOUY)- R
|
||||
! SAL I(HR) _
|
||||
! SAL J K
|
||||
! SAL KN^ N
|
||||
! SAL KK- _
|
||||
! SAL K K
|
||||
! SAL LAUGH^ LF
|
||||
! SAL LL- _
|
||||
! SAL L L
|
||||
! SAL MB$ M
|
||||
! SAL MM M
|
||||
! SAL M M
|
||||
! SAL NN- _
|
||||
! SAL N N
|
||||
! SAL OH(AEIOUY)-^ *H
|
||||
! SAL OR(AEIOUY)-^ *R
|
||||
! SAL O(HR)^ *
|
||||
! SAL O^ *
|
||||
! SAL OH(AEIOUY)- H
|
||||
! SAL OR(AEIOUY)- R
|
||||
! SAL O(HR) _
|
||||
! SAL PH F
|
||||
! SAL PN^ N
|
||||
! SAL PP- _
|
||||
! SAL P P
|
||||
! SAL Q K
|
||||
! SAL RH^ R
|
||||
! SAL ROUGH^ RF
|
||||
! SAL RR- _
|
||||
! SAL R R
|
||||
! SAL SCH(EOU)- SK
|
||||
! SAL SC(IEY)- S
|
||||
! SAL SH X
|
||||
! SAL SI(AO)- X
|
||||
! SAL SS- _
|
||||
! SAL S S
|
||||
! SAL TI(AO)- X
|
||||
! SAL TH @
|
||||
! SAL TCH-- _
|
||||
! SAL TOUGH^ TF
|
||||
! SAL TT- _
|
||||
! SAL T T
|
||||
! SAL UH(AEIOUY)-^ *H
|
||||
! SAL UR(AEIOUY)-^ *R
|
||||
! SAL U(HR)^ *
|
||||
! SAL U^ *
|
||||
! SAL UH(AEIOUY)- H
|
||||
! SAL UR(AEIOUY)- R
|
||||
! SAL U(HR) _
|
||||
! SAL V^ W
|
||||
! SAL V F
|
||||
! SAL WR^ R
|
||||
! SAL WH^ W
|
||||
! SAL W(AEIOU)- W
|
||||
! SAL X^ S
|
||||
! SAL X KS
|
||||
! SAL Y(AEIOU)- Y
|
||||
! SAL ZZ- _
|
||||
! SAL Z S
|
||||
*** en_AU.orig.dic Fri Apr 15 13:20:36 2005
|
||||
--- en_AU.dic Sun Jul 3 17:11:07 2005
|
||||
***************
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
*** en_CA.orig.aff Fri Apr 15 13:20:36 2005
|
||||
--- en_CA.aff Sun Jul 3 17:09:40 2005
|
||||
--- en_CA.aff Sun Jul 31 22:16:56 2005
|
||||
***************
|
||||
*** 3,4 ****
|
||||
--- 3,13 ----
|
||||
--- 3,134 ----
|
||||
|
||||
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
@@ -13,42 +13,7 @@
|
||||
+ RAR ?
|
||||
+ BAD !
|
||||
+
|
||||
PFX A Y 1
|
||||
***************
|
||||
*** 30,33 ****
|
||||
SFX N e ion e
|
||||
! SFX N y ication y
|
||||
! SFX N 0 en [^ey]
|
||||
|
||||
--- 39,42 ----
|
||||
SFX N e ion e
|
||||
! SFX N y ication y
|
||||
! SFX N 0 en [^ey]
|
||||
|
||||
***************
|
||||
*** 40,42 ****
|
||||
SFX H y ieth y
|
||||
! SFX H 0 th [^y]
|
||||
|
||||
--- 49,51 ----
|
||||
SFX H y ieth y
|
||||
! SFX H 0 th [^y]
|
||||
|
||||
***************
|
||||
*** 47,49 ****
|
||||
SFX G e ing e
|
||||
! SFX G 0 ing [^e]
|
||||
|
||||
--- 56,58 ----
|
||||
SFX G e ing e
|
||||
! SFX G 0 ing [^e]
|
||||
|
||||
***************
|
||||
*** 98 ****
|
||||
--- 107,228 ----
|
||||
SFX L 0 ment .
|
||||
+
|
||||
+ MAP 5
|
||||
+ MAP 9
|
||||
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP e<><65><EFBFBD><EFBFBD>
|
||||
+ MAP i<><69><EFBFBD><EFBFBD>
|
||||
@@ -168,6 +133,37 @@
|
||||
+ SAL Y(AEIOU)- Y
|
||||
+ SAL ZZ- _
|
||||
+ SAL Z S
|
||||
+
|
||||
PFX A Y 1
|
||||
***************
|
||||
*** 30,33 ****
|
||||
SFX N e ion e
|
||||
! SFX N y ication y
|
||||
! SFX N 0 en [^ey]
|
||||
|
||||
--- 160,163 ----
|
||||
SFX N e ion e
|
||||
! SFX N y ication y
|
||||
! SFX N 0 en [^ey]
|
||||
|
||||
***************
|
||||
*** 40,42 ****
|
||||
SFX H y ieth y
|
||||
! SFX H 0 th [^y]
|
||||
|
||||
--- 170,172 ----
|
||||
SFX H y ieth y
|
||||
! SFX H 0 th [^y]
|
||||
|
||||
***************
|
||||
*** 47,49 ****
|
||||
SFX G e ing e
|
||||
! SFX G 0 ing [^e]
|
||||
|
||||
--- 177,179 ----
|
||||
SFX G e ing e
|
||||
! SFX G 0 ing [^e]
|
||||
|
||||
*** en_CA.orig.dic Sat Apr 16 14:40:06 2005
|
||||
--- en_CA.dic Sun Jul 3 17:09:40 2005
|
||||
***************
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
*** en_GB.orig.aff Sun Jul 3 17:53:13 2005
|
||||
--- en_GB.aff Sun Jul 3 17:59:15 2005
|
||||
--- en_GB.aff Sun Jul 31 22:17:09 2005
|
||||
***************
|
||||
*** 8,9 ****
|
||||
--- 8,19 ----
|
||||
--- 8,140 ----
|
||||
TRY esia<69>nrtolcdugmfphbyvkw-'.zqjxSNRTLCGDMFPHBEAUYOIVKW<4B><57><EFBFBD><EFBFBD>ZQJX<4A><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+
|
||||
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
@@ -13,6 +13,127 @@
|
||||
+
|
||||
+ RAR ?
|
||||
+ BAD !
|
||||
+
|
||||
+ MAP 9
|
||||
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP e<><65><EFBFBD><EFBFBD>
|
||||
+ MAP i<><69><EFBFBD><EFBFBD>
|
||||
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP u<><75><EFBFBD><EFBFBD>
|
||||
+ MAP n<>
|
||||
+ MAP c<>
|
||||
+ MAP y<><79>
|
||||
+ MAP s<>
|
||||
+
|
||||
+ # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07
|
||||
+
|
||||
+ SAL AH(AEIOUY)-^ *H
|
||||
+ SAL AR(AEIOUY)-^ *R
|
||||
+ SAL A(HR)^ *
|
||||
+ SAL A^ *
|
||||
+ SAL AH(AEIOUY)- H
|
||||
+ SAL AR(AEIOUY)- R
|
||||
+ SAL A(HR) _
|
||||
+ SAL <20>^ *
|
||||
+ SAL <20>^ *
|
||||
+ SAL BB- _
|
||||
+ SAL B B
|
||||
+ SAL CQ- _
|
||||
+ SAL CIA X
|
||||
+ SAL CH X
|
||||
+ SAL C(EIY)- S
|
||||
+ SAL CK K
|
||||
+ SAL COUGH^ KF
|
||||
+ SAL CC< C
|
||||
+ SAL C K
|
||||
+ SAL DG(EIY) K
|
||||
+ SAL DD- _
|
||||
+ SAL D T
|
||||
+ SAL <20>< E
|
||||
+ SAL EH(AEIOUY)-^ *H
|
||||
+ SAL ER(AEIOUY)-^ *R
|
||||
+ SAL E(HR)^ *
|
||||
+ SAL ENOUGH^$ *NF
|
||||
+ SAL E^ *
|
||||
+ SAL EH(AEIOUY)- H
|
||||
+ SAL ER(AEIOUY)- R
|
||||
+ SAL E(HR) _
|
||||
+ SAL FF- _
|
||||
+ SAL F F
|
||||
+ SAL GN^ N
|
||||
+ SAL GN$ N
|
||||
+ SAL GNS$ NS
|
||||
+ SAL GNED$ N
|
||||
+ SAL GH(AEIOUY)- K
|
||||
+ SAL GH _
|
||||
+ SAL GG9 K
|
||||
+ SAL G K
|
||||
+ SAL H H
|
||||
+ SAL IH(AEIOUY)-^ *H
|
||||
+ SAL IR(AEIOUY)-^ *R
|
||||
+ SAL I(HR)^ *
|
||||
+ SAL I^ *
|
||||
+ SAL ING6 N
|
||||
+ SAL IH(AEIOUY)- H
|
||||
+ SAL IR(AEIOUY)- R
|
||||
+ SAL I(HR) _
|
||||
+ SAL J K
|
||||
+ SAL KN^ N
|
||||
+ SAL KK- _
|
||||
+ SAL K K
|
||||
+ SAL LAUGH^ LF
|
||||
+ SAL LL- _
|
||||
+ SAL L L
|
||||
+ SAL MB$ M
|
||||
+ SAL MM M
|
||||
+ SAL M M
|
||||
+ SAL NN- _
|
||||
+ SAL N N
|
||||
+ SAL OH(AEIOUY)-^ *H
|
||||
+ SAL OR(AEIOUY)-^ *R
|
||||
+ SAL O(HR)^ *
|
||||
+ SAL O^ *
|
||||
+ SAL OH(AEIOUY)- H
|
||||
+ SAL OR(AEIOUY)- R
|
||||
+ SAL O(HR) _
|
||||
+ SAL PH F
|
||||
+ SAL PN^ N
|
||||
+ SAL PP- _
|
||||
+ SAL P P
|
||||
+ SAL Q K
|
||||
+ SAL RH^ R
|
||||
+ SAL ROUGH^ RF
|
||||
+ SAL RR- _
|
||||
+ SAL R R
|
||||
+ SAL SCH(EOU)- SK
|
||||
+ SAL SC(IEY)- S
|
||||
+ SAL SH X
|
||||
+ SAL SI(AO)- X
|
||||
+ SAL SS- _
|
||||
+ SAL S S
|
||||
+ SAL TI(AO)- X
|
||||
+ SAL TH @
|
||||
+ SAL TCH-- _
|
||||
+ SAL TOUGH^ TF
|
||||
+ SAL TT- _
|
||||
+ SAL T T
|
||||
+ SAL UH(AEIOUY)-^ *H
|
||||
+ SAL UR(AEIOUY)-^ *R
|
||||
+ SAL U(HR)^ *
|
||||
+ SAL U^ *
|
||||
+ SAL UH(AEIOUY)- H
|
||||
+ SAL UR(AEIOUY)- R
|
||||
+ SAL U(HR) _
|
||||
+ SAL V^ W
|
||||
+ SAL V F
|
||||
+ SAL WR^ R
|
||||
+ SAL WH^ W
|
||||
+ SAL W(AEIOU)- W
|
||||
+ SAL X^ S
|
||||
+ SAL X KS
|
||||
+ SAL Y(AEIOU)- Y
|
||||
+ SAL ZZ- _
|
||||
+ SAL Z S
|
||||
+
|
||||
REP 27
|
||||
***************
|
||||
@@ -37,7 +158,7 @@
|
||||
PFX E Y 1
|
||||
! PFX E 0 dis .
|
||||
PFX F Y 5
|
||||
--- 47,66 ----
|
||||
--- 168,187 ----
|
||||
PFX A Y 2
|
||||
! PFX A 0 re [^e]
|
||||
! PFX A 0 re- e
|
||||
@@ -455,7 +576,7 @@
|
||||
SFX T y iest [^aeiou]y
|
||||
! SFX T 0 er [aeiou]y
|
||||
SFX T 0 est [aeiou]y
|
||||
--- 70,464 ----
|
||||
--- 191,585 ----
|
||||
PFX F 0 col l
|
||||
! PFX F 0 con [^abehilmopru].
|
||||
PFX K Y 1
|
||||
@@ -1543,7 +1664,7 @@
|
||||
! SFX 3 0 ist's [aeioubp]y
|
||||
! SFX 3 o ist's o
|
||||
! SFX 3 0 ist's [^eoy]
|
||||
--- 471,1281 ----
|
||||
--- 592,1281 ----
|
||||
SFX R Y 72
|
||||
! SFX R 0 r e
|
||||
! SFX R 0 rs e
|
||||
@@ -2234,127 +2355,6 @@
|
||||
! SFX 3 0 ist's [aeioubp]y
|
||||
! SFX 3 o ist's o
|
||||
! SFX 3 0 ist's [^eoy]
|
||||
!
|
||||
! MAP 5
|
||||
! MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
! MAP e<><65><EFBFBD><EFBFBD>
|
||||
! MAP i<><69><EFBFBD><EFBFBD>
|
||||
! MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
|
||||
! MAP u<><75><EFBFBD><EFBFBD>
|
||||
! MAP n<>
|
||||
! MAP c<>
|
||||
! MAP y<><79>
|
||||
! MAP s<>
|
||||
!
|
||||
! # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07
|
||||
!
|
||||
! SAL AH(AEIOUY)-^ *H
|
||||
! SAL AR(AEIOUY)-^ *R
|
||||
! SAL A(HR)^ *
|
||||
! SAL A^ *
|
||||
! SAL AH(AEIOUY)- H
|
||||
! SAL AR(AEIOUY)- R
|
||||
! SAL A(HR) _
|
||||
! SAL <20>^ *
|
||||
! SAL <20>^ *
|
||||
! SAL BB- _
|
||||
! SAL B B
|
||||
! SAL CQ- _
|
||||
! SAL CIA X
|
||||
! SAL CH X
|
||||
! SAL C(EIY)- S
|
||||
! SAL CK K
|
||||
! SAL COUGH^ KF
|
||||
! SAL CC< C
|
||||
! SAL C K
|
||||
! SAL DG(EIY) K
|
||||
! SAL DD- _
|
||||
! SAL D T
|
||||
! SAL <20>< E
|
||||
! SAL EH(AEIOUY)-^ *H
|
||||
! SAL ER(AEIOUY)-^ *R
|
||||
! SAL E(HR)^ *
|
||||
! SAL ENOUGH^$ *NF
|
||||
! SAL E^ *
|
||||
! SAL EH(AEIOUY)- H
|
||||
! SAL ER(AEIOUY)- R
|
||||
! SAL E(HR) _
|
||||
! SAL FF- _
|
||||
! SAL F F
|
||||
! SAL GN^ N
|
||||
! SAL GN$ N
|
||||
! SAL GNS$ NS
|
||||
! SAL GNED$ N
|
||||
! SAL GH(AEIOUY)- K
|
||||
! SAL GH _
|
||||
! SAL GG9 K
|
||||
! SAL G K
|
||||
! SAL H H
|
||||
! SAL IH(AEIOUY)-^ *H
|
||||
! SAL IR(AEIOUY)-^ *R
|
||||
! SAL I(HR)^ *
|
||||
! SAL I^ *
|
||||
! SAL ING6 N
|
||||
! SAL IH(AEIOUY)- H
|
||||
! SAL IR(AEIOUY)- R
|
||||
! SAL I(HR) _
|
||||
! SAL J K
|
||||
! SAL KN^ N
|
||||
! SAL KK- _
|
||||
! SAL K K
|
||||
! SAL LAUGH^ LF
|
||||
! SAL LL- _
|
||||
! SAL L L
|
||||
! SAL MB$ M
|
||||
! SAL MM M
|
||||
! SAL M M
|
||||
! SAL NN- _
|
||||
! SAL N N
|
||||
! SAL OH(AEIOUY)-^ *H
|
||||
! SAL OR(AEIOUY)-^ *R
|
||||
! SAL O(HR)^ *
|
||||
! SAL O^ *
|
||||
! SAL OH(AEIOUY)- H
|
||||
! SAL OR(AEIOUY)- R
|
||||
! SAL O(HR) _
|
||||
! SAL PH F
|
||||
! SAL PN^ N
|
||||
! SAL PP- _
|
||||
! SAL P P
|
||||
! SAL Q K
|
||||
! SAL RH^ R
|
||||
! SAL ROUGH^ RF
|
||||
! SAL RR- _
|
||||
! SAL R R
|
||||
! SAL SCH(EOU)- SK
|
||||
! SAL SC(IEY)- S
|
||||
! SAL SH X
|
||||
! SAL SI(AO)- X
|
||||
! SAL SS- _
|
||||
! SAL S S
|
||||
! SAL TI(AO)- X
|
||||
! SAL TH @
|
||||
! SAL TCH-- _
|
||||
! SAL TOUGH^ TF
|
||||
! SAL TT- _
|
||||
! SAL T T
|
||||
! SAL UH(AEIOUY)-^ *H
|
||||
! SAL UR(AEIOUY)-^ *R
|
||||
! SAL U(HR)^ *
|
||||
! SAL U^ *
|
||||
! SAL UH(AEIOUY)- H
|
||||
! SAL UR(AEIOUY)- R
|
||||
! SAL U(HR) _
|
||||
! SAL V^ W
|
||||
! SAL V F
|
||||
! SAL WR^ R
|
||||
! SAL WH^ W
|
||||
! SAL W(AEIOU)- W
|
||||
! SAL X^ S
|
||||
! SAL X KS
|
||||
! SAL Y(AEIOU)- Y
|
||||
! SAL ZZ- _
|
||||
! SAL Z S
|
||||
*** en_GB.orig.dic Sun Jul 3 18:05:07 2005
|
||||
--- en_GB.dic Sun Jul 3 18:19:25 2005
|
||||
***************
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
*** en_NZ.orig.aff Fri Apr 15 13:20:36 2005
|
||||
--- en_NZ.aff Sun Jul 3 17:11:34 2005
|
||||
--- en_NZ.aff Sun Jul 31 22:17:27 2005
|
||||
***************
|
||||
*** 7,9 ****
|
||||
SET ISO8859-1
|
||||
! TRY esia<69>nrtolcdugmphbyfvkw-'.zqjxSNRTLCGDMPHBEAUYOFIVKW<4B><57><EFBFBD>ZQJX<4A><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
REP 66
|
||||
--- 7,19 ----
|
||||
--- 7,140 ----
|
||||
SET ISO8859-1
|
||||
! TRY esia<69>nrtolcdugmphbyfvkw-'.zqjxSNRTLCGDMPHBEAUYOFIVKW<4B><57><EFBFBD>ZQJX<4A><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
!
|
||||
@@ -17,6 +17,127 @@
|
||||
!
|
||||
! RAR ?
|
||||
! BAD !
|
||||
!
|
||||
! MAP 9
|
||||
! MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
! MAP e<><65><EFBFBD><EFBFBD>
|
||||
! MAP i<><69><EFBFBD><EFBFBD>
|
||||
! MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
|
||||
! MAP u<><75><EFBFBD><EFBFBD>
|
||||
! MAP n<>
|
||||
! MAP c<>
|
||||
! MAP y<><79>
|
||||
! MAP s<>
|
||||
!
|
||||
! # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07
|
||||
!
|
||||
! SAL AH(AEIOUY)-^ *H
|
||||
! SAL AR(AEIOUY)-^ *R
|
||||
! SAL A(HR)^ *
|
||||
! SAL A^ *
|
||||
! SAL AH(AEIOUY)- H
|
||||
! SAL AR(AEIOUY)- R
|
||||
! SAL A(HR) _
|
||||
! SAL <20>^ *
|
||||
! SAL <20>^ *
|
||||
! SAL BB- _
|
||||
! SAL B B
|
||||
! SAL CQ- _
|
||||
! SAL CIA X
|
||||
! SAL CH X
|
||||
! SAL C(EIY)- S
|
||||
! SAL CK K
|
||||
! SAL COUGH^ KF
|
||||
! SAL CC< C
|
||||
! SAL C K
|
||||
! SAL DG(EIY) K
|
||||
! SAL DD- _
|
||||
! SAL D T
|
||||
! SAL <20>< E
|
||||
! SAL EH(AEIOUY)-^ *H
|
||||
! SAL ER(AEIOUY)-^ *R
|
||||
! SAL E(HR)^ *
|
||||
! SAL ENOUGH^$ *NF
|
||||
! SAL E^ *
|
||||
! SAL EH(AEIOUY)- H
|
||||
! SAL ER(AEIOUY)- R
|
||||
! SAL E(HR) _
|
||||
! SAL FF- _
|
||||
! SAL F F
|
||||
! SAL GN^ N
|
||||
! SAL GN$ N
|
||||
! SAL GNS$ NS
|
||||
! SAL GNED$ N
|
||||
! SAL GH(AEIOUY)- K
|
||||
! SAL GH _
|
||||
! SAL GG9 K
|
||||
! SAL G K
|
||||
! SAL H H
|
||||
! SAL IH(AEIOUY)-^ *H
|
||||
! SAL IR(AEIOUY)-^ *R
|
||||
! SAL I(HR)^ *
|
||||
! SAL I^ *
|
||||
! SAL ING6 N
|
||||
! SAL IH(AEIOUY)- H
|
||||
! SAL IR(AEIOUY)- R
|
||||
! SAL I(HR) _
|
||||
! SAL J K
|
||||
! SAL KN^ N
|
||||
! SAL KK- _
|
||||
! SAL K K
|
||||
! SAL LAUGH^ LF
|
||||
! SAL LL- _
|
||||
! SAL L L
|
||||
! SAL MB$ M
|
||||
! SAL MM M
|
||||
! SAL M M
|
||||
! SAL NN- _
|
||||
! SAL N N
|
||||
! SAL OH(AEIOUY)-^ *H
|
||||
! SAL OR(AEIOUY)-^ *R
|
||||
! SAL O(HR)^ *
|
||||
! SAL O^ *
|
||||
! SAL OH(AEIOUY)- H
|
||||
! SAL OR(AEIOUY)- R
|
||||
! SAL O(HR) _
|
||||
! SAL PH F
|
||||
! SAL PN^ N
|
||||
! SAL PP- _
|
||||
! SAL P P
|
||||
! SAL Q K
|
||||
! SAL RH^ R
|
||||
! SAL ROUGH^ RF
|
||||
! SAL RR- _
|
||||
! SAL R R
|
||||
! SAL SCH(EOU)- SK
|
||||
! SAL SC(IEY)- S
|
||||
! SAL SH X
|
||||
! SAL SI(AO)- X
|
||||
! SAL SS- _
|
||||
! SAL S S
|
||||
! SAL TI(AO)- X
|
||||
! SAL TH @
|
||||
! SAL TCH-- _
|
||||
! SAL TOUGH^ TF
|
||||
! SAL TT- _
|
||||
! SAL T T
|
||||
! SAL UH(AEIOUY)-^ *H
|
||||
! SAL UR(AEIOUY)-^ *R
|
||||
! SAL U(HR)^ *
|
||||
! SAL U^ *
|
||||
! SAL UH(AEIOUY)- H
|
||||
! SAL UR(AEIOUY)- R
|
||||
! SAL U(HR) _
|
||||
! SAL V^ W
|
||||
! SAL V F
|
||||
! SAL WR^ R
|
||||
! SAL WH^ W
|
||||
! SAL W(AEIOU)- W
|
||||
! SAL X^ S
|
||||
! SAL X KS
|
||||
! SAL Y(AEIOU)- Y
|
||||
! SAL ZZ- _
|
||||
! SAL Z S
|
||||
!
|
||||
REP 66
|
||||
***************
|
||||
@@ -41,7 +162,7 @@
|
||||
PFX E Y 1
|
||||
! PFX E 0 dis .
|
||||
PFX F Y 5
|
||||
--- 86,105 ----
|
||||
--- 207,226 ----
|
||||
PFX A Y 2
|
||||
! PFX A 0 re [^e]
|
||||
! PFX A 0 re- e
|
||||
@@ -459,7 +580,7 @@
|
||||
SFX T y iest [^aeiou]y
|
||||
! SFX T 0 er [aeiou]y
|
||||
SFX T 0 est [aeiou]y
|
||||
--- 109,503 ----
|
||||
--- 230,624 ----
|
||||
PFX F 0 col l
|
||||
! PFX F 0 con [^abehilmopru].
|
||||
PFX K Y 1
|
||||
@@ -1544,7 +1665,7 @@
|
||||
! SFX 3 o ist's o
|
||||
! SFX 3 0 ist's [^eoy]
|
||||
\ No newline at end of file
|
||||
--- 510,1316 ----
|
||||
--- 631,1316 ----
|
||||
SFX R Y 72
|
||||
! SFX R 0 r e
|
||||
! SFX R 0 rs e
|
||||
@@ -2231,127 +2352,6 @@
|
||||
! SFX 3 0 ist's [aeioubp]y
|
||||
! SFX 3 o ist's o
|
||||
! SFX 3 0 ist's [^eoy]
|
||||
!
|
||||
! MAP 5
|
||||
! MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
! MAP e<><65><EFBFBD><EFBFBD>
|
||||
! MAP i<><69><EFBFBD><EFBFBD>
|
||||
! MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
|
||||
! MAP u<><75><EFBFBD><EFBFBD>
|
||||
! MAP n<>
|
||||
! MAP c<>
|
||||
! MAP y<><79>
|
||||
! MAP s<>
|
||||
!
|
||||
! # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07
|
||||
!
|
||||
! SAL AH(AEIOUY)-^ *H
|
||||
! SAL AR(AEIOUY)-^ *R
|
||||
! SAL A(HR)^ *
|
||||
! SAL A^ *
|
||||
! SAL AH(AEIOUY)- H
|
||||
! SAL AR(AEIOUY)- R
|
||||
! SAL A(HR) _
|
||||
! SAL <20>^ *
|
||||
! SAL <20>^ *
|
||||
! SAL BB- _
|
||||
! SAL B B
|
||||
! SAL CQ- _
|
||||
! SAL CIA X
|
||||
! SAL CH X
|
||||
! SAL C(EIY)- S
|
||||
! SAL CK K
|
||||
! SAL COUGH^ KF
|
||||
! SAL CC< C
|
||||
! SAL C K
|
||||
! SAL DG(EIY) K
|
||||
! SAL DD- _
|
||||
! SAL D T
|
||||
! SAL <20>< E
|
||||
! SAL EH(AEIOUY)-^ *H
|
||||
! SAL ER(AEIOUY)-^ *R
|
||||
! SAL E(HR)^ *
|
||||
! SAL ENOUGH^$ *NF
|
||||
! SAL E^ *
|
||||
! SAL EH(AEIOUY)- H
|
||||
! SAL ER(AEIOUY)- R
|
||||
! SAL E(HR) _
|
||||
! SAL FF- _
|
||||
! SAL F F
|
||||
! SAL GN^ N
|
||||
! SAL GN$ N
|
||||
! SAL GNS$ NS
|
||||
! SAL GNED$ N
|
||||
! SAL GH(AEIOUY)- K
|
||||
! SAL GH _
|
||||
! SAL GG9 K
|
||||
! SAL G K
|
||||
! SAL H H
|
||||
! SAL IH(AEIOUY)-^ *H
|
||||
! SAL IR(AEIOUY)-^ *R
|
||||
! SAL I(HR)^ *
|
||||
! SAL I^ *
|
||||
! SAL ING6 N
|
||||
! SAL IH(AEIOUY)- H
|
||||
! SAL IR(AEIOUY)- R
|
||||
! SAL I(HR) _
|
||||
! SAL J K
|
||||
! SAL KN^ N
|
||||
! SAL KK- _
|
||||
! SAL K K
|
||||
! SAL LAUGH^ LF
|
||||
! SAL LL- _
|
||||
! SAL L L
|
||||
! SAL MB$ M
|
||||
! SAL MM M
|
||||
! SAL M M
|
||||
! SAL NN- _
|
||||
! SAL N N
|
||||
! SAL OH(AEIOUY)-^ *H
|
||||
! SAL OR(AEIOUY)-^ *R
|
||||
! SAL O(HR)^ *
|
||||
! SAL O^ *
|
||||
! SAL OH(AEIOUY)- H
|
||||
! SAL OR(AEIOUY)- R
|
||||
! SAL O(HR) _
|
||||
! SAL PH F
|
||||
! SAL PN^ N
|
||||
! SAL PP- _
|
||||
! SAL P P
|
||||
! SAL Q K
|
||||
! SAL RH^ R
|
||||
! SAL ROUGH^ RF
|
||||
! SAL RR- _
|
||||
! SAL R R
|
||||
! SAL SCH(EOU)- SK
|
||||
! SAL SC(IEY)- S
|
||||
! SAL SH X
|
||||
! SAL SI(AO)- X
|
||||
! SAL SS- _
|
||||
! SAL S S
|
||||
! SAL TI(AO)- X
|
||||
! SAL TH @
|
||||
! SAL TCH-- _
|
||||
! SAL TOUGH^ TF
|
||||
! SAL TT- _
|
||||
! SAL T T
|
||||
! SAL UH(AEIOUY)-^ *H
|
||||
! SAL UR(AEIOUY)-^ *R
|
||||
! SAL U(HR)^ *
|
||||
! SAL U^ *
|
||||
! SAL UH(AEIOUY)- H
|
||||
! SAL UR(AEIOUY)- R
|
||||
! SAL U(HR) _
|
||||
! SAL V^ W
|
||||
! SAL V F
|
||||
! SAL WR^ R
|
||||
! SAL WH^ W
|
||||
! SAL W(AEIOU)- W
|
||||
! SAL X^ S
|
||||
! SAL X KS
|
||||
! SAL Y(AEIOU)- Y
|
||||
! SAL ZZ- _
|
||||
! SAL Z S
|
||||
*** en_NZ.orig.dic Fri Apr 15 13:20:36 2005
|
||||
--- en_NZ.dic Sun Jul 3 17:11:34 2005
|
||||
***************
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
*** en_US.orig.aff Fri Apr 15 13:20:36 2005
|
||||
--- en_US.aff Sun Jul 3 16:59:28 2005
|
||||
--- en_US.aff Sun Jul 31 22:17:40 2005
|
||||
***************
|
||||
*** 3,4 ****
|
||||
--- 3,13 ----
|
||||
--- 3,134 ----
|
||||
|
||||
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
@@ -13,49 +13,7 @@
|
||||
+ RAR ?
|
||||
+ BAD !
|
||||
+
|
||||
PFX A Y 1
|
||||
***************
|
||||
*** 30,33 ****
|
||||
SFX N e ion e
|
||||
! SFX N y ication y
|
||||
! SFX N 0 en [^ey]
|
||||
|
||||
--- 39,42 ----
|
||||
SFX N e ion e
|
||||
! SFX N y ication y
|
||||
! SFX N 0 en [^ey]
|
||||
|
||||
***************
|
||||
*** 40,42 ****
|
||||
SFX H y ieth y
|
||||
! SFX H 0 th [^y]
|
||||
|
||||
--- 49,51 ----
|
||||
SFX H y ieth y
|
||||
! SFX H 0 th [^y]
|
||||
|
||||
***************
|
||||
*** 47,49 ****
|
||||
SFX G e ing e
|
||||
! SFX G 0 ing [^e]
|
||||
|
||||
--- 56,58 ----
|
||||
SFX G e ing e
|
||||
! SFX G 0 ing [^e]
|
||||
|
||||
***************
|
||||
*** 137,138 ****
|
||||
--- 146,149 ----
|
||||
REP uy i
|
||||
+ REP y ie
|
||||
+ REP ie y
|
||||
REP i ee
|
||||
***************
|
||||
*** 188 ****
|
||||
--- 199,320 ----
|
||||
REP shun cion
|
||||
+
|
||||
+ MAP 5
|
||||
+ MAP 9
|
||||
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP e<><65><EFBFBD><EFBFBD>
|
||||
+ MAP i<><69><EFBFBD><EFBFBD>
|
||||
@@ -175,6 +133,44 @@
|
||||
+ SAL Y(AEIOU)- Y
|
||||
+ SAL ZZ- _
|
||||
+ SAL Z S
|
||||
+
|
||||
PFX A Y 1
|
||||
***************
|
||||
*** 30,33 ****
|
||||
SFX N e ion e
|
||||
! SFX N y ication y
|
||||
! SFX N 0 en [^ey]
|
||||
|
||||
--- 160,163 ----
|
||||
SFX N e ion e
|
||||
! SFX N y ication y
|
||||
! SFX N 0 en [^ey]
|
||||
|
||||
***************
|
||||
*** 40,42 ****
|
||||
SFX H y ieth y
|
||||
! SFX H 0 th [^y]
|
||||
|
||||
--- 170,172 ----
|
||||
SFX H y ieth y
|
||||
! SFX H 0 th [^y]
|
||||
|
||||
***************
|
||||
*** 47,49 ****
|
||||
SFX G e ing e
|
||||
! SFX G 0 ing [^e]
|
||||
|
||||
--- 177,179 ----
|
||||
SFX G e ing e
|
||||
! SFX G 0 ing [^e]
|
||||
|
||||
***************
|
||||
*** 137,138 ****
|
||||
--- 267,270 ----
|
||||
REP uy i
|
||||
+ REP y ie
|
||||
+ REP ie y
|
||||
REP i ee
|
||||
*** en_US.orig.dic Fri Apr 15 13:20:36 2005
|
||||
--- en_US.dic Sun Jul 3 16:59:28 2005
|
||||
***************
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
@if os.path.exists('../../../src/vim'):
|
||||
VIM = ../../../src/vim
|
||||
@else:
|
||||
VIM = vim
|
||||
:progsearch VIM vim
|
||||
|
||||
SPELLDIR = ..
|
||||
FILES = en_US.aff en_US.dic
|
||||
@@ -18,16 +18,16 @@ all: $(SPELLDIR)/en.latin1.spl $(SPELLDIR)/en.utf-8.spl \
|
||||
|
||||
$(SPELLDIR)/en.latin1.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=en_US.ISO8859-1
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/en en_US en_AU en_CA en_GB
|
||||
en_NZ" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/en
|
||||
en_US en_AU en_CA en_GB en_NZ" -c q
|
||||
|
||||
$(SPELLDIR)/en.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=en_US.UTF-8
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/en en_US en_AU en_CA en_GB
|
||||
en_NZ" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/en
|
||||
en_US en_AU en_CA en_GB en_NZ" -c q
|
||||
|
||||
$(SPELLDIR)/en.ascii.spl : $(VIM) $(FILES)
|
||||
:sys $(VIM) -e -c "mkspell! -ascii $(SPELLDIR)/en
|
||||
:sys $(VIM) -u NONE -e -c "mkspell! -ascii $(SPELLDIR)/en
|
||||
en_US en_AU en_CA en_GB en_NZ" -c q
|
||||
|
||||
../README_en.txt: README_en_US.txt README_en_AU.txt
|
||||
@@ -63,8 +63,9 @@ en_US.aff en_US.dic: {buildcheck=}
|
||||
@if not os.path.exists('en_US.orig.aff'):
|
||||
:copy en_US.aff en_US.orig.aff
|
||||
@if not os.path.exists('en_US.orig.dic'):
|
||||
:copy en_US.aff en_US.orig.dic
|
||||
:sys patch <en_US.diff
|
||||
:copy en_US.dic en_US.orig.dic
|
||||
@if os.path.exists('en_US.diff'):
|
||||
:sys patch <en_US.diff
|
||||
|
||||
en_AU.aff en_AU.dic: {buildcheck=}
|
||||
:assertpkg unzip patch
|
||||
@@ -74,8 +75,9 @@ en_AU.aff en_AU.dic: {buildcheck=}
|
||||
@if not os.path.exists('en_AU.orig.aff'):
|
||||
:copy en_AU.aff en_AU.orig.aff
|
||||
@if not os.path.exists('en_AU.orig.dic'):
|
||||
:copy en_AU.aff en_AU.orig.dic
|
||||
:sys patch <en_AU.diff
|
||||
:copy en_AU.dic en_AU.orig.dic
|
||||
@if os.path.exists('en_AU.diff'):
|
||||
:sys patch <en_AU.diff
|
||||
|
||||
en_CA.aff en_CA.dic: {buildcheck=}
|
||||
:assertpkg unzip patch
|
||||
@@ -85,8 +87,9 @@ en_CA.aff en_CA.dic: {buildcheck=}
|
||||
@if not os.path.exists('en_CA.orig.aff'):
|
||||
:copy en_CA.aff en_CA.orig.aff
|
||||
@if not os.path.exists('en_CA.orig.dic'):
|
||||
:copy en_CA.aff en_CA.orig.dic
|
||||
:sys patch <en_CA.diff
|
||||
:copy en_CA.dic en_CA.orig.dic
|
||||
@if os.path.exists('en_CA.diff'):
|
||||
:sys patch <en_CA.diff
|
||||
|
||||
en_GB.aff en_GB.dic: {buildcheck=}
|
||||
:assertpkg unzip patch
|
||||
@@ -97,8 +100,9 @@ en_GB.aff en_GB.dic: {buildcheck=}
|
||||
@if not os.path.exists('en_GB.orig.aff'):
|
||||
:copy en_GB.aff en_GB.orig.aff
|
||||
@if not os.path.exists('en_GB.orig.dic'):
|
||||
:copy en_GB.aff en_GB.orig.dic
|
||||
:sys patch <en_GB.diff
|
||||
:copy en_GB.dic en_GB.orig.dic
|
||||
@if os.path.exists('en_GB.diff'):
|
||||
:sys patch <en_GB.diff
|
||||
|
||||
en_NZ.aff en_NZ.dic: {buildcheck=}
|
||||
:assertpkg unzip patch
|
||||
@@ -108,8 +112,9 @@ en_NZ.aff en_NZ.dic: {buildcheck=}
|
||||
@if not os.path.exists('en_NZ.orig.aff'):
|
||||
:copy en_NZ.aff en_NZ.orig.aff
|
||||
@if not os.path.exists('en_NZ.orig.dic'):
|
||||
:copy en_NZ.aff en_NZ.orig.dic
|
||||
:sys patch <en_NZ.diff
|
||||
:copy en_NZ.dic en_NZ.orig.dic
|
||||
@if os.path.exists('en_NZ.diff'):
|
||||
:sys patch <en_NZ.diff
|
||||
|
||||
|
||||
# Generate diff files, so that others can get the OpenOffice files and apply
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
*** fr_FR.orig.aff Sun Jul 3 19:34:20 2005
|
||||
--- fr_FR.aff Sun Jul 3 20:09:20 2005
|
||||
--- fr_FR.aff Sun Jul 31 22:17:53 2005
|
||||
***************
|
||||
*** 3,4 ****
|
||||
--- 3,13 ----
|
||||
--- 3,24 ----
|
||||
|
||||
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
@@ -13,13 +13,7 @@
|
||||
+
|
||||
+ MIDWORD '
|
||||
+
|
||||
PFX A Y 10
|
||||
***************
|
||||
*** 691,692 ****
|
||||
--- 700,712 ----
|
||||
|
||||
+
|
||||
+ MAP 5
|
||||
+ MAP 9
|
||||
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP e<><65><EFBFBD><EFBFBD>
|
||||
+ MAP i<><69><EFBFBD><EFBFBD>
|
||||
@@ -29,4 +23,13 @@
|
||||
+ MAP c<>
|
||||
+ MAP y<><79>
|
||||
+ MAP s<>
|
||||
|
||||
+
|
||||
PFX A Y 10
|
||||
***************
|
||||
*** 690,694 ****
|
||||
SFX q ssait raient ssait
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
--- 710 ----
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Aap recipe for Dutch Vim spell files.
|
||||
# Aap recipe for French Vim spell files.
|
||||
|
||||
# Use a freshly compiled Vim if it exists.
|
||||
@if os.path.exists('../../../src/vim'):
|
||||
VIM = ../../../src/vim
|
||||
@else:
|
||||
VIM = vim
|
||||
:progsearch VIM vim
|
||||
|
||||
SPELLDIR = ..
|
||||
FILES = fr_FR.aff fr_FR.dic
|
||||
@@ -13,13 +13,13 @@ all: $(SPELLDIR)/fr.latin1.spl $(SPELLDIR)/fr.utf-8.spl ../README_fr.txt
|
||||
|
||||
$(SPELLDIR)/fr.latin1.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=fr_FR.ISO8859-1
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/fr fr_FR" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/fr fr_FR" -c q
|
||||
|
||||
$(SPELLDIR)/fr.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=fr_FR.UTF-8
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/fr fr_FR" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/fr fr_FR" -c q
|
||||
|
||||
../README_fr.txt : lisez-moi.txt
|
||||
../README_fr.txt : README_fr_FR.txt
|
||||
:copy $source $target
|
||||
|
||||
#
|
||||
@@ -38,8 +38,9 @@ fr_FR.aff fr_FR.dic: {buildcheck=}
|
||||
@if not os.path.exists('fr_FR.orig.aff'):
|
||||
:copy fr_FR.aff fr_FR.orig.aff
|
||||
@if not os.path.exists('fr_FR.orig.dic'):
|
||||
:copy fr_FR.aff fr_FR.orig.dic
|
||||
:sys patch <fr_FR.diff
|
||||
:copy fr_FR.dic fr_FR.orig.dic
|
||||
@if os.path.exists('fr_FR.diff'):
|
||||
:sys patch <fr_FR.diff
|
||||
|
||||
|
||||
# Generate diff files, so that others can get the OpenOffice files and apply
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
*** he_IL.orig.aff Sat Jun 18 14:46:51 2005
|
||||
--- he_IL.aff Wed Jun 29 17:24:12 2005
|
||||
*** he_IL.orig.aff Sun Jul 3 19:40:02 2005
|
||||
--- he_IL.aff Tue Aug 9 22:32:47 2005
|
||||
***************
|
||||
*** 2,3 ****
|
||||
--- 2,6 ----
|
||||
@@ -8,8 +8,8 @@
|
||||
+ PFXPOSTPONE
|
||||
+
|
||||
# This file was generated automatically from data prepared
|
||||
*** he_IL.orig.dic Sat Jun 18 14:47:00 2005
|
||||
--- he_IL.dic Wed Jun 29 17:22:13 2005
|
||||
*** he_IL.orig.dic Sun Jul 3 19:40:02 2005
|
||||
--- he_IL.dic Sun Jul 3 19:40:02 2005
|
||||
***************
|
||||
*** 318898,318902 ****
|
||||
<20><>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Aap recipe for Dutch Vim spell files.
|
||||
# Aap recipe for Hebrew Vim spell files.
|
||||
|
||||
# Use a freshly compiled Vim if it exists.
|
||||
@if os.path.exists('../../../src/vim'):
|
||||
VIM = ../../../src/vim
|
||||
@else:
|
||||
VIM = vim
|
||||
:progsearch VIM vim
|
||||
|
||||
SPELLDIR = ..
|
||||
FILES = he_IL.aff he_IL.dic
|
||||
@@ -13,10 +13,10 @@ all: $(SPELLDIR)/he.utf-8.spl $(SPELLDIR)/he.iso-8859-8.spl ../README_he.txt
|
||||
|
||||
$(SPELLDIR)/he.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=he_IL.UTF-8
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/he he_IL" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/he he_IL" -c q
|
||||
|
||||
$(SPELLDIR)/he.iso-8859-8.spl : $(VIM) $(FILES)
|
||||
:sys $(VIM) -e -c "set enc=iso-8859-8"
|
||||
:sys $(VIM) -u NONE -e -c "set enc=iso-8859-8"
|
||||
-c "mkspell! $(SPELLDIR)/he he_IL" -c q
|
||||
|
||||
../README_he.txt : README_he_IL.txt
|
||||
@@ -38,8 +38,9 @@ he_IL.aff he_IL.dic: {buildcheck=}
|
||||
@if not os.path.exists('he_IL.orig.aff'):
|
||||
:copy he_IL.aff he_IL.orig.aff
|
||||
@if not os.path.exists('he_IL.orig.dic'):
|
||||
:copy he_IL.aff he_IL.orig.dic
|
||||
:sys patch <he_IL.diff
|
||||
:copy he_IL.dic he_IL.orig.dic
|
||||
@if os.path.exists('he_IL.diff'):
|
||||
:sys patch <he_IL.diff
|
||||
|
||||
|
||||
# Generate diff files, so that others can get the OpenOffice files and apply
|
||||
|
||||
372
runtime/spell/it/it_IT.diff
Normal file
372
runtime/spell/it/it_IT.diff
Normal file
@@ -0,0 +1,372 @@
|
||||
*** it_IT.orig.aff Sun Jul 31 14:20:13 2005
|
||||
--- it_IT.aff Tue Aug 9 21:50:25 2005
|
||||
***************
|
||||
*** 33,34 ****
|
||||
--- 33,58 ----
|
||||
|
||||
+ # This is no longer required, now that we compress after adding every so many
|
||||
+ # words.
|
||||
+ # PFXPOSTPONE
|
||||
+
|
||||
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+
|
||||
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
|
||||
+
|
||||
+ MIDWORD '
|
||||
+
|
||||
+ MAP 9
|
||||
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP e<><65><EFBFBD><EFBFBD>
|
||||
+ MAP i<><69><EFBFBD><EFBFBD>
|
||||
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP u<><75><EFBFBD><EFBFBD>
|
||||
+ MAP n<>
|
||||
+ MAP c<>
|
||||
+ MAP y<><79>
|
||||
+ MAP s<>
|
||||
+
|
||||
SFX A Y 225
|
||||
***************
|
||||
*** 1112,1114 ****
|
||||
|
||||
! PFX T Y 148
|
||||
PFX T 0 l' [aeiouhAEIOUH]
|
||||
--- 1136,1138 ----
|
||||
|
||||
! PFX T Y 70
|
||||
PFX T 0 l' [aeiouhAEIOUH]
|
||||
***************
|
||||
*** 1120,1128 ****
|
||||
PFX T h l'H h
|
||||
- PFX T 0 L' [AEIOUH]
|
||||
- PFX T a L'A a
|
||||
- PFX T e L'E e
|
||||
- PFX T i L'I i
|
||||
- PFX T o L'O o
|
||||
- PFX T u L'U u
|
||||
- PFX T h L'H h
|
||||
PFX T 0 all' [aeiouhAEIOUH]
|
||||
--- 1144,1145 ----
|
||||
***************
|
||||
*** 1134,1143 ****
|
||||
PFX T h all'H h
|
||||
- PFX T 0 All' [AEIOUH]
|
||||
- PFX T a All'A a
|
||||
- PFX T e All'E e
|
||||
- PFX T i All'I i
|
||||
- PFX T o All'O o
|
||||
- PFX T u All'U u
|
||||
- PFX T h All'H h
|
||||
- PFX T 0 ALL' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
PFX T 0 dell' [aeiouhAEIOUH]
|
||||
--- 1151,1152 ----
|
||||
***************
|
||||
*** 1149,1158 ****
|
||||
PFX T h dell'H h
|
||||
- PFX T 0 Dell' [AEIOUH]
|
||||
- PFX T a Dell'A a
|
||||
- PFX T e Dell'E e
|
||||
- PFX T i Dell'I i
|
||||
- PFX T o Dell'O o
|
||||
- PFX T u Dell'U u
|
||||
- PFX T h Dell'H h
|
||||
- PFX T 0 DELL' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
PFX T 0 dall' [aeiouhAEIOUH]
|
||||
--- 1158,1159 ----
|
||||
***************
|
||||
*** 1164,1173 ****
|
||||
PFX T h dall'H h
|
||||
- PFX T 0 Dall' [AEIOUH]
|
||||
- PFX T a Dall'A a
|
||||
- PFX T e Dall'E e
|
||||
- PFX T i Dall'I i
|
||||
- PFX T o Dall'O o
|
||||
- PFX T u Dall'U u
|
||||
- PFX T h Dall'H h
|
||||
- PFX T 0 DALL' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
PFX T 0 nell' [aeiouhAEIOUH]
|
||||
--- 1165,1166 ----
|
||||
***************
|
||||
*** 1179,1188 ****
|
||||
PFX T h nell'H h
|
||||
- PFX T 0 Nell' [AEIOUH]
|
||||
- PFX T a Nell'A a
|
||||
- PFX T e Nell'E e
|
||||
- PFX T i Nell'I i
|
||||
- PFX T o Nell'O o
|
||||
- PFX T u Nell'U u
|
||||
- PFX T h Nell'H h
|
||||
- PFX T 0 NELL' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
PFX T 0 sull' [aeiouhAEIOUH]
|
||||
--- 1172,1173 ----
|
||||
***************
|
||||
*** 1194,1203 ****
|
||||
PFX T h sull'H h
|
||||
- PFX T 0 Sull' [AEIOUH]
|
||||
- PFX T a Sull'A a
|
||||
- PFX T e Sull'E e
|
||||
- PFX T i Sull'I i
|
||||
- PFX T o Sull'O o
|
||||
- PFX T u Sull'U u
|
||||
- PFX T h Sull'H h
|
||||
- PFX T 0 SULL' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
PFX T 0 coll' [aeiouhAEIOUH]
|
||||
--- 1179,1180 ----
|
||||
***************
|
||||
*** 1209,1218 ****
|
||||
PFX T h coll'H h
|
||||
- PFX T 0 Coll' [AEIOUH]
|
||||
- PFX T a Coll'A a
|
||||
- PFX T e Coll'E e
|
||||
- PFX T i Coll'I i
|
||||
- PFX T o Coll'O o
|
||||
- PFX T u Coll'U u
|
||||
- PFX T h Coll'H h
|
||||
- PFX T 0 COLL' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
PFX T 0 d' [aeiouhAEIOUH]
|
||||
--- 1186,1187 ----
|
||||
***************
|
||||
*** 1224,1232 ****
|
||||
PFX T h d'H h
|
||||
- PFX T 0 D' [AEIOUH]
|
||||
- PFX T a D'A a
|
||||
- PFX T e D'E e
|
||||
- PFX T i D'I i
|
||||
- PFX T o D'O o
|
||||
- PFX T u D'U u
|
||||
- PFX T h D'H h
|
||||
PFX T 0 quest' [aeiouhAEIOUH]
|
||||
--- 1193,1194 ----
|
||||
***************
|
||||
*** 1238,1247 ****
|
||||
PFX T h quest'H h
|
||||
- PFX T 0 Quest' [AEIOUH]
|
||||
- PFX T a Quest'A a
|
||||
- PFX T e Quest'E e
|
||||
- PFX T i Quest'I i
|
||||
- PFX T o Quest'O o
|
||||
- PFX T u Quest'U u
|
||||
- PFX T h Quest'H h
|
||||
- PFX T 0 QUEST' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
PFX T 0 quell' [aeiouhAEIOUH]
|
||||
--- 1200,1201 ----
|
||||
***************
|
||||
*** 1253,1264 ****
|
||||
PFX T h quell'H h
|
||||
- PFX T 0 Quell' [AEIOUH]
|
||||
- PFX T a Quell'A a
|
||||
- PFX T e Quell'E e
|
||||
- PFX T i Quell'I i
|
||||
- PFX T o Quell'O o
|
||||
- PFX T u Quell'U u
|
||||
- PFX T h Quell'H h
|
||||
- PFX T 0 QUELL' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
|
||||
! PFX U Y 30
|
||||
PFX U 0 un' [aeiouhAEIOUH]
|
||||
--- 1207,1210 ----
|
||||
PFX T h quell'H h
|
||||
|
||||
! PFX U Y 14
|
||||
PFX U 0 un' [aeiouhAEIOUH]
|
||||
***************
|
||||
*** 1270,1279 ****
|
||||
PFX U h un'H h
|
||||
- PFX U 0 Un' [AEIOUH]
|
||||
- PFX U a Un'A a
|
||||
- PFX U e Un'E e
|
||||
- PFX U i Un'I i
|
||||
- PFX U o Un'O o
|
||||
- PFX U u Un'U u
|
||||
- PFX U h Un'H h
|
||||
- PFX U 0 UN' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
PFX U 0 ciascun' [aeiouhAEIOUH]
|
||||
--- 1216,1217 ----
|
||||
***************
|
||||
*** 1285,1296 ****
|
||||
PFX U h ciascun'H h
|
||||
- PFX U 0 Ciascun' [AEIOUH]
|
||||
- PFX U a Ciascun'A a
|
||||
- PFX U e Ciascun'E e
|
||||
- PFX U i Ciascun'I i
|
||||
- PFX U o Ciascun'O o
|
||||
- PFX U u Ciascun'U u
|
||||
- PFX U h Ciascun'H h
|
||||
- PFX U 0 CIASCUN' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
|
||||
! PFX X Y 72
|
||||
PFX X 0 m' [aeiouAEIOU]
|
||||
--- 1223,1226 ----
|
||||
PFX U h ciascun'H h
|
||||
|
||||
! PFX X Y 36
|
||||
PFX X 0 m' [aeiouAEIOU]
|
||||
***************
|
||||
*** 1301,1308 ****
|
||||
PFX X u m'U u
|
||||
- PFX X 0 M' [AEIOU]
|
||||
- PFX X a M'A a
|
||||
- PFX X e M'E e
|
||||
- PFX X i M'I i
|
||||
- PFX X o M'O o
|
||||
- PFX X u M'U u
|
||||
PFX X 0 t' [aeiouAEIOU]
|
||||
--- 1231,1232 ----
|
||||
***************
|
||||
*** 1313,1320 ****
|
||||
PFX X u t'U u
|
||||
- PFX X 0 T' [AEIOU]
|
||||
- PFX X a T'A a
|
||||
- PFX X e T'E e
|
||||
- PFX X i T'I i
|
||||
- PFX X o T'O o
|
||||
- PFX X u T'U u
|
||||
PFX X 0 s' [aeiouAEIOU]
|
||||
--- 1237,1238 ----
|
||||
***************
|
||||
*** 1325,1332 ****
|
||||
PFX X u s'U u
|
||||
- PFX X 0 S' [AEIOU]
|
||||
- PFX X a S'A a
|
||||
- PFX X e S'E e
|
||||
- PFX X i S'I i
|
||||
- PFX X o S'O o
|
||||
- PFX X u S'U u
|
||||
PFX X 0 c' [aeiouAEIOU]
|
||||
--- 1243,1244 ----
|
||||
***************
|
||||
*** 1337,1344 ****
|
||||
PFX X u c'U u
|
||||
- PFX X 0 C' [AEIOU]
|
||||
- PFX X a C'A a
|
||||
- PFX X e C'E e
|
||||
- PFX X i C'I i
|
||||
- PFX X o C'O o
|
||||
- PFX X u C'U u
|
||||
PFX X 0 v' [aeiouAEIOU]
|
||||
--- 1249,1250 ----
|
||||
***************
|
||||
*** 1349,1356 ****
|
||||
PFX X u v'U u
|
||||
- PFX X 0 V' [AEIOU]
|
||||
- PFX X a V'A a
|
||||
- PFX X e V'E e
|
||||
- PFX X i V'I i
|
||||
- PFX X o V'O o
|
||||
- PFX X u V'U u
|
||||
PFX X 0 n' [aeiouAEIOU]
|
||||
--- 1255,1256 ----
|
||||
***************
|
||||
*** 1361,1368 ****
|
||||
PFX X u n'U u
|
||||
- PFX X 0 N' [AEIOU]
|
||||
- PFX X a N'A a
|
||||
- PFX X e N'E e
|
||||
- PFX X i N'I i
|
||||
- PFX X o N'O o
|
||||
- PFX X u N'U u
|
||||
|
||||
--- 1261,1262 ----
|
||||
***************
|
||||
*** 1669,1671 ****
|
||||
|
||||
! PFX i Y 14
|
||||
PFX i 0 l' [aeiouhAEIOUH]
|
||||
--- 1563,1565 ----
|
||||
|
||||
! PFX i Y 7
|
||||
PFX i 0 l' [aeiouhAEIOUH]
|
||||
***************
|
||||
*** 1677,1685 ****
|
||||
PFX i h l'H h
|
||||
- PFX i 0 L' [AEIOUH]
|
||||
- PFX i a L'A a
|
||||
- PFX i e L'E e
|
||||
- PFX i i L'I i
|
||||
- PFX i o L'O o
|
||||
- PFX i u L'U u
|
||||
- PFX i h L'H h
|
||||
|
||||
--- 1571,1572 ----
|
||||
***************
|
||||
*** 1738,1740 ****
|
||||
|
||||
! PFX q Y 15
|
||||
PFX q 0 bell' [aeiouhAEIOUH]
|
||||
--- 1625,1627 ----
|
||||
|
||||
! PFX q Y 7
|
||||
PFX q 0 bell' [aeiouhAEIOUH]
|
||||
***************
|
||||
*** 1746,1757 ****
|
||||
PFX q h bell'H h
|
||||
- PFX q 0 Bell' [AEIOUH]
|
||||
- PFX q a Bell'A a
|
||||
- PFX q e Bell'E e
|
||||
- PFX q i Bell'I i
|
||||
- PFX q o Bell'O o
|
||||
- PFX q u Bell'U u
|
||||
- PFX q h Bell'H h
|
||||
- PFX q 0 BELL' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
|
||||
! PFX r Y 15
|
||||
PFX r 0 brav' [aeiouhAEIOUH]
|
||||
--- 1633,1636 ----
|
||||
PFX q h bell'H h
|
||||
|
||||
! PFX r Y 7
|
||||
PFX r 0 brav' [aeiouhAEIOUH]
|
||||
***************
|
||||
*** 1763,1774 ****
|
||||
PFX r h brav'H h
|
||||
- PFX r 0 Brav' [AEIOUH]
|
||||
- PFX r a Brav'A a
|
||||
- PFX r e Brav'E e
|
||||
- PFX r i Brav'I i
|
||||
- PFX r o Brav'O o
|
||||
- PFX r u Brav'U u
|
||||
- PFX r h Brav'H h
|
||||
- PFX r 0 BRAV' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
|
||||
! PFX s Y 15
|
||||
PFX s 0 buon' [aeiouhAEIOUH]
|
||||
--- 1642,1645 ----
|
||||
PFX r h brav'H h
|
||||
|
||||
! PFX s Y 7
|
||||
PFX s 0 buon' [aeiouhAEIOUH]
|
||||
***************
|
||||
*** 1780,1789 ****
|
||||
PFX s h buon'H h
|
||||
- PFX s 0 Buon' [AEIOUH]
|
||||
- PFX s a Buon'A a
|
||||
- PFX s e Buon'E e
|
||||
- PFX s i Buon'I i
|
||||
- PFX s o Buon'O o
|
||||
- PFX s u Buon'U u
|
||||
- PFX s h Buon'H h
|
||||
- PFX s 0 BUON' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
|
||||
--- 1651,1652 ----
|
||||
***************
|
||||
*** 2072,2077 ****
|
||||
|
||||
! PFX ^ Y 3 # gestione dell'elisione nei nomi dei santi
|
||||
PFX ^ 0 sant' [AEIOUH]
|
||||
- PFX ^ 0 Sant' [AEIOUH]
|
||||
- PFX ^ 0 SANT' [AEIOUH][QWERTYUIOPLKJHGFDSAZXCVBNM]
|
||||
|
||||
--- 1935,1938 ----
|
||||
|
||||
! PFX ^ Y 1 # gestione dell'elisione nei nomi dei santi
|
||||
PFX ^ 0 sant' [AEIOUH]
|
||||
|
||||
***************
|
||||
*** 2364,2366 ****
|
||||
PFX $ 0 mml x
|
||||
-
|
||||
-
|
||||
--- 2225 ----
|
||||
78
runtime/spell/it/main.aap
Normal file
78
runtime/spell/it/main.aap
Normal file
@@ -0,0 +1,78 @@
|
||||
# Aap recipe for French Vim spell files.
|
||||
|
||||
# Use a freshly compiled Vim if it exists.
|
||||
@if os.path.exists('../../../src/vim'):
|
||||
VIM = ../../../src/vim
|
||||
@else:
|
||||
:progsearch VIM vim
|
||||
|
||||
SPELLDIR = ..
|
||||
FILES = it_IT.aff it_IT.dic
|
||||
|
||||
all: $(SPELLDIR)/it.latin1.spl $(SPELLDIR)/it.utf-8.spl ../README_it.txt
|
||||
|
||||
$(SPELLDIR)/it.latin1.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=it_IT.ISO8859-1
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/it it_IT" -c q
|
||||
|
||||
$(SPELLDIR)/it.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=it_IT.UTF-8
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/it it_IT" -c q
|
||||
|
||||
../README_it.txt : README_it_IT.txt
|
||||
:copy $source $target
|
||||
|
||||
#
|
||||
# Fetching the files from OpenOffice.org.
|
||||
#
|
||||
OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
|
||||
:attr {fetch = $(OODIR)/%file%} it_IT.zip
|
||||
|
||||
# The files don't depend on the .zip file so that we can delete it.
|
||||
# Only download the zip file if the targets don't exist.
|
||||
it_IT.aff it_IT.dic: {buildcheck=}
|
||||
:assertpkg unzip patch
|
||||
:fetch it_IT.zip
|
||||
:sys $(UNZIP) it_IT.zip
|
||||
:delete it_IT.zip
|
||||
@if not os.path.exists('it_IT.orig.aff'):
|
||||
:copy it_IT.aff it_IT.orig.aff
|
||||
@if not os.path.exists('it_IT.orig.dic'):
|
||||
:copy it_IT.dic it_IT.orig.dic
|
||||
@if os.path.exists('it_IT.diff'):
|
||||
:sys patch <it_IT.diff
|
||||
|
||||
|
||||
# Generate diff files, so that others can get the OpenOffice files and apply
|
||||
# the diffs to get the Vim versions.
|
||||
|
||||
diff:
|
||||
:assertpkg diff
|
||||
:sys {force} diff -a -C 1 it_IT.orig.aff it_IT.aff >it_IT.diff
|
||||
:sys {force} diff -a -C 1 it_IT.orig.dic it_IT.dic >>it_IT.diff
|
||||
|
||||
|
||||
# Check for updated OpenOffice spell files. When there are changes the
|
||||
# ".new.aff" and ".new.dic" files are left behind for manual inspection.
|
||||
|
||||
check:
|
||||
:assertpkg unzip diff
|
||||
:fetch it_IT.zip
|
||||
:mkdir tmp
|
||||
:cd tmp
|
||||
@try:
|
||||
@import stat
|
||||
:sys $(UNZIP) ../it_IT.zip
|
||||
:sys {force} diff ../it_IT.orig.aff it_IT.aff >d
|
||||
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||
:copy it_IT.aff ../it_IT.new.aff
|
||||
:sys {force} diff ../it_IT.orig.dic it_IT.dic >d
|
||||
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||
:copy it_IT.dic ../it_IT.new.dic
|
||||
@finally:
|
||||
:cd ..
|
||||
:delete {r}{f}{q} tmp
|
||||
:delete it_IT.zip
|
||||
|
||||
|
||||
# vim: set sts=4 sw=4 :
|
||||
@@ -1,6 +1,10 @@
|
||||
:child de/main.aap
|
||||
:child en/main.aap
|
||||
:child fr/main.aap
|
||||
:child he/main.aap
|
||||
:child nl/main.aap
|
||||
:child pl/main.aap
|
||||
# "aap": generate all the .spl files
|
||||
# "aap diff" create all the diff files
|
||||
|
||||
LANG = de en fr he it nl pl
|
||||
|
||||
diff: $*LANG/diff
|
||||
:print done
|
||||
|
||||
@for l in string.split(_no.LANG):
|
||||
:child $l/main.aap
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
@if os.path.exists('../../../src/vim'):
|
||||
VIM = ../../../src/vim
|
||||
@else:
|
||||
VIM = vim
|
||||
:progsearch VIM vim
|
||||
|
||||
SPELLDIR = ..
|
||||
FILES = nl_NL.aff nl_NL.dic
|
||||
@@ -13,11 +13,11 @@ all: $(SPELLDIR)/nl.latin1.spl $(SPELLDIR)/nl.utf-8.spl ../README_nl.txt
|
||||
|
||||
$(SPELLDIR)/nl.latin1.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=nl_NL.ISO8859-1
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q
|
||||
|
||||
$(SPELLDIR)/nl.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=nl_NL.UTF-8
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q
|
||||
|
||||
../README_nl.txt : README_nl_NL.txt
|
||||
:copy $source $target
|
||||
@@ -38,8 +38,9 @@ nl_NL.aff nl_NL.dic: {buildcheck=}
|
||||
@if not os.path.exists('nl_NL.orig.aff'):
|
||||
:copy nl_NL.aff nl_NL.orig.aff
|
||||
@if not os.path.exists('nl_NL.orig.dic'):
|
||||
:copy nl_NL.aff nl_NL.orig.dic
|
||||
:sys patch <nl_NL.diff
|
||||
:copy nl_NL.dic nl_NL.orig.dic
|
||||
@if os.path.exists('nl_NL.diff'):
|
||||
:sys patch <nl_NL.diff
|
||||
|
||||
|
||||
# Generate diff files, so that others can get the OpenOffice files and apply
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
*** nl_NL.orig.aff Wed Apr 20 11:48:16 2005
|
||||
--- nl_NL.aff Wed Jun 29 17:29:49 2005
|
||||
*** nl_NL.orig.aff Sun Jul 3 18:24:07 2005
|
||||
--- nl_NL.aff Sun Jul 31 22:18:15 2005
|
||||
***************
|
||||
*** 3,4 ****
|
||||
--- 3,17 ----
|
||||
*** 3,6 ****
|
||||
--- 3,30 ----
|
||||
|
||||
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
@@ -18,6 +18,19 @@
|
||||
+ BAD !
|
||||
+
|
||||
NOSPLITSUGS
|
||||
|
||||
+ MAP 9
|
||||
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP e<><65><EFBFBD><EFBFBD>
|
||||
+ MAP i<><69><EFBFBD><EFBFBD>
|
||||
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP u<><75><EFBFBD><EFBFBD>
|
||||
+ MAP n<>
|
||||
+ MAP c<>
|
||||
+ MAP y<><79>
|
||||
+ MAP s<>
|
||||
+
|
||||
PFX A Y 1
|
||||
***************
|
||||
*** 33,52 ****
|
||||
SFX J N 18
|
||||
@@ -40,7 +53,7 @@
|
||||
! SFX J 0 je [aeiou][bcdfgkpt]
|
||||
! SFX J 0 jes [aeiou][bcdfgkpt]
|
||||
|
||||
--- 46,65 ----
|
||||
--- 57,76 ----
|
||||
SFX J N 18
|
||||
! SFX J 0 tje [aeiou][aeiou]
|
||||
! SFX J 0 tjes [aeiou][aeiou]
|
||||
@@ -66,7 +79,7 @@
|
||||
REP ubi ibu
|
||||
! REP croc krok
|
||||
REP ten than
|
||||
--- 266,268 ----
|
||||
--- 277,279 ----
|
||||
REP ubi ibu
|
||||
! REP croc krok
|
||||
REP ten than
|
||||
@@ -75,7 +88,7 @@
|
||||
REP capucino cappuccino
|
||||
! REP celcius Celsius
|
||||
REP kado cadeau
|
||||
--- 301,303 ----
|
||||
--- 312,314 ----
|
||||
REP capucino cappuccino
|
||||
! REP celcius Celsius
|
||||
REP kado cadeau
|
||||
@@ -88,7 +101,7 @@
|
||||
REP kommittee comit<69>
|
||||
! REP kwis quiz
|
||||
REP kwissen quizzen
|
||||
--- 307,313 ----
|
||||
--- 318,324 ----
|
||||
REP committee comit<69>
|
||||
! REP komitee comit<69>
|
||||
! REP komittee comit<69>
|
||||
@@ -101,7 +114,7 @@
|
||||
REP copy kopij
|
||||
! REP pitoresque pittoreske
|
||||
REP reikweite reikwijdte
|
||||
--- 315,317 ----
|
||||
--- 326,328 ----
|
||||
REP copy kopij
|
||||
! REP pitoresque pittoreske
|
||||
REP reikweite reikwijdte
|
||||
@@ -113,7 +126,7 @@
|
||||
! REP kontekst context
|
||||
! REP korrekt correct
|
||||
REP kritikus criticus
|
||||
--- 327,332 ----
|
||||
--- 338,343 ----
|
||||
REP klup club
|
||||
! REP wiskid whizzkid
|
||||
! REP kontakt contact
|
||||
@@ -122,23 +135,12 @@
|
||||
REP kritikus criticus
|
||||
***************
|
||||
*** 333 ****
|
||||
--- 346,359 ----
|
||||
--- 357,359 ----
|
||||
REP aflassen afgelasten
|
||||
+ REP svp s.v.p.
|
||||
+ REP zoz z.o.z.
|
||||
+
|
||||
+ MAP 5
|
||||
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP e<><65><EFBFBD><EFBFBD>
|
||||
+ MAP i<><69><EFBFBD><EFBFBD>
|
||||
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
|
||||
+ MAP u<><75><EFBFBD><EFBFBD>
|
||||
+ MAP n<>
|
||||
+ MAP c<>
|
||||
+ MAP y<><79>
|
||||
+ MAP s<>
|
||||
*** nl_NL.orig.dic Tue Apr 19 21:03:15 2005
|
||||
--- nl_NL.dic Mon Jun 27 20:38:35 2005
|
||||
*** nl_NL.orig.dic Sun Jul 3 18:24:07 2005
|
||||
--- nl_NL.dic Thu Jul 21 11:06:07 2005
|
||||
***************
|
||||
*** 1,3 ****
|
||||
119937
|
||||
@@ -175,6 +177,15 @@
|
||||
+ DVD
|
||||
Dwingeloo
|
||||
***************
|
||||
*** 2998,3000 ****
|
||||
achterwagen/S
|
||||
! achterwand
|
||||
achterweg/NE
|
||||
--- 3002,3004 ----
|
||||
achterwagen/S
|
||||
! achterwand/N
|
||||
achterweg/NE
|
||||
***************
|
||||
*** 7485,7486 ****
|
||||
--- 7489,7498 ----
|
||||
avond/SN
|
||||
@@ -211,6 +222,15 @@
|
||||
+ mg
|
||||
maag
|
||||
***************
|
||||
*** 80310,80312 ****
|
||||
programmablad
|
||||
! programmaboekje
|
||||
programmacode
|
||||
--- 80329,80331 ----
|
||||
programmablad
|
||||
! programmaboekje/S
|
||||
programmacode
|
||||
***************
|
||||
*** 97474,97475 ****
|
||||
--- 97493,97496 ----
|
||||
su<73>ciderisico/X
|
||||
@@ -231,8 +251,14 @@
|
||||
+ u
|
||||
uchtend/N
|
||||
***************
|
||||
*** 110847,110848 ****
|
||||
--- 110871,110873 ----
|
||||
voorjaarscollectie/S
|
||||
+ voorjaarsconferentie/S
|
||||
voorjaarsmoeheid
|
||||
***************
|
||||
*** 119938 ****
|
||||
--- 119962,120135 ----
|
||||
--- 119963,120137 ----
|
||||
<20>berhaupt
|
||||
+ Christiaan/X
|
||||
+ Fred/X
|
||||
@@ -407,3 +433,4 @@
|
||||
+ evt.
|
||||
+ enz.
|
||||
+ bijv.
|
||||
+ Gerard
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Aap recipe for Dutch Vim spell files.
|
||||
# Aap recipe for Polish Vim spell files.
|
||||
|
||||
# Use a freshly compiled Vim if it exists.
|
||||
@if os.path.exists('../../../src/vim'):
|
||||
VIM = ../../../src/vim
|
||||
@else:
|
||||
VIM = vim
|
||||
:progsearch VIM vim
|
||||
|
||||
SPELLDIR = ..
|
||||
FILES = pl_PL.aff pl_PL.dic
|
||||
@@ -13,13 +13,13 @@ all: $(SPELLDIR)/pl.iso-8859-2.spl $(SPELLDIR)/pl.utf-8.spl \
|
||||
$(SPELLDIR)/pl.cp1250.spl ../README_pl.txt
|
||||
|
||||
$(SPELLDIR)/pl.iso-8859-2.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=pl_PL.ISO8859-2 $(VIM) -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
:sys env LANG=pl_PL.ISO8859-2 $(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
|
||||
$(SPELLDIR)/pl.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=pl_PL.UTF-8 $(VIM) -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
:sys env LANG=pl_PL.UTF-8 $(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
|
||||
$(SPELLDIR)/pl.cp1250.spl : $(VIM) $(FILES)
|
||||
:sys $(VIM) -e -c "set enc=cp1250" -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
:sys $(VIM) -u NONE -e -c "set enc=cp1250" -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
|
||||
../README_pl.txt: README_pl_PL.txt
|
||||
:copy $source $target
|
||||
@@ -60,8 +60,9 @@ pl_PL.aff pl_PL.dic: {buildcheck=}
|
||||
@if not os.path.exists('pl_PL.orig.aff'):
|
||||
:copy pl_PL.aff pl_PL.orig.aff
|
||||
@if not os.path.exists('pl_PL.orig.dic'):
|
||||
:copy pl_PL.aff pl_PL.orig.dic
|
||||
:sys patch <pl_PL.diff
|
||||
:copy pl_PL.dic pl_PL.orig.dic
|
||||
@if os.path.exists('pl_PL.diff'):
|
||||
:sys patch <pl_PL.diff
|
||||
|
||||
|
||||
# Generate diff files, so that others can get the OpenOffice files and apply
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
" Language: HTML
|
||||
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||
" URL: http://www.fleiner.com/vim/syntax/html.vim
|
||||
" Last Change: 2005 Jul 05
|
||||
" Last Change: 2005 Jul 20
|
||||
|
||||
" Please check :help html.vim for some comments and a description of the options
|
||||
|
||||
@@ -27,6 +27,10 @@ endif
|
||||
|
||||
syn case ignore
|
||||
|
||||
if main_syntax == "html"
|
||||
syn spell toplevel
|
||||
endif
|
||||
|
||||
" mark illegal characters
|
||||
syn match htmlError "[<>&]"
|
||||
|
||||
@@ -35,8 +39,8 @@ syn match htmlError "[<>&]"
|
||||
syn region htmlString contained start=+"+ end=+"+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc
|
||||
syn region htmlString contained start=+'+ end=+'+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc
|
||||
syn match htmlValue contained "=[\t ]*[^'" \t>][^ \t>]*"hs=s+1 contains=javaScriptExpression,@htmlPreproc
|
||||
syn region htmlEndTag start=+</+ end=+>+ contains=htmlTagN,htmlTagError,@NoSpell
|
||||
syn region htmlTag start=+<[^/]+ end=+>+ contains=htmlTagN,htmlString,htmlArg,htmlValue,htmlTagError,htmlEvent,htmlCssDefinition,@htmlPreproc,@htmlArgCluster,@NoSpell
|
||||
syn region htmlEndTag start=+</+ end=+>+ contains=htmlTagN,htmlTagError
|
||||
syn region htmlTag start=+<[^/]+ end=+>+ contains=htmlTagN,htmlString,htmlArg,htmlValue,htmlTagError,htmlEvent,htmlCssDefinition,@htmlPreproc,@htmlArgCluster
|
||||
syn match htmlTagN contained +<\s*[-a-zA-Z0-9]\++hs=s+1 contains=htmlTagName,htmlSpecialTagName,@htmlTagNameCluster
|
||||
syn match htmlTagN contained +</\s*[-a-zA-Z0-9]\++hs=s+2 contains=htmlTagName,htmlSpecialTagName,@htmlTagNameCluster
|
||||
syn match htmlTagError contained "[^>]<"ms=s+1
|
||||
@@ -116,7 +120,7 @@ syn match htmlPreProcAttrName contained "\(expr\|errmsg\|sizefmt\|timefmt\|var\|
|
||||
|
||||
if !exists("html_no_rendering")
|
||||
" rendering
|
||||
syn cluster htmlTop contains=htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,htmlLink,javaScript,@htmlPreproc
|
||||
syn cluster htmlTop contains=@Spell,htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,htmlLink,javaScript,@htmlPreproc
|
||||
|
||||
syn region htmlBold start="<b\>" end="</b>"me=e-4 contains=@htmlTop,htmlBoldUnderline,htmlBoldItalic
|
||||
syn region htmlBold start="<strong\>" end="</strong>"me=e-9 contains=@htmlTop,htmlBoldUnderline,htmlBoldItalic
|
||||
@@ -146,7 +150,7 @@ if !exists("html_no_rendering")
|
||||
syn region htmlItalicUnderlineBold contained start="<b\>" end="</b>"me=e-4 contains=@htmlTop
|
||||
syn region htmlItalicUnderlineBold contained start="<strong\>" end="</strong>"me=e-9 contains=@htmlTop
|
||||
|
||||
syn region htmlLink start="<a\>\_[^>]*\<href\>" end="</a>"me=e-4 contains=htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,javaScript,@htmlPreproc
|
||||
syn region htmlLink start="<a\>\_[^>]*\<href\>" end="</a>"me=e-4 contains=@Spell,htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,javaScript,@htmlPreproc
|
||||
syn region htmlH1 start="<h1\>" end="</h1>"me=e-5 contains=@htmlTop
|
||||
syn region htmlH2 start="<h2\>" end="</h2>"me=e-5 contains=@htmlTop
|
||||
syn region htmlH3 start="<h3\>" end="</h3>"me=e-5 contains=@htmlTop
|
||||
@@ -154,7 +158,7 @@ if !exists("html_no_rendering")
|
||||
syn region htmlH5 start="<h5\>" end="</h5>"me=e-5 contains=@htmlTop
|
||||
syn region htmlH6 start="<h6\>" end="</h6>"me=e-5 contains=@htmlTop
|
||||
syn region htmlHead start="<head\>" end="</head>"me=e-7 end="<body\>"me=e-5 end="<h[1-6]\>"me=e-3 contains=htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,htmlLink,htmlTitle,javaScript,cssStyle,@htmlPreproc
|
||||
syn region htmlTitle start="<title\>" end="</title>"me=e-8 contains=htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,javaScript,@htmlPreproc
|
||||
syn region htmlTitle start="<title\>" end="</title>"me=e-8 contains=@Spell,htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,javaScript,@htmlPreproc
|
||||
endif
|
||||
|
||||
syn keyword htmlTagName contained noscript
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
" Language: JavaScript
|
||||
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||
" URL: http://www.fleiner.com/vim/syntax/javascript.vim
|
||||
" Last Change: 2004 Nov 20
|
||||
" Last Change: 2005 Jul 13
|
||||
|
||||
" For version 5.x: Clear all syntax items
|
||||
" For version 6.x: Quit when a syntax file was already loaded
|
||||
@@ -64,7 +64,7 @@ syn sync maxlines=100
|
||||
|
||||
" catch errors caused by wrong parenthesis
|
||||
syn region javaScriptParen transparent start="(" end=")" contains=javaScriptParen,javaScriptComment,javaScriptSpecial,javaScriptStringD,javaScriptStringS,javaScriptSpecialCharacter,javaScriptNumber,javaScriptRegexpString,javaScriptBoolean,javaScriptBraces,javaScriptFunction,javaScriptFunctionFold,javaScriptConditional,javaScriptRepeat,javaScriptBranch,javaScriptOperator,javaScriptType,javaScriptStatement,javaScriptBoolean,javaScriptConstant
|
||||
syn region javaScriptParen transparent start="(" end=")" contains=javaScriptParen,javaScriptComment,javaScriptSpecial,javaScriptStringD,javaScriptStringS,javaScriptSpecialCharacter,javaScriptNumber,javaScriptRegexpString,javaScriptBoolean,javaScriptBraces
|
||||
" syn region javaScriptParen transparent start="(" end=")" contains=javaScriptParen,javaScriptComment,javaScriptSpecial,javaScriptStringD,javaScriptStringS,javaScriptSpecialCharacter,javaScriptNumber,javaScriptRegexpString,javaScriptBoolean,javaScriptBraces
|
||||
syn match javaScrParenError ")"
|
||||
|
||||
if main_syntax == "javascript"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
" Language: shell (sh) Korn shell (ksh) bash (sh)
|
||||
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
|
||||
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
||||
" Last Change: Mar 24, 2005
|
||||
" Version: 74
|
||||
" Last Change: Jul 01, 2005
|
||||
" Version: 75
|
||||
" URL: http://www.erols.com/astronaut/vim/index.html#vimlinks_syntax
|
||||
"
|
||||
" Using the following VIM variables: {{{1
|
||||
@@ -71,6 +71,7 @@ syn cluster shCaseEsacList contains=shCaseStart,shCase,shCaseBar,shCaseIn,shComm
|
||||
syn cluster shCaseList contains=@shCommandSubList,shCaseEsac,shColon,shCommandSub,shCommandSub,shComment,shDo,shEcho,shExpr,shFor,shHereDoc,shIf,shRedir,shSetList,shSource,shStatement,shVariable,shSpecial
|
||||
syn cluster shColonList contains=@shCaseList
|
||||
syn cluster shCommandSubList contains=shArithmetic,shDeref,shDerefSimple,shNumber,shOperator,shPosnParm,shSpecial,shExSingleQuote,shSingleQuote,shDoubleQuote,shStatement,shVariable,shSubSh,shAlias,shTest
|
||||
syn cluster shCurlyList contains=shNumber,shComma,shDeref,shDerefSimple,shDerefSpecial
|
||||
syn cluster shDblQuoteList contains=shCommandSub,shDeref,shDerefSimple,shSpecial,shPosnParm
|
||||
syn cluster shDerefList contains=shDeref,shDerefSimple,shDerefVar,shDerefSpecial,shDerefWordError
|
||||
syn cluster shDerefVarList contains=shDerefOp,shDerefVarArray,shDerefOpError
|
||||
@@ -154,7 +155,7 @@ syn match shCharClass contained "\[:\(backspace\|escape\|return\|xdigit\|alnum
|
||||
" ======
|
||||
syn region shDo transparent matchgroup=shConditional start="\<do\>" matchgroup=shConditional end="\<done\>" contains=@shLoopList
|
||||
syn region shIf transparent matchgroup=shConditional start="\<if\>" matchgroup=shConditional end="\<;\_s*then\>" end="\<fi\>" contains=@shLoopList,shDblBrace,shDblParen
|
||||
syn region shFor matchgroup=shLoop start="\<for\>" end="\<in\>" end="\<do\>"me=e-2 contains=@shLoopList,shDblParen
|
||||
syn region shFor matchgroup=shLoop start="\<for\>" end="\<in\>" end="\<do\>"me=e-2 contains=@shLoopList,shDblParen skipwhite nextgroup=shCurlyIn
|
||||
if exists("b:is_kornshell") || exists("b:is_bash")
|
||||
syn cluster shCaseList add=shRepeat
|
||||
syn region shRepeat matchgroup=shLoop start="\<while\>" end="\<in\>" end="\<do\>"me=e-2 contains=@shLoopList,shDblParen,shDblBrace
|
||||
@@ -164,6 +165,8 @@ else
|
||||
syn region shRepeat matchgroup=shLoop start="\<while\>" end="\<do\>"me=e-2 contains=@shLoopList
|
||||
syn region shRepeat matchgroup=shLoop start="\<until\>" end="\<do\>"me=e-2 contains=@shLoopList
|
||||
endif
|
||||
syn region shCurlyIn contained matchgroup=Delimiter start="{" end="}" contains=@shCurlyList
|
||||
syn match shComma contained ","
|
||||
|
||||
" Case: case...esac {{{1
|
||||
" ====
|
||||
|
||||
17
runtime/syntax/tar.vim
Normal file
17
runtime/syntax/tar.vim
Normal file
@@ -0,0 +1,17 @@
|
||||
" Language : Tar Listing Syntax
|
||||
" Maintainer : Bram Moolenaar
|
||||
" Last change: Sep 08, 2004
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syn match tarComment '^".*' contains=tarFilename
|
||||
syn match tarFilename 'tarfile \zs.*' contained
|
||||
syn match tarDirectory '.*/$'
|
||||
|
||||
hi def link tarComment Comment
|
||||
hi def link tarFilename Constant
|
||||
hi def link tarDirectory Type
|
||||
|
||||
" vim: ts=8
|
||||
@@ -1,8 +1,8 @@
|
||||
" Vim syntax file
|
||||
" Language: Vim 7.0 script
|
||||
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
|
||||
" Last Change: March 21, 2005
|
||||
" Version: 7.0-10
|
||||
" Last Change: August 02, 2005
|
||||
" Version: 7.0-11
|
||||
" Automatically generated keyword lists: {{{1
|
||||
|
||||
" Quit when a syntax file was already loaded {{{2
|
||||
@@ -16,11 +16,11 @@ syn keyword vimTodo contained COMBAK NOT RELEASED TODO WIP
|
||||
syn cluster vimCommentGroup contains=vimTodo,@Spell
|
||||
|
||||
" regular vim commands {{{2
|
||||
syn keyword vimCommand contained ab[breviate] abc[lear] abo[veleft] al[l] arga[dd] argd[elete] argdo arge[dit] argg[lobal] argl[ocal] ar[gs] argu[ment] as[cii] bad[d] ba[ll] bd[elete] be bel[owright] bf[irst] bl[ast] bm[odified] bn[ext] bN[ext] bo[tright] bp[revious] brea[k] breaka[dd] breakd[el] breakl[ist] br[ewind] bro[wse] bufdo b[uffer] buffers bun[load] bw[ipeout] ca[bbrev] cabc[lear] cal[l] cat[ch] cb[uffer] cc ccl[ose] cd ce[nter] cf[ile] cfir[st] cg[etfile] c[hange] changes chd[ir] che[ckpath] checkt[ime] cla[st] cl[ist] clo[se] cmapc[lear] cnew[er] cn[ext] cN[ext] cnf[ile] cNf[ile] cnorea[bbrev] col[der] colo[rscheme] comc[lear] comp[iler] conf[irm] con[tinue] cope[n] co[py] cpf[ile] cp[revious] cq[uit] cr[ewind] cuna[bbrev] cu[nmap] cw[indow] debugg[reedy] delc[ommand] d[elete] DeleteFirst delf[unction] delm[arks] diffg[et] diffoff diffpatch diffpu[t] diffsplit diffthis dig[raphs] di[splay] dj[ump] dl[ist] dr[op] ds[earch] dsp[lit] echoe[rr] echom[sg] echon e[dit] el[se] elsei[f] em[enu] emenu* endfo[r] endf[unction] en[dif] endt[ry] endw[hile] ene[w] ex exi[t] exu[sage] f[ile] files filetype fina[lly] fin[d] fini[sh] fir[st] fix[del] fo[ld] foldc[lose] folddoc[losed] foldd[oopen] foldo[pen] for fu[nction] g[lobal] go[to] gr[ep] grepa[dd] ha[rdcopy] h[elp] helpf[ind] helpg[rep] helpt[ags] hid[e] his[tory] I ia[bbrev] iabc[lear] if ij[ump] il[ist] imapc[lear] inorea[bbrev] is[earch] isp[lit] iuna[bbrev] iu[nmap] j[oin] ju[mps] k keepalt keepj[umps] kee[pmarks] lan[guage] la[st] lc[d] lch[dir] le[ft] lefta[bove] l[ist] lm[ap] lmapc[lear] ln[oremap] lo[adview] loc[kmarks] lockv[ar] ls lu[nmap] mak[e] ma[rk] marks mat[ch] menut[ranslate] mk[exrc] mks[ession] mkvie[w] mkv[imrc] mod[e] m[ove] mzf[ile] mz[scheme] nbkey new n[ext] N[ext] nmapc[lear] noh[lsearch] norea[bbrev] Nread nu[mber] nun[map] Nw omapc[lear] on[ly] o[pen] opt[ions] ou[nmap] pc[lose] ped[it] pe[rl] perld[o] po[p] popu popu[p] pp[op] pre[serve] prev[ious] p[rint] P[rint] prof[ile] prompt promptf[ind] promptr[epl] ps[earch] pta[g] ptf[irst] ptj[ump] ptl[ast] ptn[ext] ptN[ext] ptp[revious] ptr[ewind] pts[elect] pu[t] pw[d] pyf[ile] py[thon] qa[ll] q[uit] quita[ll] r[ead] rec[over] redi[r] red[o] redr[aw] redraws[tatus] reg[isters] res[ize] ret[ab] retu[rn] rew[ind] ri[ght] rightb[elow] rub[y] rubyd[o] rubyf[ile] ru[ntime] rv[iminfo] sal[l] sandbox sa[rgument] sav[eas] sba[ll] sbf[irst] sbl[ast] sbm[odified] sbn[ext] sbN[ext] sbp[revious] sbr[ewind] sb[uffer] scripte[ncoding] scrip[tnames] se[t] setf[iletype] setg[lobal] setl[ocal] sf[ind] sfir[st] sh[ell] sign sil[ent] sim[alt] sla[st] sl[eep] sm[agic] sn[ext] sN[ext] sni[ff] sno[magic] so[urce] sp[lit] spr[evious] sre[wind] sta[g] star[tinsert] startr[eplace] stj[ump] st[op] stopi[nsert] sts[elect] sun[hide] sus[pend] sv[iew] syncbind t ta[g] tags tc[l] tcld[o] tclf[ile] te[aroff] tf[irst] the th[row] tj[ump] tl[ast] tm tm[enu] tn[ext] tN[ext] to[pleft] tp[revious] tr[ewind] try ts[elect] tu tu[nmenu] una[bbreviate] u[ndo] unh[ide] unlo[ckvar] unm[ap] up[date] verb[ose] ve[rsion] vert[ical] v[global] vie[w] vim[grep] vimgrepa[dd] vi[sual] viu[sage] vmapc[lear] vne[w] vs[plit] vu[nmap] wa[ll] wh[ile] winc[md] windo winp[os] win[size] wn[ext] wN[ext] wp[revious] wq wqa[ll] w[rite] ws[verb] wv[iminfo] X xa[ll] x[it] y[ank]
|
||||
syn keyword vimCommand contained ab[breviate] abc[lear] abo[veleft] al[l] arga[dd] argd[elete] argdo arge[dit] argg[lobal] argl[ocal] ar[gs] argu[ment] as[cii] bad[d] ba[ll] bd[elete] be bel[owright] bf[irst] bl[ast] bm[odified] bn[ext] bN[ext] bo[tright] bp[revious] brea[k] breaka[dd] breakd[el] breakl[ist] br[ewind] bro[wse] bufdo b[uffer] buffers bun[load] bw[ipeout] ca[bbrev] cabc[lear] cad[dfile] cal[l] cat[ch] cb[uffer] cc ccl[ose] cd ce[nter] cex[pr] cf[ile] cfir[st] cg[etfile] c[hange] changes chd[ir] che[ckpath] checkt[ime] cla[st] cl[ist] clo[se] cmapc[lear] cnew[er] cn[ext] cN[ext] cnf[ile] cNf[ile] cnorea[bbrev] col[der] colo[rscheme] comc[lear] comp[iler] conf[irm] con[tinue] cope[n] co[py] cpf[ile] cp[revious] cq[uit] cr[ewind] cuna[bbrev] cu[nmap] cw[indow] debugg[reedy] delc[ommand] d[elete] DeleteFirst delf[unction] delm[arks] diffg[et] diffoff diffpatch diffpu[t] diffsplit diffthis diffu[pdate] dig[raphs] di[splay] dj[ump] dl[ist] dr[op] ds[earch] dsp[lit] echoe[rr] echom[sg] echon e[dit] el[se] elsei[f] em[enu] emenu* endfo[r] endf[unction] en[dif] endt[ry] endw[hile] ene[w] ex exi[t] exu[sage] f[ile] files filetype fina[lly] fin[d] fini[sh] fir[st] fix[del] fo[ld] foldc[lose] folddoc[losed] foldd[oopen] foldo[pen] for fu[nction] g[lobal] go[to] gr[ep] grepa[dd] ha[rdcopy] h[elp] helpf[ind] helpg[rep] helpt[ags] hid[e] his[tory] I ia[bbrev] iabc[lear] if ij[ump] il[ist] imapc[lear] inorea[bbrev] is[earch] isp[lit] iuna[bbrev] iu[nmap] j[oin] ju[mps] k keepalt keepj[umps] kee[pmarks] lan[guage] la[st] lc[d] lch[dir] le[ft] lefta[bove] l[ist] lm[ap] lmapc[lear] ln[oremap] lo[adview] loc[kmarks] lockv[ar] ls lu[nmap] mak[e] ma[rk] marks mat[ch] menut[ranslate] mk[exrc] mks[ession] mksp[ell] mkvie[w] mkv[imrc] mod[e] m[ove] mzf[ile] mz[scheme] nbkey new n[ext] N[ext] nmapc[lear] noh[lsearch] norea[bbrev] Nread nu[mber] nun[map] Nw omapc[lear] on[ly] o[pen] opt[ions] ou[nmap] pc[lose] ped[it] pe[rl] perld[o] po[p] popu popu[p] pp[op] pre[serve] prev[ious] p[rint] P[rint] profd[el] prof[ile] prompt promptf[ind] promptr[epl] ps[earch] pta[g] ptf[irst] ptj[ump] ptl[ast] ptn[ext] ptN[ext] ptp[revious] ptr[ewind] pts[elect] pu[t] pw[d] pyf[ile] py[thon] qa[ll] q[uit] quita[ll] r[ead] rec[over] redi[r] red[o] redr[aw] redraws[tatus] reg[isters] res[ize] ret[ab] retu[rn] rew[ind] ri[ght] rightb[elow] rub[y] rubyd[o] rubyf[ile] ru[ntime] rv[iminfo] sal[l] san[dbox] sa[rgument] sav[eas] sba[ll] sbf[irst] sbl[ast] sbm[odified] sbn[ext] sbN[ext] sbp[revious] sbr[ewind] sb[uffer] scripte[ncoding] scrip[tnames] se[t] setf[iletype] setg[lobal] setl[ocal] sf[ind] sfir[st] sh[ell] sign sil[ent] sim[alt] sla[st] sl[eep] sm[agic] sn[ext] sN[ext] sni[ff] sno[magic] sor[t] so[urce] spelld[ump] spe[llgood] spellr[epall] spellw[rong] sp[lit] spr[evious] sre[wind] sta[g] star[tinsert] startr[eplace] stj[ump] st[op] stopi[nsert] sts[elect] sun[hide] sus[pend] sv[iew] syncbind t ta[g] tags tc[l] tcld[o] tclf[ile] te[aroff] tf[irst] the th[row] tj[ump] tl[ast] tm tm[enu] tn[ext] tN[ext] to[pleft] tp[revious] tr[ewind] try ts[elect] tu tu[nmenu] una[bbreviate] u[ndo] unh[ide] unlo[ckvar] unm[ap] up[date] verb[ose] ve[rsion] vert[ical] v[global] vie[w] vim[grep] vimgrepa[dd] vi[sual] viu[sage] vmapc[lear] vne[w] vs[plit] vu[nmap] wa[ll] wh[ile] winc[md] windo winp[os] win[size] wn[ext] wN[ext] wp[revious] wq wqa[ll] w[rite] ws[verb] wv[iminfo] X xa[ll] x[it] y[ank]
|
||||
syn match vimCommand contained "\<z[-+^.=]"
|
||||
|
||||
" vimOptions are caught only when contained in a vimSet {{{2
|
||||
syn keyword vimOption contained : acd ai akm al aleph allowrevins altkeymap ambiwidth ambw anti antialias ar arab arabic arabicshape ari arshape autochdir autoindent autoread autowrite autowriteall aw awa background backspace backup backupcopy backupdir backupext backupskip balloondelay ballooneval balloonexpr bdir bdlay beval bex bexpr bg bh bin binary biosk bioskey bk bkc bl bomb breakat brk browsedir bs bsdir bsk bt bufhidden buflisted buftype casemap cb ccv cd cdpath cedit cf cfu ch charconvert ci cin cindent cink cinkeys cino cinoptions cinw cinwords clipboard cmdheight cmdwinheight cmp cms co columns com comments commentstring compatible complete completefunc confirm consk conskey copyindent cp cpo cpoptions cpt cscopepathcomp cscopeprg cscopequickfix cscopetag cscopetagorder cscopeverbose cspc csprg csqf cst csto csverb cwh debug deco def define delcombine dex dg dict dictionary diff diffexpr diffopt digraph dip dir directory display dy ea ead eadirection eb ed edcompatible ef efm ei ek enc encoding endofline eol ep equalalways equalprg errorbells errorfile errorformat esckeys et eventignore ex expandtab exrc fcl fcs fdc fde fdi fdl fdls fdm fdn fdo fdt fen fenc fencs ff ffs fileencoding fileencodings fileformat fileformats filetype fillchars fk fkmap flp fml fmr fo foldclose foldcolumn foldenable foldexpr foldignore foldlevel foldlevelstart foldmarker foldmethod foldminlines foldnestmax foldopen foldtext formatlistpat formatoptions formatprg fp fs fsync ft gcr gd gdefault gfm gfn gfs gfw ghr go gp grepformat grepprg guicursor guifont guifontset guifontwide guiheadroom guioptions guipty helpfile helpheight helplang hf hh hi hid hidden highlight history hk hkmap hkmapp hkp hl hlg hls hlsearch ic icon iconstring ignorecase im imactivatekey imak imc imcmdline imd imdisable imi iminsert ims imsearch inc include includeexpr incsearch inde indentexpr indentkeys indk inex inf infercase insertmode is isf isfname isi isident isk iskeyword isp isprint joinspaces js key keymap keymodel keywordprg km kmp kp langmap langmenu laststatus lazyredraw lbr lcs linebreak lines linespace lisp lispwords list listchars lm lmap loadplugins lpl ls lsp lw lz ma magic makeef makeprg mat matchpairs matchtime maxfuncdepth maxmapdepth maxmem maxmempattern maxmemtot mef menuitems mfd mh mis ml mls mm mmd mmp mmt mod modeline modelines modifiable modified more mouse mousef mousefocus mousehide mousem mousemodel mouses mouseshape mouset mousetime mp mps mzq mzquantum nf nrformats nu number numberwidth nuw oft osfiletype pa para paragraphs paste pastetoggle patchexpr patchmode path pdev penc pex pexpr pfn pheader pi pm pmbcs pmbfn popt preserveindent previewheight previewwindow printdevice printencoding printexpr printfont printheader printmbcharset printmbfont printoptions prompt pt pvh pvw qe quoteescape readonly remap report restorescreen revins ri rightleft rightleftcmd rl rlc ro rs rtp ru ruf ruler rulerformat runtimepath sb sbo sbr sc scb scr scroll scrollbind scrolljump scrolloff scrollopt scs sect sections secure sel selection selectmode sessionoptions sft sh shcf shell shellcmdflag shellpipe shellquote shellredir shellslash shelltemp shelltype shellxquote shiftround shiftwidth shm shortmess shortname showbreak showcmd showfulltag showmatch showmode shq si sidescroll sidescrolloff siso sj slm sm smartcase smartindent smarttab smd sn so softtabstop sol sp spell spelllang spl splitbelow splitright spr sr srr ss ssl ssop st sta startofline statusline stl stmp sts su sua suffixes suffixesadd sw swapfile swapsync swb swf switchbuf sws sxq syn syntax ta tabstop tag tagbsearch taglength tagrelative tags tagstack tb tbi tbidi tbis tbs tenc term termbidi termencoding terse textauto textmode textwidth tf tgst thesaurus tildeop timeout timeoutlen title titlelen titleold titlestring tl tm to toolbar toolbariconsize top tr ts tsl tsr ttimeout ttimeoutlen ttm tty ttybuiltin ttyfast ttym ttymouse ttyscroll ttytype tw tx uc ul undolevels updatecount updatetime ut vb vbs vdir ve verbose vi viewdir viewoptions viminfo virtualedit visualbell vop wa wak warn wb wc wcm wd weirdinvert wfh wh whichwrap wi wig wildchar wildcharm wildignore wildmenu wildmode wildoptions wim winaltkeys window winfixheight winheight winminheight winminwidth winwidth wiv wiw wm wmh wmnu wmw wop wrap wrapmargin wrapscan write writeany writebackup writedelay ws ww
|
||||
syn keyword vimOption contained : acd ai akm al aleph allowrevins altkeymap ambiwidth ambw anti antialias ar arab arabic arabicshape ari arshape autochdir autoindent autoread autowrite autowriteall aw awa background backspace backup backupcopy backupdir backupext backupskip balloondelay ballooneval balloonexpr bdir bdlay beval bex bexpr bg bh bin binary biosk bioskey bk bkc bl bomb breakat brk browsedir bs bsdir bsk bt bufhidden buflisted buftype casemap cb ccv cd cdpath cedit cf cfu ch charconvert ci cin cindent cink cinkeys cino cinoptions cinw cinwords clipboard cmdheight cmdwinheight cmp cms co columns com comments commentstring compatible complete completefunc confirm consk conskey copyindent cp cpo cpoptions cpt cscopepathcomp cscopeprg cscopequickfix cscopetag cscopetagorder cscopeverbose cspc csprg csqf cst csto csverb cwh debug deco def define delcombine dex dg dict dictionary diff diffexpr diffopt digraph dip dir directory display dy ea ead eadirection eb ed edcompatible ef efm ei ek enc encoding endofline eol ep equalalways equalprg errorbells errorfile errorformat esckeys et eventignore ex expandtab exrc fcl fcs fdc fde fdi fdl fdls fdm fdn fdo fdt fen fenc fencs ff ffs fileencoding fileencodings fileformat fileformats filetype fillchars fk fkmap flp fml fmr fo foldclose foldcolumn foldenable foldexpr foldignore foldlevel foldlevelstart foldmarker foldmethod foldminlines foldnestmax foldopen foldtext formatlistpat formatoptions formatprg fp fs fsync ft gcr gd gdefault gfm gfn gfs gfw ghr go gp grepformat grepprg guicursor guifont guifontset guifontwide guiheadroom guioptions guipty helpfile helpheight helplang hf hh hi hid hidden highlight history hk hkmap hkmapp hkp hl hlg hls hlsearch ic icon iconstring ignorecase im imactivatekey imak imc imcmdline imd imdisable imi iminsert ims imsearch inc include includeexpr incsearch inde indentexpr indentkeys indk inex inf infercase insertmode is isf isfname isi isident isk iskeyword isp isprint joinspaces js key keymap keymodel keywordprg km kmp kp langmap langmenu laststatus lazyredraw lbr lcs linebreak lines linespace lisp lispwords list listchars lm lmap loadplugins lpl ls lsp lw lz ma magic makeef makeprg mat matchpairs matchtime maxfuncdepth maxmapdepth maxmem maxmempattern maxmemtot mef menuitems mfd mh mis ml mls mm mmd mmp mmt mod modeline modelines modifiable modified more mouse mousef mousefocus mousehide mousem mousemodel mouses mouseshape mouset mousetime mp mps mzq mzquantum nf nrformats nu number numberwidth nuw oft osfiletype pa para paragraphs paste pastetoggle patchexpr patchmode path pdev penc pex pexpr pfn pheader pi pm pmbcs pmbfn popt preserveindent previewheight previewwindow printdevice printencoding printexpr printfont printheader printmbcharset printmbfont printoptions prompt pt pvh pvw qe quoteescape readonly remap report restorescreen revins ri rightleft rightleftcmd rl rlc ro rs rtp ru ruf ruler rulerformat runtimepath sb sbo sbr sc scb scr scroll scrollbind scrolljump scrolloff scrollopt scs sect sections secure sel selection selectmode sessionoptions sft sh shcf shell shellcmdflag shellpipe shellquote shellredir shellslash shelltemp shelltype shellxquote shiftround shiftwidth shm shortmess shortname showbreak showcmd showfulltag showmatch showmode shq si sidescroll sidescrolloff siso sj slm sm smartcase smartindent smarttab smc smd sn so softtabstop sol sp spc spell spellcapcheck spellfile spelllang spellsuggest spf spl splitbelow splitright spr sps sr srr ss ssl ssop st sta startofline statusline stl stmp sts su sua suffixes suffixesadd sw swapfile swapsync swb swf switchbuf sws sxq syn synmaxcol syntax ta tabstop tag tagbsearch taglength tagrelative tags tagstack tb tbi tbidi tbis tbs tenc term termbidi termencoding terse textauto textmode textwidth tf tgst thesaurus tildeop timeout timeoutlen title titlelen titleold titlestring tl tm to toolbar toolbariconsize top tr ts tsl tsr ttimeout ttimeoutlen ttm tty ttybuiltin ttyfast ttym ttymouse ttyscroll ttytype tw tx uc ul undolevels updatecount updatetime ut vb vbs vdir ve verbose verbosefile vfile vi viewdir viewoptions viminfo virtualedit visualbell vop wa wak warn wb wc wcm wd weirdinvert wfh wh whichwrap wi wig wildchar wildcharm wildignore wildmenu wildmode wildoptions wim winaltkeys window winfixheight winheight winminheight winminwidth winwidth wiv wiw wm wmh wmnu wmw wop wrap wrapmargin wrapscan write writeany writebackup writedelay ws ww
|
||||
|
||||
" vimOptions: These are the turn-off setting variants {{{2
|
||||
syn keyword vimOption contained noacd noai noakm noallowrevins noaltkeymap noanti noantialias noar noarab noarabic noarabicshape noari noarshape noautochdir noautoindent noautoread noautowrite noautowriteall noaw noawa nobackup noballooneval nobeval nobin nobinary nobiosk nobioskey nobk nobl nobomb nobuflisted nocf noci nocin nocindent nocompatible noconfirm noconsk noconskey nocopyindent nocp nocscopetag nocscopeverbose nocst nocsverb nodeco nodelcombine nodg nodiff nodigraph nodisable noea noeb noed noedcompatible noek noendofline noeol noequalalways noerrorbells noesckeys noet noex noexpandtab noexrc nofen nofk nofkmap nofoldenable nogd nogdefault noguipty nohid nohidden nohk nohkmap nohkmapp nohkp nohls nohlsearch noic noicon noignorecase noim noimc noimcmdline noimd noincsearch noinf noinfercase noinsertmode nois nojoinspaces nojs nolazyredraw nolbr nolinebreak nolisp nolist noloadplugins nolpl nolz noma nomagic nomh noml nomod nomodeline nomodifiable nomodified nomore nomousef nomousefocus nomousehide nonu nonumber nopaste nopi nopreserveindent nopreviewwindow noprompt nopvw noreadonly noremap norestorescreen norevins nori norightleft norightleftcmd norl norlc noro nors noru noruler nosb nosc noscb noscrollbind noscs nosecure nosft noshellslash noshelltemp noshiftround noshortname noshowcmd noshowfulltag noshowmatch noshowmode nosi nosm nosmartcase nosmartindent nosmarttab nosmd nosn nosol nospell nosplitbelow nosplitright nospr nosr nossl nosta nostartofline nostmp noswapfile noswf nota notagbsearch notagrelative notagstack notbi notbidi notbs notermbidi noterse notextauto notextmode notf notgst notildeop notimeout notitle noto notop notr nottimeout nottybuiltin nottyfast notx novb novisualbell nowa nowarn nowb noweirdinvert nowfh nowildmenu nowinfixheight nowiv nowmnu nowrap nowrapscan nowrite nowriteany nowritebackup nows
|
||||
@@ -44,18 +44,18 @@ syn keyword vimErrSetting contained hardtabs ht w1200 w300 w9600
|
||||
|
||||
" AutoBuf Events {{{2
|
||||
syn case ignore
|
||||
syn keyword vimAutoEvent contained BufAdd BufCreate BufDelete BufEnter BufFilePost BufFilePre BufHidden BufLeave BufNew BufNewFile BufRead BufReadCmd BufReadPost BufReadPre BufUnload BufWinEnter BufWinLeave BufWipeout BufWrite BufWriteCmd BufWritePost BufWritePre Cmd-event CmdwinEnter CmdwinLeave ColorScheme CursorHold E135 E143 E200 E201 E203 E204 EncodingChanged FileAppendCmd FileAppendPost FileAppendPre FileChangedRO FileChangedShell FileEncoding FileReadCmd FileReadPost FileReadPre FileType FileWriteCmd FileWritePost FileWritePre FilterReadPost FilterReadPre FilterWritePost FilterWritePre FocusGained FocusLost FuncUndefined GUIEnter InsertChange InsertEnter InsertLeave QuickFixCmdPost QuickFixCmdPre RemoteReply StdinReadPost StdinReadPre Syntax TermChanged TermResponse User UserGettingBored VimEnter VimLeave VimLeavePre WinEnter WinLeave
|
||||
syn keyword vimAutoEvent contained BufAdd BufCreate BufDelete BufEnter BufFilePost BufFilePre BufHidden BufLeave BufNew BufNewFile BufRead BufReadCmd BufReadPost BufReadPre BufUnload BufWinEnter BufWinLeave BufWipeout BufWrite BufWriteCmd BufWritePost BufWritePre Cmd-event CmdwinEnter CmdwinLeave ColorScheme CursorHold E135 E143 E200 E201 E203 E204 EncodingChanged FileAppendCmd FileAppendPost FileAppendPre FileChangedRO FileChangedShell FileEncoding FileReadCmd FileReadPost FileReadPre FileType FileWriteCmd FileWritePost FileWritePre FilterReadPost FilterReadPre FilterWritePost FilterWritePre FocusGained FocusLost FuncUndefined GUIEnter InsertChange InsertEnter InsertLeave MenuPopup QuickFixCmdPost QuickFixCmdPre RemoteReply StdinReadPost StdinReadPre Syntax TermChanged TermResponse User UserGettingBored VimEnter VimLeave VimLeavePre WinEnter WinLeave
|
||||
|
||||
" Highlight commonly used Groupnames {{{2
|
||||
syn keyword vimGroup contained Comment Constant String Character Number Boolean Float Identifier Function Statement Conditional Repeat Label Operator Keyword Exception PreProc Include Define Macro PreCondit Type StorageClass Structure Typedef Special SpecialChar Tag Delimiter SpecialComment Debug Underlined Ignore Error Todo
|
||||
|
||||
" Default highlighting groups {{{2
|
||||
syn keyword vimHLGroup contained Cursor CursorIM DiffAdd DiffChange DiffDelete DiffText Directory ErrorMsg FoldColumn Folded IncSearch LineNr Menu ModeMsg MoreMsg NonText Normal Question Scrollbar Search SignColumn SpecialKey SpellBad SpellLocal SpellRare StatusLine StatusLineNC Title Tooltip VertSplit Visual VisualNOS WarningMsg WildMenu
|
||||
syn keyword vimHLGroup contained Cursor CursorIM DiffAdd DiffChange DiffDelete DiffText Directory ErrorMsg FoldColumn Folded IncSearch LineNr Menu ModeMsg MoreMsg NonText Normal Question Scrollbar Search SignColumn SpecialKey SpellBad SpellCap SpellLocal SpellRare StatusLine StatusLineNC Title Tooltip VertSplit Visual VisualNOS WarningMsg WildMenu
|
||||
syn match vimHLGroup contained "Conceal"
|
||||
syn case match
|
||||
|
||||
" Function Names {{{2
|
||||
syn keyword vimFuncName contained add append argc argidx argv browse browsedir bufexists buflisted bufloaded bufname bufnr bufwinnr byte2line byteidx call char2nr cindent col confirm copy count cscope_connection cursor deepcopy delete did_filetype diff_filler diff_hlID empty errorlist escape eval eventhandler executable exists expand expr8 extend filereadable filewritable filter finddir findfile fnamemodify foldclosed foldclosedend foldlevel foldtext foldtextresult foreground function get getbufvar getchar getcharmod getcmdline getcmdpos getcwd getfontname getfperm getfsize getftime getftype getline getreg getregtype getwinposx getwinposy getwinvar glob globpath has has_key hasmapto histadd histdel histget histnr hlexists hlID hostname iconv indent index input inputdialog inputrestore inputsave inputsecret insert isdirectory islocked items join keys len libcall libcallnr line line2byte lispindent localtime map maparg mapcheck match matchend matchlist matchstr max min mkdir mode nextnonblank nr2char prevnonblank range readfile remote_expr remote_foreground remote_peek remote_read remote_send remove rename repeat resolve reverse search searchpair server2client serverlist setbufvar setcmdpos setline setreg setwinvar simplify sort split strftime stridx string strlen strpart strridx strtrans submatch substitute synID synIDattr synIDtrans system taglist tempname tolower toupper tr type values virtcol visualmode winbufnr wincol winheight winline winnr winrestcmd winwidth writefile soundfold spellsuggest spellbadword
|
||||
syn keyword vimFuncName contained add append argc argidx argv browse browsedir bufexists buflisted bufloaded bufname bufnr bufwinnr byte2line byteidx call char2nr cindent col confirm copy count cscope_connection cursor deepcopy delete did_filetype diff_filler diff_hlID empty escape eval eventhandler executable exists expand expr8 extend filereadable filewritable filter finddir findfile fnamemodify foldclosed foldclosedend foldlevel foldtext foldtextresult foreground function garbagecollect get getbufline getbufvar getchar getcharmod getcmdline getcmdpos getcwd getfontname getfperm getfsize getftime getftype getline getqflist getreg getregtype getwinposx getwinposy getwinvar glob globpath has has_key hasmapto histadd histdel histget histnr hlexists hlID hostname iconv indent index input inputdialog inputrestore inputsave inputsecret insert isdirectory islocked items join keys len libcall libcallnr line line2byte lispindent localtime map maparg mapcheck match matchend matchlist matchstr max min mkdir mode nextnonblank nr2char prevnonblank printf range readfile remote_expr remote_foreground remote_peek remote_read remote_send remove rename repeat resolve reverse search searchpair server2client serverlist setbufvar setcmdpos setline setqflist setreg setwinvar simplify sort soundfold spellbadword spellsuggest split strftime stridx string strlen strpart strridx strtrans submatch substitute synID synIDattr synIDtrans system taglist tempname tolower toupper tr type values virtcol visualmode winbufnr wincol winheight winline winnr winrestcmd winwidth writefile
|
||||
|
||||
"--- syntax above generated by mkvimvim ---
|
||||
" Special Vim Highlighting (not automatic) {{{1
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
" Filename: wget.vim
|
||||
" Language: Wget configuration file ( /etc/wgetrc ~/.wgetrc )
|
||||
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
|
||||
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/syntax/wget.vim
|
||||
" Last Change: 2004 Nov 27
|
||||
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/syntax/wget.vim
|
||||
" Last Change: 2005 Jul 24
|
||||
|
||||
" TODO: all commands are actually underscore and hyphen insensitive, though
|
||||
" they are normally named as listed below
|
||||
@@ -16,120 +16,153 @@ elseif exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syn match wgetComment "^\s*#.*$" contains=wgetTodo
|
||||
syn match wgetComment "^\s*#.*$" contains=wgetTodo
|
||||
|
||||
syn keyword wgetTodo TODO NOTE FIXME XXX contained
|
||||
syn keyword wgetTodo TODO NOTE FIXME XXX contained
|
||||
|
||||
syn match wgetAssignment "^\s*[A-Za-z_-]\+\s*=\s*.*$" contains=wgetCommand,wgetAssignmentOperator,wgetString,wgetBoolean,wgetNumber,wgetValue,wgetQuota
|
||||
syn match wgetAssignment "^\s*[A-Za-z0-9_-]\+\s*=\s*.*$" contains=wgetCommand,wgetAssignmentOperator,wgetString,wgetBoolean,wgetNumber,wgetValue,wgetQuota,wgetRestriction,wgetTime
|
||||
|
||||
syn match wgetAssignmentOperator "=" contained
|
||||
|
||||
syn region wgetString start=+"+ skip=+\\\\\|\\"+ end=+"+ contained oneline
|
||||
syn region wgetString start=+'+ skip=+\\\\\|\\'+ end=+'+ contained oneline
|
||||
syn region wgetString start=+"+ skip=+\\\\\|\\"+ end=+"+ contained oneline
|
||||
syn region wgetString start=+'+ skip=+\\\\\|\\'+ end=+'+ contained oneline
|
||||
|
||||
" Make this a match so that always_rest matches properly
|
||||
" Note: make this a match so that always_rest matches properly
|
||||
syn case ignore
|
||||
syn match wgetBoolean "\<on\|off\|always\|never\|1\|0\>" contained
|
||||
syn match wgetBoolean "\<on\|off\|always\|never\|1\|0\>" contained
|
||||
syn case match
|
||||
|
||||
syn match wgetNumber "\<\d\+\|inf\>" contained
|
||||
|
||||
syn match wgetQuota "\<\d\+[kKmM]\?\>" contained
|
||||
syn match wgetNumber "\<\d\+\|inf\>" contained
|
||||
syn match wgetQuota "\<\d\+[kKmM]\?\>" contained
|
||||
syn match wgetTime "\<\d\+[smhdw]\>" contained
|
||||
|
||||
syn case ignore
|
||||
syn keyword wgetValue default binary mega giga micro contained
|
||||
syn keyword wgetValue default binary mega giga micro contained
|
||||
syn case match
|
||||
|
||||
syn match wgetRestriction "\<\%(windows\|unix\)\%(,nocontrol\)\=\>" contained
|
||||
syn match wgetRestriction "\<nocontrol\>" contained
|
||||
|
||||
syn case ignore
|
||||
syn match wgetCommand "^\s*accept" contained
|
||||
syn match wgetCommand "^\s*add[-_]\=hostdir" contained
|
||||
syn match wgetCommand "^\s*always[-_]\=rest" contained
|
||||
syn match wgetCommand "^\s*background" contained
|
||||
syn match wgetCommand "^\s*backup[-_]\=converted" contained
|
||||
syn match wgetCommand "^\s*backups" contained
|
||||
syn match wgetCommand "^\s*base" contained
|
||||
syn match wgetCommand "^\s*bind[-_]\=address" contained
|
||||
syn match wgetCommand "^\s*cache" contained
|
||||
syn match wgetCommand "^\s*continue" contained
|
||||
syn match wgetCommand "^\s*convert[-_]\=links" contained
|
||||
syn match wgetCommand "^\s*cookies" contained
|
||||
syn match wgetCommand "^\s*cut[-_]\=dirs" contained
|
||||
syn match wgetCommand "^\s*debug" contained
|
||||
syn match wgetCommand "^\s*delete[-_]\=after" contained
|
||||
syn match wgetCommand "^\s*dir[-_]\=prefix" contained
|
||||
syn match wgetCommand "^\s*dir[-_]\=struct" contained
|
||||
syn match wgetCommand "^\s*domains" contained
|
||||
syn match wgetCommand "^\s*dot[-_]\=bytes" contained
|
||||
syn match wgetCommand "^\s*dots[-_]\=in[-_]\=line" contained
|
||||
syn match wgetCommand "^\s*dot[-_]\=spacing" contained
|
||||
syn match wgetCommand "^\s*dot[-_]\=style" contained
|
||||
syn match wgetCommand "^\s*egd[-_]\=file" contained
|
||||
syn match wgetCommand "^\s*exclude[-_]\=directories" contained
|
||||
syn match wgetCommand "^\s*exclude[-_]\=domains" contained
|
||||
syn match wgetCommand "^\s*follow[-_]\=ftp" contained
|
||||
syn match wgetCommand "^\s*follow[-_]\=tags" contained
|
||||
syn match wgetCommand "^\s*force[-_]\=html" contained
|
||||
syn match wgetCommand "^\s*ftp[-_]\=proxy" contained
|
||||
syn match wgetCommand "^\s*glob" contained
|
||||
syn match wgetCommand "^\s*header" contained
|
||||
syn match wgetCommand "^\s*html[-_]\=extension" contained
|
||||
syn match wgetCommand "^\s*htmlify" contained
|
||||
syn match wgetCommand "^\s*http[-_]\=keep[-_]\=alive" contained
|
||||
syn match wgetCommand "^\s*http[-_]\=passwd" contained
|
||||
syn match wgetCommand "^\s*http[-_]\=proxy" contained
|
||||
syn match wgetCommand "^\s*https[-_]\=proxy" contained
|
||||
syn match wgetCommand "^\s*http[-_]\=user" contained
|
||||
syn match wgetCommand "^\s*ignore[-_]\=length" contained
|
||||
syn match wgetCommand "^\s*ignore[-_]\=tags" contained
|
||||
syn match wgetCommand "^\s*include[-_]\=directories" contained
|
||||
syn match wgetCommand "^\s*input" contained
|
||||
syn match wgetCommand "^\s*kill[-_]\=longer" contained
|
||||
syn match wgetCommand "^\s*limit[-_]\=rate" contained
|
||||
syn match wgetCommand "^\s*load[-_]\=cookies" contained
|
||||
syn match wgetCommand "^\s*logfile" contained
|
||||
syn match wgetCommand "^\s*login" contained
|
||||
syn match wgetCommand "^\s*mirror" contained
|
||||
syn match wgetCommand "^\s*netrc" contained
|
||||
syn match wgetCommand "^\s*no[-_]\=clobber" contained
|
||||
syn match wgetCommand "^\s*no[-_]\=parent" contained
|
||||
syn match wgetCommand "^\s*no[-_]\=proxy" contained
|
||||
syn match wgetCommand "^\s*accept" contained
|
||||
syn match wgetCommand "^\s*add[-_]\=hostdir" contained
|
||||
syn match wgetCommand "^\s*always[-_]\=rest" contained
|
||||
syn match wgetCommand "^\s*background" contained
|
||||
syn match wgetCommand "^\s*backup[-_]\=converted" contained
|
||||
syn match wgetCommand "^\s*backups" contained
|
||||
syn match wgetCommand "^\s*base" contained
|
||||
syn match wgetCommand "^\s*bind[-_]\=address" contained
|
||||
syn match wgetCommand "^\s*ca[-_]\=certificate" contained
|
||||
syn match wgetCommand "^\s*ca[-_]\=directory" contained
|
||||
syn match wgetCommand "^\s*cache" contained
|
||||
syn match wgetCommand "^\s*certificate" contained
|
||||
syn match wgetCommand "^\s*certificate[-_]\=type" contained
|
||||
syn match wgetCommand "^\s*check[-_]\=certificate" contained
|
||||
syn match wgetCommand "^\s*connect[-_]\=timeout" contained
|
||||
syn match wgetCommand "^\s*continue" contained
|
||||
syn match wgetCommand "^\s*convert[-_]\=links" contained
|
||||
syn match wgetCommand "^\s*cookies" contained
|
||||
syn match wgetCommand "^\s*cut[-_]\=dirs" contained
|
||||
syn match wgetCommand "^\s*debug" contained
|
||||
syn match wgetCommand "^\s*delete[-_]\=after" contained
|
||||
syn match wgetCommand "^\s*dns[-_]\=cache" contained
|
||||
syn match wgetCommand "^\s*dns[-_]\=timeout" contained
|
||||
syn match wgetCommand "^\s*dir[-_]\=prefix" contained
|
||||
syn match wgetCommand "^\s*dir[-_]\=struct" contained
|
||||
syn match wgetCommand "^\s*domains" contained
|
||||
syn match wgetCommand "^\s*dot[-_]\=bytes" contained
|
||||
syn match wgetCommand "^\s*dots[-_]\=in[-_]\=line" contained
|
||||
syn match wgetCommand "^\s*dot[-_]\=spacing" contained
|
||||
syn match wgetCommand "^\s*dot[-_]\=style" contained
|
||||
syn match wgetCommand "^\s*egd[-_]\=file" contained
|
||||
syn match wgetCommand "^\s*exclude[-_]\=directories" contained
|
||||
syn match wgetCommand "^\s*exclude[-_]\=domains" contained
|
||||
syn match wgetCommand "^\s*follow[-_]\=ftp" contained
|
||||
syn match wgetCommand "^\s*follow[-_]\=tags" contained
|
||||
syn match wgetCommand "^\s*force[-_]\=html" contained
|
||||
syn match wgetCommand "^\s*ftp[-_]\=passw\(or\)\=d" contained
|
||||
syn match wgetCommand "^\s*ftp[-_]\=user" contained
|
||||
syn match wgetCommand "^\s*ftp[-_]\=proxy" contained
|
||||
syn match wgetCommand "^\s*glob" contained
|
||||
syn match wgetCommand "^\s*header" contained
|
||||
syn match wgetCommand "^\s*html[-_]\=extension" contained
|
||||
syn match wgetCommand "^\s*htmlify" contained
|
||||
syn match wgetCommand "^\s*http[-_]\=keep[-_]\=alive" contained
|
||||
syn match wgetCommand "^\s*http[-_]\=passwd" contained
|
||||
syn match wgetCommand "^\s*http[-_]\=password" contained
|
||||
syn match wgetCommand "^\s*http[-_]\=proxy" contained
|
||||
syn match wgetCommand "^\s*https[-_]\=proxy" contained
|
||||
syn match wgetCommand "^\s*http[-_]\=user" contained
|
||||
syn match wgetCommand "^\s*ignore[-_]\=length" contained
|
||||
syn match wgetCommand "^\s*ignore[-_]\=tags" contained
|
||||
syn match wgetCommand "^\s*include[-_]\=directories" contained
|
||||
syn match wgetCommand "^\s*inet4[-_]\=only" contained
|
||||
syn match wgetCommand "^\s*inet6[-_]\=only" contained
|
||||
syn match wgetCommand "^\s*input" contained
|
||||
syn match wgetCommand "^\s*keep[-_]\=session[-_]\=cookies" contained
|
||||
syn match wgetCommand "^\s*kill[-_]\=longer" contained
|
||||
syn match wgetCommand "^\s*limit[-_]\=rate" contained
|
||||
syn match wgetCommand "^\s*load[-_]\=cookies" contained
|
||||
syn match wgetCommand "^\s*logfile" contained
|
||||
syn match wgetCommand "^\s*login" contained
|
||||
syn match wgetCommand "^\s*mirror" contained
|
||||
syn match wgetCommand "^\s*netrc" contained
|
||||
syn match wgetCommand "^\s*no[-_]\=clobber" contained
|
||||
syn match wgetCommand "^\s*no[-_]\=parent" contained
|
||||
syn match wgetCommand "^\s*no[-_]\=proxy" contained
|
||||
" Note: this option is deprecated, use 'tries' instead
|
||||
syn match wgetCommand "^\s*numtries" contained
|
||||
syn match wgetCommand "^\s*output[-_]\=document" contained
|
||||
syn match wgetCommand "^\s*page[-_]\=requisites" contained
|
||||
syn match wgetCommand "^\s*passive[-_]\=ftp" contained
|
||||
syn match wgetCommand "^\s*passwd" contained
|
||||
syn match wgetCommand "^\s*progress" contained
|
||||
syn match wgetCommand "^\s*proxy[-_]\=passwd" contained
|
||||
syn match wgetCommand "^\s*proxy[-_]\=user" contained
|
||||
syn match wgetCommand "^\s*quiet" contained
|
||||
syn match wgetCommand "^\s*quota" contained
|
||||
syn match wgetCommand "^\s*random[-_]\=wait" contained
|
||||
syn match wgetCommand "^\s*reclevel" contained
|
||||
syn match wgetCommand "^\s*recursive" contained
|
||||
syn match wgetCommand "^\s*referer" contained
|
||||
syn match wgetCommand "^\s*reject" contained
|
||||
syn match wgetCommand "^\s*relative[-_]\=only" contained
|
||||
syn match wgetCommand "^\s*remove[-_]\=listing" contained
|
||||
syn match wgetCommand "^\s*retr[-_]\=symlinks" contained
|
||||
syn match wgetCommand "^\s*robots" contained
|
||||
syn match wgetCommand "^\s*save[-_]\=cookies" contained
|
||||
syn match wgetCommand "^\s*save[-_]\=headers" contained
|
||||
syn match wgetCommand "^\s*server[-_]\=response" contained
|
||||
syn match wgetCommand "^\s*numtries" contained
|
||||
syn match wgetCommand "^\s*output[-_]\=document" contained
|
||||
syn match wgetCommand "^\s*page[-_]\=requisites" contained
|
||||
syn match wgetCommand "^\s*passive[-_]\=ftp" contained
|
||||
syn match wgetCommand "^\s*passwd" contained
|
||||
syn match wgetCommand "^\s*password" contained
|
||||
syn match wgetCommand "^\s*post[-_]\=data" contained
|
||||
syn match wgetCommand "^\s*post[-_]\=file" contained
|
||||
syn match wgetCommand "^\s*prefer[-_]\=family" contained
|
||||
syn match wgetCommand "^\s*preserve[-_]\=permissions" contained
|
||||
syn match wgetCommand "^\s*private[-_]\=key" contained
|
||||
syn match wgetCommand "^\s*private[-_]\=key[-_]\=type" contained
|
||||
syn match wgetCommand "^\s*progress" contained
|
||||
syn match wgetCommand "^\s*protocol[-_]\=directories" contained
|
||||
syn match wgetCommand "^\s*proxy[-_]\=passwd" contained
|
||||
syn match wgetCommand "^\s*proxy[-_]\=password" contained
|
||||
syn match wgetCommand "^\s*proxy[-_]\=user" contained
|
||||
syn match wgetCommand "^\s*quiet" contained
|
||||
syn match wgetCommand "^\s*quota" contained
|
||||
syn match wgetCommand "^\s*random[-_]\=file" contained
|
||||
syn match wgetCommand "^\s*random[-_]\=wait" contained
|
||||
syn match wgetCommand "^\s*read[-_]\=timeout" contained
|
||||
syn match wgetCommand "^\s*reclevel" contained
|
||||
syn match wgetCommand "^\s*recursive" contained
|
||||
syn match wgetCommand "^\s*referer" contained
|
||||
syn match wgetCommand "^\s*reject" contained
|
||||
syn match wgetCommand "^\s*relative[-_]\=only" contained
|
||||
syn match wgetCommand "^\s*remove[-_]\=listing" contained
|
||||
syn match wgetCommand "^\s*restrict[-_]\=file[-_]\=names" contained
|
||||
syn match wgetCommand "^\s*retr[-_]\=symlinks" contained
|
||||
syn match wgetCommand "^\s*retry[-_]\=connrefused" contained
|
||||
syn match wgetCommand "^\s*robots" contained
|
||||
syn match wgetCommand "^\s*save[-_]\=cookies" contained
|
||||
syn match wgetCommand "^\s*save[-_]\=headers" contained
|
||||
syn match wgetCommand "^\s*secure[-_]\=protocol" contained
|
||||
syn match wgetCommand "^\s*server[-_]\=response" contained
|
||||
" Note: this option was removed in wget 1.8
|
||||
syn match wgetCommand "^\s*simple[-_]\=host[-_]\=check" contained
|
||||
syn match wgetCommand "^\s*span[-_]\=hosts" contained
|
||||
syn match wgetCommand "^\s*spider" contained
|
||||
syn match wgetCommand "^\s*sslcertfile" contained
|
||||
syn match wgetCommand "^\s*sslcertkey" contained
|
||||
syn match wgetCommand "^\s*timeout" contained
|
||||
syn match wgetCommand "^\s*time[-_]\=stamping" contained
|
||||
syn match wgetCommand "^\s*tries" contained
|
||||
syn match wgetCommand "^\s*use[-_]\=proxy" contained
|
||||
syn match wgetCommand "^\s*user[-_]\=agent" contained
|
||||
syn match wgetCommand "^\s*verbose" contained
|
||||
syn match wgetCommand "^\s*wait" contained
|
||||
syn match wgetCommand "^\s*wait[-_]\=retry" contained
|
||||
syn match wgetCommand "^\s*simple[-_]\=host[-_]\=check" contained
|
||||
syn match wgetCommand "^\s*span[-_]\=hosts" contained
|
||||
syn match wgetCommand "^\s*spider" contained
|
||||
syn match wgetCommand "^\s*strict[-_]\=comments" contained
|
||||
syn match wgetCommand "^\s*sslcertfile" contained
|
||||
syn match wgetCommand "^\s*sslcertkey" contained
|
||||
syn match wgetCommand "^\s*timeout" contained
|
||||
syn match wgetCommand "^\s*time[-_]\=stamping" contained
|
||||
syn match wgetCommand "^\s*tries" contained
|
||||
syn match wgetCommand "^\s*user" contained
|
||||
syn match wgetCommand "^\s*use[-_]\=proxy" contained
|
||||
syn match wgetCommand "^\s*user[-_]\=agent" contained
|
||||
syn match wgetCommand "^\s*verbose" contained
|
||||
syn match wgetCommand "^\s*wait" contained
|
||||
syn match wgetCommand "^\s*wait[-_]\=retry" contained
|
||||
syn case match
|
||||
|
||||
" Define the default highlighting.
|
||||
@@ -144,16 +177,18 @@ if version >= 508 || !exists("did_wget_syn_inits")
|
||||
endif
|
||||
|
||||
HiLink wgetAssignmentOperator Special
|
||||
HiLink wgetBoolean Boolean
|
||||
HiLink wgetCommand Identifier
|
||||
HiLink wgetComment Comment
|
||||
HiLink wgetNumber Number
|
||||
HiLink wgetQuota Number
|
||||
HiLink wgetString String
|
||||
HiLink wgetTodo Todo
|
||||
HiLink wgetValue Constant
|
||||
HiLink wgetBoolean Boolean
|
||||
HiLink wgetCommand Identifier
|
||||
HiLink wgetComment Comment
|
||||
HiLink wgetNumber Number
|
||||
HiLink wgetQuota Number
|
||||
HiLink wgetString String
|
||||
HiLink wgetTodo Todo
|
||||
HiLink wgetValue Constant
|
||||
|
||||
delcommand HiLink
|
||||
endif
|
||||
|
||||
let b:current_syntax = "wget"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
" This is a GENERATED FILE. Please always refer to source file at the URI below.
|
||||
" Language: XF86Config (XFree86 configuration file)
|
||||
" Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
|
||||
" Last Change: 2003-05-01
|
||||
" Last Change: 2005 Jul 12
|
||||
" URL: http://trific.ath.cx/Ftp/vim/syntax/xf86conf.vim
|
||||
" Required Vim Version: 6.0
|
||||
"
|
||||
@@ -63,7 +63,7 @@ syn match xf86confModeLineValue "\"[^\"]\+\"\(\_s\+[0-9.]\+\)\{9}" nextgroup=xf8
|
||||
|
||||
" Sections and subsections
|
||||
if b:xf86conf_xfree86_version >= 4
|
||||
syn region xf86confSection matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"\(Files\|Server[_ ]*Flags\|Input[_ ]*Device\|Device\|Video[_ ]*Adaptor\|Server[_ ]*Layout\|DRI\|Vendor\|Keyboard\|Pointer\)\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confComment,xf86confOption,xf86confKeyword,xf86confSectionError
|
||||
syn region xf86confSection matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"\(Files\|Server[_ ]*Flags\|Input[_ ]*Device\|Device\|Video[_ ]*Adaptor\|Server[_ ]*Layout\|DRI\|Extensions\|Vendor\|Keyboard\|Pointer\)\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confComment,xf86confOption,xf86confKeyword,xf86confSectionError
|
||||
syn region xf86confSectionModule matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"Module\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confSubsectionAny,xf86confComment,xf86confOption,xf86confKeyword
|
||||
syn region xf86confSectionMonitor matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"Monitor\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confSubsectionMode,xf86confModeLine,xf86confComment,xf86confOption,xf86confKeyword
|
||||
syn region xf86confSectionModes matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"Modes\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confSubsectionMode,xf86confModeLine,xf86confComment
|
||||
@@ -165,7 +165,7 @@ syn match xf86confSync "\(\s\+[+-][CHV]_*Sync\)\+" contained
|
||||
|
||||
" Synchronization
|
||||
if b:xf86conf_xfree86_version >= 4
|
||||
syn sync match xf86confSyncSection grouphere xf86confSection "^\s*Section\s\+\"\(Files\|Server[_ ]*Flags\|Input[_ ]*Device\|Device\|Video[_ ]*Adaptor\|Server[_ ]*Layout\|DRI\|Vendor\|Keyboard\|Pointer\)\""
|
||||
syn sync match xf86confSyncSection grouphere xf86confSection "^\s*Section\s\+\"\(Files\|Server[_ ]*Flags\|Input[_ ]*Device\|Device\|Video[_ ]*Adaptor\|Server[_ ]*Layout\|DRI\|Extensions\|Vendor\|Keyboard\|Pointer\)\""
|
||||
syn sync match xf86confSyncSectionModule grouphere xf86confSectionModule "^\s*Section\s\+\"Module\""
|
||||
syn sync match xf86confSyncSectionModes groupthere xf86confSectionModes "^\s*Section\s\+\"Modes\""
|
||||
else
|
||||
|
||||
80
runtime/syntax/xquery.vim
Normal file
80
runtime/syntax/xquery.vim
Normal file
@@ -0,0 +1,80 @@
|
||||
" Vim syntax file
|
||||
" Language: XQuery
|
||||
" Author: Jean-Marc Vanel <http://jmvanel.free.fr/>
|
||||
" Last Change: mar jui 12 18:04:05 CEST 2005
|
||||
" Filenames: *.xq
|
||||
" URL: http://jmvanel.free.fr/vim/xquery.vim
|
||||
" $Id$
|
||||
|
||||
" REFERENCES:
|
||||
" [1] http://www.w3.org/TR/xquery/
|
||||
|
||||
" Quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime syntax/xml.vim
|
||||
|
||||
syn case match
|
||||
|
||||
" From XQuery grammar:
|
||||
syn keyword xqueryStatement ancestor ancestor-or-self and as ascending at attribute base-uri by case cast castable child collation construction declare default descendant descendant-or-self descending div document element else empty encoding eq every except external following following-sibling for function ge greatest gt idiv if import in inherit-namespaces instance intersect is le least let lt mod module namespace ne no of or order ordered ordering parent preceding preceding-sibling preserve return satisfies schema self some stable strip then to treat typeswitch union unordered validate variable version where xmlspace xquery yes
|
||||
|
||||
" TODO contains clashes with vim keyword
|
||||
syn keyword xqueryFunction abs adjust-date-to-timezone adjust-date-to-timezone adjust-dateTime-to-timezone adjust-dateTime-to-timezone adjust-time-to-timezone adjust-time-to-timezone avg base-uri base-uri boolean ceiling codepoint-equal codepoints-to-string collection collection compare concat count current-date current-dateTime current-time data dateTime day-from-date day-from-dateTime days-from-duration deep-equal deep-equal default-collation distinct-values distinct-values doc doc-available document-uri empty ends-with ends-with error error error error escape-uri exactly-one exists false floor hours-from-dateTime hours-from-duration hours-from-time id id idref idref implicit-timezone in-scope-prefixes index-of index-of insert-before lang lang last local-name local-name local-name-from-QName lower-case matches matches max max min min minutes-from-dateTime minutes-from-duration minutes-from-time month-from-date month-from-dateTime months-from-duration name name namespace-uri namespace-uri namespace-uri-for-prefix namespace-uri-from-QName nilled node-name normalize-space normalize-space normalize-unicode normalize-unicode not number number one-or-more position prefix-from-QName QName remove replace replace resolve-QName resolve-uri resolve-uri reverse root root round round-half-to-even round-half-to-even seconds-from-dateTime seconds-from-duration seconds-from-time starts-with starts-with static-base-uri string string string-join string-length string-length string-to-codepoints subsequence subsequence substring substring substring-after substring-after substring-before substring-before sum sum timezone-from-date timezone-from-dateTime timezone-from-time tokenize tokenize trace translate true unordered upper-case year-from-date year-from-dateTime years-from-duration zero-or-one
|
||||
|
||||
syn keyword xqueryOperator add-dayTimeDuration-to-date add-dayTimeDuration-to-dateTime add-dayTimeDuration-to-time add-dayTimeDurations add-yearMonthDuration-to-date add-yearMonthDuration-to-dateTime add-yearMonthDurations base64Binary-equal boolean-equal boolean-greater-than boolean-less-than concatenate date-equal date-greater-than date-less-than dateTime-equal dateTime-greater-than dateTime-less-than dayTimeDuration-equal dayTimeDuration-greater-than dayTimeDuration-less-than divide-dayTimeDuration divide-dayTimeDuration-by-dayTimeDuration divide-yearMonthDuration divide-yearMonthDuration-by-yearMonthDuration except gDay-equal gMonth-equal gMonthDay-equal gYear-equal gYearMonth-equal hexBinary-equal intersect is-same-node multiply-dayTimeDuration multiply-yearMonthDuration node-after node-before NOTATION-equal numeric-add numeric-divide numeric-equal numeric-greater-than numeric-integer-divide numeric-less-than numeric-mod numeric-multiply numeric-subtract numeric-unary-minus numeric-unary-plus QName-equal subtract-dates-yielding-dayTimeDuration subtract-dateTimes-yielding-dayTimeDuration subtract-dayTimeDuration-from-date subtract-dayTimeDuration-from-dateTime subtract-dayTimeDuration-from-time subtract-dayTimeDurations subtract-times subtract-yearMonthDuration-from-date subtract-yearMonthDuration-from-dateTime subtract-yearMonthDurations time-equal time-greater-than time-less-than to union yearMonthDuration-equal yearMonthDuration-greater-than yearMonthDuration-less-than
|
||||
|
||||
syn match xqueryType "xs:\(\|Datatype\|primitive\|string\|boolean\|float\|double\|decimal\|duration\|dateTime\|time\|date\|gYearMonth\|gYear\|gMonthDay\|gDay\|gMonth\|hexBinary\|base64Binary\|anyURI\|QName\|NOTATION\|\|normalizedString\|token\|language\|IDREFS\|ENTITIES\|NMTOKEN\|NMTOKENS\|Name\|NCName\|ID\|IDREF\|ENTITY\|integer\|nonPositiveInteger\|negativeInteger\|long\|int\|short\|byte\|nonNegativeInteger\|unsignedLong\|unsignedInt\|unsignedShort\|unsignedByte\|positiveInteger\)"
|
||||
|
||||
" From XPath grammar:
|
||||
syn keyword xqueryXPath some every in in satisfies if then else to div idiv mod union intersect except instance of treat castable cast eq ne lt le gt ge is child descendant attribute self descendant-or-self following-sibling following namespace parent ancestor preceding-sibling preceding ancestor-or-self void item node document-node text comment processing-instruction attribute schema-attribute schema-element
|
||||
|
||||
" eXist extensions
|
||||
syn match xqExist "&="
|
||||
|
||||
" XQdoc
|
||||
syn match XQdoc contained "@\(param\|return\|author\)\>"
|
||||
|
||||
highlight def link xqueryStatement Statement
|
||||
highlight def link xqueryFunction Function
|
||||
highlight def link xqueryOperator Operator
|
||||
highlight def link xqueryType Type
|
||||
highlight def link xqueryXPath Operator
|
||||
highlight def link XQdoc Special
|
||||
highlight def link xqExist Operator
|
||||
|
||||
|
||||
"floating point number, with dot, optional exponent
|
||||
syn match cFloat "\d\+\.\d*\(e[-+]\=\d\+\)\=[fl]\="
|
||||
"floating point number, starting with a dot, optional exponent
|
||||
syn match cFloat "\.\d\+\(e[-+]\=\d\+\)\=[fl]\=\>"
|
||||
"floating point number, without dot, with exponent
|
||||
syn match cFloat "\d\+e[-+]\=\d\+[fl]\=\>"
|
||||
syn match cNumber "0x\x\+\(u\=l\{0,2}\|ll\=u\)\>"
|
||||
syn match cNumber "\<\d\+\>"
|
||||
highlight def link cNumber Number
|
||||
highlight def link cFloat Number
|
||||
|
||||
syn region xqComment start='(:' excludenl end=':)' contains=XQdoc
|
||||
highlight def link xqComment Comment
|
||||
" syntax match xqVariable "$\w\+"
|
||||
syntax match xqVariable +$\<[a-zA-Z:_][-.0-9a-zA-Z0-9:_]*\>+
|
||||
highlight def link xqVariable Identifier
|
||||
|
||||
" Redefine the default XML highlighting:
|
||||
highlight def link xmlTag Structure
|
||||
highlight def link xmlTagName Structure
|
||||
highlight def link xmlEndTag Structure
|
||||
|
||||
syntax match xqSeparator ",\|;"
|
||||
highlight link xqSeparator Operator
|
||||
|
||||
syn region xqCode transparent contained start='{' excludenl end='}' contains=xmlRegionBis,xqComment,xqueryStatement,xmlString,xqSeparator,cNumber,xqVariable keepend extend
|
||||
|
||||
syn region xmlRegionBis start=+<\z([^ /!?<>"']\+\)+ skip=+<!--\_.\{-}-->+ end=+</\z1\_\s\{-}>+ end=+/>+ fold contains=xmlTag,xmlEndTag,xmlCdata,xmlRegionBis,xmlComment,xmlEntity,xmlProcessing,xqCode keepend extend
|
||||
|
||||
syn region List transparent start='(' excludenl end=')' contains=xqCode,xmlRegion,xqComment,xqSeparator,xqueryStatement,xqVariable,xqueryType keepend extend
|
||||
|
||||
|
||||
@@ -38,10 +38,14 @@ STGMEDIUM medium;
|
||||
HRESULT hres = 0;
|
||||
UINT cbFiles = 0;
|
||||
|
||||
/* The buffers size used to be MAX_PATH (256 bytes), but that's not always
|
||||
* enough */
|
||||
#define BUFSIZE 1100
|
||||
|
||||
//
|
||||
// Get the name of the Gvim executable to use, with the path.
|
||||
// When "runtime" is non-zero, we were called to find the runtime directory.
|
||||
// Returns the path in name[MAX_PATH]. It's empty when it fails.
|
||||
// Returns the path in name[BUFSIZE]. It's empty when it fails.
|
||||
//
|
||||
static void
|
||||
getGvimName(char *name, int runtime)
|
||||
@@ -54,7 +58,7 @@ getGvimName(char *name, int runtime)
|
||||
if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, "Software\\Vim\\Gvim", 0,
|
||||
KEY_READ, &keyhandle) == ERROR_SUCCESS)
|
||||
{
|
||||
hlen = MAX_PATH;
|
||||
hlen = BUFSIZE;
|
||||
if (RegQueryValueEx(keyhandle, "path", 0, NULL, (BYTE *)name, &hlen)
|
||||
!= ERROR_SUCCESS)
|
||||
name[0] = 0;
|
||||
@@ -82,7 +86,7 @@ getGvimName(char *name, int runtime)
|
||||
}
|
||||
|
||||
//
|
||||
// Get the Vim runtime directory into buf[MAX_PATH].
|
||||
// Get the Vim runtime directory into buf[BUFSIZE].
|
||||
// The result is empty when it failed.
|
||||
// When it works, the path ends in a slash or backslash.
|
||||
//
|
||||
@@ -218,8 +222,8 @@ null_libintl_textdomain(const char* domainname)
|
||||
static void
|
||||
dyn_gettext_load(void)
|
||||
{
|
||||
char szBuff[MAX_PATH];
|
||||
char szLang[MAX_PATH];
|
||||
char szBuff[BUFSIZE];
|
||||
char szLang[BUFSIZE];
|
||||
DWORD len;
|
||||
HKEY keyhandle;
|
||||
int gotlang = 0;
|
||||
@@ -231,7 +235,7 @@ dyn_gettext_load(void)
|
||||
if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, "Software\\Vim\\Gvim", 0,
|
||||
KEY_READ, &keyhandle) == ERROR_SUCCESS)
|
||||
{
|
||||
len = MAX_PATH;
|
||||
len = BUFSIZE;
|
||||
if (RegQueryValueEx(keyhandle, "lang", 0, NULL, (BYTE*)szBuff, &len)
|
||||
== ERROR_SUCCESS)
|
||||
{
|
||||
@@ -249,7 +253,7 @@ dyn_gettext_load(void)
|
||||
// LOCALE_SABBREVLANGNAME gives us three letters, like "enu", we use
|
||||
// only the first two.
|
||||
len = GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SABBREVLANGNAME,
|
||||
(LPTSTR)szBuff, MAX_PATH);
|
||||
(LPTSTR)szBuff, BUFSIZE);
|
||||
if (len >= 2 && _strnicmp(szBuff, "en", 2) != 0)
|
||||
{
|
||||
// There are a few exceptions (probably more)
|
||||
@@ -615,11 +619,11 @@ STDMETHODIMP CShellExt::QueryContextMenu(HMENU hMenu,
|
||||
// Now display all the vim instances
|
||||
for (int i = 0; i < m_cntOfHWnd; i++)
|
||||
{
|
||||
char title[MAX_PATH];
|
||||
char temp[MAX_PATH];
|
||||
char title[BUFSIZE];
|
||||
char temp[BUFSIZE];
|
||||
|
||||
// Obtain window title, continue if can not
|
||||
if (GetWindowText(m_hWnd[i], title, MAX_PATH - 1) == 0)
|
||||
if (GetWindowText(m_hWnd[i], title, BUFSIZE - 1) == 0)
|
||||
continue;
|
||||
// Truncate the title before the path, keep the file name
|
||||
char *pos = strchr(title, '(');
|
||||
@@ -630,8 +634,8 @@ STDMETHODIMP CShellExt::QueryContextMenu(HMENU hMenu,
|
||||
*pos = 0;
|
||||
}
|
||||
// Now concatenate
|
||||
strncpy(temp, _("Edit with existing Vim - "), MAX_PATH - 1);
|
||||
strncat(temp, title, MAX_PATH - 1);
|
||||
strncpy(temp, _("Edit with existing Vim - "), BUFSIZE - 1);
|
||||
strncat(temp, title, BUFSIZE - 1);
|
||||
InsertMenu(hMenu,
|
||||
indexMenu++,
|
||||
MF_STRING|MF_BYPOSITION,
|
||||
@@ -750,7 +754,7 @@ STDMETHODIMP CShellExt::GetCommandString(UINT idCmd,
|
||||
|
||||
BOOL CALLBACK CShellExt::EnumWindowsProc(HWND hWnd, LPARAM lParam)
|
||||
{
|
||||
char temp[MAX_PATH];
|
||||
char temp[BUFSIZE];
|
||||
|
||||
// First do a bunch of check
|
||||
// No invisible window
|
||||
@@ -807,8 +811,8 @@ PlatformId(void)
|
||||
static char *
|
||||
searchpath(char *name)
|
||||
{
|
||||
static char widename[2 * MAX_PATH];
|
||||
static char location[2 * MAX_PATH + 2];
|
||||
static char widename[2 * BUFSIZE];
|
||||
static char location[2 * BUFSIZE + 2];
|
||||
|
||||
// There appears to be a bug in FindExecutableA() on Windows NT.
|
||||
// Use FindExecutableW() instead...
|
||||
@@ -816,12 +820,12 @@ searchpath(char *name)
|
||||
if (g_PlatformId == VER_PLATFORM_WIN32_NT)
|
||||
{
|
||||
MultiByteToWideChar(CP_ACP, 0, (LPCTSTR)name, -1,
|
||||
(LPWSTR)widename, MAX_PATH);
|
||||
(LPWSTR)widename, BUFSIZE);
|
||||
if (FindExecutableW((LPCWSTR)widename, (LPCWSTR)"",
|
||||
(LPWSTR)location) > (HINSTANCE)32)
|
||||
{
|
||||
WideCharToMultiByte(CP_ACP, 0, (LPWSTR)location, -1,
|
||||
(LPSTR)widename, 2 * MAX_PATH, NULL, NULL);
|
||||
(LPSTR)widename, 2 * BUFSIZE, NULL, NULL);
|
||||
return widename;
|
||||
}
|
||||
}
|
||||
@@ -842,8 +846,8 @@ STDMETHODIMP CShellExt::InvokeGvim(HWND hParent,
|
||||
LPCSTR pszParam,
|
||||
int iShowCmd)
|
||||
{
|
||||
char m_szFileUserClickedOn[MAX_PATH];
|
||||
char cmdStr[MAX_PATH];
|
||||
char m_szFileUserClickedOn[BUFSIZE];
|
||||
char cmdStr[BUFSIZE];
|
||||
UINT i;
|
||||
|
||||
for (i = 0; i < cbFiles; i++)
|
||||
@@ -856,7 +860,7 @@ STDMETHODIMP CShellExt::InvokeGvim(HWND hParent,
|
||||
getGvimName(cmdStr, 0);
|
||||
strcat(cmdStr, " \"");
|
||||
|
||||
if ((strlen(cmdStr) + strlen(m_szFileUserClickedOn) + 2) < MAX_PATH)
|
||||
if ((strlen(cmdStr) + strlen(m_szFileUserClickedOn) + 2) < BUFSIZE)
|
||||
{
|
||||
strcat(cmdStr, m_szFileUserClickedOn);
|
||||
strcat(cmdStr, "\"");
|
||||
@@ -913,13 +917,13 @@ STDMETHODIMP CShellExt::InvokeSingleGvim(HWND hParent,
|
||||
int iShowCmd,
|
||||
int useDiff)
|
||||
{
|
||||
char m_szFileUserClickedOn[MAX_PATH];
|
||||
char m_szFileUserClickedOn[BUFSIZE];
|
||||
char *cmdStr;
|
||||
size_t cmdlen;
|
||||
size_t len;
|
||||
UINT i;
|
||||
|
||||
cmdlen = MAX_PATH;
|
||||
cmdlen = BUFSIZE;
|
||||
cmdStr = (char *)malloc(cmdlen);
|
||||
getGvimName(cmdStr, 0);
|
||||
if (useDiff)
|
||||
@@ -934,7 +938,7 @@ STDMETHODIMP CShellExt::InvokeSingleGvim(HWND hParent,
|
||||
len = strlen(cmdStr) + strlen(m_szFileUserClickedOn) + 4;
|
||||
if (len > cmdlen)
|
||||
{
|
||||
cmdlen = len + MAX_PATH;
|
||||
cmdlen = len + BUFSIZE;
|
||||
cmdStr = (char *)realloc(cmdStr, cmdlen);
|
||||
}
|
||||
strcat(cmdStr, " \"");
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
INSTALLvms.txt - Installation of Vim on OpenVMS
|
||||
|
||||
Maintainer: Zoltan Arpadffy <arpadffy@polarfox.com>
|
||||
Last change: 2003 May 04
|
||||
Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
|
||||
Last change: 2005 Jul 12
|
||||
|
||||
This file contains instructions for compiling Vim on Openvms.
|
||||
If you already have an executable version of Vim, you don't need this.
|
||||
@@ -58,10 +58,11 @@ Contents:
|
||||
NOTE: procedure in chapter 1 describes source code preparation from multi OS
|
||||
code,however it is available OpenVMS oprimized (and tested) source code from:
|
||||
ftp://ftp.polarhome.com/pub/vim/source/vms/
|
||||
(http://www.polarhome.com/vim/files/source/vms/)
|
||||
|
||||
Current OpenVMS source code as .zip or .tar.gz file is possible to download
|
||||
from CVS mirror ftp://ftp.polarhome.com/pub/cvs/SOURCE/
|
||||
|
||||
(http://www.polarhome.com/cvs/SOURCE/)
|
||||
|
||||
2. Configuration
|
||||
|
||||
@@ -99,6 +100,13 @@ from CVS mirror ftp://ftp.polarhome.com/pub/cvs/SOURCE/
|
||||
Uncommented - without GTK
|
||||
Default : Uncommented
|
||||
|
||||
Parameter name : XPM
|
||||
Description : Enable XPM libraries in GUI/Motif mode.
|
||||
It enables features as toolbar etc.
|
||||
Options: : YES - GUI executable
|
||||
Uncommented - without XPM
|
||||
Default : Uncommented
|
||||
|
||||
Parameter name : DECC
|
||||
Description : Compiler selection
|
||||
Options: : YES - DECC compiler
|
||||
@@ -290,7 +298,7 @@ perl_env :
|
||||
7.2 GTK
|
||||
|
||||
To build VIM with GTK you have to install GTK on your OpenVMS.
|
||||
So far it works just on Alphas. More information at:
|
||||
So far it works just on Alpha and IA64. More information at:
|
||||
http://www.openvms.compaq.com/openvms/products/ips/gtk.html
|
||||
|
||||
You need also the OpenVMS Porting Library:
|
||||
@@ -372,4 +380,4 @@ perl_env :
|
||||
|
||||
9. Authors
|
||||
|
||||
Initial version, 2000 Jul 19, Zoltan Arpadffy <arpadffy@polarfox.com>
|
||||
Initial version, 2000 Jul 19, Zoltan Arpadffy <arpadffy@polarhome.com>
|
||||
|
||||
@@ -65,6 +65,7 @@ EXE_dependencies = \
|
||||
fileio.obj \
|
||||
fold.obj \
|
||||
getchar.obj \
|
||||
hardcopy.obj \
|
||||
hashtable.obj \
|
||||
main.obj \
|
||||
mark.obj \
|
||||
|
||||
@@ -546,6 +546,7 @@ vimobj = \
|
||||
$(OBJDIR)\fileio.obj \
|
||||
$(OBJDIR)\fold.obj \
|
||||
$(OBJDIR)\getchar.obj \
|
||||
$(OBJDIR)\hardcopy.obj \
|
||||
$(OBJDIR)\hashtable.obj \
|
||||
$(OBJDIR)\main.obj \
|
||||
$(OBJDIR)\mark.obj \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Makefile for VIM on Win32, using Cygnus gcc
|
||||
# Last updated by Dan Sharp. Last Change: 2005 Mar 21
|
||||
# Last updated by Dan Sharp. Last Change: 2005 Jul 23
|
||||
#
|
||||
# Also read INSTALLpc.txt!
|
||||
#
|
||||
@@ -353,7 +353,7 @@ EXE = gvim$(DEBUG_SUFFIX).exe
|
||||
OUTDIR = gobj$(DEBUG_SUFFIX)
|
||||
DEFINES += -DFEAT_GUI_W32 -DFEAT_CLIPBOARD
|
||||
EXTRA_OBJS += $(OUTDIR)/gui.o $(OUTDIR)/gui_w32.o $(OUTDIR)/gui_beval.o $(OUTDIR)/os_w32exe.o
|
||||
EXTRA_LIBS += -mwindows -lcomctl32
|
||||
EXTRA_LIBS += -mwindows -lcomctl32 -lversion
|
||||
else
|
||||
EXE = vim$(DEBUG_SUFFIX).exe
|
||||
OUTDIR = obj$(DEBUG_SUFFIX)
|
||||
@@ -403,6 +403,7 @@ OBJ = \
|
||||
$(OUTDIR)/fileio.o \
|
||||
$(OUTDIR)/fold.o \
|
||||
$(OUTDIR)/getchar.o \
|
||||
$(OUTDIR)/hardcopy.o \
|
||||
$(OUTDIR)/hashtable.o \
|
||||
$(OUTDIR)/main.o \
|
||||
$(OUTDIR)/mark.o \
|
||||
|
||||
@@ -40,6 +40,7 @@ SRC = \
|
||||
fileio.c \
|
||||
fold.c \
|
||||
getchar.c \
|
||||
hardcopy.c \
|
||||
hashtable.c \
|
||||
main.c \
|
||||
mark.c \
|
||||
@@ -82,6 +83,7 @@ OBJ = o/buffer.o \
|
||||
o/fileio.o \
|
||||
o/fold.o \
|
||||
o/getchar.o \
|
||||
o/hardcopy.o \
|
||||
o/hashtable.o \
|
||||
o/main.o \
|
||||
o/mark.o \
|
||||
@@ -157,6 +159,8 @@ o/fold.o: fold.c $(SYMS)
|
||||
|
||||
o/getchar.o: getchar.c $(SYMS)
|
||||
|
||||
o/hardcopy.o: hardcopy.c $(SYMS)
|
||||
|
||||
o/hashtable.o: hashtable.c $(SYMS)
|
||||
|
||||
o/main.o: main.c $(SYMS)
|
||||
|
||||
@@ -33,6 +33,7 @@ OBJ = \
|
||||
obj/fileio.o \
|
||||
obj/fold.o \
|
||||
obj/getchar.o \
|
||||
obj/hardcopy.o \
|
||||
obj/hashtable.o \
|
||||
obj/main.o \
|
||||
obj/mark.o \
|
||||
|
||||
@@ -88,8 +88,8 @@ LINK32=link.exe
|
||||
CPP_PROJ= /nologo /MT /W3 /GX /I ".\proto" /D "WIN32" /c
|
||||
# ADD CPP /nologo /MT /W3 /GX /I ".\proto" /D "WIN32" /c
|
||||
|
||||
LINK32_FLAGS= oldnames.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib comctl32.lib advapi32.lib shell32.lib ole32.lib uuid.lib /nologo /machine:I386 /nodefaultlib
|
||||
# ADD LINK32 oldnames.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib comctl32.lib advapi32.lib shell32.lib ole32.lib uuid.lib /nologo /machine:I386 /nodefaultlib
|
||||
LINK32_FLAGS= oldnames.lib kernel32.lib user32.lib gdi32.lib version.lib comdlg32.lib comctl32.lib advapi32.lib shell32.lib ole32.lib uuid.lib /nologo /machine:I386 /nodefaultlib
|
||||
# ADD LINK32 oldnames.lib kernel32.lib user32.lib gdi32.lib version.lib comdlg32.lib comctl32.lib advapi32.lib shell32.lib ole32.lib uuid.lib /nologo /machine:I386 /nodefaultlib
|
||||
# SUBTRACT LINK32 /incremental:yes
|
||||
|
||||
RSC_PROJ= /l 0x409 /d "FEAT_GUI_W32"
|
||||
@@ -224,6 +224,7 @@ LINK32_OBJS= \
|
||||
"$(INTDIR)/fileio.obj" \
|
||||
"$(INTDIR)/fold.obj" \
|
||||
"$(INTDIR)/getchar.obj" \
|
||||
"$(INTDIR)/hardcopy.obj" \
|
||||
"$(INTDIR)/hashtable.obj" \
|
||||
"$(INTDIR)/main.obj" \
|
||||
"$(INTDIR)/mark.obj" \
|
||||
@@ -378,6 +379,10 @@ SOURCE=.\getchar.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\hardcopy.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\hashtable.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
@@ -48,6 +48,7 @@ SRC = buffer.c \
|
||||
fileio.c \
|
||||
fold.c \
|
||||
getchar.c \
|
||||
hardcopy.c \
|
||||
hashtable.c \
|
||||
main.c \
|
||||
mark.c \
|
||||
@@ -92,6 +93,7 @@ OBJ = obj/buffer.o \
|
||||
obj/fileio.o \
|
||||
obj/fold.o \
|
||||
obj/getchar.o \
|
||||
obj/hardcopy.o \
|
||||
obj/hashtable.o \
|
||||
obj/main.o \
|
||||
obj/mark.o \
|
||||
@@ -134,6 +136,7 @@ PRO = proto/buffer.pro \
|
||||
proto/fileio.pro \
|
||||
proto/fold.pro \
|
||||
proto/getchar.pro \
|
||||
proto/hardcopy.pro \
|
||||
proto/hashtable.pro \
|
||||
proto/main.pro \
|
||||
proto/mark.pro \
|
||||
@@ -249,6 +252,9 @@ obj/fold.o: fold.c
|
||||
obj/getchar.o: getchar.c
|
||||
$(CCSYM) $@ getchar.c
|
||||
|
||||
obj/hardcopy.o: hardcopy.c
|
||||
$(CCSYM) $@ hardcopy.c
|
||||
|
||||
obj/hashtable.o: hashtable.c
|
||||
$(CCSYM) $@ hashtable.c
|
||||
|
||||
|
||||
@@ -354,7 +354,7 @@ endif
|
||||
CFLAGS += -s
|
||||
endif
|
||||
|
||||
LIB = -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32
|
||||
LIB = -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lversion
|
||||
GUIOBJ = $(OUTDIR)/gui.o $(OUTDIR)/gui_w32.o $(OUTDIR)/gui_beval.o $(OUTDIR)/os_w32exe.o
|
||||
OBJ = \
|
||||
$(OUTDIR)/buffer.o \
|
||||
@@ -371,6 +371,7 @@ OBJ = \
|
||||
$(OUTDIR)/fileio.o \
|
||||
$(OUTDIR)/fold.o \
|
||||
$(OUTDIR)/getchar.o \
|
||||
$(OUTDIR)/hardcopy.o \
|
||||
$(OUTDIR)/hashtable.o \
|
||||
$(OUTDIR)/main.o \
|
||||
$(OUTDIR)/mark.o \
|
||||
|
||||
@@ -38,6 +38,7 @@ SRC = buffer.c \
|
||||
fileio.c \
|
||||
fold.c \
|
||||
getchar.c \
|
||||
hardcopy.c \
|
||||
hashtable.c \
|
||||
main.c \
|
||||
mark.c \
|
||||
|
||||
132
src/Make_mpw.mak
132
src/Make_mpw.mak
@@ -32,6 +32,7 @@ SrcFiles =
|
||||
:src:fileio.c <20>
|
||||
:src:fold.c <20>
|
||||
:src:getchar.c <20>
|
||||
:src:hardcopy.c <20>
|
||||
:src:hashtable.c <20>
|
||||
:src:gui.c <20>
|
||||
:src:gui_mac.c <20>
|
||||
@@ -84,6 +85,7 @@ ObjFiles-PPC =
|
||||
"{ObjDir}fileio.c.x" <20>
|
||||
"{ObjDir}fold.c.x" <20>
|
||||
"{ObjDir}getchar.c.x" <20>
|
||||
"{ObjDir}hardcopy.c.x" <20>
|
||||
"{ObjDir}hashtable.c.x" <20>
|
||||
"{ObjDir}gui.c.x" <20>
|
||||
"{ObjDir}gui_mac.c.x" <20>
|
||||
@@ -167,6 +169,7 @@ VIm
|
||||
"{ObjDir}fileio.c.x" <EFBFBD> :src:fileio.c
|
||||
"{ObjDir}fold.c.x" <EFBFBD> :src:fold.c
|
||||
"{ObjDir}getchar.c.x" <EFBFBD> :src:getchar.c
|
||||
"{ObjDir}hardcopy.c.x" <EFBFBD> :src:hardcopy.c
|
||||
"{ObjDir}hashtable.c.x" <EFBFBD> :src:hashtable.c
|
||||
"{ObjDir}gui.c.x" <EFBFBD> :src:gui.c
|
||||
"{ObjDir}gui_mac.c.x" <EFBFBD> :src:gui_mac.c
|
||||
@@ -257,6 +260,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -339,6 +343,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -421,6 +426,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -503,6 +509,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -585,6 +592,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -668,6 +676,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -750,6 +759,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -832,6 +842,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -914,6 +925,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -996,6 +1008,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -1078,6 +1091,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -1160,6 +1174,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -1242,6 +1257,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -1366,6 +1382,89 @@ Dependencies
|
||||
:src:proto:if_perl.pro <20>
|
||||
:src:proto:if_perlsfio.pro
|
||||
|
||||
:obj:hardcopy.c.x <09> <20>
|
||||
:src:hardcopy.c <20>
|
||||
:src:vim.h <20>
|
||||
:src:auto:config.h <20>
|
||||
:src:feature.h <20>
|
||||
:src:os_unix.h <20>
|
||||
:src:os_mac.h <20>
|
||||
:src:workshop.h <20>
|
||||
:src:ascii.h <20>
|
||||
:src:keymap.h <20>
|
||||
:src:term.h <20>
|
||||
:src:macros.h <20>
|
||||
:src:structs.h <20>
|
||||
:src:globals.h <20>
|
||||
:src:option.h <20>
|
||||
:src:ex_cmds.h <20>
|
||||
:src:proto.h <20>
|
||||
:src:integration.h <20>
|
||||
:src:wsdebug.h <20>
|
||||
:src:regexp.h <20>
|
||||
:src:gui.h <20>
|
||||
:src:farsi.h <20>
|
||||
:src:proto:os_unix.pro <20>
|
||||
:src:proto:os_mac.pro <20>
|
||||
:src:proto:buffer.pro <20>
|
||||
:src:proto:charset.pro <20>
|
||||
:src:proto:if_cscope.pro <20>
|
||||
:src:proto:diff.pro <20>
|
||||
:src:proto:digraph.pro <20>
|
||||
:src:proto:edit.pro <20>
|
||||
:src:proto:eval.pro <20>
|
||||
:src:proto:ex_cmds.pro <20>
|
||||
:src:proto:ex_cmds2.pro <20>
|
||||
:src:proto:ex_docmd.pro <20>
|
||||
:src:proto:ex_eval.pro <20>
|
||||
:src:proto:ex_getln.pro <20>
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
:src:proto:mark.pro <20>
|
||||
:src:proto:memfile.pro <20>
|
||||
:src:proto:memline.pro <20>
|
||||
:src:proto:menu.pro <20>
|
||||
:src:proto:message.pro <20>
|
||||
:src:proto:misc1.pro <20>
|
||||
:src:proto:misc2.pro <20>
|
||||
:src:proto:move.pro <20>
|
||||
:src:proto:multibyte.pro <20>
|
||||
:src:proto:normal.pro <20>
|
||||
:src:proto:ops.pro <20>
|
||||
:src:proto:option.pro <20>
|
||||
:src:proto:quickfix.pro <20>
|
||||
:src:proto:regexp.pro <20>
|
||||
:src:proto:screen.pro <20>
|
||||
:src:proto:search.pro <20>
|
||||
:src:proto:spell.pro <20>
|
||||
:src:proto:syntax.pro <20>
|
||||
:src:proto:tag.pro <20>
|
||||
:src:proto:term.pro <20>
|
||||
:src:proto:termlib.pro <20>
|
||||
:src:proto:ui.pro <20>
|
||||
:src:proto:undo.pro <20>
|
||||
:src:proto:version.pro <20>
|
||||
:src:proto:window.pro <20>
|
||||
:src:proto:if_python.pro <20>
|
||||
:src:proto:if_tcl.pro <20>
|
||||
:src:proto:if_ruby.pro <20>
|
||||
:src:proto:gui.pro <20>
|
||||
:src:proto:pty.pro <20>
|
||||
:src:proto:gui_gtk.pro <20>
|
||||
:src:proto:gui_gtk_x11.pro <20>
|
||||
:src:proto:gui_motif.pro <20>
|
||||
:src:proto:gui_athena.pro <20>
|
||||
:src:proto:gui_mac.pro <20>
|
||||
:src:proto:gui_x11.pro <20>
|
||||
:src:proto:workshop.pro <20>
|
||||
:src:proto:if_perl.pro <20>
|
||||
:src:proto:if_perlsfio.pro
|
||||
|
||||
:obj:hashtable.c.x <09> <20>
|
||||
:src:hashtable.c <20>
|
||||
:src:vim.h <20>
|
||||
@@ -1405,6 +1504,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -1487,6 +1587,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -1569,6 +1670,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -1677,6 +1779,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -1760,6 +1863,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -1842,6 +1946,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -1924,6 +2029,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2006,6 +2112,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2088,6 +2195,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2170,6 +2278,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2253,6 +2362,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2335,6 +2445,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2417,6 +2528,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2499,6 +2611,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2581,6 +2694,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2663,6 +2777,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2745,6 +2860,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2827,6 +2943,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2909,6 +3026,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -2991,6 +3109,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3073,6 +3192,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3155,6 +3275,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3237,6 +3358,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3319,6 +3441,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3401,6 +3524,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3483,6 +3607,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3565,6 +3690,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3648,6 +3774,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3729,6 +3856,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3811,6 +3939,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3894,6 +4023,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -3976,6 +4106,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
@@ -4058,6 +4189,7 @@ Dependencies
|
||||
:src:proto:fileio.pro <20>
|
||||
:src:proto:fold.pro <20>
|
||||
:src:proto:getchar.pro <20>
|
||||
:src:proto:hardcopy.pro <20>
|
||||
:src:proto:hashtable.pro <20>
|
||||
:src:proto:hangulin.pro <20>
|
||||
:src:proto:main.pro <20>
|
||||
|
||||
@@ -216,7 +216,7 @@ CTAGS = ctags
|
||||
# SNIFF - Include support for SNiFF+.
|
||||
SNIFF_INCL = if_sniff.h
|
||||
SNIFF_OBJ = $(OBJDIR)/if_sniff.obj
|
||||
SNIFF_LIB = shell32.lib
|
||||
SNIFF_LIB = shell32.lib
|
||||
SNIFF_DEFS = -DFEAT_SNIFF
|
||||
# The SNiFF integration needs multithreaded libraries!
|
||||
MULTITHREADED = yes
|
||||
@@ -250,7 +250,7 @@ NBDEBUG_DEFS = -DNBDEBUG
|
||||
NBDEBUG_INCL = nbdebug.h
|
||||
NBDEBUG_SRC = nbdebug.c
|
||||
!endif
|
||||
NETBEANS_LIB = WSock32.lib
|
||||
NETBEANS_LIB = WSock32.lib
|
||||
!endif
|
||||
|
||||
!ifdef XPM
|
||||
@@ -294,7 +294,8 @@ WINVER = 0x0400
|
||||
CFLAGS = -c /W3 /nologo $(CVARS) -I. -Iproto -DHAVE_PATHDEF -DWIN32 \
|
||||
$(SNIFF_DEFS) $(CSCOPE_DEFS) $(NETBEANS_DEFS) \
|
||||
$(NBDEBUG_DEFS) $(XPM_DEFS) \
|
||||
$(DEFINES) -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER)
|
||||
$(DEFINES) -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) \
|
||||
/Fo$(OUTDIR)/
|
||||
|
||||
#>>>>> end of choices
|
||||
###########################################################################
|
||||
@@ -354,12 +355,13 @@ LIBC =
|
||||
! else
|
||||
LIBC = /fixed:no
|
||||
! endif
|
||||
|
||||
! ifndef USE_MSVCRT
|
||||
LIBC = $(LIBC) libcd.lib
|
||||
! else
|
||||
! ifdef USE_MSVCRT
|
||||
CFLAGS = $(CFLAGS) -MDd
|
||||
LIBC = $(LIBC) msvcrtd.lib
|
||||
! elseif defined(MULTITHREADED)
|
||||
LIBC = $(LIBC) libcmtd.lib
|
||||
! else
|
||||
LIBC = $(LIBC) libcd.lib
|
||||
! endif
|
||||
!endif # DEBUG
|
||||
|
||||
@@ -382,6 +384,7 @@ OBJ = \
|
||||
$(OUTDIR)\fileio.obj \
|
||||
$(OUTDIR)\fold.obj \
|
||||
$(OUTDIR)\getchar.obj \
|
||||
$(OUTDIR)\hardcopy.obj \
|
||||
$(OUTDIR)\hashtable.obj \
|
||||
$(OUTDIR)\main.obj \
|
||||
$(OUTDIR)\mark.obj \
|
||||
@@ -467,7 +470,7 @@ GUI_OBJ = \
|
||||
$(OUTDIR)\gui_w32.obj \
|
||||
$(OUTDIR)\os_w32exe.obj
|
||||
GUI_LIB = \
|
||||
oldnames.lib kernel32.lib gdi32.lib $(IME_LIB) \
|
||||
oldnames.lib kernel32.lib gdi32.lib version.lib $(IME_LIB) \
|
||||
winspool.lib comctl32.lib advapi32.lib shell32.lib \
|
||||
/machine:$(CPU) /nodefaultlib
|
||||
!else
|
||||
@@ -500,7 +503,8 @@ TCL_VER_LONG = 8.3
|
||||
!if "$(DYNAMIC_TCL)" == "yes"
|
||||
!message Tcl DLL will be loaded dynamically
|
||||
TCL_DLL = tcl$(TCL_VER).dll
|
||||
CFLAGS = $(CFLAGS) -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"$(TCL_DLL)\" -DDYNAMIC_TCL_VER=\"$(TCL_VER_LONG)\"
|
||||
CFLAGS = $(CFLAGS) -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"$(TCL_DLL)\" \
|
||||
-DDYNAMIC_TCL_VER=\"$(TCL_VER_LONG)\"
|
||||
TCL_OBJ = $(OUTDIR)\if_tcl.obj
|
||||
TCL_INC = /I "$(TCL)\Include" /I "$(TCL)"
|
||||
TCL_LIB = $(TCL)\lib\tclstub$(TCL_VER).lib
|
||||
@@ -525,7 +529,8 @@ CFLAGS = $(CFLAGS) -DFEAT_PYTHON
|
||||
PYTHON_OBJ = $(OUTDIR)\if_python.obj
|
||||
PYTHON_INC = /I "$(PYTHON)\Include" /I "$(PYTHON)\PC"
|
||||
!if "$(DYNAMIC_PYTHON)" == "yes"
|
||||
CFLAGS = $(CFLAGS) -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python$(PYTHON_VER).dll\"
|
||||
CFLAGS = $(CFLAGS) -DDYNAMIC_PYTHON \
|
||||
-DDYNAMIC_PYTHON_DLL=\"python$(PYTHON_VER).dll\"
|
||||
PYTHON_LIB = /nodefaultlib:python$(PYTHON_VER).lib
|
||||
!else
|
||||
PYTHON_LIB = $(PYTHON)\libs\python$(PYTHON_VER).lib
|
||||
@@ -541,9 +546,12 @@ MZSCHEME_VER = 205_000
|
||||
CFLAGS = $(CFLAGS) -DFEAT_MZSCHEME -I $(MZSCHEME)\include
|
||||
!if "$(DYNAMIC_MZSCHEME)" == "yes"
|
||||
!message MzScheme DLLs will be loaded dynamically
|
||||
CFLAGS = $(CFLAGS) -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libmzsch$(MZSCHEME_VER).dll\" -DDYNAMIC_MZGC_DLL=\"libmzgc$(MZSCHEME_VER).dll\"
|
||||
CFLAGS = $(CFLAGS) -DDYNAMIC_MZSCHEME \
|
||||
-DDYNAMIC_MZSCH_DLL=\"libmzsch$(MZSCHEME_VER).dll\" \
|
||||
-DDYNAMIC_MZGC_DLL=\"libmzgc$(MZSCHEME_VER).dll\"
|
||||
!else
|
||||
MZSCHEME_LIB = $(MZSCHEME)\lib\msvc\libmzgc$(MZSCHEME_VER).lib $(MZSCHEME)\lib\msvc\libmzsch$(MZSCHEME_VER).lib
|
||||
MZSCHEME_LIB = $(MZSCHEME)\lib\msvc\libmzgc$(MZSCHEME_VER).lib \
|
||||
$(MZSCHEME)\lib\msvc\libmzsch$(MZSCHEME_VER).lib
|
||||
!endif
|
||||
MZSCHEME_OBJ = $(OUTDIR)\if_mzsch.obj
|
||||
!endif
|
||||
@@ -631,7 +639,8 @@ RUBY_LIB = $(RUBY)\lib\$(RUBY_INSTALL_NAME).lib
|
||||
# Do we want to load Ruby dynamically?
|
||||
!if "$(DYNAMIC_RUBY)" == "yes"
|
||||
!message Ruby DLL will be loaded dynamically
|
||||
CFLAGS = $(CFLAGS) -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"$(RUBY_INSTALL_NAME).dll\" -DDYNAMIC_RUBY_VER=$(RUBY_VER)
|
||||
CFLAGS = $(CFLAGS) -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=$(RUBY_VER) \
|
||||
-DDYNAMIC_RUBY_DLL=\"$(RUBY_INSTALL_NAME).dll\"
|
||||
!undef RUBY_LIB
|
||||
!endif
|
||||
!endif # RUBY
|
||||
@@ -655,8 +664,7 @@ CFLAGS = $(CFLAGS) -DFEAT_$(FEATURES)
|
||||
# Always generate the .pdb file, so that we get debug symbols that can be used
|
||||
# on a crash (doesn't add overhead to the executable).
|
||||
#
|
||||
CFLAGS = $(CFLAGS) /Zi
|
||||
PDB = /Fd$(OUTDIR)/
|
||||
CFLAGS = $(CFLAGS) /Zi /Fd$(OUTDIR)/
|
||||
LINK_PDB = /PDB:$(OUTDIR)/$(VIM).pdb -debug:full -debugtype:cv,fixup
|
||||
|
||||
#
|
||||
@@ -676,17 +684,20 @@ conflags = $(conflags) /map /mapinfo:lines
|
||||
|
||||
LINKARGS1 = $(linkdebug) $(conflags) /nodefaultlib:libc
|
||||
LINKARGS2 = $(CON_LIB) $(GUI_LIB) $(LIBC) $(OLE_LIB) user32.lib $(SNIFF_LIB) \
|
||||
$(MZSCHEME_LIB) $(PERL_LIB) $(PYTHON_LIB) $(RUBY_LIB) $(TCL_LIB) \
|
||||
$(NETBEANS_LIB) $(XPM_LIB) $(LINK_PDB)
|
||||
$(MZSCHEME_LIB) $(PERL_LIB) $(PYTHON_LIB) $(RUBY_LIB) \
|
||||
$(TCL_LIB) $(NETBEANS_LIB) $(XPM_LIB) $(LINK_PDB)
|
||||
|
||||
all: $(VIM).exe vimrun.exe install.exe uninstal.exe xxd/xxd.exe GvimExt/gvimext.dll
|
||||
all: $(VIM).exe vimrun.exe install.exe uninstal.exe xxd/xxd.exe \
|
||||
GvimExt/gvimext.dll
|
||||
|
||||
$(VIM).exe: $(OUTDIR) $(OBJ) $(GUI_OBJ) $(OLE_OBJ) $(OLE_IDL) $(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(RUBY_OBJ) $(TCL_OBJ) $(SNIFF_OBJ) $(CSCOPE_OBJ) $(NETBEANS_OBJ) $(XPM_OBJ) version.c version.h
|
||||
$(CC) $(CFLAGS) version.c /Fo$(OUTDIR)/version.obj $(PDB)
|
||||
$(VIM).exe: $(OUTDIR) $(OBJ) $(GUI_OBJ) $(OLE_OBJ) $(OLE_IDL) $(MZSCHEME_OBJ) \
|
||||
$(PERL_OBJ) $(PYTHON_OBJ) $(RUBY_OBJ) $(TCL_OBJ) $(SNIFF_OBJ) \
|
||||
$(CSCOPE_OBJ) $(NETBEANS_OBJ) $(XPM_OBJ) version.c version.h
|
||||
$(CC) $(CFLAGS) version.c
|
||||
$(link) $(LINKARGS1) -out:$(VIM).exe $(OBJ) $(GUI_OBJ) $(OLE_OBJ) \
|
||||
$(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(RUBY_OBJ) $(TCL_OBJ) $(SNIFF_OBJ) \
|
||||
$(CSCOPE_OBJ) $(NETBEANS_OBJ) $(XPM_OBJ) \
|
||||
$(OUTDIR)\version.obj $(LINKARGS2)
|
||||
$(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(RUBY_OBJ) \
|
||||
$(TCL_OBJ) $(SNIFF_OBJ) $(CSCOPE_OBJ) $(NETBEANS_OBJ) \
|
||||
$(XPM_OBJ) $(OUTDIR)\version.obj $(LINKARGS2)
|
||||
|
||||
$(VIM): $(VIM).exe
|
||||
|
||||
@@ -694,7 +705,8 @@ $(OUTDIR):
|
||||
if not exist $(OUTDIR)/nul mkdir $(OUTDIR)
|
||||
|
||||
install.exe: dosinst.c
|
||||
$(CC) /nologo -DNDEBUG -DWIN32 dosinst.c kernel32.lib shell32.lib ole32.lib advapi32.lib uuid.lib
|
||||
$(CC) /nologo -DNDEBUG -DWIN32 dosinst.c kernel32.lib shell32.lib \
|
||||
ole32.lib advapi32.lib uuid.lib
|
||||
- if exist install.exe del install.exe
|
||||
ren dosinst.exe install.exe
|
||||
|
||||
@@ -722,7 +734,8 @@ notags:
|
||||
- if exist tags del tags
|
||||
|
||||
clean:
|
||||
- $(DEL_TREE) $(OUTDIR) auto
|
||||
- if exist $(OUTDIR)/nul $(DEL_TREE) $(OUTDIR)
|
||||
- if exist auto/nul $(DEL_TREE) auto
|
||||
- if exist *.obj del *.obj
|
||||
- if exist $(VIM).exe del $(VIM).exe
|
||||
- if exist $(VIM).ilk del $(VIM).ilk
|
||||
@@ -767,7 +780,7 @@ testclean:
|
||||
!ELSE
|
||||
.c{$(OUTDIR)/}.obj::
|
||||
!ENDIF
|
||||
$(CC) $(CFLAGS) /Fo$(OUTDIR)/ $(PDB) $<
|
||||
$(CC) $(CFLAGS) $<
|
||||
|
||||
# Create a default rule for transforming .cpp files to .obj files in $(OUTDIR)
|
||||
# Batch compilation is supported by nmake 1.62 (part of VS 5.0) and later)
|
||||
@@ -776,7 +789,7 @@ testclean:
|
||||
!ELSE
|
||||
.cpp{$(OUTDIR)/}.obj::
|
||||
!ENDIF
|
||||
$(CC) $(CFLAGS) /Fo$(OUTDIR)/ $(PDB) $<
|
||||
$(CC) $(CFLAGS) $<
|
||||
|
||||
$(OUTDIR)/buffer.obj: $(OUTDIR) buffer.c $(INCL)
|
||||
|
||||
@@ -806,6 +819,8 @@ $(OUTDIR)/fold.obj: $(OUTDIR) fold.c $(INCL)
|
||||
|
||||
$(OUTDIR)/getchar.obj: $(OUTDIR) getchar.c $(INCL)
|
||||
|
||||
$(OUTDIR)/hardcopy.obj: $(OUTDIR) hardcopy.c $(INCL)
|
||||
|
||||
$(OUTDIR)/hashtable.obj: $(OUTDIR) hashtable.c $(INCL)
|
||||
|
||||
$(OUTDIR)/gui.obj: $(OUTDIR) gui.c $(INCL) $(GUI_INCL)
|
||||
@@ -817,30 +832,32 @@ $(OUTDIR)/gui_w32.obj: $(OUTDIR) gui_w32.c gui_w48.c $(INCL) $(GUI_INCL)
|
||||
$(OUTDIR)/if_cscope.obj: $(OUTDIR) if_cscope.c $(INCL)
|
||||
|
||||
if_perl.c : if_perl.xs typemap
|
||||
$(PERL_EXE) $(XSUBPP) -prototypes -typemap $(XSUBPP_TYPEMAP) -typemap typemap if_perl.xs > if_perl.c
|
||||
$(PERL_EXE) $(XSUBPP) -prototypes -typemap $(XSUBPP_TYPEMAP) \
|
||||
-typemap typemap if_perl.xs > if_perl.c
|
||||
|
||||
$(OUTDIR)/if_perl.obj: $(OUTDIR) if_perl.c $(INCL)
|
||||
$(CC) $(CFLAGS) $(PERL_INC) if_perl.c /Fo$(OUTDIR)/if_perl.obj $(PDB)
|
||||
$(CC) $(CFLAGS) $(PERL_INC) if_perl.c
|
||||
|
||||
$(OUTDIR)/if_perlsfio.obj: $(OUTDIR) if_perlsfio.c $(INCL)
|
||||
$(CC) $(CFLAGS) $(PERL_INC) if_perlsfio.c /Fo$(OUTDIR)/if_perlsfio.obj $(PDB)
|
||||
$(CC) $(CFLAGS) $(PERL_INC) if_perlsfio.c
|
||||
|
||||
$(OUTDIR)/if_mzsch.obj: $(OUTDIR) if_mzsch.c $(INCL)
|
||||
$(CC) $(CFLAGS) $(PERL_INC) if_mzsch.c /Fo$(OUTDIR)/if_mzsch.obj $(PDB) -DMZSCHEME_COLLECTS=\"$(MZSCHEME:\=\\)\\collects\"
|
||||
$(CC) $(CFLAGS) if_mzsch.c \
|
||||
-DMZSCHEME_COLLECTS=\"$(MZSCHEME:\=\\)\\collects\"
|
||||
|
||||
$(OUTDIR)/if_python.obj: $(OUTDIR) if_python.c $(INCL)
|
||||
$(CC) $(CFLAGS) $(PYTHON_INC) if_python.c /Fo$(OUTDIR)/if_python.obj $(PDB)
|
||||
$(CC) $(CFLAGS) $(PYTHON_INC) if_python.c
|
||||
|
||||
$(OUTDIR)/if_ole.obj: $(OUTDIR) if_ole.cpp $(INCL) if_ole.h
|
||||
|
||||
$(OUTDIR)/if_ruby.obj: $(OUTDIR) if_ruby.c $(INCL)
|
||||
$(CC) $(CFLAGS) $(RUBY_INC) if_ruby.c /Fo$(OUTDIR)/if_ruby.obj $(PDB)
|
||||
$(CC) $(CFLAGS) $(RUBY_INC) if_ruby.c
|
||||
|
||||
$(OUTDIR)/if_sniff.obj: $(OUTDIR) if_sniff.c $(INCL)
|
||||
$(CC) $(CFLAGS) if_sniff.c /Fo$(OUTDIR)/if_sniff.obj $(PDB)
|
||||
$(CC) $(CFLAGS) if_sniff.c
|
||||
|
||||
$(OUTDIR)/if_tcl.obj: $(OUTDIR) if_tcl.c $(INCL)
|
||||
$(CC) $(CFLAGS) $(TCL_INC) if_tcl.c /Fo$(OUTDIR)/if_tcl.obj $(PDB)
|
||||
$(CC) $(CFLAGS) $(TCL_INC) if_tcl.c
|
||||
|
||||
$(OUTDIR)/main.obj: $(OUTDIR) main.c $(INCL)
|
||||
|
||||
@@ -877,7 +894,7 @@ $(OUTDIR)/os_win32.obj: $(OUTDIR) os_win32.c $(INCL) os_win32.h
|
||||
$(OUTDIR)/os_w32exe.obj: $(OUTDIR) os_w32exe.c $(INCL)
|
||||
|
||||
$(OUTDIR)/pathdef.obj: $(OUTDIR) auto/pathdef.c $(INCL)
|
||||
$(CC) $(CFLAGS) auto/pathdef.c /Fo$(OUTDIR)/pathdef.obj $(PDB)
|
||||
$(CC) $(CFLAGS) auto/pathdef.c
|
||||
|
||||
$(OUTDIR)/quickfix.obj: $(OUTDIR) quickfix.c $(INCL)
|
||||
|
||||
@@ -902,13 +919,15 @@ $(OUTDIR)/undo.obj: $(OUTDIR) undo.c $(INCL)
|
||||
$(OUTDIR)/window.obj: $(OUTDIR) window.c $(INCL)
|
||||
|
||||
$(OUTDIR)/xpm_w32.obj: $(OUTDIR) xpm_w32.c
|
||||
$(CC) $(CFLAGS) $(XPM_INC) xpm_w32.c /Fo$(OUTDIR)/xpm_w32.obj $(PDB)
|
||||
$(CC) $(CFLAGS) $(XPM_INC) xpm_w32.c
|
||||
|
||||
$(OUTDIR)/vim.res: $(OUTDIR) vim.rc version.h tools.bmp tearoff.bmp vim.ico vim_error.ico vim_alert.ico vim_info.ico vim_quest.ico
|
||||
$(OUTDIR)/vim.res: $(OUTDIR) vim.rc version.h tools.bmp tearoff.bmp \
|
||||
vim.ico vim_error.ico vim_alert.ico vim_info.ico vim_quest.ico
|
||||
$(RC) /l 0x409 /Fo$(OUTDIR)/vim.res $(RCFLAGS) vim.rc
|
||||
|
||||
iid_ole.c if_ole.h vim.tlb: if_ole.idl
|
||||
midl /nologo /error none /proxy nul /iid iid_ole.c /tlb vim.tlb /header if_ole.h if_ole.idl
|
||||
midl /nologo /error none /proxy nul /iid iid_ole.c /tlb vim.tlb \
|
||||
/header if_ole.h if_ole.idl
|
||||
|
||||
dimm.h dimm_i.c: dimm.idl
|
||||
midl /nologo /error none /proxy nul dimm.idl
|
||||
@@ -950,6 +969,7 @@ proto.h: \
|
||||
proto/ex_getln.pro \
|
||||
proto/fileio.pro \
|
||||
proto/getchar.pro \
|
||||
proto/hardcopy.pro \
|
||||
proto/hashtable.pro \
|
||||
proto/main.pro \
|
||||
proto/mark.pro \
|
||||
|
||||
@@ -53,6 +53,7 @@ OBJ = \
|
||||
fileio.o \
|
||||
fold.o \
|
||||
getchar.o \
|
||||
hardcopy.o \
|
||||
hashtable.o \
|
||||
main.o \
|
||||
mark.o \
|
||||
@@ -124,6 +125,7 @@ ex_getln.o: ex_getln.c $(INCL)
|
||||
fileio.o: fileio.c $(INCL)
|
||||
fold.o: fold.c $(INCL)
|
||||
getchar.o: getchar.c $(INCL)
|
||||
hardcopy.o: hardcopy.c $(INCL)
|
||||
hashtable.o: hashtable.c $(INCL)
|
||||
main.o: main.c $(INCL)
|
||||
mark.o: mark.c $(INCL)
|
||||
|
||||
@@ -12,7 +12,8 @@ TERMFLAG = -DUP_BC_PC_EXTERN
|
||||
ASMFLAGS = -throwback -objasm -gcc
|
||||
|
||||
OBJS = o.buffer o.charset o.diff o.digraph o.edit o.eval o.ex_cmds o.ex_cmds2 \
|
||||
o.ex_docmd o.ex_eval o.ex_getln o.fileio o.fold o.getchar o.hashtable o.main o.mark o.mbyte \
|
||||
o.ex_docmd o.ex_eval o.ex_getln o.fileio o.fold o.getchar \
|
||||
o.hardcopy o.hashtable o.main o.mark o.mbyte \
|
||||
o.memfile o.memline o.menu o.message o.misc1 o.misc2 o.move \
|
||||
o.normal o.ops o.option o.quickfix o.regexp o.screen o.search \
|
||||
o.spell o.syntax o.tag o.term o.termlib o.ui o.undo o.version \
|
||||
@@ -65,6 +66,8 @@ o.fold: c.fold
|
||||
|
||||
o.getchar: c.getchar
|
||||
|
||||
o.hardcopy: c.hardcopy
|
||||
|
||||
o.hashtable: c.hashtable
|
||||
|
||||
o.gui: c.gui
|
||||
|
||||
@@ -103,6 +103,7 @@ SRC = \
|
||||
fileio.c \
|
||||
fold.c \
|
||||
getchar.c \
|
||||
hardcopy.c \
|
||||
hashtable.c \
|
||||
main.c \
|
||||
mark.c \
|
||||
@@ -146,6 +147,7 @@ OBJ = \
|
||||
fileio.o \
|
||||
fold.o \
|
||||
getchar.o \
|
||||
hardcopy.o \
|
||||
hashtable.o \
|
||||
main.o \
|
||||
mark.o \
|
||||
@@ -189,6 +191,7 @@ PRO = \
|
||||
proto/fileio.pro \
|
||||
proto/fold.pro \
|
||||
proto/getchar.pro \
|
||||
proto/hardcopy.pro \
|
||||
proto/hashtable.pro \
|
||||
proto/main.pro \
|
||||
proto/mark.pro \
|
||||
@@ -300,6 +303,8 @@ fold.o: fold.c
|
||||
proto/fold.pro: fold.c
|
||||
getchar.o: getchar.c
|
||||
proto/getchar.pro: getchar.c
|
||||
hardcopy.o: hardcopy.c
|
||||
proto/hardcopy.pro: hardcopy.c
|
||||
hashtable.o: hashtable.c
|
||||
proto/hashtable.pro: hashtable.c
|
||||
main.o: main.c
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
# Makefile for Vim on OpenVMS
|
||||
#
|
||||
# Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
|
||||
# Last change: 2005 Mar 19
|
||||
# Last change: 2005 Jul 23
|
||||
#
|
||||
# This has script been tested on VMS 6.2 to 7.3 on DEC Alpha, VAX and IA64
|
||||
# This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
|
||||
# with MMS and MMK
|
||||
#
|
||||
# The following could be built:
|
||||
@@ -50,6 +50,10 @@ GUI = YES
|
||||
# If you have GTK installed you might want to enable this option.
|
||||
# GTK = YES
|
||||
|
||||
# GUI/Motif with XPM
|
||||
# If you have XPM installed you might want to build Motif version with toolbar
|
||||
# XPM = YES
|
||||
|
||||
# Comment out if you want the compiler version with :ver command.
|
||||
# NOTE: This part can make some complications if you're using some
|
||||
# predefined symbols/flags for your compiler. If does, just leave behind
|
||||
@@ -133,32 +137,41 @@ CONFIG_H = os_vms_conf.h
|
||||
|
||||
.IFDEF GTK
|
||||
.IFDEF GUI
|
||||
.IFDEF XPM
|
||||
.ELSE
|
||||
GUI = YES
|
||||
.ENDIF
|
||||
.ENDIF
|
||||
.ENDIF
|
||||
|
||||
.IFDEF GUI
|
||||
# X/Motif/GTK executable (also works in terminal mode )
|
||||
|
||||
.IFDEF GTK
|
||||
# define GTK root directory
|
||||
# please note: directory should end with . in order to /trans=conc work
|
||||
# example: GTK_DIR = $1$DGA104:[USERS.ZAY.WORK.GTK1210.]
|
||||
GTK_DIR = ALPHA$DKA0:[GTK128.]
|
||||
DEFS = "HAVE_CONFIG_H","FEAT_GUI_GTK"
|
||||
LIBS = ,OS_VMS_GTK.OPT/OPT
|
||||
GUI_FLAG = /name=(as_is,short)/float=ieee/ieee=denorm
|
||||
GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_gtk_x11.c pty.c
|
||||
GUI_OBJ = gui.obj gui_gtk.obj gui_gtk_f.obj gui_gtk_x11.obj pty.obj
|
||||
GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_gtk_x11.c gui_beval.c pty.c
|
||||
GUI_OBJ = gui.obj gui_gtk.obj gui_gtk_f.obj gui_gtk_x11.obj gui_beval.obj pty.obj
|
||||
GUI_INC = ,"/gtk_root/gtk","/gtk_root/glib"
|
||||
# GUI_INC_VER is used just for :ver information
|
||||
# this string should escape from C and DCL in the same time
|
||||
GUI_INC_VER= ,\""/gtk_root/gtk\"",\""/gtk_root/glib\""
|
||||
.else
|
||||
.ELSE
|
||||
MOTIF = YES
|
||||
.IFDEF XPM
|
||||
DEFS = "HAVE_CONFIG_H","FEAT_GUI_MOTIF","HAVE_XPM"
|
||||
.ELSE
|
||||
DEFS = "HAVE_CONFIG_H","FEAT_GUI_MOTIF"
|
||||
.ENDIF
|
||||
LIBS = ,OS_VMS_MOTIF.OPT/OPT
|
||||
GUI_FLAG =
|
||||
GUI_SRC = gui.c gui_motif.c gui_x11.c
|
||||
GUI_OBJ = gui.obj gui_motif.obj gui_x11.obj
|
||||
GUI_SRC = gui.c gui_motif.c gui_x11.c gui_beval.c gui_xmdlg.c gui_xmebw.c
|
||||
GUI_OBJ = gui.obj gui_motif.obj gui_x11.obj gui_beval.obj gui_xmdlg.obj gui_xmebw.obj
|
||||
GUI_INC =
|
||||
.ENDIF
|
||||
|
||||
@@ -274,7 +287,7 @@ ALL_LIBS = $(LIBS) $(GUI_LIB_DIR) $(GUI_LIB) \
|
||||
|
||||
SRC = buffer.c charset.c diff.c digraph.c edit.c eval.c ex_cmds.c ex_cmds2.c \
|
||||
ex_docmd.c ex_eval.c ex_getln.c if_xcmdsrv.c fileio.c fold.c getchar.c \
|
||||
hashtable.c, main.c mark.c menu.c mbyte.c memfile.c memline.c message.c misc1.c \
|
||||
hardcopy.c hashtable.c main.c mark.c menu.c mbyte.c memfile.c memline.c message.c misc1.c \
|
||||
misc2.c move.c normal.c ops.c option.c quickfix.c regexp.c search.c \
|
||||
spell.c syntax.c tag.c term.c termlib.c ui.c undo.c version.c screen.c \
|
||||
window.c os_unix.c os_vms.c pathdef.c \
|
||||
@@ -283,7 +296,7 @@ SRC = buffer.c charset.c diff.c digraph.c edit.c eval.c ex_cmds.c ex_cmds2.c \
|
||||
|
||||
OBJ = buffer.obj charset.obj diff.obj digraph.obj edit.obj eval.obj \
|
||||
ex_cmds.obj ex_cmds2.obj ex_docmd.obj ex_eval.obj ex_getln.obj \
|
||||
if_xcmdsrv.obj fileio.obj fold.obj getchar.obj hashtable.obj main.obj mark.obj \
|
||||
if_xcmdsrv.obj fileio.obj fold.obj getchar.obj hardcopy.obj hashtable.obj main.obj mark.obj \
|
||||
menu.obj memfile.obj memline.obj message.obj misc1.obj misc2.obj \
|
||||
move.obj mbyte.obj normal.obj ops.obj option.obj quickfix.obj \
|
||||
regexp.obj search.obj spell.obj syntax.obj tag.obj term.obj termlib.obj \
|
||||
@@ -360,7 +373,11 @@ check_ccver :
|
||||
|
||||
.IFDEF MOTIF
|
||||
motif_env :
|
||||
-@ write sys$output "using DECW/Motif environment."
|
||||
.IFDEF XPM
|
||||
-@ write sys$output "using DECW/Motif/XPM environment."
|
||||
.ELSE
|
||||
-@ write sys$output "using DECW/Motif environment."
|
||||
.ENDIF
|
||||
-@ write sys$output "creating OS_VMS_MOTIF.OPT file."
|
||||
-@ open/write opt_file OS_VMS_MOTIF.OPT
|
||||
-@ write opt_file "sys$share:decw$xmlibshr12.exe/share,-"
|
||||
@@ -510,6 +527,10 @@ getchar.obj : getchar.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||
globals.h farsi.h arabic.h
|
||||
hardcopy.obj : hardcopy.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||
globals.h farsi.h arabic.h
|
||||
hashtable.obj : hashtable.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||
@@ -741,3 +762,5 @@ netbeans.obj : netbeans.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||
globals.h farsi.h arabic.h version.h
|
||||
gui_xmdlg.obj : gui_xmdlg.c
|
||||
gui_xmebw.obj : gui_xmebw.c
|
||||
|
||||
@@ -87,6 +87,7 @@ ObjFiles = \
|
||||
$(INTDIR)\fileio.obj\
|
||||
$(INTDIR)\fold.obj\
|
||||
$(INTDIR)\getchar.obj\
|
||||
$(INTDIR)\hardcopy.obj\
|
||||
$(INTDIR)\hashtable.obj\
|
||||
$(INTDIR)\gui.obj\
|
||||
$(INTDIR)\gui_w16.obj\
|
||||
|
||||
32
src/Makefile
32
src/Makefile
@@ -879,6 +879,7 @@ HELPSUBDIR = /doc
|
||||
COLSUBDIR = /colors
|
||||
SYNSUBDIR = /syntax
|
||||
INDSUBDIR = /indent
|
||||
AUTOSUBDIR = /autoload
|
||||
PLUGSUBDIR = /plugin
|
||||
FTPLUGSUBDIR = /ftplugin
|
||||
LANGSUBDIR = /lang
|
||||
@@ -899,6 +900,7 @@ PODIR = po
|
||||
### COLSUBLOC location for colorscheme files
|
||||
### SYNSUBLOC location for syntax files
|
||||
### INDSUBLOC location for indent files
|
||||
### AUTOSUBLOC location for standard autoload files
|
||||
### PLUGSUBLOC location for standard plugin files
|
||||
### FTPLUGSUBLOC location for ftplugin files
|
||||
### LANGSUBLOC location for language files
|
||||
@@ -919,6 +921,7 @@ HELPSUBLOC = $(VIMRTLOC)$(HELPSUBDIR)
|
||||
COLSUBLOC = $(VIMRTLOC)$(COLSUBDIR)
|
||||
SYNSUBLOC = $(VIMRTLOC)$(SYNSUBDIR)
|
||||
INDSUBLOC = $(VIMRTLOC)$(INDSUBDIR)
|
||||
AUTOSUBLOC = $(VIMRTLOC)$(AUTOSUBDIR)
|
||||
PLUGSUBLOC = $(VIMRTLOC)$(PLUGSUBDIR)
|
||||
FTPLUGSUBLOC = $(VIMRTLOC)$(FTPLUGSUBDIR)
|
||||
LANGSUBLOC = $(VIMRTLOC)$(LANGSUBDIR)
|
||||
@@ -1017,6 +1020,9 @@ SYNSOURCE = ../runtime/syntax
|
||||
# Where to copy the indent files from
|
||||
INDSOURCE = ../runtime/indent
|
||||
|
||||
# Where to copy the standard plugin files from
|
||||
AUTOSOURCE = ../runtime/autoload
|
||||
|
||||
# Where to copy the standard plugin files from
|
||||
PLUGSOURCE = ../runtime/plugin
|
||||
|
||||
@@ -1290,6 +1296,7 @@ DEST_HELP = $(DESTDIR)$(HELPSUBLOC)
|
||||
DEST_COL = $(DESTDIR)$(COLSUBLOC)
|
||||
DEST_SYN = $(DESTDIR)$(SYNSUBLOC)
|
||||
DEST_IND = $(DESTDIR)$(INDSUBLOC)
|
||||
DEST_AUTO = $(DESTDIR)$(AUTOSUBLOC)
|
||||
DEST_PLUG = $(DESTDIR)$(PLUGSUBLOC)
|
||||
DEST_FTP = $(DESTDIR)$(FTPLUGSUBLOC)
|
||||
DEST_LANG = $(DESTDIR)$(LANGSUBLOC)
|
||||
@@ -1343,6 +1350,7 @@ BASIC_SRC = \
|
||||
fileio.c \
|
||||
fold.c \
|
||||
getchar.c \
|
||||
hardcopy.c \
|
||||
hashtable.c \
|
||||
if_cscope.c \
|
||||
if_xcmdsrv.c \
|
||||
@@ -1411,6 +1419,7 @@ OBJ = \
|
||||
objects/fileio.o \
|
||||
objects/fold.o \
|
||||
objects/getchar.o \
|
||||
objects/hardcopy.o \
|
||||
objects/hashtable.o \
|
||||
$(HANGULIN_OBJ) \
|
||||
objects/if_cscope.o \
|
||||
@@ -1468,6 +1477,7 @@ PRO_AUTO = \
|
||||
fileio.pro \
|
||||
fold.pro \
|
||||
getchar.pro \
|
||||
hardcopy.pro \
|
||||
hashtable.pro \
|
||||
hangulin.pro \
|
||||
if_cscope.pro \
|
||||
@@ -1599,7 +1609,9 @@ xxd/xxd$(EXEEXT): xxd/xxd.c
|
||||
# Generate the converted .mo files separately, it's no problem if this fails.
|
||||
languages:
|
||||
@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
|
||||
cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix); \
|
||||
cd $(PODIR); \
|
||||
CC="$(CC)" $(MAKE) check; \
|
||||
CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix); \
|
||||
fi
|
||||
-@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
|
||||
cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \
|
||||
@@ -1734,7 +1746,8 @@ INSTALLMANARGS = $(VIMLOC) $(SCRIPTLOC) $(VIMRCLOC) $(HELPSOURCE) $(MANMOD) \
|
||||
# install the help files; first adjust the contents for the final location
|
||||
installruntime: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
||||
$(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) \
|
||||
$(DEST_FTP) $(DEST_PLUG) $(DEST_TUTOR) $(DEST_SPELL) $(DEST_COMP)
|
||||
$(DEST_FTP) $(DEST_AUTO) $(DEST_PLUG) $(DEST_TUTOR) \
|
||||
$(DEST_SPELL) $(DEST_COMP)
|
||||
-$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
|
||||
@echo generating help tags
|
||||
# Generate the help tags with ":helptags" to handle all languages.
|
||||
@@ -1796,6 +1809,9 @@ installruntime: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
||||
# install the indent files
|
||||
cd $(INDSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_IND)
|
||||
cd $(DEST_IND); chmod $(HELPMOD) *.vim README.txt
|
||||
# install the standard autoload files
|
||||
cd $(AUTOSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_AUTO)
|
||||
cd $(DEST_AUTO); chmod $(HELPMOD) *.vim README.txt
|
||||
# install the standard plugin files
|
||||
cd $(PLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_PLUG)
|
||||
cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
|
||||
@@ -1960,7 +1976,7 @@ $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
|
||||
$(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \
|
||||
$(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) \
|
||||
$(DEST_MACRO) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_SPELL) \
|
||||
$(DEST_PLUG):
|
||||
$(DEST_AUTO) $(DEST_PLUG):
|
||||
-$(SHELL) ./mkinstalldirs $@
|
||||
-chmod $(DIRMOD) $@
|
||||
|
||||
@@ -2098,8 +2114,9 @@ uninstall_runtime:
|
||||
-rm -f $(DEST_PRINT)/*.ps
|
||||
-rmdir $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND)
|
||||
-rm -rf $(DEST_FTP)/*.vim $(DEST_FTP)/README.txt
|
||||
-rm -f $(DEST_AUTO)/*.vim $(DEST_AUTO)/README.txt
|
||||
-rm -f $(DEST_PLUG)/*.vim $(DEST_PLUG)/README.txt
|
||||
-rmdir $(DEST_FTP) $(DEST_PLUG) $(DEST_RT)
|
||||
-rmdir $(DEST_FTP) $(DEST_AUTO) $(DEST_PLUG) $(DEST_RT)
|
||||
# This will fail when other Vim versions are installed, no worries.
|
||||
-rmdir $(DEST_VIM)
|
||||
|
||||
@@ -2285,6 +2302,9 @@ objects/fold.o: fold.c
|
||||
objects/getchar.o: getchar.c
|
||||
$(CCC) -o $@ getchar.c
|
||||
|
||||
objects/hardcopy.o: hardcopy.c
|
||||
$(CCC) -o $@ hardcopy.c
|
||||
|
||||
objects/hashtable.o: hashtable.c
|
||||
$(CCC) -o $@ hashtable.c
|
||||
|
||||
@@ -2637,6 +2657,10 @@ objects/getchar.o: getchar.c vim.h auto/config.h feature.h os_unix.h \
|
||||
auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||
gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
|
||||
globals.h farsi.h arabic.h
|
||||
objects/hardcopy.o: hardcopy.c vim.h auto/config.h feature.h os_unix.h \
|
||||
auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||
gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
|
||||
globals.h farsi.h arabic.h
|
||||
objects/hashtable.o: hashtable.c vim.h auto/config.h feature.h os_unix.h \
|
||||
auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||
gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
|
||||
|
||||
2
src/auto/configure
vendored
2
src/auto/configure
vendored
@@ -14861,7 +14861,7 @@ echo "$as_me:$LINENO: checking how to create tags" >&5
|
||||
echo $ECHO_N "checking how to create tags... $ECHO_C" >&6
|
||||
test -f tags && mv tags tags.save
|
||||
if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
|
||||
TAGPRG="ctags"
|
||||
TAGPRG="ctags -I INIT+"
|
||||
else
|
||||
(eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags"
|
||||
(eval etags -c /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags -c"
|
||||
|
||||
10
src/buffer.c
10
src/buffer.c
@@ -25,7 +25,6 @@
|
||||
* The current implementation remembers all file names ever used.
|
||||
*/
|
||||
|
||||
|
||||
#include "vim.h"
|
||||
|
||||
#if defined(FEAT_CMDL_COMPL) || defined(FEAT_LISTCMDS) || defined(FEAT_EVAL) || defined(FEAT_PERL)
|
||||
@@ -3036,9 +3035,8 @@ maketitle()
|
||||
else
|
||||
{
|
||||
p = transstr(gettail(curbuf->b_fname));
|
||||
STRNCPY(buf, p, IOSIZE - 100);
|
||||
vim_strncpy(buf, p, IOSIZE - 100);
|
||||
vim_free(p);
|
||||
buf[IOSIZE - 100] = NUL; /* in case it was too long */
|
||||
}
|
||||
|
||||
switch (bufIsChanged(curbuf)
|
||||
@@ -3071,15 +3069,15 @@ maketitle()
|
||||
p = gettail_sep(buf + off);
|
||||
if (p == buf + off)
|
||||
/* must be a help buffer */
|
||||
STRCPY(buf + off, _("help"));
|
||||
vim_strncpy(buf + off, (char_u *)_("help"),
|
||||
IOSIZE - off - 1);
|
||||
else
|
||||
*p = NUL;
|
||||
|
||||
/* translate unprintable chars */
|
||||
p = transstr(buf + off);
|
||||
STRNCPY(buf + off, p, IOSIZE - off);
|
||||
vim_strncpy(buf + off, p, IOSIZE - off - 1);
|
||||
vim_free(p);
|
||||
buf[IOSIZE - 1] = NUL; /* in case it was too long */
|
||||
STRCAT(buf, ")");
|
||||
}
|
||||
|
||||
|
||||
@@ -2902,7 +2902,7 @@ dnl -i+m to test for older Exuberant ctags
|
||||
AC_MSG_CHECKING(how to create tags)
|
||||
test -f tags && mv tags tags.save
|
||||
if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
|
||||
TAGPRG="ctags"
|
||||
TAGPRG="ctags -I INIT+"
|
||||
else
|
||||
(eval etags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags"
|
||||
(eval etags -c /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags -c"
|
||||
|
||||
@@ -1009,6 +1009,7 @@ ex_diffsplit(eap)
|
||||
{
|
||||
/* Pretend it was a ":split fname" command */
|
||||
eap->cmdidx = CMD_split;
|
||||
curwin->w_p_diff = TRUE;
|
||||
do_exedit(eap, old_curwin);
|
||||
|
||||
if (curwin != old_curwin) /* split must have worked */
|
||||
|
||||
@@ -2080,7 +2080,7 @@ print_cmd_line_help(void)
|
||||
printf(" or $HOME directory\n");
|
||||
#ifdef WIN3264
|
||||
printf("-register-OLE");
|
||||
printf(" Register gvim for OLE\n");
|
||||
printf(" Ignored\n");
|
||||
#endif
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
1719
src/edit.c
1719
src/edit.c
File diff suppressed because it is too large
Load Diff
548
src/eval.c
548
src/eval.c
@@ -460,6 +460,10 @@ static void f_call __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_char2nr __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_cindent __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_col __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
#if defined(FEAT_INS_EXPAND)
|
||||
static void f_complete_add __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_complete_check __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
#endif
|
||||
static void f_confirm __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_copy __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_count __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
@@ -493,6 +497,7 @@ static void f_foreground __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_function __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_garbagecollect __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_get __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_getbufline __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_getbufvar __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_getchar __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_getcharmod __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
@@ -561,6 +566,7 @@ static void f_mode __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_nextnonblank __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_nr2char __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_prevnonblank __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_printf __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_range __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_readfile __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
static void f_remote_expr __ARGS((typval_T *argvars, typval_T *rettv));
|
||||
@@ -638,14 +644,12 @@ static int handle_subscript __ARGS((char_u **arg, typval_T *rettv, int evaluate,
|
||||
static typval_T *alloc_tv __ARGS((void));
|
||||
static typval_T *alloc_string_tv __ARGS((char_u *string));
|
||||
static void free_tv __ARGS((typval_T *varp));
|
||||
static void clear_tv __ARGS((typval_T *varp));
|
||||
static void init_tv __ARGS((typval_T *varp));
|
||||
static long get_tv_number __ARGS((typval_T *varp));
|
||||
static long get_tv_number_chk __ARGS((typval_T *varp, int *denote));
|
||||
static linenr_T get_tv_lnum __ARGS((typval_T *argvars));
|
||||
static linenr_T get_tv_lnum_buf __ARGS((typval_T *argvars, buf_T *buf));
|
||||
static char_u *get_tv_string __ARGS((typval_T *varp));
|
||||
static char_u *get_tv_string_buf __ARGS((typval_T *varp, char_u *buf));
|
||||
static char_u *get_tv_string_chk __ARGS((typval_T *varp));
|
||||
static char_u *get_tv_string_buf_chk __ARGS((typval_T *varp, char_u *buf));
|
||||
static dictitem_T *find_var __ARGS((char_u *name, hashtab_T **htp));
|
||||
static dictitem_T *find_var_in_ht __ARGS((hashtab_T *ht, char_u *varname, int writing));
|
||||
@@ -682,7 +686,7 @@ static int
|
||||
# endif
|
||||
prof_self_cmp __ARGS((const void *s1, const void *s2));
|
||||
#endif
|
||||
static int script_autoload __ARGS((char_u *name));
|
||||
static int script_autoload __ARGS((char_u *name, int reload));
|
||||
static char_u *autoload_name __ARGS((char_u *name));
|
||||
static void cat_func_name __ARGS((char_u *buf, ufunc_T *fp));
|
||||
static void func_free __ARGS((ufunc_T *fp));
|
||||
@@ -1307,6 +1311,30 @@ get_spellword(list, pp)
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Top level evaluation function,
|
||||
*/
|
||||
typval_T *
|
||||
eval_expr(arg, nextcmd)
|
||||
char_u *arg;
|
||||
char_u **nextcmd;
|
||||
{
|
||||
typval_T *tv;
|
||||
|
||||
tv = (typval_T *)alloc(sizeof(typval_T));
|
||||
if (!tv)
|
||||
return NULL;
|
||||
|
||||
if (eval0(arg, tv, nextcmd, TRUE) == FAIL)
|
||||
{
|
||||
vim_free(tv);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return tv;
|
||||
}
|
||||
|
||||
|
||||
#if (defined(FEAT_USR_CMDS) && defined(FEAT_CMDL_COMPL)) || defined(PROTO)
|
||||
/*
|
||||
* Call some vimL function and return the result in "*rettv".
|
||||
@@ -1381,7 +1409,8 @@ call_vim_function(func, argc, argv, safe, rettv)
|
||||
}
|
||||
|
||||
/*
|
||||
* Call some vimL function and return the result as a string
|
||||
* Call vimL function "func" and return the result as a string.
|
||||
* Returns NULL when calling the function fails.
|
||||
* Uses argv[argc] for the function arguments.
|
||||
*/
|
||||
void *
|
||||
@@ -1392,20 +1421,43 @@ call_func_retstr(func, argc, argv, safe)
|
||||
int safe; /* use the sandbox */
|
||||
{
|
||||
typval_T rettv;
|
||||
char_u *retval = NULL;
|
||||
char_u *retval;
|
||||
|
||||
if (call_vim_function(func, argc, argv, safe, &rettv) == FAIL)
|
||||
return NULL;
|
||||
|
||||
retval = vim_strsave(get_tv_string(&rettv));
|
||||
|
||||
clear_tv(&rettv);
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
#if defined(FEAT_COMPL_FUNC) || defined(PROTO)
|
||||
/*
|
||||
* Call some vimL function and return the result as a list
|
||||
* Call vimL function "func" and return the result as a number.
|
||||
* Returns -1 when calling the function fails.
|
||||
* Uses argv[argc] for the function arguments.
|
||||
*/
|
||||
long
|
||||
call_func_retnr(func, argc, argv, safe)
|
||||
char_u *func;
|
||||
int argc;
|
||||
char_u **argv;
|
||||
int safe; /* use the sandbox */
|
||||
{
|
||||
typval_T rettv;
|
||||
long retval;
|
||||
|
||||
if (call_vim_function(func, argc, argv, safe, &rettv) == FAIL)
|
||||
return -1;
|
||||
|
||||
retval = get_tv_number_chk(&rettv, NULL);
|
||||
clear_tv(&rettv);
|
||||
return retval;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Call vimL function "func" and return the result as a list
|
||||
* Uses argv[argc] for the function arguments.
|
||||
*/
|
||||
void *
|
||||
@@ -6197,8 +6249,7 @@ dict_find(d, key, len)
|
||||
else
|
||||
{
|
||||
/* Avoid a malloc/free by using buf[]. */
|
||||
STRNCPY(buf, key, len);
|
||||
buf[len] = NUL;
|
||||
vim_strncpy(buf, key, len);
|
||||
akey = buf;
|
||||
}
|
||||
|
||||
@@ -6643,6 +6694,10 @@ static struct fst
|
||||
{"char2nr", 1, 1, f_char2nr},
|
||||
{"cindent", 1, 1, f_cindent},
|
||||
{"col", 1, 1, f_col},
|
||||
#if defined(FEAT_INS_EXPAND)
|
||||
{"complete_add", 1, 1, f_complete_add},
|
||||
{"complete_check", 0, 0, f_complete_check},
|
||||
#endif
|
||||
{"confirm", 1, 4, f_confirm},
|
||||
{"copy", 1, 1, f_copy},
|
||||
{"count", 2, 4, f_count},
|
||||
@@ -6677,6 +6732,7 @@ static struct fst
|
||||
{"function", 1, 1, f_function},
|
||||
{"garbagecollect", 0, 0, f_garbagecollect},
|
||||
{"get", 2, 3, f_get},
|
||||
{"getbufline", 2, 3, f_getbufline},
|
||||
{"getbufvar", 2, 2, f_getbufvar},
|
||||
{"getchar", 0, 1, f_getchar},
|
||||
{"getcharmod", 0, 0, f_getcharmod},
|
||||
@@ -6747,6 +6803,7 @@ static struct fst
|
||||
{"nextnonblank", 1, 1, f_nextnonblank},
|
||||
{"nr2char", 1, 1, f_nr2char},
|
||||
{"prevnonblank", 1, 1, f_prevnonblank},
|
||||
{"printf", 2, 19, f_printf},
|
||||
{"range", 1, 3, f_range},
|
||||
{"readfile", 1, 3, f_readfile},
|
||||
{"remote_expr", 2, 3, f_remote_expr},
|
||||
@@ -7100,7 +7157,7 @@ call_func(name, len, rettv, argcount, argvars, firstline, lastline,
|
||||
}
|
||||
#endif
|
||||
/* Try loading a package. */
|
||||
if (fp == NULL && script_autoload(fname) && !aborting())
|
||||
if (fp == NULL && script_autoload(fname, TRUE) && !aborting())
|
||||
{
|
||||
/* loaded a package, search for the function again */
|
||||
fp = find_func(fname);
|
||||
@@ -7822,6 +7879,41 @@ f_col(argvars, rettv)
|
||||
rettv->vval.v_number = col;
|
||||
}
|
||||
|
||||
#if defined(FEAT_INS_EXPAND)
|
||||
/*
|
||||
* "complete_add()" function
|
||||
*/
|
||||
/*ARGSUSED*/
|
||||
static void
|
||||
f_complete_add(argvars, rettv)
|
||||
typval_T *argvars;
|
||||
typval_T *rettv;
|
||||
{
|
||||
char_u *s;
|
||||
|
||||
s = get_tv_string_chk(&argvars[0]);
|
||||
if (s != NULL)
|
||||
rettv->vval.v_number = ins_compl_add(s, -1, NULL, FORWARD, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
* "complete_check()" function
|
||||
*/
|
||||
/*ARGSUSED*/
|
||||
static void
|
||||
f_complete_check(argvars, rettv)
|
||||
typval_T *argvars;
|
||||
typval_T *rettv;
|
||||
{
|
||||
int saved = RedrawingDisabled;
|
||||
|
||||
RedrawingDisabled = 0;
|
||||
ins_compl_check_keys(0);
|
||||
rettv->vval.v_number = compl_interrupted;
|
||||
RedrawingDisabled = saved;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* "confirm(message, buttons[, default [, type]])" function
|
||||
*/
|
||||
@@ -9077,6 +9169,101 @@ f_get(argvars, rettv)
|
||||
copy_tv(tv, rettv);
|
||||
}
|
||||
|
||||
static void get_buffer_lines __ARGS((buf_T *buf, linenr_T start, linenr_T end, int retlist, typval_T *rettv));
|
||||
|
||||
/*
|
||||
* Get line or list of lines from buffer "buf" into "rettv".
|
||||
* Return a range (from start to end) of lines in rettv from the specified
|
||||
* buffer.
|
||||
* If 'retlist' is TRUE, then the lines are returned as a Vim List.
|
||||
*/
|
||||
static void
|
||||
get_buffer_lines(buf, start, end, retlist, rettv)
|
||||
buf_T *buf;
|
||||
linenr_T start;
|
||||
linenr_T end;
|
||||
int retlist;
|
||||
typval_T *rettv;
|
||||
{
|
||||
char_u *p;
|
||||
list_T *l = NULL;
|
||||
listitem_T *li;
|
||||
|
||||
if (retlist)
|
||||
{
|
||||
l = list_alloc();
|
||||
if (l == NULL)
|
||||
return;
|
||||
|
||||
rettv->vval.v_list = l;
|
||||
rettv->v_type = VAR_LIST;
|
||||
++l->lv_refcount;
|
||||
}
|
||||
else
|
||||
rettv->vval.v_number = 0;
|
||||
|
||||
if (buf == NULL || buf->b_ml.ml_mfp == NULL || start < 0)
|
||||
return;
|
||||
|
||||
if (!retlist)
|
||||
{
|
||||
if (start >= 1 && start <= buf->b_ml.ml_line_count)
|
||||
p = ml_get_buf(buf, start, FALSE);
|
||||
else
|
||||
p = (char_u *)"";
|
||||
|
||||
rettv->v_type = VAR_STRING;
|
||||
rettv->vval.v_string = vim_strsave(p);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (end < start)
|
||||
return;
|
||||
|
||||
if (start < 1)
|
||||
start = 1;
|
||||
if (end > buf->b_ml.ml_line_count)
|
||||
end = buf->b_ml.ml_line_count;
|
||||
while (start <= end)
|
||||
{
|
||||
li = listitem_alloc();
|
||||
if (li == NULL)
|
||||
break;
|
||||
list_append(l, li);
|
||||
li->li_tv.v_type = VAR_STRING;
|
||||
li->li_tv.v_lock = 0;
|
||||
li->li_tv.vval.v_string =
|
||||
vim_strsave(ml_get_buf(buf, start++, FALSE));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* "getbufline()" function
|
||||
*/
|
||||
static void
|
||||
f_getbufline(argvars, rettv)
|
||||
typval_T *argvars;
|
||||
typval_T *rettv;
|
||||
{
|
||||
linenr_T lnum;
|
||||
linenr_T end;
|
||||
buf_T *buf;
|
||||
|
||||
(void)get_tv_number(&argvars[0]); /* issue errmsg if type error */
|
||||
++emsg_off;
|
||||
buf = get_buf_tv(&argvars[0]);
|
||||
--emsg_off;
|
||||
|
||||
lnum = get_tv_lnum_buf(&argvars[1], buf);
|
||||
if (argvars[2].v_type == VAR_UNKNOWN)
|
||||
end = lnum;
|
||||
else
|
||||
end = get_tv_lnum_buf(&argvars[2], buf);
|
||||
|
||||
get_buffer_lines(buf, lnum, end, TRUE, rettv);
|
||||
}
|
||||
|
||||
/*
|
||||
* "getbufvar()" function
|
||||
*/
|
||||
@@ -9242,7 +9429,8 @@ f_getcwd(argvars, rettv)
|
||||
{
|
||||
rettv->vval.v_string = vim_strsave(cwd);
|
||||
#ifdef BACKSLASH_IN_FILENAME
|
||||
slash_adjust(rettv->vval.v_string);
|
||||
if (rettv->vval.v_string != NULL)
|
||||
slash_adjust(rettv->vval.v_string);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -9445,7 +9633,7 @@ f_getftype(argvars, rettv)
|
||||
}
|
||||
|
||||
/*
|
||||
* "getline(lnum)" function
|
||||
* "getline(lnum, [end])" function
|
||||
*/
|
||||
static void
|
||||
f_getline(argvars, rettv)
|
||||
@@ -9454,57 +9642,21 @@ f_getline(argvars, rettv)
|
||||
{
|
||||
linenr_T lnum;
|
||||
linenr_T end;
|
||||
char_u *p;
|
||||
list_T *l;
|
||||
listitem_T *li;
|
||||
int retlist;
|
||||
|
||||
lnum = get_tv_lnum(argvars);
|
||||
if (lnum < 0)
|
||||
rettv->vval.v_number = 0; /* failure; error message already given */
|
||||
else if (argvars[1].v_type == VAR_UNKNOWN)
|
||||
if (argvars[1].v_type == VAR_UNKNOWN)
|
||||
{
|
||||
if (lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count)
|
||||
p = ml_get(lnum);
|
||||
else
|
||||
p = (char_u *)"";
|
||||
|
||||
rettv->v_type = VAR_STRING;
|
||||
rettv->vval.v_string = vim_strsave(p);
|
||||
end = 0;
|
||||
retlist = FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
end = get_tv_lnum(&argvars[1]);
|
||||
if (end < lnum)
|
||||
{
|
||||
if (end >= 0) /* else: error message already given */
|
||||
EMSG(_(e_invrange));
|
||||
rettv->vval.v_number = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
l = list_alloc();
|
||||
if (l != NULL)
|
||||
{
|
||||
if (lnum < 1)
|
||||
lnum = 1;
|
||||
if (end > curbuf->b_ml.ml_line_count)
|
||||
end = curbuf->b_ml.ml_line_count;
|
||||
while (lnum <= end)
|
||||
{
|
||||
li = listitem_alloc();
|
||||
if (li == NULL)
|
||||
break;
|
||||
list_append(l, li);
|
||||
li->li_tv.v_type = VAR_STRING;
|
||||
li->li_tv.v_lock = 0;
|
||||
li->li_tv.vval.v_string = vim_strsave(ml_get(lnum++));
|
||||
}
|
||||
rettv->vval.v_list = l;
|
||||
rettv->v_type = VAR_LIST;
|
||||
++l->lv_refcount;
|
||||
}
|
||||
}
|
||||
retlist = TRUE;
|
||||
}
|
||||
|
||||
get_buffer_lines(curbuf, lnum, end, retlist, rettv);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -9852,6 +10004,9 @@ f_has(argvars, rettv)
|
||||
#endif
|
||||
#ifdef FEAT_BEVAL
|
||||
"balloon_eval",
|
||||
# ifndef FEAT_GUI_W32 /* other GUIs always have multiline balloons */
|
||||
"balloon_multiline",
|
||||
# endif
|
||||
#endif
|
||||
#if defined(SOME_BUILTIN_TCAPS) || defined(ALL_BUILTIN_TCAPS)
|
||||
"builtin_terms",
|
||||
@@ -10232,6 +10387,10 @@ f_has(argvars, rettv)
|
||||
n = has_patch(atoi((char *)name + 5));
|
||||
else if (STRICMP(name, "vim_starting") == 0)
|
||||
n = (starting != 0);
|
||||
#if defined(FEAT_BEVAL) && defined(FEAT_GUI_W32)
|
||||
else if (STRICMP(name, "balloon_multiline") == 0)
|
||||
n = multiline_balloon_available();
|
||||
#endif
|
||||
#ifdef DYNAMIC_TCL
|
||||
else if (STRICMP(name, "tcl") == 0)
|
||||
n = tcl_enabled(FALSE);
|
||||
@@ -10681,10 +10840,7 @@ f_inputdialog(argvars, rettv)
|
||||
message = get_tv_string_chk(&argvars[0]);
|
||||
if (argvars[1].v_type != VAR_UNKNOWN
|
||||
&& (defstr = get_tv_string_buf_chk(&argvars[1], buf)) != NULL)
|
||||
{
|
||||
STRNCPY(IObuff, defstr, IOSIZE);
|
||||
IObuff[IOSIZE - 1] = NUL;
|
||||
}
|
||||
vim_strncpy(IObuff, defstr, IOSIZE - 1);
|
||||
else
|
||||
IObuff[0] = NUL;
|
||||
if (message != NULL && defstr != NULL
|
||||
@@ -11786,6 +11942,42 @@ f_prevnonblank(argvars, rettv)
|
||||
rettv->vval.v_number = lnum;
|
||||
}
|
||||
|
||||
/*
|
||||
* "printf()" function
|
||||
*/
|
||||
static void
|
||||
f_printf(argvars, rettv)
|
||||
typval_T *argvars;
|
||||
typval_T *rettv;
|
||||
{
|
||||
rettv->v_type = VAR_STRING;
|
||||
rettv->vval.v_string = NULL;
|
||||
#ifdef HAVE_STDARG_H
|
||||
{
|
||||
char_u buf[NUMBUFLEN];
|
||||
int len;
|
||||
char_u *s;
|
||||
int saved_did_emsg = did_emsg;
|
||||
char *fmt;
|
||||
|
||||
/* Get the required length, allocate the buffer and do it for real. */
|
||||
did_emsg = FALSE;
|
||||
fmt = (char *)get_tv_string_buf(&argvars[0], buf);
|
||||
len = vim_vsnprintf(NULL, 0, fmt, NULL, argvars + 1);
|
||||
if (!did_emsg)
|
||||
{
|
||||
s = alloc(len + 1);
|
||||
if (s != NULL)
|
||||
{
|
||||
rettv->vval.v_string = s;
|
||||
(void)vim_vsnprintf((char *)s, len + 1, fmt, NULL, argvars + 1);
|
||||
}
|
||||
}
|
||||
did_emsg |= saved_did_emsg;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
* "range()" function
|
||||
*/
|
||||
@@ -12660,6 +12852,7 @@ f_reverse(argvars, rettv)
|
||||
#define SP_NOMOVE 1 /* don't move cursor */
|
||||
#define SP_REPEAT 2 /* repeat to find outer pair */
|
||||
#define SP_RETCOUNT 4 /* return matchcount */
|
||||
#define SP_SETPCMARK 8 /* set previous context mark */
|
||||
|
||||
static int get_search_arg __ARGS((typval_T *varp, int *flagsp));
|
||||
|
||||
@@ -12697,6 +12890,7 @@ get_search_arg(varp, flagsp)
|
||||
case 'n': mask = SP_NOMOVE; break;
|
||||
case 'r': mask = SP_REPEAT; break;
|
||||
case 'm': mask = SP_RETCOUNT; break;
|
||||
case 's': mask = SP_SETPCMARK; break;
|
||||
}
|
||||
if (mask == 0)
|
||||
{
|
||||
@@ -12735,7 +12929,14 @@ f_search(argvars, rettv)
|
||||
dir = get_search_arg(&argvars[1], &flags); /* may set p_ws */
|
||||
if (dir == 0)
|
||||
goto theend;
|
||||
if ((flags & ~SP_NOMOVE) != 0)
|
||||
/*
|
||||
* This function accepts only SP_NOMOVE and SP_SETPCMARK flags.
|
||||
* Check to make sure only those flags are set.
|
||||
* Also, Only the SP_NOMOVE or the SP_SETPCMARK flag can be set. Both
|
||||
* flags cannot be set. Check for that condition also.
|
||||
*/
|
||||
if (((flags & ~(SP_NOMOVE | SP_SETPCMARK)) != 0) ||
|
||||
((flags & SP_NOMOVE) && (flags & SP_SETPCMARK)))
|
||||
{
|
||||
EMSG2(_(e_invarg2), get_tv_string(&argvars[1]));
|
||||
goto theend;
|
||||
@@ -12746,6 +12947,8 @@ f_search(argvars, rettv)
|
||||
SEARCH_KEEP, RE_SEARCH) != FAIL)
|
||||
{
|
||||
rettv->vval.v_number = pos.lnum;
|
||||
if (flags & SP_SETPCMARK)
|
||||
setpcmark();
|
||||
curwin->w_cursor = pos;
|
||||
/* "/$" will put the cursor after the end of the line, may need to
|
||||
* correct that here */
|
||||
@@ -12769,30 +12972,15 @@ f_searchpair(argvars, rettv)
|
||||
{
|
||||
char_u *spat, *mpat, *epat;
|
||||
char_u *skip;
|
||||
char_u *pat, *pat2 = NULL, *pat3 = NULL;
|
||||
pos_T pos;
|
||||
pos_T firstpos;
|
||||
pos_T foundpos;
|
||||
pos_T save_cursor;
|
||||
pos_T save_pos;
|
||||
int save_p_ws = p_ws;
|
||||
char_u *save_cpo;
|
||||
int dir;
|
||||
int flags = 0;
|
||||
char_u nbuf1[NUMBUFLEN];
|
||||
char_u nbuf2[NUMBUFLEN];
|
||||
char_u nbuf3[NUMBUFLEN];
|
||||
int n;
|
||||
int r;
|
||||
int nest = 1;
|
||||
int err;
|
||||
|
||||
rettv->vval.v_number = 0; /* default: FAIL */
|
||||
|
||||
/* Make 'cpoptions' empty, the 'l' flag should not be used here. */
|
||||
save_cpo = p_cpo;
|
||||
p_cpo = (char_u *)"";
|
||||
|
||||
/* Get the three pattern arguments: start, middle, end. */
|
||||
spat = get_tv_string_chk(&argvars[0]);
|
||||
mpat = get_tv_string_buf_chk(&argvars[1], nbuf1);
|
||||
@@ -12800,6 +12988,65 @@ f_searchpair(argvars, rettv)
|
||||
if (spat == NULL || mpat == NULL || epat == NULL)
|
||||
goto theend; /* type error */
|
||||
|
||||
/* Handle the optional fourth argument: flags */
|
||||
dir = get_search_arg(&argvars[3], &flags); /* may set p_ws */
|
||||
if (dir == 0)
|
||||
goto theend;
|
||||
/*
|
||||
* Only one of the SP_NOMOVE or SP_SETPCMARK flags can be set.
|
||||
*/
|
||||
if ((flags & SP_NOMOVE) && (flags & SP_SETPCMARK))
|
||||
{
|
||||
EMSG2(_(e_invarg2), get_tv_string(&argvars[1]));
|
||||
goto theend;
|
||||
}
|
||||
|
||||
/* Optional fifth argument: skip expresion */
|
||||
if (argvars[3].v_type == VAR_UNKNOWN
|
||||
|| argvars[4].v_type == VAR_UNKNOWN)
|
||||
skip = (char_u *)"";
|
||||
else
|
||||
skip = get_tv_string_buf_chk(&argvars[4], nbuf3);
|
||||
if (skip == NULL)
|
||||
goto theend; /* type error */
|
||||
|
||||
rettv->vval.v_number = do_searchpair(spat, mpat, epat, dir, skip, flags);
|
||||
|
||||
theend:
|
||||
p_ws = save_p_ws;
|
||||
}
|
||||
|
||||
/*
|
||||
* Search for a start/middle/end thing.
|
||||
* Used by searchpair(), see its documentation for the details.
|
||||
* Returns 0 or -1 for no match,
|
||||
*/
|
||||
long
|
||||
do_searchpair(spat, mpat, epat, dir, skip, flags)
|
||||
char_u *spat; /* start pattern */
|
||||
char_u *mpat; /* middle pattern */
|
||||
char_u *epat; /* end pattern */
|
||||
int dir; /* BACKWARD or FORWARD */
|
||||
char_u *skip; /* skip expression */
|
||||
int flags; /* SP_RETCOUNT, SP_REPEAT, SP_NOMOVE */
|
||||
{
|
||||
char_u *save_cpo;
|
||||
char_u *pat, *pat2 = NULL, *pat3 = NULL;
|
||||
long retval = 0;
|
||||
pos_T pos;
|
||||
pos_T firstpos;
|
||||
pos_T foundpos;
|
||||
pos_T save_cursor;
|
||||
pos_T save_pos;
|
||||
int n;
|
||||
int r;
|
||||
int nest = 1;
|
||||
int err;
|
||||
|
||||
/* Make 'cpoptions' empty, the 'l' flag should not be used here. */
|
||||
save_cpo = p_cpo;
|
||||
p_cpo = (char_u *)"";
|
||||
|
||||
/* Make two search patterns: start/end (pat2, for in nested pairs) and
|
||||
* start/middle/end (pat3, for the top pair). */
|
||||
pat2 = alloc((unsigned)(STRLEN(spat) + STRLEN(epat) + 15));
|
||||
@@ -12813,20 +13060,6 @@ f_searchpair(argvars, rettv)
|
||||
sprintf((char *)pat3, "\\(%s\\m\\)\\|\\(%s\\m\\)\\|\\(%s\\m\\)",
|
||||
spat, epat, mpat);
|
||||
|
||||
/* Handle the optional fourth argument: flags */
|
||||
dir = get_search_arg(&argvars[3], &flags); /* may set p_ws */
|
||||
if (dir == 0)
|
||||
goto theend;
|
||||
|
||||
/* Optional fifth argument: skip expresion */
|
||||
if (argvars[3].v_type == VAR_UNKNOWN
|
||||
|| argvars[4].v_type == VAR_UNKNOWN)
|
||||
skip = (char_u *)"";
|
||||
else
|
||||
skip = get_tv_string_buf_chk(&argvars[4], nbuf3);
|
||||
if (skip == NULL)
|
||||
goto theend; /* type error */
|
||||
|
||||
save_cursor = curwin->w_cursor;
|
||||
pos = curwin->w_cursor;
|
||||
firstpos.lnum = 0;
|
||||
@@ -12865,7 +13098,7 @@ f_searchpair(argvars, rettv)
|
||||
{
|
||||
/* Evaluating {skip} caused an error, break here. */
|
||||
curwin->w_cursor = save_cursor;
|
||||
rettv->vval.v_number = -1;
|
||||
retval = -1;
|
||||
break;
|
||||
}
|
||||
if (r)
|
||||
@@ -12891,9 +13124,11 @@ f_searchpair(argvars, rettv)
|
||||
{
|
||||
/* Found the match: return matchcount or line number. */
|
||||
if (flags & SP_RETCOUNT)
|
||||
++rettv->vval.v_number;
|
||||
++retval;
|
||||
else
|
||||
rettv->vval.v_number = pos.lnum;
|
||||
retval = pos.lnum;
|
||||
if (flags & SP_SETPCMARK)
|
||||
setpcmark();
|
||||
curwin->w_cursor = pos;
|
||||
if (!(flags & SP_REPEAT))
|
||||
break;
|
||||
@@ -12902,14 +13137,15 @@ f_searchpair(argvars, rettv)
|
||||
}
|
||||
|
||||
/* If 'n' flag is used or search failed: restore cursor position. */
|
||||
if ((flags & SP_NOMOVE) || rettv->vval.v_number == 0)
|
||||
if ((flags & SP_NOMOVE) || retval == 0)
|
||||
curwin->w_cursor = save_cursor;
|
||||
|
||||
theend:
|
||||
vim_free(pat2);
|
||||
vim_free(pat3);
|
||||
p_ws = save_p_ws;
|
||||
p_cpo = save_cpo;
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
@@ -14315,9 +14551,9 @@ f_tr(argvars, rettv)
|
||||
char_u *tostr;
|
||||
char_u *p;
|
||||
#ifdef FEAT_MBYTE
|
||||
int inlen;
|
||||
int fromlen;
|
||||
int tolen;
|
||||
int inlen;
|
||||
int fromlen;
|
||||
int tolen;
|
||||
int idx;
|
||||
char_u *cpstr;
|
||||
int cplen;
|
||||
@@ -14925,8 +15161,26 @@ find_name_end(arg, expr_start, expr_end, flags)
|
||||
|| *p == '{'
|
||||
|| ((flags & FNE_INCL_BR) && (*p == '[' || *p == '.'))
|
||||
|| mb_nest != 0
|
||||
|| br_nest != 0); ++p)
|
||||
|| br_nest != 0); mb_ptr_adv(p))
|
||||
{
|
||||
if (*p == '\'')
|
||||
{
|
||||
/* skip over 'string' to avoid counting [ and ] inside it. */
|
||||
for (p = p + 1; *p != NUL && *p != '\''; mb_ptr_adv(p))
|
||||
;
|
||||
if (*p == NUL)
|
||||
break;
|
||||
}
|
||||
else if (*p == '"')
|
||||
{
|
||||
/* skip over "str\"ing" to avoid counting [ and ] inside it. */
|
||||
for (p = p + 1; *p != NUL && *p != '"'; mb_ptr_adv(p))
|
||||
if (*p == '\\' && p[1] != NUL)
|
||||
++p;
|
||||
if (*p == NUL)
|
||||
break;
|
||||
}
|
||||
|
||||
if (mb_nest == 0)
|
||||
{
|
||||
if (*p == '[')
|
||||
@@ -14934,6 +15188,7 @@ find_name_end(arg, expr_start, expr_end, flags)
|
||||
else if (*p == ']')
|
||||
--br_nest;
|
||||
}
|
||||
|
||||
if (br_nest == 0)
|
||||
{
|
||||
if (*p == '{')
|
||||
@@ -15420,7 +15675,7 @@ free_tv(varp)
|
||||
/*
|
||||
* Free the memory for a variable value and set the value to NULL or 0.
|
||||
*/
|
||||
static void
|
||||
void
|
||||
clear_tv(varp)
|
||||
typval_T *varp;
|
||||
{
|
||||
@@ -15483,7 +15738,7 @@ get_tv_number(varp)
|
||||
return get_tv_number_chk(varp, &error); /* return 0L on error */
|
||||
}
|
||||
|
||||
static long
|
||||
long
|
||||
get_tv_number_chk(varp, denote)
|
||||
typval_T *varp;
|
||||
int *denote;
|
||||
@@ -15520,7 +15775,8 @@ get_tv_number_chk(varp, denote)
|
||||
}
|
||||
|
||||
/*
|
||||
* Get the lnum from the first argument. Also accepts ".", "$", etc.
|
||||
* Get the lnum from the first argument.
|
||||
* Also accepts ".", "$", etc., but that only works for the current buffer.
|
||||
* Returns -1 on error.
|
||||
*/
|
||||
static linenr_T
|
||||
@@ -15541,6 +15797,24 @@ get_tv_lnum(argvars)
|
||||
return lnum;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get the lnum from the first argument.
|
||||
* Also accepts "$", then "buf" is used.
|
||||
* Returns 0 on error.
|
||||
*/
|
||||
static linenr_T
|
||||
get_tv_lnum_buf(argvars, buf)
|
||||
typval_T *argvars;
|
||||
buf_T *buf;
|
||||
{
|
||||
if (argvars[0].v_type == VAR_STRING
|
||||
&& argvars[0].vval.v_string != NULL
|
||||
&& argvars[0].vval.v_string[0] == '$'
|
||||
&& buf != NULL)
|
||||
return buf->b_ml.ml_line_count;
|
||||
return get_tv_number_chk(&argvars[0], NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* Get the string value of a variable.
|
||||
* If it is a Number variable, the number is converted into a string.
|
||||
@@ -15570,7 +15844,7 @@ get_tv_string_buf(varp, buf)
|
||||
return res != NULL ? res : (char_u *)"";
|
||||
}
|
||||
|
||||
static char_u *
|
||||
char_u *
|
||||
get_tv_string_chk(varp)
|
||||
typval_T *varp;
|
||||
{
|
||||
@@ -15666,9 +15940,11 @@ find_var_in_ht(ht, varname, writing)
|
||||
if (HASHITEM_EMPTY(hi))
|
||||
{
|
||||
/* For global variables we may try auto-loading the script. If it
|
||||
* worked find the variable again. */
|
||||
* worked find the variable again. Don't auto-load a script if it was
|
||||
* loaded already, otherwise it would be loaded every time when
|
||||
* checking if a function name is a Funcref variable. */
|
||||
if (ht == &globvarht && !writing
|
||||
&& script_autoload(varname) && !aborting())
|
||||
&& script_autoload(varname, FALSE) && !aborting())
|
||||
hi = hash_find(ht, varname);
|
||||
if (HASHITEM_EMPTY(hi))
|
||||
return NULL;
|
||||
@@ -17458,29 +17734,52 @@ prof_self_cmp(s1, s2)
|
||||
|
||||
#endif
|
||||
|
||||
/* The names of packages that once were loaded is remembered. */
|
||||
static garray_T ga_loaded = {0, 0, sizeof(char_u *), 4, NULL};
|
||||
|
||||
/*
|
||||
* If "name" has a package name try autoloading the script for it.
|
||||
* Return TRUE if a package was loaded.
|
||||
*/
|
||||
static int
|
||||
script_autoload(name)
|
||||
char_u *name;
|
||||
script_autoload(name, reload)
|
||||
char_u *name;
|
||||
int reload; /* load script again when already loaded */
|
||||
{
|
||||
char_u *p;
|
||||
char_u *scriptname;
|
||||
char_u *scriptname, *tofree;
|
||||
int ret = FALSE;
|
||||
int i;
|
||||
|
||||
/* If there is no colon after name[1] there is no package name. */
|
||||
/* If there is no '#' after name[0] there is no package name. */
|
||||
p = vim_strchr(name, AUTOLOAD_CHAR);
|
||||
if (p == NULL || p <= name + 2)
|
||||
if (p == NULL || p == name)
|
||||
return FALSE;
|
||||
|
||||
/* Try loading the package from $VIMRUNTIME/autoload/<name>.vim */
|
||||
scriptname = autoload_name(name);
|
||||
if (cmd_runtime(scriptname, FALSE) == OK)
|
||||
ret = TRUE;
|
||||
tofree = scriptname = autoload_name(name);
|
||||
|
||||
vim_free(scriptname);
|
||||
/* Find the name in the list of previously loaded package names. Skip
|
||||
* "autoload/", it's always the same. */
|
||||
for (i = 0; i < ga_loaded.ga_len; ++i)
|
||||
if (STRCMP(((char_u **)ga_loaded.ga_data)[i] + 9, scriptname + 9) == 0)
|
||||
break;
|
||||
if (!reload && i < ga_loaded.ga_len)
|
||||
ret = FALSE; /* was loaded already */
|
||||
else
|
||||
{
|
||||
/* Remember the name if it wasn't loaded already. */
|
||||
if (i == ga_loaded.ga_len && ga_grow(&ga_loaded, 1) == OK)
|
||||
{
|
||||
((char_u **)ga_loaded.ga_data)[ga_loaded.ga_len++] = scriptname;
|
||||
tofree = NULL;
|
||||
}
|
||||
|
||||
/* Try loading the package from $VIMRUNTIME/autoload/<name>.vim */
|
||||
if (cmd_runtime(scriptname, FALSE) == OK)
|
||||
ret = TRUE;
|
||||
}
|
||||
|
||||
vim_free(tofree);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -18522,6 +18821,23 @@ store_session_globals(fd)
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Display script name where an item was last set.
|
||||
* Should only be invoked when 'verbose' is non-zero.
|
||||
*/
|
||||
void
|
||||
last_set_msg(scriptID)
|
||||
scid_T scriptID;
|
||||
{
|
||||
if (scriptID != 0)
|
||||
{
|
||||
verbose_enter();
|
||||
MSG_PUTS(_("\n\tLast set from "));
|
||||
MSG_PUTS(get_scriptname(scriptID));
|
||||
verbose_leave();
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* FEAT_EVAL */
|
||||
|
||||
#if defined(FEAT_MODIFY_FNAME) || defined(FEAT_EVAL) || defined(PROTO)
|
||||
|
||||
118
src/ex_cmds.c
118
src/ex_cmds.c
@@ -2582,34 +2582,83 @@ check_overwrite(eap, buf, fname, ffname, other)
|
||||
|| ((buf->b_flags & BF_NEW)
|
||||
&& vim_strchr(p_cpo, CPO_OVERNEW) == NULL)
|
||||
|| (buf->b_flags & BF_READERR))
|
||||
&& !eap->forceit
|
||||
&& !eap->append
|
||||
&& !p_wa
|
||||
&& vim_fexists(ffname))
|
||||
{
|
||||
#ifdef UNIX
|
||||
/* with UNIX it is possible to open a directory */
|
||||
if (mch_isdir(ffname))
|
||||
if (!eap->forceit && !eap->append)
|
||||
{
|
||||
EMSG2(_(e_isadir2), ffname);
|
||||
return FAIL;
|
||||
}
|
||||
#ifdef UNIX
|
||||
/* with UNIX it is possible to open a directory */
|
||||
if (mch_isdir(ffname))
|
||||
{
|
||||
EMSG2(_(e_isadir2), ffname);
|
||||
return FAIL;
|
||||
}
|
||||
#endif
|
||||
#if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
|
||||
if (p_confirm || cmdmod.confirm)
|
||||
{
|
||||
char_u buff[IOSIZE];
|
||||
if (p_confirm || cmdmod.confirm)
|
||||
{
|
||||
char_u buff[IOSIZE];
|
||||
|
||||
dialog_msg(buff, _("Overwrite existing file \"%s\"?"), fname);
|
||||
if (vim_dialog_yesno(VIM_QUESTION, NULL, buff, 2) != VIM_YES)
|
||||
return FAIL;
|
||||
eap->forceit = TRUE;
|
||||
}
|
||||
else
|
||||
dialog_msg(buff, _("Overwrite existing file \"%s\"?"), fname);
|
||||
if (vim_dialog_yesno(VIM_QUESTION, NULL, buff, 2) != VIM_YES)
|
||||
return FAIL;
|
||||
eap->forceit = TRUE;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
EMSG(_(e_exists));
|
||||
return FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
/* For ":w! filename" check that no swap file exists for "filename". */
|
||||
if (other && !emsg_silent)
|
||||
{
|
||||
EMSG(_(e_exists));
|
||||
return FAIL;
|
||||
char_u dir[MAXPATHL];
|
||||
char_u *p;
|
||||
int r;
|
||||
char_u *swapname;
|
||||
|
||||
/* We only try the first entry in 'directory', without checking if
|
||||
* it's writable. If the "." directory is not writable the write
|
||||
* will probably fail anyway.
|
||||
* Use 'shortname' of the current buffer, since there is no buffer
|
||||
* for the written file. */
|
||||
if (*p_dir == NUL)
|
||||
STRCPY(dir, ".");
|
||||
else
|
||||
{
|
||||
p = p_dir;
|
||||
copy_option_part(&p, dir, MAXPATHL, ",");
|
||||
}
|
||||
swapname = makeswapname(fname, ffname, curbuf, dir);
|
||||
r = vim_fexists(swapname);
|
||||
vim_free(swapname);
|
||||
if (r)
|
||||
{
|
||||
#if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
|
||||
if (p_confirm || cmdmod.confirm)
|
||||
{
|
||||
char_u buff[IOSIZE];
|
||||
|
||||
dialog_msg(buff,
|
||||
_("Swap file \"%s\" exists, overwrite anyway?"),
|
||||
swapname);
|
||||
if (vim_dialog_yesno(VIM_QUESTION, NULL, buff, 2)
|
||||
!= VIM_YES)
|
||||
return FAIL;
|
||||
eap->forceit = TRUE;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
EMSG2(_("E768: Swap file exists: %s (:silent! overrides)"),
|
||||
swapname);
|
||||
return FAIL;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return OK;
|
||||
@@ -2903,11 +2952,25 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
|
||||
#ifdef FEAT_BROWSE
|
||||
if (cmdmod.browse)
|
||||
{
|
||||
browse_file = do_browse(0, (char_u *)_("Edit File"), ffname,
|
||||
if (
|
||||
# ifdef FEAT_GUI
|
||||
!gui.in_use &&
|
||||
# endif
|
||||
au_has_group((char_u *)"FileExplorer"))
|
||||
{
|
||||
/* No browsing supported but we do have the file explorer:
|
||||
* Edit the directory. */
|
||||
if (ffname == NULL || !mch_isdir(ffname))
|
||||
ffname = (char_u *)".";
|
||||
}
|
||||
else
|
||||
{
|
||||
browse_file = do_browse(0, (char_u *)_("Edit File"), ffname,
|
||||
NULL, NULL, NULL, curbuf);
|
||||
if (browse_file == NULL)
|
||||
goto theend;
|
||||
ffname = browse_file;
|
||||
if (browse_file == NULL)
|
||||
goto theend;
|
||||
ffname = browse_file;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
/* if no short name given, use ffname for short name */
|
||||
@@ -2917,7 +2980,8 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
|
||||
# ifdef USE_LONG_FNAME
|
||||
if (USE_LONG_FNAME)
|
||||
# endif
|
||||
fname_case(sfname, 0); /* set correct case for short file name */
|
||||
if (sfname != NULL)
|
||||
fname_case(sfname, 0); /* set correct case for sfname */
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_LISTCMDS
|
||||
@@ -5368,13 +5432,15 @@ find_help_tags(arg, num_matches, matches, keep_lang)
|
||||
char_u *s, *d;
|
||||
int i;
|
||||
static char *(mtable[]) = {"*", "g*", "[*", "]*", ":*",
|
||||
"/*", "/\\*", "\"*", "/\\(\\)",
|
||||
"/*", "/\\*", "\"*", "**",
|
||||
"/\\(\\)",
|
||||
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
|
||||
"/\\?", "/\\z(\\)", "\\=", ":s\\=",
|
||||
"[count]", "[quotex]", "[range]",
|
||||
"[pattern]", "\\|", "\\%$"};
|
||||
static char *(rtable[]) = {"star", "gstar", "[star", "]star", ":star",
|
||||
"/star", "/\\\\star", "quotestar", "/\\\\(\\\\)",
|
||||
"/star", "/\\\\star", "quotestar", "starstar",
|
||||
"/\\\\(\\\\)",
|
||||
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
|
||||
"/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
|
||||
"\\[count]", "\\[quotex]", "\\[range]",
|
||||
|
||||
@@ -187,6 +187,8 @@ EX(CMD_cabbrev, "cabbrev", ex_abbreviate,
|
||||
EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
|
||||
EX(CMD_cabclear, "cabclear", ex_abclear,
|
||||
EXTRA|TRLBAR|CMDWIN),
|
||||
EX(CMD_caddfile, "caddfile", ex_cfile,
|
||||
TRLBAR|FILE1),
|
||||
EX(CMD_call, "call", ex_call,
|
||||
RANGE|NEEDARG|EXTRA|NOTRLCOM|SBOXOK|CMDWIN),
|
||||
EX(CMD_catch, "catch", ex_catch,
|
||||
@@ -201,6 +203,8 @@ EX(CMD_cd, "cd", ex_cd,
|
||||
BANG|FILE1|TRLBAR|CMDWIN),
|
||||
EX(CMD_center, "center", ex_align,
|
||||
TRLBAR|RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY),
|
||||
EX(CMD_cexpr, "cexpr", ex_cexpr,
|
||||
NEEDARG|WORD1|NOTRLCOM|TRLBAR|BANG),
|
||||
EX(CMD_cfile, "cfile", ex_cfile,
|
||||
TRLBAR|FILE1|BANG),
|
||||
EX(CMD_cfirst, "cfirst", ex_cc,
|
||||
|
||||
3526
src/ex_cmds2.c
3526
src/ex_cmds2.c
File diff suppressed because it is too large
Load Diff
@@ -114,6 +114,7 @@ static int getargopt __ARGS((exarg_T *eap));
|
||||
# define ex_cc ex_ni
|
||||
# define ex_cnext ex_ni
|
||||
# define ex_cfile ex_ni
|
||||
# define ex_cexpr ex_ni
|
||||
# define qf_list ex_ni
|
||||
# define qf_age ex_ni
|
||||
# define ex_helpgrep ex_ni
|
||||
@@ -4341,6 +4342,7 @@ repl_cmdline(eap, src, srclen, repl, cmdlinep)
|
||||
*/
|
||||
i = (int)(src - *cmdlinep); /* length of part before match */
|
||||
mch_memmove(new_cmdline, *cmdlinep, (size_t)i);
|
||||
|
||||
mch_memmove(new_cmdline + i, repl, (size_t)len);
|
||||
i += len; /* remember the end of the string */
|
||||
STRCPY(new_cmdline + i, src + srclen);
|
||||
@@ -6663,11 +6665,25 @@ ex_splitview(eap)
|
||||
#endif
|
||||
&& eap->cmdidx != CMD_new)
|
||||
{
|
||||
fname = do_browse(0, (char_u *)_("Edit File in new window"),
|
||||
if (
|
||||
# ifdef FEAT_GUI
|
||||
!gui.in_use &&
|
||||
# endif
|
||||
au_has_group((char_u *)"FileExplorer"))
|
||||
{
|
||||
/* No browsing supported but we do have the file explorer:
|
||||
* Edit the directory. */
|
||||
if (*eap->arg == NUL || !mch_isdir(eap->arg))
|
||||
eap->arg = (char_u *)".";
|
||||
}
|
||||
else
|
||||
{
|
||||
fname = do_browse(0, (char_u *)_("Edit File in new window"),
|
||||
eap->arg, NULL, NULL, NULL, curbuf);
|
||||
if (fname == NULL)
|
||||
goto theend;
|
||||
eap->arg = fname;
|
||||
if (fname == NULL)
|
||||
goto theend;
|
||||
eap->arg = fname;
|
||||
}
|
||||
}
|
||||
cmdmod.browse = FALSE; /* Don't browse again in do_ecmd(). */
|
||||
#endif
|
||||
@@ -7286,7 +7302,7 @@ ex_cd(eap)
|
||||
if (p == NULL || *p == NUL) /* empty is the same as not set */
|
||||
NameBuff[0] = NUL;
|
||||
else
|
||||
STRNCPY(NameBuff, p, MAXPATHL);
|
||||
vim_strncpy(NameBuff, p, MAXPATHL - 1);
|
||||
# else
|
||||
expand_env((char_u *)"$HOME", NameBuff, MAXPATHL);
|
||||
# endif
|
||||
|
||||
@@ -92,6 +92,7 @@ static void redrawcmdprompt __ARGS((void));
|
||||
static void cursorcmd __ARGS((void));
|
||||
static int ccheck_abbr __ARGS((int));
|
||||
static int nextwild __ARGS((expand_T *xp, int type, int options));
|
||||
static void escape_fname __ARGS((char_u **pp));
|
||||
static int showmatches __ARGS((expand_T *xp, int wildmenu));
|
||||
static void set_expand_context __ARGS((expand_T *xp));
|
||||
static int ExpandFromContext __ARGS((expand_T *xp, char_u *, int *, char_u ***, int));
|
||||
@@ -3239,10 +3240,7 @@ ExpandOne(xp, str, orig, options, mode)
|
||||
}
|
||||
ss = alloc((unsigned)len + 1);
|
||||
if (ss)
|
||||
{
|
||||
STRNCPY(ss, xp->xp_files[0], len);
|
||||
ss[len] = NUL;
|
||||
}
|
||||
vim_strncpy(ss, xp->xp_files[0], (size_t)len);
|
||||
findex = -1; /* next p_wc gets first one */
|
||||
}
|
||||
|
||||
@@ -3368,18 +3366,14 @@ ExpandEscape(xp, str, numfiles, files, options)
|
||||
/* If 'str' starts with "\~", replace "~" at start of
|
||||
* files[i] with "\~". */
|
||||
if (str[0] == '\\' && str[1] == '~' && files[i][0] == '~')
|
||||
{
|
||||
p = alloc((unsigned)(STRLEN(files[i]) + 2));
|
||||
if (p != NULL)
|
||||
{
|
||||
p[0] = '\\';
|
||||
STRCPY(p + 1, files[i]);
|
||||
vim_free(files[i]);
|
||||
files[i] = p;
|
||||
}
|
||||
}
|
||||
escape_fname(&files[i]);
|
||||
}
|
||||
xp->xp_backslash = XP_BS_NONE;
|
||||
|
||||
/* If the first file starts with a '+' escape it. Otherwise it
|
||||
* could be seen as "+cmd". */
|
||||
if (*files[0] == '+')
|
||||
escape_fname(&files[0]);
|
||||
}
|
||||
else if (xp->xp_context == EXPAND_TAGS)
|
||||
{
|
||||
@@ -3400,6 +3394,25 @@ ExpandEscape(xp, str, numfiles, files, options)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Put a backslash before the file name in "pp", which is in allocated memory.
|
||||
*/
|
||||
static void
|
||||
escape_fname(pp)
|
||||
char_u **pp;
|
||||
{
|
||||
char_u *p;
|
||||
|
||||
p = alloc((unsigned)(STRLEN(*pp) + 2));
|
||||
if (p != NULL)
|
||||
{
|
||||
p[0] = '\\';
|
||||
STRCPY(p + 1, *pp);
|
||||
vim_free(*pp);
|
||||
*pp = p;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* For each file name in files[num_files]:
|
||||
* If 'orig_pat' starts with "~/", replace the home directory with "~".
|
||||
@@ -3749,8 +3762,7 @@ addstar(fname, len, context)
|
||||
retval = alloc(len + 4);
|
||||
if (retval != NULL)
|
||||
{
|
||||
STRNCPY(retval, fname, len);
|
||||
retval[len] = NUL;
|
||||
vim_strncpy(retval, fname, len);
|
||||
|
||||
/*
|
||||
* Don't add a star to ~, ~user, $var or `cmd`.
|
||||
|
||||
15
src/fileio.c
15
src/fileio.c
@@ -6731,6 +6731,7 @@ static struct event_name
|
||||
{"InsertChange", EVENT_INSERTCHANGE},
|
||||
{"InsertEnter", EVENT_INSERTENTER},
|
||||
{"InsertLeave", EVENT_INSERTLEAVE},
|
||||
{"MenuPopup", EVENT_MENUPOPUP},
|
||||
{"QuickFixCmdPost", EVENT_QUICKFIXCMDPOST},
|
||||
{"QuickFixCmdPre", EVENT_QUICKFIXCMDPRE},
|
||||
{"RemoteReply", EVENT_REMOTEREPLY},
|
||||
@@ -7058,6 +7059,18 @@ au_find_group(name)
|
||||
return AUGROUP_ERROR;
|
||||
}
|
||||
|
||||
#if defined(FEAT_BROWSE) || defined(PROTO)
|
||||
/*
|
||||
* Return TRUE if augroup "name" exists.
|
||||
*/
|
||||
int
|
||||
au_has_group(name)
|
||||
char_u *name;
|
||||
{
|
||||
return au_find_group(name) != AUGROUP_ERROR;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* ":augroup {name}".
|
||||
*/
|
||||
@@ -8936,6 +8949,8 @@ file_pat_to_reg_pat(pat, pat_end, allow_dirs, no_bslash)
|
||||
case '*':
|
||||
reg_pat[i++] = '.';
|
||||
reg_pat[i++] = '*';
|
||||
while (p[1] == '*') /* "**" matches like "*" */
|
||||
++p;
|
||||
break;
|
||||
case '.':
|
||||
#ifdef RISCOS
|
||||
|
||||
@@ -1809,10 +1809,7 @@ foldAddMarker(lnum, marker, markerlen)
|
||||
return;
|
||||
STRCPY(newline, line);
|
||||
if (p == NULL)
|
||||
{
|
||||
STRNCPY(newline + line_len, marker, markerlen);
|
||||
newline[line_len + markerlen] = NUL;
|
||||
}
|
||||
vim_strncpy(newline + line_len, marker, markerlen);
|
||||
else
|
||||
{
|
||||
STRCPY(newline + line_len, cms);
|
||||
|
||||
@@ -257,8 +257,7 @@ add_buff(buf, s, slen)
|
||||
if (buf->bh_space >= (int)slen)
|
||||
{
|
||||
len = (long_u)STRLEN(buf->bh_curr->b_str);
|
||||
STRNCPY(buf->bh_curr->b_str + len, s, slen);
|
||||
buf->bh_curr->b_str[len + slen] = NUL;
|
||||
vim_strncpy(buf->bh_curr->b_str + len, s, (size_t)slen);
|
||||
buf->bh_space -= slen;
|
||||
}
|
||||
else
|
||||
@@ -272,8 +271,7 @@ add_buff(buf, s, slen)
|
||||
if (p == NULL)
|
||||
return; /* no space, just forget it */
|
||||
buf->bh_space = len - slen;
|
||||
STRNCPY(p->b_str, s, slen);
|
||||
p->b_str[slen] = NUL;
|
||||
vim_strncpy(p->b_str, s, (size_t)slen);
|
||||
|
||||
p->b_next = buf->bh_curr->b_next;
|
||||
buf->bh_curr->b_next = p;
|
||||
@@ -1948,7 +1946,7 @@ vgetorpeek(advance)
|
||||
&& State != CONFIRM
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
&& !((ctrl_x_mode != 0 && vim_is_ctrl_x_key(c1))
|
||||
|| ((continue_status & CONT_LOCAL)
|
||||
|| ((compl_cont_status & CONT_LOCAL)
|
||||
&& (c1 == Ctrl_N || c1 == Ctrl_P)))
|
||||
#endif
|
||||
)
|
||||
|
||||
@@ -97,22 +97,28 @@ EXTERN colnr_T dollar_vcol INIT(= 0);
|
||||
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
/*
|
||||
* used for Insert mode completion
|
||||
* Variables for Insert mode completion.
|
||||
*/
|
||||
EXTERN int completion_length INIT(= 0);
|
||||
EXTERN int continue_status INIT(= 0);
|
||||
EXTERN int completion_interrupted INIT(= FALSE);
|
||||
|
||||
/* flags for continue_status */
|
||||
#define CONT_ADDING 1 /* "normal" or "adding" expansion */
|
||||
#define CONT_INTRPT (2 + 4) /* a ^X interrupted the current expansion */
|
||||
/* length of the text being completed (this is deleted to be replaced by the
|
||||
* match) */
|
||||
EXTERN int compl_length INIT(= 0);
|
||||
|
||||
/* Set when character typed while looking for matches and it means we should
|
||||
* stop looking for matches. */
|
||||
EXTERN int compl_interrupted INIT(= FALSE);
|
||||
|
||||
/* List of flags for method of completion. */
|
||||
EXTERN int compl_cont_status INIT(= 0);
|
||||
# define CONT_ADDING 1 /* "normal" or "adding" expansion */
|
||||
# define CONT_INTRPT (2 + 4) /* a ^X interrupted the current expansion */
|
||||
/* it's set only iff N_ADDS is set */
|
||||
#define CONT_N_ADDS 4 /* next ^X<> will add-new or expand-current */
|
||||
#define CONT_S_IPOS 8 /* next ^X<> will set initial_pos?
|
||||
# define CONT_N_ADDS 4 /* next ^X<> will add-new or expand-current */
|
||||
# define CONT_S_IPOS 8 /* next ^X<> will set initial_pos?
|
||||
* if so, word-wise-expansion will set SOL */
|
||||
#define CONT_SOL 16 /* pattern includes start of line, just for
|
||||
# define CONT_SOL 16 /* pattern includes start of line, just for
|
||||
* word-wise expansion, not set for ^X^L */
|
||||
#define CONT_LOCAL 32 /* for ctrl_x_mode 0, ^X^P/^X^N do a local
|
||||
# define CONT_LOCAL 32 /* for ctrl_x_mode 0, ^X^P/^X^N do a local
|
||||
* expansion, (eg use complete=.) */
|
||||
#endif
|
||||
|
||||
@@ -166,8 +172,6 @@ EXTERN int need_maketitle INIT(= TRUE); /* call maketitle() soon */
|
||||
#endif
|
||||
|
||||
EXTERN int quit_more INIT(= FALSE); /* 'q' hit at "--more--" msg */
|
||||
EXTERN int more_back INIT(= 0); /* 'b' or 'u' at "--more--" msg */
|
||||
EXTERN int more_back_used INIT(= FALSE); /* using more_back */
|
||||
#if defined(UNIX) || defined(__EMX__) || defined(VMS) || defined(MACOS_X)
|
||||
EXTERN int newline_on_exit INIT(= FALSE); /* did msg in altern. screen */
|
||||
EXTERN int intr_char INIT(= 0); /* extra interrupt character */
|
||||
@@ -790,17 +794,17 @@ EXTERN int finish_op INIT(= FALSE);/* TRUE while an operator is pending */
|
||||
EXTERN int exmode_active INIT(= 0); /* zero, EXMODE_NORMAL or EXMODE_VIM */
|
||||
EXTERN int ex_no_reprint INIT(= FALSE); /* no need to print after z or p */
|
||||
|
||||
EXTERN int Recording INIT(= FALSE);/* TRUE when recording into a reg. */
|
||||
EXTERN int Exec_reg INIT(= FALSE); /* TRUE when executing a register */
|
||||
EXTERN int Recording INIT(= FALSE); /* TRUE when recording into a reg. */
|
||||
EXTERN int Exec_reg INIT(= FALSE); /* TRUE when executing a register */
|
||||
|
||||
EXTERN int no_mapping INIT(= FALSE); /* currently no mapping allowed */
|
||||
EXTERN int no_zero_mapping INIT(= 0); /* mapping zero not allowed */
|
||||
EXTERN int allow_keys INIT(= FALSE); /* allow key codes when no_mapping
|
||||
EXTERN int no_mapping INIT(= FALSE); /* currently no mapping allowed */
|
||||
EXTERN int no_zero_mapping INIT(= 0); /* mapping zero not allowed */
|
||||
EXTERN int allow_keys INIT(= FALSE); /* allow key codes when no_mapping
|
||||
* is set */
|
||||
EXTERN int no_u_sync INIT(= 0); /* Don't call u_sync() */
|
||||
EXTERN int no_u_sync INIT(= 0); /* Don't call u_sync() */
|
||||
|
||||
EXTERN int restart_edit INIT(= 0); /* call edit when next cmd finished */
|
||||
EXTERN int arrow_used; /* Normally FALSE, set to TRUE after
|
||||
EXTERN int restart_edit INIT(= 0); /* call edit when next cmd finished */
|
||||
EXTERN int arrow_used; /* Normally FALSE, set to TRUE after
|
||||
* hitting cursor key in insert mode.
|
||||
* Used by vgetorpeek() to decide when
|
||||
* to call u_sync() */
|
||||
@@ -1080,6 +1084,9 @@ extern cursorentry_T shape_table[SHAPE_IDX_COUNT];
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_PRINTER
|
||||
/*
|
||||
* Printer stuff shared between hardcopy.c and machine-specific printing code.
|
||||
*/
|
||||
# define OPT_PRINT_TOP 0
|
||||
# define OPT_PRINT_BOT 1
|
||||
# define OPT_PRINT_LEFT 2
|
||||
@@ -1126,34 +1133,11 @@ EXTERN option_table_T printer_opts[OPT_PRINT_NUM_OPTIONS]
|
||||
# define PRT_UNIT_MM 2
|
||||
# define PRT_UNIT_POINT 3
|
||||
# define PRT_UNIT_NAMES {"pc", "in", "mm", "pt"}
|
||||
|
||||
# ifdef FEAT_MBYTE
|
||||
# define OPT_MBFONT_USECOURIER 0
|
||||
# define OPT_MBFONT_ASCII 1
|
||||
# define OPT_MBFONT_REGULAR 2
|
||||
# define OPT_MBFONT_BOLD 3
|
||||
# define OPT_MBFONT_OBLIQUE 4
|
||||
# define OPT_MBFONT_BOLDOBLIQUE 5
|
||||
# define OPT_MBFONT_NUM_OPTIONS 6
|
||||
#
|
||||
EXTERN option_table_T mbfont_opts[OPT_MBFONT_NUM_OPTIONS]
|
||||
# ifdef DO_INIT
|
||||
=
|
||||
{
|
||||
{"c", FALSE, 0, NULL, 0, FALSE},
|
||||
{"a", FALSE, 0, NULL, 0, FALSE},
|
||||
{"r", FALSE, 0, NULL, 0, FALSE},
|
||||
{"b", FALSE, 0, NULL, 0, FALSE},
|
||||
{"i", FALSE, 0, NULL, 0, FALSE},
|
||||
{"o", FALSE, 0, NULL, 0, FALSE},
|
||||
}
|
||||
# endif
|
||||
;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_XCLIPBOARD
|
||||
EXTERN char *xterm_display INIT(= NULL); /* xterm display name */
|
||||
EXTERN char *xterm_display INIT(= NULL); /* xterm display name; points
|
||||
into argv[] */
|
||||
EXTERN Display *xterm_dpy INIT(= NULL); /* xterm display pointer */
|
||||
#endif
|
||||
#if defined(FEAT_XCLIPBOARD) || defined(FEAT_GUI_X11)
|
||||
@@ -1411,7 +1395,8 @@ EXTERN char_u e_invexprmsg[] INIT(=N_("E449: Invalid expression received"));
|
||||
EXTERN char_u e_guarded[] INIT(=N_("E463: Region is guarded, cannot modify"));
|
||||
EXTERN char_u e_nbreadonly[] INIT(=N_("E744: NetBeans does not allow changes in read-only files"));
|
||||
#endif
|
||||
#if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) || defined(PROTO)
|
||||
#if defined(FEAT_INS_EXPAND) || defined(FEAT_EVAL) || defined(FEAT_SYN_HL) \
|
||||
|| defined(PROTO)
|
||||
EXTERN char_u e_intern2[] INIT(=N_("E685: Internal error: %s"));
|
||||
#endif
|
||||
EXTERN char_u e_maxmempat[] INIT(=N_("E363: pattern uses more memory than 'maxmempattern'"));
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user