mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0f04
This commit is contained in:
parent
c1b5286315
commit
bd2ac7ec09
@ -2,8 +2,28 @@
|
|||||||
" Language: Debian Changelog
|
" Language: Debian Changelog
|
||||||
" Maintainer: Michael Piefel <piefel@informatik.hu-berlin.de>
|
" Maintainer: Michael Piefel <piefel@informatik.hu-berlin.de>
|
||||||
" Stefano Zacchiroli <zack@debian.org>
|
" Stefano Zacchiroli <zack@debian.org>
|
||||||
" Last Change: 27 April 2006
|
" Last Change: $LastChangedDate: 2006-04-28 12:15:12 -0400 (ven, 28 apr 2006) $
|
||||||
" License: GNU GPL, version 2.1 or later
|
" License: GNU GPL, version 2.0 or later
|
||||||
|
" URL: http://svn.debian.org/wsvn/pkg-vim/trunk/runtime/ftplugin/debchangelog.vim?op=file&rev=0&sc=0
|
||||||
|
|
||||||
|
if exists("b:did_ftplugin")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
|
" {{{1 Local settings (do on every load)
|
||||||
|
setlocal foldmethod=expr
|
||||||
|
setlocal foldexpr=GetDebChangelogFold(v:lnum)
|
||||||
|
setlocal foldtext=DebChangelogFoldText()
|
||||||
|
|
||||||
|
" Debian changelogs are not supposed to have any other text width,
|
||||||
|
" so the user cannot override this setting
|
||||||
|
setlocal tw=78
|
||||||
|
setlocal comments=f:*
|
||||||
|
|
||||||
|
" Clean unloading
|
||||||
|
let b:undo_ftplugin = "setlocal tw< comments< foldmethod< foldexpr< foldtext<"
|
||||||
|
" }}}1
|
||||||
|
|
||||||
if exists("g:did_changelog_ftplugin")
|
if exists("g:did_changelog_ftplugin")
|
||||||
finish
|
finish
|
||||||
@ -82,7 +102,7 @@ function NewVersion()
|
|||||||
amenu enable Changelog.Set\ Urgency
|
amenu enable Changelog.Set\ Urgency
|
||||||
amenu disable Changelog.Unfinalise
|
amenu disable Changelog.Unfinalise
|
||||||
amenu enable Changelog.Finalise
|
amenu enable Changelog.Finalise
|
||||||
call append(0, substitute(getline(1),'-\([[:digit:]]\+\))', '-Ü\1)', ''))
|
call append(0, substitute(getline(1), '-\([[:digit:]]\+\))', '-$$\1)', ''))
|
||||||
call append(1, "")
|
call append(1, "")
|
||||||
call append(2, "")
|
call append(2, "")
|
||||||
call append(3, " -- ")
|
call append(3, " -- ")
|
||||||
@ -93,7 +113,8 @@ function NewVersion()
|
|||||||
call search(")")
|
call search(")")
|
||||||
normal h
|
normal h
|
||||||
normal
|
normal
|
||||||
call setline(1, substitute(getline(1),'-Ü\([[:digit:]]\+\))', '-\1)', ''))
|
call setline(1, substitute(getline(1), '-\$\$', '-', ''))
|
||||||
|
normal zo
|
||||||
call AddEntry()
|
call AddEntry()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
@ -206,10 +227,6 @@ augroup END
|
|||||||
" }}}
|
" }}}
|
||||||
" {{{1 folding
|
" {{{1 folding
|
||||||
|
|
||||||
setlocal foldmethod=expr
|
|
||||||
setlocal foldexpr=GetDebChangelogFold(v:lnum)
|
|
||||||
setlocal foldtext=DebChangelogFoldText()
|
|
||||||
|
|
||||||
" look for an author name searching backward from a given line number
|
" look for an author name searching backward from a given line number
|
||||||
function! s:getAuthor(lnum)
|
function! s:getAuthor(lnum)
|
||||||
let line = getline(a:lnum)
|
let line = getline(a:lnum)
|
||||||
@ -245,12 +262,4 @@ endfunction
|
|||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Debian changelogs are not supposed to have any other text width,
|
|
||||||
" so the user cannot override this setting
|
|
||||||
setlocal tw=78
|
|
||||||
setlocal comments=f:*
|
|
||||||
|
|
||||||
" Clean unloading
|
|
||||||
let b:undo_ftplugin = "setlocal tw< comments< foldmethod< foldexpr< foldtext<"
|
|
||||||
|
|
||||||
" vim: set foldmethod=marker:
|
" vim: set foldmethod=marker:
|
||||||
|
@ -3394,6 +3394,11 @@ gui_update_tabline()
|
|||||||
|
|
||||||
if (!gui.starting && starting == 0)
|
if (!gui.starting && starting == 0)
|
||||||
{
|
{
|
||||||
|
/* Updating the tabline uses direct GUI commands, flush
|
||||||
|
* outstanding instructions first. (esp. clear screen) */
|
||||||
|
out_flush();
|
||||||
|
gui_mch_flush();
|
||||||
|
|
||||||
if (!showit != !shown)
|
if (!showit != !shown)
|
||||||
gui_mch_show_tabline(showit);
|
gui_mch_show_tabline(showit);
|
||||||
if (showit != 0)
|
if (showit != 0)
|
||||||
|
@ -910,7 +910,7 @@ msgstr ""
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "# Value of 'encoding' when this file was written\n"
|
msgid "# Value of 'encoding' when this file was written\n"
|
||||||
msgstr "# Wartość 'encoding' w czasie zapsu tego pliku\n"
|
msgstr "# Wartość 'encoding' w czasie zapisu tego pliku\n"
|
||||||
|
|
||||||
msgid "Illegal starting char"
|
msgid "Illegal starting char"
|
||||||
msgstr "Niedopuszczalny początkowy znak"
|
msgstr "Niedopuszczalny początkowy znak"
|
||||||
@ -1483,7 +1483,7 @@ msgstr "Wczytywanie ze stdin..."
|
|||||||
|
|
||||||
#. Re-opening the original file failed!
|
#. Re-opening the original file failed!
|
||||||
msgid "E202: Conversion made file unreadable!"
|
msgid "E202: Conversion made file unreadable!"
|
||||||
msgstr "E202: Plik stworzony poprzez przemianę jest nieodczytywalny!"
|
msgstr "E202: Nie można otworzyć pliku utworzonego przez przemianę!"
|
||||||
|
|
||||||
msgid "[fifo/socket]"
|
msgid "[fifo/socket]"
|
||||||
msgstr "[fifo/socket]"
|
msgstr "[fifo/socket]"
|
||||||
@ -1648,13 +1648,13 @@ msgid "[mac]"
|
|||||||
msgstr "[mac]"
|
msgstr "[mac]"
|
||||||
|
|
||||||
msgid "[mac format]"
|
msgid "[mac format]"
|
||||||
msgstr "[format mac-a]"
|
msgstr "[format maca]"
|
||||||
|
|
||||||
msgid "[unix]"
|
msgid "[unix]"
|
||||||
msgstr "[unix]"
|
msgstr "[unix]"
|
||||||
|
|
||||||
msgid "[unix format]"
|
msgid "[unix format]"
|
||||||
msgstr "[format unix-a]"
|
msgstr "[format unixa]"
|
||||||
|
|
||||||
msgid "1 line, "
|
msgid "1 line, "
|
||||||
msgstr "1 wiersz, "
|
msgstr "1 wiersz, "
|
||||||
@ -1928,7 +1928,7 @@ msgid "Input _Methods"
|
|||||||
msgstr "Input _Methods"
|
msgstr "Input _Methods"
|
||||||
|
|
||||||
msgid "VIM - Search and Replace..."
|
msgid "VIM - Search and Replace..."
|
||||||
msgstr "VIM - Szukaj i Zamieniaj..."
|
msgstr "VIM - Szukaj i Zamień..."
|
||||||
|
|
||||||
msgid "VIM - Search..."
|
msgid "VIM - Search..."
|
||||||
msgstr "VIM - Szukaj..."
|
msgstr "VIM - Szukaj..."
|
||||||
@ -1967,7 +1967,7 @@ msgid "Replace All"
|
|||||||
msgstr "Zamień wszystkie"
|
msgstr "Zamień wszystkie"
|
||||||
|
|
||||||
msgid "Vim: Received \"die\" request from session manager\n"
|
msgid "Vim: Received \"die\" request from session manager\n"
|
||||||
msgstr "Vim: otrzymano żądanie \"die\" od manadżera sesji\n"
|
msgstr "Vim: otrzymano żądanie \"die\" od menedżera sesji\n"
|
||||||
|
|
||||||
msgid "Close"
|
msgid "Close"
|
||||||
msgstr "Zamknij"
|
msgstr "Zamknij"
|
||||||
@ -2463,7 +2463,7 @@ msgid "writelines() requires list of strings"
|
|||||||
msgstr "writelines() wymaga listy ciągów"
|
msgstr "writelines() wymaga listy ciągów"
|
||||||
|
|
||||||
msgid "E264: Python: Error initialising I/O objects"
|
msgid "E264: Python: Error initialising I/O objects"
|
||||||
msgstr "E264: Python: Błąd w inicjalizacji obiektów I/O"
|
msgstr "E264: Python: Błąd w uruchomieniu obiektów I/O"
|
||||||
|
|
||||||
msgid "attempt to refer to deleted buffer"
|
msgid "attempt to refer to deleted buffer"
|
||||||
msgstr "próba odniesienia do skasowanego bufora"
|
msgstr "próba odniesienia do skasowanego bufora"
|
||||||
@ -2542,7 +2542,7 @@ msgid "Show base class of"
|
|||||||
msgstr "Pokaż bazę klasy"
|
msgstr "Pokaż bazę klasy"
|
||||||
|
|
||||||
msgid "Show overridden member function"
|
msgid "Show overridden member function"
|
||||||
msgstr "Pokaż przepisaną funkcję członkową"
|
msgstr "Pokaż przepisaną funkcję członową"
|
||||||
|
|
||||||
msgid "Retrieve from file"
|
msgid "Retrieve from file"
|
||||||
msgstr "Pobieraj z pliku"
|
msgstr "Pobieraj z pliku"
|
||||||
@ -2587,7 +2587,7 @@ msgid "Show docu of"
|
|||||||
msgstr "Pokaż dokumentację dla"
|
msgstr "Pokaż dokumentację dla"
|
||||||
|
|
||||||
msgid "Generate docu for"
|
msgid "Generate docu for"
|
||||||
msgstr "Wygeneruj dokumentację dla"
|
msgstr "Utwórz dokumentację dla"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Cannot connect to SNiFF+. Check environment (sniffemacs must be found in "
|
"Cannot connect to SNiFF+. Check environment (sniffemacs must be found in "
|
||||||
|
@ -1,54 +1,56 @@
|
|||||||
/* ex_getln.c */
|
/* ex_getln.c */
|
||||||
extern char_u *getcmdline __ARGS((int firstc, long count, int indent));
|
char_u *getcmdline __ARGS((int firstc, long count, int indent));
|
||||||
extern char_u *getcmdline_prompt __ARGS((int firstc, char_u *prompt, int attr, int xp_context, char_u *xp_arg));
|
char_u *getcmdline_prompt __ARGS((int firstc, char_u *prompt, int attr, int xp_context, char_u *xp_arg));
|
||||||
extern int text_locked __ARGS((void));
|
int text_locked __ARGS((void));
|
||||||
extern void text_locked_msg __ARGS((void));
|
void text_locked_msg __ARGS((void));
|
||||||
extern int curbuf_locked __ARGS((void));
|
int curbuf_locked __ARGS((void));
|
||||||
extern char_u *getexline __ARGS((int c, void *dummy, int indent));
|
char_u *getexline __ARGS((int c, void *dummy, int indent));
|
||||||
extern char_u *getexmodeline __ARGS((int promptc, void *dummy, int indent));
|
char_u *getexmodeline __ARGS((int promptc, void *dummy, int indent));
|
||||||
extern int cmdline_overstrike __ARGS((void));
|
int cmdline_overstrike __ARGS((void));
|
||||||
extern int cmdline_at_end __ARGS((void));
|
int cmdline_at_end __ARGS((void));
|
||||||
extern colnr_T cmdline_getvcol_cursor __ARGS((void));
|
colnr_T cmdline_getvcol_cursor __ARGS((void));
|
||||||
extern void free_cmdline_buf __ARGS((void));
|
void free_cmdline_buf __ARGS((void));
|
||||||
extern void putcmdline __ARGS((int c, int shift));
|
void putcmdline __ARGS((int c, int shift));
|
||||||
extern void unputcmdline __ARGS((void));
|
void unputcmdline __ARGS((void));
|
||||||
extern int put_on_cmdline __ARGS((char_u *str, int len, int redraw));
|
int put_on_cmdline __ARGS((char_u *str, int len, int redraw));
|
||||||
extern void cmdline_paste_str __ARGS((char_u *s, int literally));
|
char_u *save_cmdline_alloc __ARGS((void));
|
||||||
extern void redrawcmdline __ARGS((void));
|
void restore_cmdline_alloc __ARGS((char_u *p));
|
||||||
extern void redrawcmd __ARGS((void));
|
void cmdline_paste_str __ARGS((char_u *s, int literally));
|
||||||
extern void compute_cmdrow __ARGS((void));
|
void redrawcmdline __ARGS((void));
|
||||||
extern void gotocmdline __ARGS((int clr));
|
void redrawcmd __ARGS((void));
|
||||||
extern char_u *ExpandOne __ARGS((expand_T *xp, char_u *str, char_u *orig, int options, int mode));
|
void compute_cmdrow __ARGS((void));
|
||||||
extern void ExpandInit __ARGS((expand_T *xp));
|
void gotocmdline __ARGS((int clr));
|
||||||
extern void ExpandCleanup __ARGS((expand_T *xp));
|
char_u *ExpandOne __ARGS((expand_T *xp, char_u *str, char_u *orig, int options, int mode));
|
||||||
extern void ExpandEscape __ARGS((expand_T *xp, char_u *str, int numfiles, char_u **files, int options));
|
void ExpandInit __ARGS((expand_T *xp));
|
||||||
extern void tilde_replace __ARGS((char_u *orig_pat, int num_files, char_u **files));
|
void ExpandCleanup __ARGS((expand_T *xp));
|
||||||
extern char_u *sm_gettail __ARGS((char_u *s));
|
void ExpandEscape __ARGS((expand_T *xp, char_u *str, int numfiles, char_u **files, int options));
|
||||||
extern char_u *addstar __ARGS((char_u *fname, int len, int context));
|
void tilde_replace __ARGS((char_u *orig_pat, int num_files, char_u **files));
|
||||||
extern void set_cmd_context __ARGS((expand_T *xp, char_u *str, int len, int col));
|
char_u *sm_gettail __ARGS((char_u *s));
|
||||||
extern int expand_cmdline __ARGS((expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches));
|
char_u *addstar __ARGS((char_u *fname, int len, int context));
|
||||||
extern int ExpandGeneric __ARGS((expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, char_u *((*func)(expand_T *, int))));
|
void set_cmd_context __ARGS((expand_T *xp, char_u *str, int len, int col));
|
||||||
extern char_u *globpath __ARGS((char_u *path, char_u *file));
|
int expand_cmdline __ARGS((expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches));
|
||||||
extern void init_history __ARGS((void));
|
int ExpandGeneric __ARGS((expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, char_u *((*func)(expand_T *, int))));
|
||||||
extern int get_histtype __ARGS((char_u *name));
|
char_u *globpath __ARGS((char_u *path, char_u *file));
|
||||||
extern void add_to_history __ARGS((int histype, char_u *new_entry, int in_map, int sep));
|
void init_history __ARGS((void));
|
||||||
extern int get_history_idx __ARGS((int histype));
|
int get_histtype __ARGS((char_u *name));
|
||||||
extern char_u *get_cmdline_str __ARGS((void));
|
void add_to_history __ARGS((int histype, char_u *new_entry, int in_map, int sep));
|
||||||
extern int get_cmdline_pos __ARGS((void));
|
int get_history_idx __ARGS((int histype));
|
||||||
extern int set_cmdline_pos __ARGS((int pos));
|
char_u *get_cmdline_str __ARGS((void));
|
||||||
extern int get_cmdline_type __ARGS((void));
|
int get_cmdline_pos __ARGS((void));
|
||||||
extern char_u *get_history_entry __ARGS((int histype, int idx));
|
int set_cmdline_pos __ARGS((int pos));
|
||||||
extern int clr_history __ARGS((int histype));
|
int get_cmdline_type __ARGS((void));
|
||||||
extern int del_history_entry __ARGS((int histype, char_u *str));
|
char_u *get_history_entry __ARGS((int histype, int idx));
|
||||||
extern int del_history_idx __ARGS((int histype, int idx));
|
int clr_history __ARGS((int histype));
|
||||||
extern void remove_key_from_history __ARGS((void));
|
int del_history_entry __ARGS((int histype, char_u *str));
|
||||||
extern int get_list_range __ARGS((char_u **str, int *num1, int *num2));
|
int del_history_idx __ARGS((int histype, int idx));
|
||||||
extern void ex_history __ARGS((exarg_T *eap));
|
void remove_key_from_history __ARGS((void));
|
||||||
extern void prepare_viminfo_history __ARGS((int asklen));
|
int get_list_range __ARGS((char_u **str, int *num1, int *num2));
|
||||||
extern int read_viminfo_history __ARGS((vir_T *virp));
|
void ex_history __ARGS((exarg_T *eap));
|
||||||
extern void finish_viminfo_history __ARGS((void));
|
void prepare_viminfo_history __ARGS((int asklen));
|
||||||
extern void write_viminfo_history __ARGS((FILE *fp));
|
int read_viminfo_history __ARGS((vir_T *virp));
|
||||||
extern void cmd_pchar __ARGS((int c, int offset));
|
void finish_viminfo_history __ARGS((void));
|
||||||
extern int cmd_gchar __ARGS((int offset));
|
void write_viminfo_history __ARGS((FILE *fp));
|
||||||
extern char_u *script_get __ARGS((exarg_T *eap, char_u *cmd));
|
void cmd_pchar __ARGS((int c, int offset));
|
||||||
|
int cmd_gchar __ARGS((int offset));
|
||||||
|
char_u *script_get __ARGS((exarg_T *eap, char_u *cmd));
|
||||||
/* vim: set ft=c : */
|
/* vim: set ft=c : */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user