forked from aniani/vim
updated for version 7.0044
This commit is contained in:
parent
aab21c3533
commit
281bdcec60
@ -1,4 +1,4 @@
|
|||||||
*if_mzsch.txt* For Vim version 7.0aa. Last change: 2004 Jul 05
|
*if_mzsch.txt* For Vim version 7.0aa. Last change: 2005 Jan 23
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Sergey Khorev
|
VIM REFERENCE MANUAL by Sergey Khorev
|
||||||
@ -17,6 +17,7 @@ The MzScheme interface is available only if Vim was compiled with the
|
|||||||
|+mzscheme| feature.
|
|+mzscheme| feature.
|
||||||
|
|
||||||
Based on the work of Brent Fulgham.
|
Based on the work of Brent Fulgham.
|
||||||
|
Dynamic loading added by Sergey Khorev
|
||||||
|
|
||||||
For downloading MzScheme and other info:
|
For downloading MzScheme and other info:
|
||||||
http://www.plt-scheme.org/software/mzscheme/
|
http://www.plt-scheme.org/software/mzscheme/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" ipfilter syntax file
|
" ipfilter syntax file
|
||||||
" Language: ipfilter configuration file
|
" Language: ipfilter configuration file
|
||||||
" Maintainer: Hendrik Scholz <hendrik@scholz.net>
|
" Maintainer: Hendrik Scholz <hendrik@scholz.net>
|
||||||
" Last Change: 2003 May 11
|
" Last Change: 2005 Jan 23
|
||||||
"
|
"
|
||||||
" http://raisdorf.net/files/misc/ipfilter.vim
|
" http://raisdorf.net/files/misc/ipfilter.vim
|
||||||
"
|
"
|
||||||
@ -18,8 +18,8 @@ elseif exists("b:current_syntax")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" comments
|
" comments
|
||||||
syn match ipfComment /#/
|
"syn match ipfComment /#/
|
||||||
"syn match ipfComment /#.*/
|
syn match ipfComment /#.*/
|
||||||
|
|
||||||
syn keyword ipfQuick quick log dup-to
|
syn keyword ipfQuick quick log dup-to
|
||||||
syn keyword ipfAny all any
|
syn keyword ipfAny all any
|
||||||
@ -38,6 +38,6 @@ hi def link ipfActionPass Type
|
|||||||
hi def link ipfActionMisc Label
|
hi def link ipfActionMisc Label
|
||||||
"hi def link ipfQuick Error
|
"hi def link ipfQuick Error
|
||||||
hi def link ipfQuick Special
|
hi def link ipfQuick Special
|
||||||
hi def link ipfAny Todo
|
hi def link ipfAny Statement
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,6 +18,16 @@
|
|||||||
# RUBY define to path to Ruby dir to get Ruby support (not defined)
|
# RUBY define to path to Ruby dir to get Ruby support (not defined)
|
||||||
# RUBY_VER define to version of Ruby being used (16)
|
# RUBY_VER define to version of Ruby being used (16)
|
||||||
# DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes)
|
# DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes)
|
||||||
|
# MZSCHEME define to path to MzScheme dir to get MZSCHEME support (not defined)
|
||||||
|
# MZSCHEME_VER define to version of MzScheme being used (209_000)
|
||||||
|
# DYNAMIC_MZSCHEME no or yes: use yes to load the MzScheme DLLs dynamically (yes)
|
||||||
|
# MZSCHEME_DLLS path to MzScheme DLLs (libmzgc and libmzsch).
|
||||||
|
# Is used for DYNAMIC_MZSCHEME=no only.
|
||||||
|
# c:/windows/system32 isn't a good idea, copy them to some
|
||||||
|
# dir and point MZSCHEME_DLLS to this dir.
|
||||||
|
# By default $(MZSCHEME) will be used. You can remove
|
||||||
|
# these DLLs from $(MZSCHEME_DLLS) after you
|
||||||
|
# built Vim (they are used for dll "static" linking only)
|
||||||
# GETTEXT no or yes: set to yes for dynamic gettext support (yes)
|
# GETTEXT no or yes: set to yes for dynamic gettext support (yes)
|
||||||
# ICONV no or yes: set to yes for dynamic iconv support (yes)
|
# ICONV no or yes: set to yes for dynamic iconv support (yes)
|
||||||
# MBYTE no or yes: set to yes to include multibyte support (yes)
|
# MBYTE no or yes: set to yes to include multibyte support (yes)
|
||||||
@ -189,6 +199,33 @@ EXTRA_LIBS += $(RUBY)/lib/$(RUBY_INSTALL_NAME).lib
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
##############################
|
||||||
|
# DYNAMIC_MZSCHEME=yes works
|
||||||
|
# DYNAMIC_MZSCHEME=no works too
|
||||||
|
##############################
|
||||||
|
ifdef MZSCHEME
|
||||||
|
DEFINES += -DFEAT_MZSCHEME
|
||||||
|
INCLUDES += -I$(MZSCHEME)/include
|
||||||
|
EXTRA_OBJS += $(OUTDIR)/if_mzsch.o
|
||||||
|
|
||||||
|
ifndef DYNAMIC_MZSCHEME
|
||||||
|
DYNAMIC_MZSCHEME = yes
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifndef MZSCHEME_VER
|
||||||
|
MZSCHEME_VER = 209_000
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq (yes, $(DYNAMIC_MZSCHEME))
|
||||||
|
DEFINES += -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libmzsch$(MZSCHEME_VER).dll\" -DDYNAMIC_MZGC_DLL=\"libmzgc$(MZSCHEME_VER).dll\"
|
||||||
|
else
|
||||||
|
ifndef MZSCHEME_DLLS
|
||||||
|
MZSCHEME_DLLS = $(MZSCHEME)
|
||||||
|
endif
|
||||||
|
EXTRA_LIBS += -L$(MZSCHEME_DLLS) -lmzsch$(MZSCHEME_VER) -lmzgc$(MZSCHEME_VER)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
# DYNAMIC_TCL=yes and no both work.
|
# DYNAMIC_TCL=yes and no both work.
|
||||||
##############################
|
##############################
|
||||||
|
@ -107,16 +107,26 @@ endif
|
|||||||
# uncomment 'MZSCHEME' if you want a MzScheme-enabled version
|
# uncomment 'MZSCHEME' if you want a MzScheme-enabled version
|
||||||
#MZSCHEME=d:/plt
|
#MZSCHEME=d:/plt
|
||||||
ifdef MZSCHEME
|
ifdef MZSCHEME
|
||||||
|
ifndef DYNAMIC_MZSCHEME
|
||||||
|
DYNAMIC_MZSCHEME=yes
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef MZSCHEME_VER
|
ifndef MZSCHEME_VER
|
||||||
MZSCHEME_VER=205_000
|
MZSCHEME_VER=205_000
|
||||||
endif
|
endif
|
||||||
# the modern MinGW can dynamically link to dlls directly
|
|
||||||
# point MZSCHEME_LIBDIR to where you put libmzschXXXXXXX.dll and libgcXXXXXXX.dll
|
ifeq (no,$(DYNAMIC_MZSCHEME))
|
||||||
|
MZSCHEME_LIB = -lmzsch$(MZSCHEME_VER) -lmzgc$(MZSCHEME_VER)
|
||||||
|
# the modern MinGW can dynamically link to dlls directly.
|
||||||
|
# point MZSCHEME_DLLS to where you put libmzschXXXXXXX.dll and libgcXXXXXXX.dll
|
||||||
# c:/windows/system32 isn't a good idea, use some other dir;
|
# c:/windows/system32 isn't a good idea, use some other dir;
|
||||||
# to build you can put them in temp dir)
|
# to build you can put them in temp dir)
|
||||||
ifndef MZSCHEME_LIBDIR
|
ifndef MZSCHEME_DLLS
|
||||||
MZSCHEME_LIBDIR=-L$(MZSCHEME)
|
MZSCHEME_DLLS=$(MZSCHEME)
|
||||||
endif
|
endif
|
||||||
|
MZSCHEME_LIBDIR=-L$(MZSCHEME_DLLS)
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Python support -- works with the ActiveState python 2.0 release (and others
|
# Python support -- works with the ActiveState python 2.0 release (and others
|
||||||
@ -270,6 +280,9 @@ endif
|
|||||||
|
|
||||||
ifdef MZSCHEME
|
ifdef MZSCHEME
|
||||||
CFLAGS += -I$(MZSCHEME)/include -DFEAT_MZSCHEME -DMZSCHEME_COLLECTS=\"$(MZSCHEME)/collects\"
|
CFLAGS += -I$(MZSCHEME)/include -DFEAT_MZSCHEME -DMZSCHEME_COLLECTS=\"$(MZSCHEME)/collects\"
|
||||||
|
ifeq (yes, $(DYNAMIC_MZSCHEME))
|
||||||
|
CFLAGS += -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libmzsch$(MZSCHEME_VER).dll\" -DDYNAMIC_MZGC_DLL=\"libmzgc$(MZSCHEME_VER).dll\"
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef RUBY
|
ifdef RUBY
|
||||||
@ -461,10 +474,6 @@ LIB += -lperl$(PERL_VER)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef MZSCHEME
|
|
||||||
MZSCHEME_LIB = -lmzsch$(MZSCHEME_VER) -lmzgc$(MZSCHEME_VER)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef TCL
|
ifdef TCL
|
||||||
LIB += -L$(TCL)/lib
|
LIB += -L$(TCL)/lib
|
||||||
ifeq (yes, $(DYNAMIC_TCL))
|
ifeq (yes, $(DYNAMIC_TCL))
|
||||||
|
2
src/configure
vendored
2
src/configure
vendored
@ -2,3 +2,5 @@
|
|||||||
# run the automatically generated configure script
|
# run the automatically generated configure script
|
||||||
CONFIG_STATUS=auto/config.status \
|
CONFIG_STATUS=auto/config.status \
|
||||||
auto/configure "$@" --srcdir="${srcdir-.}" --cache-file=auto/config.cache
|
auto/configure "$@" --srcdir="${srcdir-.}" --cache-file=auto/config.cache
|
||||||
|
# Stupid autoconf 2.5x causes this file to be left behind.
|
||||||
|
if test -f configure.lineno; then rm -f configure.lineno; fi
|
||||||
|
@ -7749,7 +7749,7 @@ ex_mkrc(eap)
|
|||||||
/* When using 'viewdir' may have to create the directory. */
|
/* When using 'viewdir' may have to create the directory. */
|
||||||
if (using_vdir && !mch_isdir(p_vdir))
|
if (using_vdir && !mch_isdir(p_vdir))
|
||||||
if (vim_mkdir(p_vdir, 0755) != 0)
|
if (vim_mkdir(p_vdir, 0755) != 0)
|
||||||
EMSG2(_("E738: Cannot create directory: %s"), p_vdir);
|
EMSG2(_("E739: Cannot create directory: %s"), p_vdir);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
fd = open_exfile(fname, eap->forceit, WRITEBIN);
|
fd = open_exfile(fname, eap->forceit, WRITEBIN);
|
||||||
|
@ -136,6 +136,7 @@ EXTERN int msg_scrolled_ign INIT(= FALSE);
|
|||||||
|
|
||||||
EXTERN char_u *keep_msg INIT(= NULL); /* msg to be shown after redraw */
|
EXTERN char_u *keep_msg INIT(= NULL); /* msg to be shown after redraw */
|
||||||
EXTERN int keep_msg_attr INIT(= 0); /* highlight attr for keep_msg */
|
EXTERN int keep_msg_attr INIT(= 0); /* highlight attr for keep_msg */
|
||||||
|
EXTERN int keep_msg_more INIT(= FALSE); /* keep_msg was set by msgmore() */
|
||||||
EXTERN int need_fileinfo INIT(= FALSE);/* do fileinfo() after redraw */
|
EXTERN int need_fileinfo INIT(= FALSE);/* do fileinfo() after redraw */
|
||||||
EXTERN int msg_scroll INIT(= FALSE); /* msg_start() will scroll */
|
EXTERN int msg_scroll INIT(= FALSE); /* msg_start() will scroll */
|
||||||
EXTERN int msg_didout INIT(= FALSE); /* msg_outstr() was used in line */
|
EXTERN int msg_didout INIT(= FALSE); /* msg_outstr() was used in line */
|
||||||
@ -1278,7 +1279,7 @@ EXTERN char_u e_libcall[] INIT(=N_("E364: Library call failed for \"%s()\""));
|
|||||||
#endif
|
#endif
|
||||||
#if defined(DYNAMIC_PERL) || defined(DYNAMIC_PYTHON) || defined(DYNAMIC_RUBY) \
|
#if defined(DYNAMIC_PERL) || defined(DYNAMIC_PYTHON) || defined(DYNAMIC_RUBY) \
|
||||||
|| defined(DYNAMIC_TCL) || defined(DYNAMIC_ICONV) \
|
|| defined(DYNAMIC_TCL) || defined(DYNAMIC_ICONV) \
|
||||||
|| defined(DYNAMIC_GETTEXT)
|
|| defined(DYNAMIC_GETTEXT) || defined(DYNAMIC_MZSCHEME)
|
||||||
EXTERN char_u e_loadlib[] INIT(=N_("E370: Could not load library %s"));
|
EXTERN char_u e_loadlib[] INIT(=N_("E370: Could not load library %s"));
|
||||||
EXTERN char_u e_loadfunc[] INIT(=N_("E448: Could not load library function %s"));
|
EXTERN char_u e_loadfunc[] INIT(=N_("E448: Could not load library function %s"));
|
||||||
#endif
|
#endif
|
||||||
|
@ -249,15 +249,6 @@
|
|||||||
# define CURSOR_BAR_RIGHT (curwin->w_p_rl && (!(State & CMDLINE) || cmdmsg_rl))
|
# define CURSOR_BAR_RIGHT (curwin->w_p_rl && (!(State & CMDLINE) || cmdmsg_rl))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FEAT_LINEBREAK
|
|
||||||
/* Without the 'numberwidth' option line numbers are always 7 chars. */
|
|
||||||
# define number_width(x) 7
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef FEAT_MBYTE
|
|
||||||
# define after_pathsep(b, p) vim_ispathsep(*((p) - 1))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* mb_ptr_adv(): advance a pointer to the next character, taking care of
|
* mb_ptr_adv(): advance a pointer to the next character, taking care of
|
||||||
* multi-byte characters if needed.
|
* multi-byte characters if needed.
|
||||||
|
@ -3,7 +3,7 @@ int init_chartab __ARGS((void));
|
|||||||
int buf_init_chartab __ARGS((buf_T *buf, int global));
|
int buf_init_chartab __ARGS((buf_T *buf, int global));
|
||||||
void trans_characters __ARGS((char_u *buf, int bufsize));
|
void trans_characters __ARGS((char_u *buf, int bufsize));
|
||||||
char_u *transstr __ARGS((char_u *s));
|
char_u *transstr __ARGS((char_u *s));
|
||||||
char_u *str_foldcase __ARGS((char_u *str, int len));
|
char_u *str_foldcase __ARGS((char_u *str, int orglen, char_u *buf, int buflen));
|
||||||
char_u *transchar __ARGS((int c));
|
char_u *transchar __ARGS((int c));
|
||||||
char_u *transchar_byte __ARGS((int c));
|
char_u *transchar_byte __ARGS((int c));
|
||||||
void transchar_nonprint __ARGS((char_u *buf, int c));
|
void transchar_nonprint __ARGS((char_u *buf, int c));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user