0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

Updated runtime files.

This commit is contained in:
Bram Moolenaar 2010-05-14 23:24:24 +02:00
parent f1eeae94fd
commit 00a927d62b
80 changed files with 5671 additions and 2277 deletions

View File

@ -1,7 +1,7 @@
" Vim completion script " Vim completion script
" Language: C " Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2007 Aug 30 " Last Change: 2010 Mar 23
" This function is used for the 'omnifunc' option. " This function is used for the 'omnifunc' option.
@ -161,7 +161,7 @@ function! ccomplete#Complete(findstart, base)
let res = [{'match': match, 'tagline' : '', 'kind' : kind, 'info' : line}] let res = [{'match': match, 'tagline' : '', 'kind' : kind, 'info' : line}]
else else
" Completing "var.", "var.something", etc. " Completing "var.", "var.something", etc.
let res = s:Nextitem(strpart(line, 0, col), items[-1], 0, 1) let res = s:Nextitem(strpart(line, 0, col), items[1:], 0, 1)
endif endif
endif endif

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,23 @@
" Vim OMNI completion script for SQL " Vim OMNI completion script for SQL
" Language: SQL " Language: SQL
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com> " Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
" Version: 7.0 " Version: 9.0
" Last Change: 2009 Jan 04 " Last Change: 2010 Apr 20
" Usage: For detailed help " Usage: For detailed help
" ":help sql.txt" " ":help sql.txt"
" or ":help ft-sql-omni" " or ":help ft-sql-omni"
" or read $VIMRUNTIME/doc/sql.txt " or read $VIMRUNTIME/doc/sql.txt
" History " History
" Version 9.0
" This change removes some of the support for tables with spaces in their
" names in order to simplify the regexes used to pull out query table
" aliases for more robust table name and column name code completion.
" Full support for "table names with spaces" can be added in again
" after 7.3.
" Version 8.0
" Incorrectly re-executed the g:ftplugin_sql_omni_key_right and g:ftplugin_sql_omni_key_left
" when drilling in and out of a column list for a table.
" Version 7.0 " Version 7.0
" Better handling of object names " Better handling of object names
" Version 6.0 " Version 6.0
@ -250,7 +259,7 @@ function! sqlcomplete#Complete(findstart, base)
" 1. Check if the dbext plugin has the option turned " 1. Check if the dbext plugin has the option turned
" on to even allow owners " on to even allow owners
" 2. Based on 1, if the user is showing a table list " 2. Based on 1, if the user is showing a table list
" and the DrillIntoTable (using <C-Right>) then " and the DrillIntoTable (using <Right>) then
" this will be owner.table. In this case, we can " this will be owner.table. In this case, we can
" check to see the table.column exists in the " check to see the table.column exists in the
" cached table list. If it does, then we have " cached table list. If it does, then we have
@ -390,13 +399,14 @@ function! sqlcomplete#DrillIntoTable()
call sqlcomplete#Map('column') call sqlcomplete#Map('column')
" C-Y, makes the currently highlighted entry active " C-Y, makes the currently highlighted entry active
" and trigger the omni popup to be redisplayed " and trigger the omni popup to be redisplayed
call feedkeys("\<C-Y>\<C-X>\<C-O>") call feedkeys("\<C-Y>\<C-X>\<C-O>", 'n')
else else
if has('win32')
" If the popup is not visible, simple perform the normal " If the popup is not visible, simple perform the normal
" <C-Right> behaviour " key behaviour.
exec "normal! \<C-Right>" " Must use exec since they key must be preceeded by "\"
endif " or feedkeys will simply push each character of the string
" rather than the "key press".
exec 'call feedkeys("\'.g:ftplugin_sql_omni_key_right.'", "n")'
endif endif
return "" return ""
endfunction endfunction
@ -408,11 +418,12 @@ function! sqlcomplete#DrillOutOfColumns()
" Trigger the omni popup to be redisplayed " Trigger the omni popup to be redisplayed
call feedkeys("\<C-X>\<C-O>") call feedkeys("\<C-X>\<C-O>")
else else
if has('win32')
" If the popup is not visible, simple perform the normal " If the popup is not visible, simple perform the normal
" <C-Left> behaviour " key behaviour.
exec "normal! \<C-Left>" " Must use exec since they key must be preceeded by "\"
endif " or feedkeys will simply push each character of the string
" rather than the "key press".
exec 'call feedkeys("\'.g:ftplugin_sql_omni_key_left.'", "n")'
endif endif
return "" return ""
endfunction endfunction
@ -609,7 +620,7 @@ function! s:SQLCGetColumns(table_name, list_type)
" Search backwards to the beginning of the statement " Search backwards to the beginning of the statement
" and do NOT wrap " and do NOT wrap
" exec 'silent! normal! v?\<\(select\|update\|delete\|;\)\>'."\n".'"yy' " exec 'silent! normal! v?\<\(select\|update\|delete\|;\)\>'."\n".'"yy'
exec 'silent! normal! ?\<\(select\|update\|delete\|;\)\>'."\n" exec 'silent! normal! ?\<\c\(select\|update\|delete\|;\)\>'."\n"
" Start characterwise visual mode " Start characterwise visual mode
" Advance right one character " Advance right one character
@ -618,27 +629,38 @@ function! s:SQLCGetColumns(table_name, list_type)
" 2. A ; at the end of a line (the delimiter) " 2. A ; at the end of a line (the delimiter)
" 3. The end of the file (incase no delimiter) " 3. The end of the file (incase no delimiter)
" Yank the visually selected text into the "y register. " Yank the visually selected text into the "y register.
exec 'silent! normal! vl/\(\<select\>\|\<update\>\|\<delete\>\|;\s*$\|\%$\)'."\n".'"yy' exec 'silent! normal! vl/\c\(\<select\>\|\<update\>\|\<delete\>\|;\s*$\|\%$\)'."\n".'"yy'
let query = @y let query = @y
let query = substitute(query, "\n", ' ', 'g') let query = substitute(query, "\n", ' ', 'g')
let found = 0 let found = 0
" if query =~? '^\(select\|update\|delete\)' " if query =~? '^\c\(select\)'
if query =~? '^\(select\)' if query =~? '^\(select\|update\|delete\)'
let found = 1 let found = 1
" \(\(\<\w\+\>\)\.\)\? - " \(\(\<\w\+\>\)\.\)\? -
" 'from.\{-}' - Starting at the from clause " '\c\(from\|join\|,\).\{-}' - Starting at the from clause (case insensitive)
" '\zs\(\(\<\w\+\>\)\.\)\?' - Get the owner name (optional) " '\zs\(\(\<\w\+\>\)\.\)\?' - Get the owner name (optional)
" '\<\w\+\>\ze' - Get the table name " '\<\w\+\>\ze' - Get the table name
" '\s\+\<'.table_name.'\>' - Followed by the alias " '\s\+\<'.table_name.'\>' - Followed by the alias
" '\s*\.\@!.*' - Cannot be followed by a . " '\s*\.\@!.*' - Cannot be followed by a .
" '\(\<where\>\|$\)' - Must be followed by a WHERE clause " '\(\<where\>\|$\)' - Must be followed by a WHERE clause
" '.*' - Exclude the rest of the line in the match " '.*' - Exclude the rest of the line in the match
" let table_name_new = matchstr(@y,
" \ '\c\(from\|join\|,\).\{-}'.
" \ '\zs\(\("\|\[\)\?.\{-}\("\|\]\)\.\)\?'.
" \ '\("\|\[\)\?.\{-}\("\|\]\)\?\ze'.
" \ '\s\+\%(as\s\+\)\?\<'.
" \ matchstr(table_name, '.\{-}\ze\.\?$').
" \ '\>'.
" \ '\s*\.\@!.*'.
" \ '\(\<where\>\|$\)'.
" \ '.*'
" \ )
let table_name_new = matchstr(@y, let table_name_new = matchstr(@y,
\ 'from.\{-}'. \ '\c\(\<from\>\|\<join\>\|,\)\s*'.
\ '\zs\(\("\|\[\)\?.\{-}\("\|\]\)\.\)\?'. \ '\zs\(\("\|\[\)\?\w\+\("\|\]\)\?\.\)\?'.
\ '\("\|\[\)\?.\{-}\("\|\]\)\ze'. \ '\("\|\[\)\?\w\+\("\|\]\)\?\ze'.
\ '\s\+\%(as\s\+\)\?\<'. \ '\s\+\%(as\s\+\)\?\<'.
\ matchstr(table_name, '.\{-}\ze\.\?$'). \ matchstr(table_name, '.\{-}\ze\.\?$').
\ '\>'. \ '\>'.
@ -649,7 +671,7 @@ function! s:SQLCGetColumns(table_name, list_type)
if table_name_new != '' if table_name_new != ''
let table_alias = table_name let table_alias = table_name
let table_name = table_name_new let table_name = matchstr( table_name_new, '^\(.*\.\)\?\zs.*\ze' )
let list_idx = index(s:tbl_name, table_name, 0, &ignorecase) let list_idx = index(s:tbl_name, table_name, 0, &ignorecase)
if list_idx > -1 if list_idx > -1
@ -717,4 +739,3 @@ function! s:SQLCGetColumns(table_name, list_type)
return table_cols return table_cols
endfunction endfunction

View File

@ -1,7 +1,7 @@
" vimball.vim : construct a file containing both paths and files " vimball.vim : construct a file containing both paths and files
" Author: Charles E. Campbell, Jr. " Author: Charles E. Campbell, Jr.
" Date: Dec 28, 2009 " Date: Apr 12, 2010
" Version: 30 " Version: 31
" GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim " GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim
" Copyright: (c) 2004-2009 by Charles E. Campbell, Jr. " Copyright: (c) 2004-2009 by Charles E. Campbell, Jr.
" The VIM LICENSE applies to Vimball.vim, and Vimball.txt " The VIM LICENSE applies to Vimball.vim, and Vimball.txt
@ -14,7 +14,7 @@
if &cp || exists("g:loaded_vimball") if &cp || exists("g:loaded_vimball")
finish finish
endif endif
let g:loaded_vimball = "v30" let g:loaded_vimball = "v31"
if v:version < 702 if v:version < 702
echohl WarningMsg echohl WarningMsg
echo "***warning*** this version of vimball needs vim 7.2" echo "***warning*** this version of vimball needs vim 7.2"

View File

@ -1,7 +1,7 @@
" zip.vim: Handles browsing zipfiles " zip.vim: Handles browsing zipfiles
" AUTOLOAD PORTION " AUTOLOAD PORTION
" Date: Jul 30, 2008 " Date: Apr 12, 2010
" Version: 22 " Version: 23
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM> " Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" License: Vim License (see vim's :help license) " License: Vim License (see vim's :help license)
" Copyright: Copyright (C) 2005-2008 Charles E. Campbell, Jr. {{{1 " Copyright: Copyright (C) 2005-2008 Charles E. Campbell, Jr. {{{1
@ -16,13 +16,19 @@
" --------------------------------------------------------------------- " ---------------------------------------------------------------------
" Load Once: {{{1 " Load Once: {{{1
let s:keepcpo= &cpo if &cp || exists("g:loaded_zip")
set cpo&vim
if &cp || exists("g:loaded_zip") || v:version < 700
finish finish
endif endif
let g:loaded_zip= "v23"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of zip needs vim 7.2"
echohl Normal
finish
endif
let s:keepcpo= &cpo
set cpo&vim
let g:loaded_zip = "v22"
let s:zipfile_escape = ' ?&;\' let s:zipfile_escape = ' ?&;\'
let s:ERROR = 2 let s:ERROR = 2
let s:WARNING = 1 let s:WARNING = 1

View File

@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 7.2. Last change: 2009 Nov 25 *autocmd.txt* For Vim version 7.2. Last change: 2010 May 14
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*change.txt* For Vim version 7.2. Last change: 2009 Nov 11 *change.txt* For Vim version 7.2. Last change: 2010 Mar 23
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -585,7 +585,7 @@ For other systems the tmpnam() library function is used.
":&r". See |:s_flags| for [flags]. ":&r". See |:s_flags| for [flags].
*&* *&*
& Synonym for ":s//~/" (repeat last substitute). Note & Synonym for ":s" (repeat last substitute). Note
that the flags are not remembered, thus it might that the flags are not remembered, thus it might
actually work differently. You can use ":&&" to keep actually work differently. You can use ":&&" to keep
the flags. the flags.

View File

@ -1,4 +1,4 @@
*cmdline.txt* For Vim version 7.2. Last change: 2009 Oct 25 *cmdline.txt* For Vim version 7.2. Last change: 2010 May 07
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -522,6 +522,7 @@ followed by another Vim command:
:registers :registers
:read ! :read !
:scscope :scscope
:sign
:tcl :tcl
:tcldo :tcldo
:tclfile :tclfile

View File

@ -1,4 +1,4 @@
*digraph.txt* For Vim version 7.2. Last change: 2008 Aug 06 *digraph.txt* For Vim version 7.2. Last change: 2010 Apr 11
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*eval.txt* For Vim version 7.2. Last change: 2010 Mar 10 *eval.txt* For Vim version 7.2. Last change: 2010 May 14
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -67,7 +67,7 @@ the Number. Examples: >
Number 123 --> String "123" Number 123 --> String "123"
Number 0 --> String "0" Number 0 --> String "0"
Number -1 --> String "-1" Number -1 --> String "-1"
*octal*
Conversion from a String to a Number is done by converting the first digits Conversion from a String to a Number is done by converting the first digits
to a number. Hexadecimal "0xf9" and Octal "017" numbers are recognized. If to a number. Hexadecimal "0xf9" and Octal "017" numbers are recognized. If
the String doesn't start with digits, the result is zero. Examples: > the String doesn't start with digits, the result is zero. Examples: >
@ -1020,7 +1020,9 @@ A string constant accepts these special characters:
\t tab <Tab> \t tab <Tab>
\\ backslash \\ backslash
\" double quote \" double quote
\<xxx> Special key named "xxx". e.g. "\<C-W>" for CTRL-W. \<xxx> Special key named "xxx". e.g. "\<C-W>" for CTRL-W. This is for use
in mappings, the 0x80 byte is escaped. Don't use <Char-xxxx> to get a
utf-8 character, use \uxxxx as mentioned above.
Note that "\xff" is stored as the byte 255, which may be invalid in some Note that "\xff" is stored as the byte 255, which may be invalid in some
encodings. Use "\u00ff" to store character 255 according to the current value encodings. Use "\u00ff" to store character 255 according to the current value
@ -4944,6 +4946,8 @@ setqflist({list} [, {action}]) *setqflist()*
item will not be handled as an error line. item will not be handled as an error line.
If both "pattern" and "lnum" are present then "pattern" will If both "pattern" and "lnum" are present then "pattern" will
be used. be used.
If you supply an empty {list}, the quickfix list will be
cleared.
Note that the list is not exactly the same as what Note that the list is not exactly the same as what
|getqflist()| returns. |getqflist()| returns.
@ -6828,10 +6832,12 @@ This would call the function "my_func_whizz(parameter)".
< <
*:exe* *:execute* *:exe* *:execute*
:exe[cute] {expr1} .. Executes the string that results from the evaluation :exe[cute] {expr1} .. Executes the string that results from the evaluation
of {expr1} as an Ex command. Multiple arguments are of {expr1} as an Ex command.
concatenated, with a space in between. {expr1} is Multiple arguments are concatenated, with a space in
used as the processed command, command line editing between. To avoid the extra space use the "."
keys are not recognized. operator to concatenate strings into one argument.
{expr1} is used as the processed command, command line
editing keys are not recognized.
Cannot be followed by a comment. Cannot be followed by a comment.
Examples: > Examples: >
:execute "buffer" nextbuf :execute "buffer" nextbuf

View File

@ -1,4 +1,4 @@
*fold.txt* For Vim version 7.2. Last change: 2010 Feb 21 *fold.txt* For Vim version 7.2. Last change: 2010 May 13
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -127,6 +127,9 @@ fold level. But note that foldlevel() may return -1 if the level is not known
yet. And it returns the level at the start of the line, while a fold might yet. And it returns the level at the start of the line, while a fold might
end in that line. end in that line.
It may happened that folds are not updated properly. You can use |zx| or |zX|
to force updating folds.
SYNTAX *fold-syntax* SYNTAX *fold-syntax*
@ -352,9 +355,13 @@ zv View cursor line: Open just enough folds to make the line in
*zx* *zx*
zx Update folds: Undo manually opened and closed folds: re-apply zx Update folds: Undo manually opened and closed folds: re-apply
'foldlevel', then do "zv": View cursor line. 'foldlevel', then do "zv": View cursor line.
Also forces recomputing folds. This is useful when using
'foldexpr' and the buffer is changed in a way that results in
folds not to be updated properly.
*zX* *zX*
zX Undo manually opened and closed folds: re-apply 'foldlevel'. zX Undo manually opened and closed folds: re-apply 'foldlevel'.
Also forces recomputing folds, like |zx|.
*zm* *zm*
zm Fold more: Subtract one from 'foldlevel'. If 'foldlevel' was zm Fold more: Subtract one from 'foldlevel'. If 'foldlevel' was

View File

@ -1,4 +1,4 @@
*gui.txt* For Vim version 7.2. Last change: 2009 Jan 22 *gui.txt* For Vim version 7.2. Last change: 2010 May 14
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -556,7 +556,7 @@ some modes:
mode inserted appended ~ mode inserted appended ~
Normal nothing nothing Normal nothing nothing
Visual <C-C> <C-\><C-G> Visual <C-C> <C-\><C-G>
Insert <C-O> Insert <C-\><C-O>
Cmdline <C-C> <C-\><C-G> Cmdline <C-C> <C-\><C-G>
Op-pending <C-C> <C-\><C-G> Op-pending <C-C> <C-\><C-G>
@ -571,7 +571,7 @@ is equal to: >
:nmenu File.Next :next^M :nmenu File.Next :next^M
:vmenu File.Next ^C:next^M^\^G :vmenu File.Next ^C:next^M^\^G
:imenu File.Next ^O:next^M :imenu File.Next ^\^O:next^M
:cmenu File.Next ^C:next^M^\^G :cmenu File.Next ^C:next^M^\^G
:omenu File.Next ^C:next^M^\^G :omenu File.Next ^C:next^M^\^G

View File

@ -1,4 +1,4 @@
*indent.txt* For Vim version 7.2. Last change: 2010 Jan 27 *indent.txt* For Vim version 7.2. Last change: 2010 Mar 27
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -447,7 +447,7 @@ assume a 'shiftwidth' of 4.
The defaults, spelled out in full, are: The defaults, spelled out in full, are:
cinoptions=>s,e0,n0,f0,{0,}0,^0,:s,=s,l0,b0,gs,hs,ps,ts,is,+s,c3,C0, cinoptions=>s,e0,n0,f0,{0,}0,^0,:s,=s,l0,b0,gs,hs,ps,ts,is,+s,c3,C0,
/0,(2s,us,U0,w0,W0,m0,j0,)20,*30,#0 /0,(2s,us,U0,w0,W0,m0,j0,)20,*70,#0
Vim puts a line in column 1 if: Vim puts a line in column 1 if:
- It starts with '#' (preprocessor directives), if 'cinkeys' contains '#'. - It starts with '#' (preprocessor directives), if 'cinkeys' contains '#'.

View File

@ -1,4 +1,4 @@
*motion.txt* For Vim version 7.2. Last change: 2009 Sep 15 *motion.txt* For Vim version 7.2. Last change: 2010 May 14
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -315,6 +315,7 @@ _ <underscore> [count] - 1 lines downward, on the first non-blank
G Goto line [count], default last line, on the first G Goto line [count], default last line, on the first
non-blank character |linewise|. If 'startofline' not non-blank character |linewise|. If 'startofline' not
set, keep the same column. set, keep the same column.
G is a one of |jump-motions|.
*<C-End>* *<C-End>*
<C-End> Goto line [count], default last line, on the last <C-End> Goto line [count], default last line, on the last
@ -328,6 +329,8 @@ gg Goto line [count], default first line, on the first
:[range] Set the cursor on the last line number in [range]. :[range] Set the cursor on the last line number in [range].
[range] can also be just one line number, e.g., ":1" [range] can also be just one line number, e.g., ":1"
or ":'m". or ":'m".
In contrast with |G| this command does not modify the
|jumplist|.
*N%* *N%*
{count}% Go to {count} percentage in the file, on the first {count}% Go to {count} percentage in the file, on the first
non-blank in the line |linewise|. To compute the new non-blank in the line |linewise|. To compute the new

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 7.2. Last change: 2010 Jan 06 *options.txt* For Vim version 7.2. Last change: 2010 May 13
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -40,6 +40,7 @@ achieve special effects. These options come in three forms:
:se[t] no{option} Toggle option: Reset, switch it off. :se[t] no{option} Toggle option: Reset, switch it off.
*:set-!* *:set-inv*
:se[t] {option}! or :se[t] {option}! or
:se[t] inv{option} Toggle option: Invert value. {not in Vi} :se[t] inv{option} Toggle option: Invert value. {not in Vi}
@ -696,8 +697,8 @@ A jump table for the options with a short description can be found at |Q_op|.
'autochdir' 'acd' boolean (default off) 'autochdir' 'acd' boolean (default off)
global global
{not in Vi} {not in Vi}
{only available when compiled with the {only available when compiled with it, use
|+netbeans_intg| or |+sun_workshop| feature} exists("+autochdir") to check}
When on, Vim will change the current working directory whenever you When on, Vim will change the current working directory whenever you
open a file, switch buffers, delete a buffer or open/close a window. 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 It will change to the directory containing the file which was opened
@ -5708,7 +5709,8 @@ A jump table for the options with a short description can be found at |Q_op|.
in a file and echoed to the screen. If the 'shell' option is "csh" or in a file and echoed to the screen. If the 'shell' option is "csh" or
"tcsh" after initializations, the default becomes "|& tee". If the "tcsh" after initializations, the default becomes "|& tee". If the
'shell' option is "sh", "ksh", "zsh" or "bash" the default becomes 'shell' option is "sh", "ksh", "zsh" or "bash" the default becomes
"2>&1| tee". This means that stderr is also included. "2>&1| tee". This means that stderr is also included. Before using
the 'shell' option a path is removed, thus "/bin/sh" uses "sh".
The initialization of this option is done after reading the ".vimrc" The initialization of this option is done after reading the ".vimrc"
and the other initializations, so that when the 'shell' option is set and the other initializations, so that when the 'shell' option is set
there, the 'shellpipe' option changes automatically, unless it was there, the 'shellpipe' option changes automatically, unless it was

View File

@ -1,4 +1,4 @@
*pi_netrw.txt* For Vim version 7.2. Last change: 2009 Dec 28 *pi_netrw.txt* For Vim version 7.2. Last change: 2010 May 14
----------------------------------------------------- -----------------------------------------------------
NETRW REFERENCE MANUAL by Charles E. Campbell, Jr. NETRW REFERENCE MANUAL by Charles E. Campbell, Jr.
@ -6,7 +6,7 @@
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM> Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
(remove NOSPAM from Campbell's email first) (remove NOSPAM from Campbell's email first)
Copyright: Copyright (C) 2009 Charles E Campbell, Jr *netrw-copyright* Copyright: Copyright (C) 1999-2010 Charles E Campbell, Jr *netrw-copyright*
Permission is hereby granted to use and distribute this code, with Permission is hereby granted to use and distribute this code, with
or without modifications, provided that this copyright notice is or without modifications, provided that this copyright notice is
copied with it. Like anything else that's free, netrw.vim, copied with it. Like anything else that's free, netrw.vim,
@ -19,9 +19,9 @@ Copyright: Copyright (C) 2009 Charles E Campbell, Jr *netrw-copyright*
use of this software. use of this software.
*dav* *ftp* *netrw-file* *Nread* *rcp* *scp* *dav* *ftp* *netrw-file* *rcp* *scp*
*davs* *http* *netrw.vim* *Nsource* *rsync* *sftp* *davs* *http* *netrw.vim* *rsync* *sftp*
*fetch* *netrw* *network* *Nwrite* *fetch* *netrw* *network*
============================================================================== ==============================================================================
1. Contents *netrw-contents* {{{1 1. Contents *netrw-contents* {{{1
@ -158,7 +158,7 @@ There are more protocols supported by netrw than just scp and ftp, too: see the
next section, |netrw-externapp|, on how to use these external applications with next section, |netrw-externapp|, on how to use these external applications with
netrw and vim. netrw and vim.
PREVENTING LOADING PREVENTING LOADING *netrw-noload*
If you want to use plugins, but for some reason don't wish to use netrw, then If you want to use plugins, but for some reason don't wish to use netrw, then
you need to avoid loading both the plugin and the autoload portions of netrw. you need to avoid loading both the plugin and the autoload portions of netrw.
@ -642,18 +642,22 @@ Nread as shown in |netrw-transparent| (ie. simply use >
instead, as appropriate) -- see |netrw-urls|. In the explanations instead, as appropriate) -- see |netrw-urls|. In the explanations
below, a {netfile} is an url to a remote file. below, a {netfile} is an url to a remote file.
*:Nwrite* *:Nw*
:[range]Nw[rite] Write the specified lines to the current :[range]Nw[rite] Write the specified lines to the current
file as specified in b:netrw_lastfile. file as specified in b:netrw_lastfile.
(related: |netrw-nwrite|)
:[range]Nw[rite] {netfile} [{netfile}]... :[range]Nw[rite] {netfile} [{netfile}]...
Write the specified lines to the {netfile}. Write the specified lines to the {netfile}.
*:Nread* *:Nr*
:Nr[ead] Read the lines from the file specified in b:netrw_lastfile :Nr[ead] Read the lines from the file specified in b:netrw_lastfile
into the current buffer. into the current buffer. (related: |netrw-nread|)
:Nr[ead] {netfile} {netfile}... :Nr[ead] {netfile} {netfile}...
Read the {netfile} after the current line. Read the {netfile} after the current line.
*:Nsource* *:Ns*
:Ns[ource] {netfile} :Ns[ource] {netfile}
Source the {netfile}. Source the {netfile}.
To start up vim using a remote .vimrc, one may use To start up vim using a remote .vimrc, one may use
@ -661,20 +665,24 @@ below, a {netfile} is an url to a remote file.
vim -u NORC -N vim -u NORC -N
--cmd "runtime plugin/netrwPlugin.vim" --cmd "runtime plugin/netrwPlugin.vim"
--cmd "source scp://HOSTNAME/.vimrc" --cmd "source scp://HOSTNAME/.vimrc"
< *netrw-uidpass* < (related: |netrw-source|)
:call NetUserPass()
:call NetUserPass() *NetUserPass()*
If g:netrw_uid and s:netrw_passwd don't exist, If g:netrw_uid and s:netrw_passwd don't exist,
this function will query the user for them. this function will query the user for them.
(related: |netrw-userpass|)
:call NetUserPass("userid") :call NetUserPass("userid")
This call will set the g:netrw_uid and, if This call will set the g:netrw_uid and, if
the password doesn't exist, will query the user for it. the password doesn't exist, will query the user for it.
(related: |netrw-userpass|)
:call NetUserPass("userid","passwd") :call NetUserPass("userid","passwd")
This call will set both the g:netrw_uid and s:netrw_passwd. This call will set both the g:netrw_uid and s:netrw_passwd.
The user-id and password are used by ftp transfers. One may The user-id and password are used by ftp transfers. One may
effectively remove the user-id and password by using empty effectively remove the user-id and password by using empty
strings (ie. ""). strings (ie. "").
(related: |netrw-userpass|)
:NetrwSettings This command is described in |netrw-settings| -- used to :NetrwSettings This command is described in |netrw-settings| -- used to
display netrw settings and change netrw behavior. display netrw settings and change netrw behavior.
@ -688,9 +696,7 @@ below, a {netfile} is an url to a remote file.
The <netrw.vim> script provides several variables which act as options to The <netrw.vim> script provides several variables which act as options to
affect <netrw.vim>'s file transfer behavior. These variables typically may be affect <netrw.vim>'s file transfer behavior. These variables typically may be
set in the user's <.vimrc> file: (see also |netrw-settings| |netrw-protocol|) set in the user's <.vimrc> file: (see also |netrw-settings| |netrw-protocol|)
> >
------------- -------------
Netrw Options Netrw Options
------------- -------------
@ -1025,6 +1031,8 @@ QUICK REFERENCE: MAPS *netrw-browse-maps* {{{2
to the netrw browser window. See |g:netrw_retmap|. to the netrw browser window. See |g:netrw_retmap|.
<s-leftmouse> (gvim only) like mf, will mark files <s-leftmouse> (gvim only) like mf, will mark files
(to disable mouse buttons while browsing: |g:netrw_mousemaps|)
*netrw-quickcom* *netrw-quickcoms* *netrw-quickcom* *netrw-quickcoms*
QUICK REFERENCE: COMMANDS *netrw-explore-cmds* *netrw-browse-cmds* {{{2 QUICK REFERENCE: COMMANDS *netrw-explore-cmds* *netrw-browse-cmds* {{{2
:NetrwClean[!] ...........................................|netrw-clean| :NetrwClean[!] ...........................................|netrw-clean|
@ -2022,7 +2030,8 @@ your browsing preferences. (see also: |netrw-settings|)
unix or g:netrw_cygwin set: : "ls -tlF" unix or g:netrw_cygwin set: : "ls -tlF"
otherwise "dir" otherwise "dir"
*g:netrw_glob_escape* ='[]*?`{~$' *g:netrw_glob_escape* ='[]*?`{~$' (unix)
='[]*?`{$' (windows
These characters in directory names are These characters in directory names are
escaped before applying glob() escaped before applying glob()
@ -2293,6 +2302,18 @@ the browser (where the cursor will remain) and the file (see |:pedit|).
By default, the split will be taken horizontally; one may use vertical By default, the split will be taken horizontally; one may use vertical
splitting if one has set |g:netrw_preview| first. splitting if one has set |g:netrw_preview| first.
An interesting set of netrw settings is: >
let g:netrw_preview = 1
let g:netrw_liststyle = 3
let g:netrw_winsize = 30
These will:
1. Make vertical splitting the default for previewing files
2. Make the default listing style "tree"
3. When a vertical preview window is opened, the directory listing
will use only 30 columns; the rest of the window is used for the
preview window.
PREVIOUS WINDOW *netrw-P* *netrw-prvwin* {{{2 PREVIOUS WINDOW *netrw-P* *netrw-prvwin* {{{2
@ -2597,6 +2618,29 @@ Associated setting variables: |g:netrw_chgwin|
Multibyte encodings use two (or more) bytes per character. Multibyte encodings use two (or more) bytes per character.
You may need to change |g:netrw_sepchr| and/or |g:netrw_xstrlen|. You may need to change |g:netrw_sepchr| and/or |g:netrw_xstrlen|.
*netrw-p13*
P13. I'm a Windows + putty + ssh user, and when I attempt to browse,
the directories are missing trailing "/"s so netrw treats them
as file transfers instead of as attempts to browse
subdirectories. How may I fix this?
(mikeyao) If you want to use vim via ssh and putty under Windows,
try combining the use of pscp/psftp with plink. pscp/psftp will
be used to connect and plink will be used to execute commands on
the server, for example: list files and directory using 'ls'.
These are the settings I use to do this:
>
" list files, it's the key setting, if you haven't set,
" you will get a blank buffer
let g:netrw_list_cmd = "plink HOSTNAME ls -Fa"
" if you haven't add putty directory in system path, you should
" specify scp/sftp command. For examples:
"let g:netrw_sftp_cmd = "d:\\dev\\putty\\PSFTP.exe"
"let g:netrw_scp_cmd = "d:\\dev\\putty\\PSCP.exe"
<
============================================================================== ==============================================================================
11. Debugging Netrw Itself *netrw-debug* {{{1 11. Debugging Netrw Itself *netrw-debug* {{{1
@ -2651,6 +2695,35 @@ which is loaded automatically at startup (assuming :set nocp).
============================================================================== ==============================================================================
12. History *netrw-history* {{{1 12. History *netrw-history* {{{1
v138: May 01, 2010 * added the bomb setting to the Save-Set-Restore
option handling (for Tony M)
* (Bram Moolenaar) netrw optionally sets cursorline
(and sometimes cursorcolumn) for its display.
This option setting was leaking through with
remote file handling.
v137: Dec 28, 2009 * modified the preview window handling for
vertically split windows. The preview
window will take up all but g:netrw_winsize
columns of the original window; those
g:netrw_winsize columns will be used for
the netrw listing.
* (Simon Dambe) removed "~" from
|g:netrw_glob_escape| under Windows
* (Bram Moolenaar) modified test for status bar
click with leftmouse. Moved code to
s:NetrwLeftmouse().
Feb 24, 2010 * (for Jean Johner) added insert-mode maps; one
can get into insert mode with netrw via
ctrl-o :e .
Mar 15, 2010 * (Dominique Pellé) Directory with backslashes such
as foo\bar were not being entered/left properly
Mar 15, 2010 * Using :Explore .. and causing two FocusGained
events caused the directory to change. Fixed.
Mar 22, 2010 * Last fix caused problems for *//pat and */filepat
searches.
Mar 30, 2010 * With :set hidden and changing listing styles 8
times, the tree listing buffer was being marked
as modified upon exit. Fixed.
v136: Jan 14, 2009 * extended |g:Netrw_funcref| to also handle lists v136: Jan 14, 2009 * extended |g:Netrw_funcref| to also handle lists
of function references of function references
Jan 14, 2009 * (reported by Marvin Renich) with spell check Jan 14, 2009 * (reported by Marvin Renich) with spell check

View File

@ -1,4 +1,4 @@
*pi_vimball.txt* For Vim version 7.2. Last change: 2009 Dec 28 *pi_vimball.txt* For Vim version 7.2. Last change: 2010 Apr 12
---------------- ----------------
Vimball Archiver Vimball Archiver
@ -156,6 +156,22 @@ PREVENTING LOADING
let g:loaded_vimballPlugin= 1 let g:loaded_vimballPlugin= 1
let g:loaded_vimball = 1 let g:loaded_vimball = 1
< <
WINDOWS *vimball-windows*
Many vimball files are compressed with gzip. Windows, unfortunately,
does not come provided with a tool to decompress gzip'ped files.
Fortunately, there are a number of tools available for Windows users
to un-gzip files:
>
Item Tool/Suite Free Website
---- ---------- ---- -------
7zip tool y http://www.7-zip.org/
Winzip tool n http://www.winzip.com/downwz.htm
unxutils suite y http://unxutils.sourceforge.net/
cygwin suite y http://www.cygwin.com/
GnuWin32 suite y http://gnuwin32.sourceforge.net/
MinGW suite y http://www.mingw.org/
<
============================================================================== ==============================================================================
4. Vimball History *vimball-history* {{{1 4. Vimball History *vimball-history* {{{1

View File

@ -1,4 +1,4 @@
*pi_zip.txt* For Vim version 7.2. Last change: 2008 Jul 30 *pi_zip.txt* For Vim version 7.2. Last change: 2010 Apr 12
+====================+ +====================+
| Zip File Interface | | Zip File Interface |
@ -6,7 +6,7 @@
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM> Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
(remove NOSPAM from Campbell's email first) (remove NOSPAM from Campbell's email first)
Copyright: Copyright (C) 2005-2008 Charles E Campbell, Jr *zip-copyright* Copyright: Copyright (C) 2005-2009 Charles E Campbell, Jr *zip-copyright*
Permission is hereby granted to use and distribute this code, Permission is hereby granted to use and distribute this code,
with or without modifications, provided that this copyright with or without modifications, provided that this copyright
notice is copied with it. Like anything else that's free, notice is copied with it. Like anything else that's free,
@ -59,6 +59,16 @@ Copyright: Copyright (C) 2005-2008 Charles E Campbell, Jr *zip-copyright*
It's used during the writing (updating) of a file already in a zip It's used during the writing (updating) of a file already in a zip
file; by default: > file; by default: >
let g:zip_zipcmd= "zip" let g:zip_zipcmd= "zip"
<
PREVENTING LOADING~
If for some reason you do not wish to use vim to examine zipped files,
you may put the following two variables into your <.vimrc> to prevent
the tar plugin from loading: >
let g:loaded_zipPlugin= 1
let g:loaded_zip = 1
<
< <
============================================================================== ==============================================================================

View File

@ -1,4 +1,4 @@
*sign.txt* For Vim version 7.2. Last change: 2006 Apr 24 *sign.txt* For Vim version 7.2. Last change: 2010 May 07
VIM REFERENCE MANUAL by Gordon Prieur VIM REFERENCE MANUAL by Gordon Prieur
@ -53,7 +53,7 @@ disappears again. The color of the column is set with the SignColumn group
============================================================================== ==============================================================================
2. Commands *sign-commands* *:sig* *:sign* 2. Commands *sign-commands* *:sig* *:sign*
Here is an example that places a sign piet, displayed with the text ">>", in Here is an example that places a sign "piet", displayed with the text ">>", in
line 23 of the current file: > line 23 of the current file: >
:sign define piet text=>> texthl=Search :sign define piet text=>> texthl=Search
:exe ":sign place 2 line=23 name=piet file=" . expand("%:p") :exe ":sign place 2 line=23 name=piet file=" . expand("%:p")

View File

@ -1,4 +1,4 @@
*spell.txt* For Vim version 7.2. Last change: 2009 Oct 28 *spell.txt* For Vim version 7.2. Last change: 2010 Apr 11
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -468,8 +468,11 @@ Vim uses a binary file format for spelling. This greatly speeds up loading
the word list and keeps it small. the word list and keeps it small.
*.aff* *.dic* *Myspell* *.aff* *.dic* *Myspell*
You can create a Vim spell file from the .aff and .dic files that Myspell You can create a Vim spell file from the .aff and .dic files that Myspell
uses. Myspell is used by OpenOffice.org and Mozilla. You should be able to uses. Myspell is used by OpenOffice.org and Mozilla. The OpenOffice .oxt
find them here: files are zip files which contain the .aff and .dic files. You should be able
to find them here:
http://extensions.services.openoffice.org/dictionary
The older, OpenOffice 2 files may be used if this doesn't work:
http://wiki.services.openoffice.org/wiki/Dictionaries http://wiki.services.openoffice.org/wiki/Dictionaries
You can also use a plain word list. The results are the same, the choice You can also use a plain word list. The results are the same, the choice
depends on what word lists you can find. depends on what word lists you can find.

View File

@ -1,4 +1,4 @@
*syntax.txt* For Vim version 7.2. Last change: 2009 Dec 19 *syntax.txt* For Vim version 7.2. Last change: 2010 May 14
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -3871,13 +3871,19 @@ This will open a new window containing all highlight group names, displayed
in their own color. in their own color.
*:colo* *:colorscheme* *E185* *:colo* *:colorscheme* *E185*
:colo[rscheme] Output the name of the currently active color scheme.
This is basically the same as >
:echo g:colors_name
< In case g:colors_name has not been defined :colo will
output "default". When compiled without the |+eval|
feature it will output "unknown".
:colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath' :colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath'
for the file "colors/{name}.vim. The first one that for the file "colors/{name}.vim. The first one that
is found is loaded. is found is loaded.
To see the name of the currently active color scheme: > To see the name of the currently active color scheme: >
:echo g:colors_name :colo
< When using the default colors you will get an E121 < The name is also stored in the g:colors_name variable.
error.
Doesn't work recursively, thus you can't use Doesn't work recursively, thus you can't use
":colorscheme" in a color scheme script. ":colorscheme" in a color scheme script.
After the color scheme has been loaded the After the color scheme has been loaded the

View File

@ -1767,6 +1767,12 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
:Nexplore pi_netrw.txt /*:Nexplore* :Nexplore pi_netrw.txt /*:Nexplore*
:Next editing.txt /*:Next* :Next editing.txt /*:Next*
:NoMatchParen pi_paren.txt /*:NoMatchParen* :NoMatchParen pi_paren.txt /*:NoMatchParen*
:Nr pi_netrw.txt /*:Nr*
:Nread pi_netrw.txt /*:Nread*
:Ns pi_netrw.txt /*:Ns*
:Nsource pi_netrw.txt /*:Nsource*
:Nw pi_netrw.txt /*:Nw*
:Nwrite pi_netrw.txt /*:Nwrite*
:P various.txt /*:P* :P various.txt /*:P*
:Pexplore pi_netrw.txt /*:Pexplore* :Pexplore pi_netrw.txt /*:Pexplore*
:Print various.txt /*:Print* :Print various.txt /*:Print*
@ -2614,6 +2620,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
:search-args tagsrch.txt /*:search-args* :search-args tagsrch.txt /*:search-args*
:set options.txt /*:set* :set options.txt /*:set*
:set+= options.txt /*:set+=* :set+= options.txt /*:set+=*
:set-! options.txt /*:set-!*
:set-& options.txt /*:set-&* :set-& options.txt /*:set-&*
:set-&vi options.txt /*:set-&vi* :set-&vi options.txt /*:set-&vi*
:set-&vim options.txt /*:set-&vim* :set-&vim options.txt /*:set-&vim*
@ -2621,6 +2628,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
:set-args options.txt /*:set-args* :set-args options.txt /*:set-args*
:set-browse options.txt /*:set-browse* :set-browse options.txt /*:set-browse*
:set-default options.txt /*:set-default* :set-default options.txt /*:set-default*
:set-inv options.txt /*:set-inv*
:set-termcap options.txt /*:set-termcap* :set-termcap options.txt /*:set-termcap*
:set-verbose options.txt /*:set-verbose* :set-verbose options.txt /*:set-verbose*
:set^= options.txt /*:set^=* :set^= options.txt /*:set^=*
@ -4235,13 +4243,11 @@ N: cmdline.txt /*N:*
N<Del> various.txt /*N<Del>* N<Del> various.txt /*N<Del>*
NL-used-for-Nul pattern.txt /*NL-used-for-Nul* NL-used-for-Nul pattern.txt /*NL-used-for-Nul*
NetBSD-backspace options.txt /*NetBSD-backspace* NetBSD-backspace options.txt /*NetBSD-backspace*
NetUserPass() pi_netrw.txt /*NetUserPass()*
Normal intro.txt /*Normal* Normal intro.txt /*Normal*
Normal-mode intro.txt /*Normal-mode* Normal-mode intro.txt /*Normal-mode*
Nread pi_netrw.txt /*Nread*
Nsource pi_netrw.txt /*Nsource*
Number eval.txt /*Number* Number eval.txt /*Number*
Nvi intro.txt /*Nvi* Nvi intro.txt /*Nvi*
Nwrite pi_netrw.txt /*Nwrite*
O insert.txt /*O* O insert.txt /*O*
OS/2 os_os2.txt /*OS\/2* OS/2 os_os2.txt /*OS\/2*
OS2 os_os2.txt /*OS2* OS2 os_os2.txt /*OS2*
@ -6620,6 +6626,7 @@ netrw-mx pi_netrw.txt /*netrw-mx*
netrw-mz pi_netrw.txt /*netrw-mz* netrw-mz pi_netrw.txt /*netrw-mz*
netrw-netrc pi_netrw.txt /*netrw-netrc* netrw-netrc pi_netrw.txt /*netrw-netrc*
netrw-nexplore pi_netrw.txt /*netrw-nexplore* netrw-nexplore pi_netrw.txt /*netrw-nexplore*
netrw-noload pi_netrw.txt /*netrw-noload*
netrw-nread pi_netrw.txt /*netrw-nread* netrw-nread pi_netrw.txt /*netrw-nread*
netrw-nwrite pi_netrw.txt /*netrw-nwrite* netrw-nwrite pi_netrw.txt /*netrw-nwrite*
netrw-o pi_netrw.txt /*netrw-o* netrw-o pi_netrw.txt /*netrw-o*
@ -6629,6 +6636,7 @@ netrw-p1 pi_netrw.txt /*netrw-p1*
netrw-p10 pi_netrw.txt /*netrw-p10* netrw-p10 pi_netrw.txt /*netrw-p10*
netrw-p11 pi_netrw.txt /*netrw-p11* netrw-p11 pi_netrw.txt /*netrw-p11*
netrw-p12 pi_netrw.txt /*netrw-p12* netrw-p12 pi_netrw.txt /*netrw-p12*
netrw-p13 pi_netrw.txt /*netrw-p13*
netrw-p2 pi_netrw.txt /*netrw-p2* netrw-p2 pi_netrw.txt /*netrw-p2*
netrw-p3 pi_netrw.txt /*netrw-p3* netrw-p3 pi_netrw.txt /*netrw-p3*
netrw-p4 pi_netrw.txt /*netrw-p4* netrw-p4 pi_netrw.txt /*netrw-p4*
@ -6679,7 +6687,6 @@ netrw-texplore pi_netrw.txt /*netrw-texplore*
netrw-todo pi_netrw.txt /*netrw-todo* netrw-todo pi_netrw.txt /*netrw-todo*
netrw-transparent pi_netrw.txt /*netrw-transparent* netrw-transparent pi_netrw.txt /*netrw-transparent*
netrw-u pi_netrw.txt /*netrw-u* netrw-u pi_netrw.txt /*netrw-u*
netrw-uidpass pi_netrw.txt /*netrw-uidpass*
netrw-updir pi_netrw.txt /*netrw-updir* netrw-updir pi_netrw.txt /*netrw-updir*
netrw-urls pi_netrw.txt /*netrw-urls* netrw-urls pi_netrw.txt /*netrw-urls*
netrw-userpass pi_netrw.txt /*netrw-userpass* netrw-userpass pi_netrw.txt /*netrw-userpass*
@ -6792,6 +6799,7 @@ object-select motion.txt /*object-select*
objects index.txt /*objects* objects index.txt /*objects*
obtaining-exted netbeans.txt /*obtaining-exted* obtaining-exted netbeans.txt /*obtaining-exted*
ocaml.vim syntax.txt /*ocaml.vim* ocaml.vim syntax.txt /*ocaml.vim*
octal eval.txt /*octal*
oldfiles-variable eval.txt /*oldfiles-variable* oldfiles-variable eval.txt /*oldfiles-variable*
ole-activation if_ole.txt /*ole-activation* ole-activation if_ole.txt /*ole-activation*
ole-eval if_ole.txt /*ole-eval* ole-eval if_ole.txt /*ole-eval*
@ -8072,6 +8080,7 @@ vimball-extract pi_vimball.txt /*vimball-extract*
vimball-history pi_vimball.txt /*vimball-history* vimball-history pi_vimball.txt /*vimball-history*
vimball-intro pi_vimball.txt /*vimball-intro* vimball-intro pi_vimball.txt /*vimball-intro*
vimball-manual pi_vimball.txt /*vimball-manual* vimball-manual pi_vimball.txt /*vimball-manual*
vimball-windows pi_vimball.txt /*vimball-windows*
vimdev intro.txt /*vimdev* vimdev intro.txt /*vimdev*
vimdiff diff.txt /*vimdiff* vimdiff diff.txt /*vimdiff*
vimfiles options.txt /*vimfiles* vimfiles options.txt /*vimfiles*

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.2. Last change: 2010 Mar 17 *todo.txt* For Vim version 7.2. Last change: 2010 May 14
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -30,20 +30,59 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs* *known-bugs*
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------
":s" summary in :folddo is not correct. (Jean Johner, 2010 Feb 20) Cursor positioning wrong with 0x200e character. (John Becket, 2010 May 6)
Patch from Lech Lorens, 2010 Mar 13.
Vim tries to set the background or foreground color in a terminal to -1. E315 when trying to change a file in FileChangedRO autocommand event.
(Graywh) Appears to happen with ":hi Normal ctermbg=NONE". (Dominique Pelle, 2010 Apr 30)
Possible solution from Matt Wozniski, 2010 Mar 17.
When directory "/tmp/tags" contains "tags1" and "tags2", setting 'tags' to
"/tmp/tags/*" doesn't pick up these files. (Simon Ruggier, 2010 Mar 17)
":command Print echo 'print'" works, but ":Print" doesn't. Builtin Print
should be overruled. (Aaron Thoma)
Editing a file with a ^M with 'ff' set to "mac", opening a help file, then the
^M is displayed as ^J sometimes. Getting 'ff' value from wrong window/buffer?
Have a look at patch to enable screen access from Python. (Marko Mahnic, 2010
Apr 12)
Problem producing tags file when hebrew.frx is present. It has a BOM.
Results in E670. (Tony Mechelynck, 2010 May 2)
'cindent' not correct when 'list' is set. (Zdravi Korusef, 2010 Apr 15)
":helpgrep" does not put the cursor in the correct column when preceded by
accented character. (Tony Mechelynck, 2010 Apr 15)
Better Czech keymap. (Stepnem, 2010 May 4) Use if no response from Jiri
Tobisek.
Use Dutch spell files from:
http://extensions.services.openoffice.org/en/project/dict-nl
Looks like this is newer than the new wordlist for Dutch:
http://www.opentaal.org/bestanden/1_10/nl_NL-Pack
Problem with cursor in the wrong column. (SungHyun Nam, 2010 Mar 11) Problem with cursor in the wrong column. (SungHyun Nam, 2010 Mar 11)
Additional info by Dominique Pelle. Additional info by Dominique Pelle. (also on 2010 Apr 10)
"make install" installs some of the .info files on Unix.
(James Vega, 2010 Mar 30)
Is ~/bin (literally) in $PATH supposed to work? (Paul, 2010 March 29)
Looks like only bash can do it. (Yakov Lerner)
8 Add an event like CursorHold that is triggered repeatedly, not just once
after typing something.
Need for CursorHold that retriggers. Use a key that doesn't do anything, or a
function that resets did_cursorhold.
I often see pasted text (from Firefox, to Vim in xterm) appear twice. I often see pasted text (from Firefox, to Vim in xterm) appear twice.
Also, Vim in xterm sometimes loses copy/paste ability (probably after running Also, Vim in xterm sometimes loses copy/paste ability (probably after running
an external command). an external command).
Jumplist doesn't work properly in Insert mode? (Jean Johner, 2010 Mar 20)
Problem with transparent cmdline. Also: Terminal title is wrong with Problem with transparent cmdline. Also: Terminal title is wrong with
non-ASCII character. (Lily White, 2010 Mar 7) non-ASCII character. (Lily White, 2010 Mar 7)
@ -59,15 +98,12 @@ Shell not recognized properly if it ends in "csh -f". (James Vega, 2009 Nov 3)
Find tail? Might have a / in argument. Find space? Might have space in Find tail? Might have a / in argument. Find space? Might have space in
path. path.
Patch to support netbeans in Unix console Vim. (Xavier de Gaye, 2009 Apr 26)
Now with Mercurial repository (2010 Jan 2)
Crash when assigning s: to variable, pointer becomes invalid later.
(Yukihiro Nakadaira, 2009 Oct 12, confirmed by Dominique Pelle)
Test 69 breaks on MS-Windows, both 32 and 64 builds. (George Reilly, 2010 Feb Test 69 breaks on MS-Windows, both 32 and 64 builds. (George Reilly, 2010 Feb
26) 26)
":function f(x) keepjumps" creates a function where every command is executed
like it has ":keepjumps" before it.
Coverity: ask someone to create new user: Dominique. Coverity: ask someone to create new user: Dominique.
look into reported defects: http://scan.coverity.com/rung2.html look into reported defects: http://scan.coverity.com/rung2.html
@ -78,20 +114,16 @@ Problem with editing file in binary mode. (Ingo Krabbe, 2009 Oct 8)
Support .xz with the xz program, like with lzma. Support .xz with the xz program, like with lzma.
Perl runtime files update. (Andy Lester, 2009 Aug 25)
Gvimext patch to support wide file names. (Szabolcs Horvat 2008 Sep 10)
Problem with stop directory in findfile(). (Adam Simpkins, 2009 Aug 26) Problem with stop directory in findfile(). (Adam Simpkins, 2009 Aug 26)
Patch to support :browse for more commands. (Lech Lorens, 2009 Jul 18) Undo problem: line not removed as expected when using setline() from Insert
mode. (Israel Chauca, 2010 May 13, more in second msg)
Break undo when CTRL-R = changes the text? Or save more lines?
Change to C syntax folding to make it work much faster, but a bit less Change to C syntax folding to make it work much faster, but a bit less
reliable. (Lech Lorens, 2009 Nov 9) Enable with an option? reliable. (Lech Lorens, 2009 Nov 9) Enable with an option?
Most time is spent in in_id_list(). Most time is spent in in_id_list().
New wordlist for Dutch: http://www.opentaal.org/bestanden/1_10/nl_NL-Pack
Check for unused functions, idea: Check for unused functions, idea:
http://blog.flameeyes.eu/2008/01/17/today-how-to-identify-unused-exported-functions-and-variables http://blog.flameeyes.eu/2008/01/17/today-how-to-identify-unused-exported-functions-and-variables
@ -102,17 +134,17 @@ When a:base in 'completefunc' starts with a number it's passed as a number,
not a string. (Sean Ma) Need to add flag to call_func_retlist() to force a not a string. (Sean Ma) Need to add flag to call_func_retlist() to force a
string value. string value.
There is no command line completion for ":lmap".
Reproducible crash in syntax HL. (George Reilly, Dominique Pelle, 2009 May 9) Reproducible crash in syntax HL. (George Reilly, Dominique Pelle, 2009 May 9)
Invalid read error in Farsi mode. (Dominique Pelle, 2009 Aug 2) Invalid read error in Farsi mode. (Dominique Pelle, 2009 Aug 2)
Patch to add diff functionality to 2html.vim. (Christian Brabandt, 2009 Dec
15)
For running gvim on an USB stick: avoid the OLE registration. Use a command For running gvim on an USB stick: avoid the OLE registration. Use a command
line argument -noregister. line argument -noregister.
submatch() may remove backslash. (Sergey Goldgaber, 2009 Jul 6) When a mapping exists both for insert mode and lang-insert mode, the last one
doesn't work. (Tyru, 2010 May 6) Or is this intended?
Still a problem with ":make" in the wrong directory. Caused by ":bufdo". Still a problem with ":make" in the wrong directory. Caused by ":bufdo".
(Ajit Thakkar, 2009 Jul 1) More information Jul 9, Jul 15. (Ajit Thakkar, 2009 Jul 1) More information Jul 9, Jul 15.
@ -148,10 +180,6 @@ Needs more work.
Problem with <script> mappings (Andy Wokula, 2009 Mar 8) Problem with <script> mappings (Andy Wokula, 2009 Mar 8)
Patch to support netbeans for Mac. (Kazuki Sakamoto, 2009 Jun 25)
Patch to support clipboard for Mac terminal. (Jjgod Jiang, 2009 Aug 1)
When starting Vim with "gvim -f -u non_existent_file > foo.txt" there are a When starting Vim with "gvim -f -u non_existent_file > foo.txt" there are a
few control characters in the output. (Dale Wiles, 2009 May 28) few control characters in the output. (Dale Wiles, 2009 May 28)
@ -161,21 +189,27 @@ few control characters in the output. (Dale Wiles, 2009 May 28)
Status line containing winnr() isn't updated when splitting the window (Clark Status line containing winnr() isn't updated when splitting the window (Clark
J. Wang, 2009 Mar 31) J. Wang, 2009 Mar 31)
When $VIMRUNTIME is set in .vimrc, need to reload lang files. Already done
for GTK, how about others? (Ron Aaron, 2010 Apr 10)
Patch for vertical line at certain column position, 'guidecolumn' option. Patch for vertical line at certain column position, 'guidecolumn' option.
(Pankaj Garg, 2009 Apr 14, aka Lone, Apr 15) (Pankaj Garg, 2009 Apr 14, aka Lone, Apr 15)
Update 2009 May 2, 'margincolumn' Update 2009 May 2, 'margincolumn'
Alternative patch. (2010 Feb 2, Gregor Uhlenheuer) Alternative patch. (2010 Feb 2, Gregor Uhlenheuer, update Apr 18 2010)
Fix by Lech Lorens, Apr 19
Add different highlighting for a fold line depending on the fold level. Add different highlighting for a fold line depending on the fold level.
Patch. (Noel Henson, 2009 Sep 13) Patch. (Noel Henson, 2009 Sep 13)
Motif: Build on Ubuntu can't enter any text in dialog text fields.
When 'ft' changes redraw custom status line. When 'ft' changes redraw custom status line.
":tab split fname" doesn't set the alternate file in the original window, ":tab split fname" doesn't set the alternate file in the original window,
because win_valid() always returns FALSE. Below win_new_tabpage() in because win_valid() always returns FALSE. Below win_new_tabpage() in
ex_docmd.c. ex_docmd.c.
Space before comma in function defenition not allowed: "function x(a , b)" Space before comma in function definition not allowed: "function x(a , b)"
Give a more appropriate error message. Add a remark to the docs. Give a more appropriate error message. Add a remark to the docs.
string_convert() should be able to convert between utf-8 and utf-16le. Used string_convert() should be able to convert between utf-8 and utf-16le. Used
@ -297,6 +331,10 @@ Completion for ":buf" doesn't work properly on Win32 when 'shellslash' is off.
Allow patches to add something to version.c, like with an official patch, so Allow patches to add something to version.c, like with an official patch, so
that :version output shows which patches have been applied. that :version output shows which patches have been applied.
Bug: in Ex mode (after "Q") backslash before line break, when yanked into a
register and executed, results in <Nul>: instead of line break.
(Konrad Schwarz, 2010 Apr 16)
Have a look at patch for utf-8 line breaking. (Yongwei Wu, 2008 Mar 1, Mar 23) Have a look at patch for utf-8 line breaking. (Yongwei Wu, 2008 Mar 1, Mar 23)
Now at: http://vimgadgets.sourceforge.net/liblinebreak/ Now at: http://vimgadgets.sourceforge.net/liblinebreak/
@ -402,12 +440,6 @@ command is not executed. Fix by Ian Kelling?
":help s/~" jumps to *s/\~*, while ":help s/\~" doesn't find anything. (Tim ":help s/~" jumps to *s/\~*, while ":help s/\~" doesn't find anything. (Tim
Chase) Fix by Ian Kelling, 2008 Jul 14. Chase) Fix by Ian Kelling, 2008 Jul 14.
":colorscheme" without arguments should echo the current color scheme name.
After using ":recover" or recovering a file in another way, ":x" doesn't save
what you see. Mark the buffer as modified? Only when the text is actually
different from the original file?
Use "\U12345678" for 32 bit Unicode characters? (Tony Mechelynck, 2009 Use "\U12345678" for 32 bit Unicode characters? (Tony Mechelynck, 2009
Apr 6) Or use "\u(123456)", similar to Perl. Apr 6) Or use "\u(123456)", similar to Perl.
@ -420,6 +452,7 @@ Patch for colorscheme submenu. (Juergen Kraemer, 2008 Aug 20)
Patch for Python 3 support. (Roland Puntaier, 2009 Sep 22) Patch for Python 3 support. (Roland Puntaier, 2009 Sep 22)
Includes changes for omnicompletion. Includes changes for omnicompletion.
Needs to be tested. Needs to be tested.
Update 2010 Apr 20
8 Some file systems are case-sensitive, some are not. Turn 8 Some file systems are case-sensitive, some are not. Turn
CASE_INSENSITIVE_FILENAME into an option, at least for completion. CASE_INSENSITIVE_FILENAME into an option, at least for completion.
@ -453,7 +486,6 @@ Patch from Vladimir Vichniakov, 2007 Apr 24.
Should clean up the whole function. Also allow modifiers like <S-Char-32>? Should clean up the whole function. Also allow modifiers like <S-Char-32>?
find_special_key() also has this problem. find_special_key() also has this problem.
Problem with 'langmap' parsing. (James Vega, 2008 Jan 27)
Problem with 'langmap' being used on the rhs of a mapping. (Nikolai Weibull, Problem with 'langmap' being used on the rhs of a mapping. (Nikolai Weibull,
2008 May 14) 2008 May 14)
@ -496,10 +528,6 @@ Mar 5) Alternative: Kazuki Sakamoto, Mar 7.
Mac: trouble compiling with Motif, requires --disable-darwin. (Raf, 2008 Aug Mac: trouble compiling with Motif, requires --disable-darwin. (Raf, 2008 Aug
1) Reply by Ben Schmidt. 1) Reply by Ben Schmidt.
":emenu" works with the translated menu name. Should also work with the
untranslated name. Would need to store both the English and the translated
name. Patch by Bjorn Winckler, 2008 Mar 30.
C't: On utf-8 system, editing file with umlaut through Gnome results in URL C't: On utf-8 system, editing file with umlaut through Gnome results in URL
with %nn%nn, which is taken as two characters instead of one. with %nn%nn, which is taken as two characters instead of one.
Try to reproduce at work. Try to reproduce at work.
@ -732,12 +760,6 @@ Win32: When 'shell' is bash shellescape() doesn't always do the right thing.
Depends on 'shellslash', 'shellquote' and 'shellxquote', but shellescape() Depends on 'shellslash', 'shellquote' and 'shellxquote', but shellescape()
only takes 'shellslash' into account. only takes 'shellslash' into account.
When file b is a link to file a and editing b twice you get the correct
warning for existing swap file, but when trying to recover it doesn't find the
swapfile. (Matt Wozniski, 2008 Aug 5) Patch by Ian Kelling, 2008 Aug 11.
Another patch by James Vega, 2008 Aug 20, again 2008 Sep 3.
Also solves: Problem finding swap file for recovery. (Gautam Iyer, 2006 May 16)
Pressing the 'pastetoggle' key doesn't update the statusline. (Jan Christoph Pressing the 'pastetoggle' key doesn't update the statusline. (Jan Christoph
Ebersbach, 2008 Feb 1) Ebersbach, 2008 Feb 1)
@ -1126,20 +1148,50 @@ Patch for adding "J" flag to 'cinoptions': placement of jump label.
Vim 7.3: Vim 7.3:
- Use latest autoconf (2.65) - Use latest autoconf (2.65)
- Use NSIS 2.45, it includes Windows 7 support. - Use NSIS 2.45, it includes Windows 7 support.
Include "RequestExecutionLevel highest"
Ron's version: http://dev.ronware.org/p/vim/finfo?name=gvim.nsi
- Supply a 64 bit version of gvimext.dll for 64 bit windows.
http://code.google.com/p/vim-win3264/
Gvim can be 32 bit.
- Include all files in distro, no "extra" and "lang" package. - Include all files in distro, no "extra" and "lang" package.
- Create Mercurial repository. - Create Mercurial repository.
- Easier/standard way to disable default plugins. - Easier/standard way to disable default plugins.
- Add patch for 'relativenumber' option? Markus Heidelberg, 2008 Jun 27. - Add patch for 'relativenumber' option? Markus Heidelberg, 2008 Jun 27.
Update 2010 May 2.
8 Persistent undo: store undo in a file. Patch by Jordan Lewis, 2009 Feb
20. Repost 2009 Nov 16.
-> disable by default and add remark that it's new and may fail.
Testing remarks by Christian Brabandt, 2010 May 1:
- doesn't work well with symlinks (Jordan will look into it)
- old undo files tend to pile up
- :rundo should output a message (Jordan will fix this)
Older ideas:
Use timestamps, so that a version a certain time ago can be found and info
before some time/date can be flushed. 'undopersist' gives maximum time to
keep undo: "3h", "1d", "2w", "1y", etc. For the file use dot and
extension: ".filename.un~" (like swapfile but "un~" instead of "swp").
- Add blowfish encryption. Openssl has an implementation. Also by Paul - Add blowfish encryption. Openssl has an implementation. Also by Paul
Kocher (LGPL), close to original. Mohsin also has some ideas. Kocher (LGPL), close to original. Mohsin also has some ideas.
Take four bytes and turn them into unsigned to avoid byte-order problems. Take four bytes and turn them into unsigned to avoid byte-order problems.
Need to buffer up to 7 bytes to align on 8 byte boundaries. Need to buffer up to 7 bytes to align on 8 byte boundaries.
Patch from Moshin, 2010 Mar 15. Patch from Moshin: 2010 May 8, addition May 9.
- Patch to support netbeans in Unix console Vim. (Xavier de Gaye, 2009 Apr
26) Now with Mercurial repository (2010 Jan 2)
- ":{range}source": source the lines from the current file. - ":{range}source": source the lines from the current file.
You can already yank lines and use :@" to execute them. You can already yank lines and use :@" to execute them.
Most of do_source() would not be used, need a new function. Most of do_source() would not be used, need a new function.
It's easy when not doing breakpoints or profiling. It's easy when not doing breakpoints or profiling.
- Patch for Lisp support with ECL (Mikael Jansson, 2008 Oct 25) - Patch for Lisp support with ECL (Mikael Jansson, 2008 Oct 25)
- Gvimext patch to support wide file names. (Szabolcs Horvat 2008 Sep 10)
- Patch to support netbeans for Mac. (Kazuki Sakamoto, 2009 Jun 25)
- Patch to support clipboard for Mac terminal. (Jjgod Jiang, 2009 Aug 1)
- Patch to support :browse for more commands. (Lech Lorens, 2009 Jul 18)
- Patch to add diff functionality to 2html.vim. (Christian Brabandt, 2009 Dec
15)
- After using ":recover" or recovering a file in another way, ":x" doesn't
save what you see. Mark the buffer as modified? Only when the text is
actually different from the original file.
- Add fixes for 7.2 to version7.txt
More patches: More patches:
@ -2161,6 +2213,7 @@ Most interesting new features to be added when all bugs have been fixed:
http://vimshell.wana.at http://vimshell.wana.at
- Add Lua interface? (Wolfgang Oertl) patch by Luis Carvalho, 2008 Sep 5 - Add Lua interface? (Wolfgang Oertl) patch by Luis Carvalho, 2008 Sep 5
Patch for Make_ming.mak from Paul Moore (2008 Sep 1) Patch for Make_ming.mak from Paul Moore (2008 Sep 1)
http://vim-iflua.googlecode.com/files/vim72-lua-0.7.patch.gz
8 Add a command to jump to a certain kind of tag. Allow the user to specify 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". values for the optional fields. E.g., ":tag size type=m".
Also allow specifying the file and command, so that the result of Also allow specifying the file and command, so that the result of
@ -3225,8 +3278,6 @@ Autocommands:
8 Use another option than 'updatetime' for the CursorHold event. The two 8 Use another option than 'updatetime' for the CursorHold event. The two
things are unrelated for the user (but the implementation is more things are unrelated for the user (but the implementation is more
difficult). difficult).
8 Add an event like CursorHold that is triggered repeatedly, not just once
after typing something.
7 Add autocommand event for when a buffer cannot be abandoned. So that the 7 Add autocommand event for when a buffer cannot be abandoned. So that the
user can define the action taking (autowrite, dialog, fail) based on the user can define the action taking (autowrite, dialog, fail) based on the
kind of file. (Yakov Lerner) Or is BufLeave sufficient? kind of file. (Yakov Lerner) Or is BufLeave sufficient?
@ -3964,13 +4015,6 @@ Undo:
storing the differences. storing the differences.
8 Search for pattern in undo tree, showing when it happened and the text 8 Search for pattern in undo tree, showing when it happened and the text
state, so that you can jump to it. state, so that you can jump to it.
- Persistent undo: store undo in a file. Patch by Jordan Lewis, 2009 Feb
20. Repost 2009 Nov 16.
Older ideas:
Use timestamps, so that a version a certain time ago can be found and info
before some time/date can be flushed. 'undopersist' gives maximum time to
keep undo: "3h", "1d", "2w", "1y", etc. For the file use dot and
extension: ".filename.un~" (like swapfile but "un~" instead of "swp").
- Make it possible to undo all the commands from a mapping, including a - Make it possible to undo all the commands from a mapping, including a
trailing unfinished command, e.g. for ":map K iX^[r". trailing unfinished command, e.g. for ":map K iX^[r".
- When accidentally hitting "R" instead of Ctrl-R, further Ctrl-R is not - When accidentally hitting "R" instead of Ctrl-R, further Ctrl-R is not

View File

@ -1,4 +1,4 @@
*usr_27.txt* For Vim version 7.2. Last change: 2007 Nov 10 *usr_27.txt* For Vim version 7.2. Last change: 2010 Mar 28
VIM USER MANUAL - by Bram Moolenaar VIM USER MANUAL - by Bram Moolenaar
@ -40,7 +40,7 @@ matches.)
:set noignorecase :set noignorecase
But lets keep it set, and search for "INCLUDE". It will match exactly the But let's keep it set, and search for "INCLUDE". It will match exactly the
same text as "include" did. Now set the 'smartcase' option: > same text as "include" did. Now set the 'smartcase' option: >
:set ignorecase smartcase :set ignorecase smartcase

View File

@ -1,4 +1,4 @@
*various.txt* For Vim version 7.2. Last change: 2009 Nov 11 *various.txt* For Vim version 7.2. Last change: 2010 May 13
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*version7.txt* For Vim version 7.2. Last change: 2009 Dec 02 *version7.txt* For Vim version 7.2. Last change: 2010 May 14
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -56,6 +56,11 @@ Changed |changed-7.2|
Added |added-7.2| Added |added-7.2|
Fixed |fixed-7.2| Fixed |fixed-7.2|
VERSION 7.3 |version-7.3|
Changed |changed-7.3|
Added |added-7.3|
Fixed |fixed-7.3|
============================================================================== ==============================================================================
INCOMPATIBLE CHANGES *incompatible-7* INCOMPATIBLE CHANGES *incompatible-7*
@ -7142,5 +7147,34 @@ Pelle)
Mac: Could not build with Perl interface. Mac: Could not build with Perl interface.
==============================================================================
VERSION 7.3 *version-7.3*
This section is about improvements made between version 7.2 and 7.3.
This is a bug-fix release and there are a few new features.
Changed *changed-7.3*
-------
The extra and language files are no longer distributed separately.
The files for all systems are included in one distribution.
Added *added-7.3*
-----
New syntax files:
New spell files:
Breton. (Dominique Pelle)
Fixed *fixed-7.3*
-----
vim:tw=78:ts=8:ft=help:norl: vim:tw=78:ts=8:ft=help:norl:

View File

@ -1,4 +1,4 @@
*windows.txt* For Vim version 7.2. Last change: 2009 Sep 23 *windows.txt* For Vim version 7.2. Last change: 2010 Apr 12
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -467,11 +467,11 @@ CTRL-W = Make all windows (almost) equally high and wide, but use
:res[ize] -N *:res* *:resize* *CTRL-W_-* :res[ize] -N *:res* *:resize* *CTRL-W_-*
CTRL-W - Decrease current window height by N (default 1). CTRL-W - Decrease current window height by N (default 1).
If used after 'vertical': decrease width by N. If used after |:vertical|: decrease width by N.
:res[ize] +N *CTRL-W_+* :res[ize] +N *CTRL-W_+*
CTRL-W + Increase current window height by N (default 1). CTRL-W + Increase current window height by N (default 1).
If used after 'vertical': increase width by N. If used after |:vertical|: increase width by N.
:res[ize] [N] :res[ize] [N]
CTRL-W CTRL-_ *CTRL-W_CTRL-_* *CTRL-W__* CTRL-W CTRL-_ *CTRL-W_CTRL-_* *CTRL-W__*

View File

@ -1,7 +1,7 @@
" Vim support file to detect file types " Vim support file to detect file types
" "
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2010 Feb 24 " Last Change: 2010 May 14
" Listen very carefully, I will say this only once " Listen very carefully, I will say this only once
if exists("did_load_filetypes") if exists("did_load_filetypes")
@ -324,6 +324,9 @@ au BufNewFile,BufRead */.calendar/*,
" C# " C#
au BufNewFile,BufRead *.cs setf cs au BufNewFile,BufRead *.cs setf cs
" Cabal
au BufNewFile,BufRead *.cabal setf cabal
" Cdrdao TOC " Cdrdao TOC
au BufNewFile,BufRead *.toc setf cdrtoc au BufNewFile,BufRead *.toc setf cdrtoc
@ -333,6 +336,9 @@ au BufNewFile,BufRead etc/cdrdao.conf,etc/defaults/cdrdao,etc/default/cdrdao,~/.
" Cfengine " Cfengine
au BufNewFile,BufRead cfengine.conf setf cfengine au BufNewFile,BufRead cfengine.conf setf cfengine
" ChaiScript
au BufRead,BufNewFile *.chai setf chaiscript
" Comshare Dimension Definition Language " Comshare Dimension Definition Language
au BufNewFile,BufRead *.cdl setf cdl au BufNewFile,BufRead *.cdl setf cdl
@ -764,7 +770,7 @@ au BufNewFile,BufRead *.haml setf haml
au BufNewFile,BufRead *.hsc,*.hsm setf hamster au BufNewFile,BufRead *.hsc,*.hsm setf hamster
" Haskell " Haskell
au BufNewFile,BufRead *.hs setf haskell au BufNewFile,BufRead *.hs,*.hs-boot setf haskell
au BufNewFile,BufRead *.lhs setf lhaskell au BufNewFile,BufRead *.lhs setf lhaskell
au BufNewFile,BufRead *.chs setf chaskell au BufNewFile,BufRead *.chs setf chaskell
@ -1381,6 +1387,10 @@ au BufNewFile,BufRead *.g setf pccts
" PPWizard " PPWizard
au BufNewFile,BufRead *.it,*.ih setf ppwiz au BufNewFile,BufRead *.it,*.ih setf ppwiz
" Obj 3D file format
" TODO: is there a way to avoid MS-Windows Object files?
au BufNewFile,BufRead *.obj setf obj
" Oracle Pro*C/C++ " Oracle Pro*C/C++
au BufNewFile,BufRead *.pc setf proc au BufNewFile,BufRead *.pc setf proc
@ -1938,6 +1948,9 @@ au BufNewFile,BufRead *.sdc setf sdc
" Sudoers " Sudoers
au BufNewFile,BufRead /etc/sudoers,sudoers.tmp setf sudoers au BufNewFile,BufRead /etc/sudoers,sudoers.tmp setf sudoers
" SVG (Scalable Vector Graphics)
au BufNewFile,BufRead *.svg setf svg
" If the file has an extension of 't' and is in a directory 't' then it is " If the file has an extension of 't' and is in a directory 't' then it is
" almost certainly a Perl test file. " almost certainly a Perl test file.
" If the first line starts with '#' and contains 'perl' it's probably a Perl " If the first line starts with '#' and contains 'perl' it's probably a Perl

View File

@ -3,12 +3,12 @@
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
" Former Maintainers: Michael Piefel <piefel@informatik.hu-berlin.de> " Former Maintainers: Michael Piefel <piefel@informatik.hu-berlin.de>
" Stefano Zacchiroli <zack@debian.org> " Stefano Zacchiroli <zack@debian.org>
" Last Change: 2008-03-08 " Last Change: 2010-04-29
" License: GNU GPL, version 2.0 or later " License: GNU GPL, version 2.0 or later
" URL: http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/ftplugin/debchangelog.vim;hb=debian " URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/tip/runtime/ftplugin/debchangelog.vim
" Bug completion requires apt-listbugs installed for Debian packages or " Bug completion requires apt-listbugs installed for Debian packages or
" python-launchpad-bugs installed for Ubuntu packages " python-launchpadlib installed for Ubuntu packages
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
@ -329,17 +329,26 @@ fun! DebCompleteBugs(findstart, base)
python << EOF python << EOF
import vim import vim
try: try:
from launchpadbugs import connector from launchpadlib.launchpad import Launchpad
buglist = connector.ConnectBugList() from lazr.restfulclient.errors import HTTPError
bl = list(buglist('https://bugs.launchpad.net/ubuntu/+source/%s' % vim.eval('pkgsrc'))) # login anonymously
bl.sort(None, int) lp = Launchpad.login_anonymously('debchangelog.vim', 'production')
ubuntu = lp.distributions['ubuntu']
try:
sp = ubuntu.getSourcePackage(name=vim.eval('pkgsrc'))
status = ('New', 'Incomplete', 'Confirmed', 'Triaged',
'In Progress', 'Fix Committed')
tasklist = sp.searchTasks(status=status, order_by='id')
liststr = '[' liststr = '['
for bug in bl: for task in tasklist:
liststr += "'#%d - %s'," % (int(bug), bug.summary.replace('\'', '\'\'')) bug = task.bug
liststr += "'#%d - %s'," % (bug.id, bug.title.replace('\'', '\'\''))
liststr += ']' liststr += ']'
vim.command('silent let bug_lines = %s' % liststr) vim.command('silent let bug_lines = %s' % liststr.encode('utf-8'))
except HTTPError:
pass
except ImportError: except ImportError:
vim.command('echoerr \'python-launchpad-bugs needs to be installed to use Launchpad bug completion\'') vim.command('echoerr \'python-launchpadlib >= 1.5.4 needs to be installed to use Launchpad bug completion\'')
EOF EOF
else else
if ! filereadable('/usr/sbin/apt-listbugs') if ! filereadable('/usr/sbin/apt-listbugs')

View File

@ -3,7 +3,7 @@
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
" Former Maintainer: Pierre Habouzit <madcoder@debian.org> " Former Maintainer: Pierre Habouzit <madcoder@debian.org>
" Last Change: 2008-03-08 " Last Change: 2008-03-08
" URL: http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/ftplugin/debcontrol.vim;hb=debian " URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/tip/runtime/ftplugin/debcontrol.vim
" Do these settings once per buffer " Do these settings once per buffer
if exists("b:did_ftplugin") if exists("b:did_ftplugin")

View File

@ -0,0 +1,50 @@
" Vim indent file
" Language: ChaiScript
" Maintainer: Jason Turner <lefticus 'at' gmail com>
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
setlocal indentexpr=GetChaiScriptIndent()
setlocal autoindent
" Only define the function once.
if exists("*GetChaiScriptIndent")
finish
endif
function! GetChaiScriptIndent()
" Find a non-blank line above the current line.
let lnum = prevnonblank(v:lnum - 1)
" Hit the start of the file, use zero indent.
if lnum == 0
return 0
endif
" Add a 'shiftwidth' after lines that start a block:
" lines containing a {
let ind = indent(lnum)
let flag = 0
let prevline = getline(lnum)
if prevline =~ '^.*{.*'
let ind = ind + &shiftwidth
let flag = 1
endif
" Subtract a 'shiftwidth' after lines containing a { followed by a }
" to keep it balanced
if flag == 1 && prevline =~ '.*{.*}.*'
let ind = ind - &shiftwidth
endif
" Subtract a 'shiftwidth' on lines ending with }
if getline(v:lnum) =~ '^\s*\%(}\)'
let ind = ind - &shiftwidth
endif
return ind
endfunction

136
runtime/indent/perl6.vim Normal file
View File

@ -0,0 +1,136 @@
" Vim indent file
" Language: Perl 6
" Maintainer: Andy Lester <andy@petdance.com>
" URL: http://github.com/petdance/vim-perl/tree/master
" Last Change: 2009-07-04
" Contributors: Andy Lester <andy@petdance.com>
" Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
"
" Adapted from Perl indent file by Rafael Garcia-Suarez <rgarciasuarez@free.fr>
" Suggestions and improvements by :
" Aaron J. Sherman (use syntax for hints)
" Artem Chuprina (play nice with folding)
" TODO:
" This file still relies on stuff from the Perl 5 syntax file, which Perl 6
" does not use.
"
" Things that are not or not properly indented (yet) :
" - Continued statements
" print "foo",
" "bar";
" print "foo"
" if bar();
" - Multiline regular expressions (m//x)
" (The following probably needs modifying the perl syntax file)
" - qw() lists
" - Heredocs with terminators that don't match \I\i*
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
" Is syntax highlighting active ?
let b:indent_use_syntax = has("syntax")
setlocal indentexpr=GetPerl6Indent()
" we reset it first because the Perl 5 indent file might have been loaded due
" to a .pl/pm file extension, and indent files don't clean up afterwards
setlocal indentkeys&
setlocal indentkeys+=0=,0),0],0>,0»,0=or,0=and
if !b:indent_use_syntax
setlocal indentkeys+=0=EO
endif
" Only define the function once.
if exists("*GetPerl6Indent")
finish
endif
let s:cpo_save = &cpo
set cpo-=C
function GetPerl6Indent()
" Get the line to be indented
let cline = getline(v:lnum)
" Indent POD markers to column 0
if cline =~ '^\s*=\L\@!'
return 0
endif
" Don't reindent coments on first column
if cline =~ '^#'
return 0
endif
" Get current syntax item at the line's first char
let csynid = ''
if b:indent_use_syntax
let csynid = synIDattr(synID(v:lnum,1,0),"name")
endif
" Don't reindent POD and heredocs
if csynid =~ "^p6Pod"
return indent(v:lnum)
endif
" Now get the indent of the previous perl line.
" Find a non-blank line above the current line.
let lnum = prevnonblank(v:lnum - 1)
" Hit the start of the file, use zero indent.
if lnum == 0
return 0
endif
let line = getline(lnum)
let ind = indent(lnum)
" Skip heredocs, POD, and comments on 1st column
if b:indent_use_syntax
let skippin = 2
while skippin
let synid = synIDattr(synID(lnum,1,0),"name")
if (synid =~ "^p6Pod" || synid =~ "p6Comment")
let lnum = prevnonblank(lnum - 1)
if lnum == 0
return 0
endif
let line = getline(lnum)
let ind = indent(lnum)
let skippin = 1
else
let skippin = 0
endif
endwhile
endif
if line =~ '[<«\[{(]\s*\(#[^)}\]»>]*\)\=$'
let ind = ind + &sw
endif
if cline =~ '^\s*[)}\]»>]'
let ind = ind - &sw
endif
" Indent lines that begin with 'or' or 'and'
if cline =~ '^\s*\(or\|and\)\>'
if line !~ '^\s*\(or\|and\)\>'
let ind = ind + &sw
endif
elseif line =~ '^\s*\(or\|and\)\>'
let ind = ind - &sw
endif
return ind
endfunction
let &cpo = s:cpo_save
unlet s:cpo_save
" vim:ts=8:sts=4:sw=4:expandtab:ft=vim

View File

@ -1,14 +1,14 @@
" Vim keymap file for Bulgarian and Russian characters, "bds" layout. " Vim keymap file for Bulgarian and Russian characters, "bds" layout.
" Most of it can be used with both utf-8 and cp1251 file encodings, except " Most of it can be used with both utf-8 and cp1251 file encodings, except
" the accented vowels which can only be stored in utf-8. " the accented characters which can only be stored in utf-8.
" This file itself is in utf-8. " This file itself is in utf-8.
" Maintainer: Boyko Bantchev <boykobb@gmail.com> " Maintainer: Boyko Bantchev <boykobb@gmail.com>
" URI: http://www.math.bas.bg/bantchev/vim/bulgarian-bds.vim " URI: http://www.math.bas.bg/bantchev/vim/bulgarian-bds.vim
" Last Changed: 2008 June 28 " Last Changed: 2010 May 4
" This keymap corresponds to what is called Bulgarian standard typewriter " This keymap corresponds to what is called Bulgarian standard typewriter
" keyboard layout (BDS, БДС). " keyboard layout, or "БДС".
" "
" Note that, in addition to the Bulgarian alphabet, the BDS layout prescribes " Note that, in addition to the Bulgarian alphabet, the BDS layout prescribes
" the presence of the following characters: " the presence of the following characters:
@ -17,7 +17,7 @@
" without having to leave Cyrillic mode. " without having to leave Cyrillic mode.
" "
" Some punctuation characters present in ascii are mapped in BDS to keys " Some punctuation characters present in ascii are mapped in BDS to keys
" different from the ones they occupy in the qwerty layout, because the latter " different from the ones they occupy in the QWERTY layout, because the latter
" keys are used to type other characters. " keys are used to type other characters.
" "
" In this keymap, also defined (besides BDS) are: " In this keymap, also defined (besides BDS) are:
@ -28,12 +28,16 @@
" — The quotation marks „ “ ” (used in the Bulgarian and English " — The quotation marks „ “ ” (used in the Bulgarian and English
" quotation styles), as well as « » (Russian quotation style). " quotation styles), as well as « » (Russian quotation style).
" — The characters §, №, (en-dash), — (em-dash), …, •, ·, ±, °, ¬, " — The characters §, №, (en-dash), — (em-dash), …, •, ·, ±, °, ¬,
" ¤, and €. " ¤, €, ‰, †, ‡, and ¶.
" "
" The keymap also defines key combinations for accented vowels in Bulgarian. " The keymap also defines key combinations for grave and acute accents.
" (Grave accent is used in Bulgarian, acute in Russian, but both accents
" apply to other languages as well.)
" "
" For details of what key or key combination maps to what character, please " For details of what key or key combination maps to what character, please
" see below the map table itself. " see below the map itself.
"
" See also http://www.math.bas.bg/bantchev/vim/kbdbul.html (in Bulgarian).
scriptencoding utf-8 scriptencoding utf-8
@ -139,21 +143,13 @@ q , COMMA
~~ ¬ NOT SIGN ~~ ¬ NOT SIGN
@@ ¤ CURRENCY SIGN @@ ¤ CURRENCY SIGN
$$ € EURO SIGN $$ € EURO SIGN
%% ‰ PER MILLE SIGN
+|DAGGER
++DOUBLE DAGGER
||PILCROW SIGN
" accented vowels cannot map onto cp1251 use utf-8 file encoding " Accented characters cannot map onto cp1251 use utf-8 file encoding.
`D А̀ CYRILLIC CAPITAL LETTER A + GRAVE ACCENT (COMPOSED) " To apply an accent to a letter, type the corresponding key combination
`d а̀ CYRILLIC SMALL LETTER A + GRAVE ACCENT (COMPOSED) " to the immediate right of that letter.
`E Ѐ CYRILLIC CAPITAL LETTER IE + GRAVE ACCENT (COMPOSED) ^` <char-0x300> COMBINING GRAVE ACCENT
`e ѐ CYRILLIC SMALL LETTER IE + GRAVE ACCENT (COMPOSED) ^' <char-0x301> COMBINING ACUTE ACCENT
`R Ѝ CYRILLIC CAPITAL LETTER I + GRAVE ACCENT (COMPOSED)
`r ѝ CYRILLIC SMALL LETTER I + GRAVE ACCENT (COMPOSED)
`F О̀ CYRILLIC CAPITAL LETTER O + GRAVE ACCENT (COMPOSED)
`f о̀ CYRILLIC SMALL LETTER O + GRAVE ACCENT (COMPOSED)
`W У̀ CYRILLIC CAPITAL LETTER U + GRAVE ACCENT (COMPOSED)
`w у̀ CYRILLIC SMALL LETTER U + GRAVE ACCENT (COMPOSED)
`C Ъ̀ CYRILLIC CAPITAL LETTER HARD SIGN + GRAVE ACCENT (COMPOSED)
`c ъ̀ CYRILLIC SMALL LETTER HARD SIGN + GRAVE ACCENT (COMPOSED)
`Z Ю̀ CYRILLIC CAPITAL LETTER YU + GRAVE ACCENT (COMPOSED)
`z ю̀ CYRILLIC SMALL LETTER YU + GRAVE ACCENT (COMPOSED)
`S Я̀ CYRILLIC CAPITAL LETTER YA + GRAVE ACCENT (COMPOSED)
`s я̀ CYRILLIC SMALL LETTER YA + GRAVE ACCENT (COMPOSED)

View File

@ -5,15 +5,13 @@
" Maintainer: Boyko Bantchev <boykobb@gmail.com> " Maintainer: Boyko Bantchev <boykobb@gmail.com>
" URI: http://www.math.bas.bg/bantchev/vim/bulgarian-phonetic.vim " URI: http://www.math.bas.bg/bantchev/vim/bulgarian-phonetic.vim
" Last Changed: 2008 June 28 " Last Changed: 2010 May 4
" For a rationale for the layout and additional info on typing in Bulgarian
" using Unicode Cyrillic please see:
" This keymap corresponds to what is called "phonetic layout" in Bulgaria: " This keymap corresponds to what is called "phonetic layout" in Bulgaria:
" Cyrillic letters tend to be mapped to their Latin homophones, if present. " Cyrillic letters tend to be mapped to their Latin homophones wherever
" Most keys corresponding to punctuation characters are left unmapped, so " there are ones. Most keys corresponding to punctuation characters are
" they retain their usual (qwerty) meanings in Cyrillic typing. " left unmapped, so they retain their usual (QWERTY) meanings when typing
" Cyrillic.
" "
" In addition to the Bulgarian alphabet, the keymap makes accessible the " In addition to the Bulgarian alphabet, the keymap makes accessible the
" following characters: " following characters:
@ -24,12 +22,16 @@
" — The quotation marks „ “ ” (used in the Bulgarian and English " — The quotation marks „ “ ” (used in the Bulgarian and English
" quotation styles), as well as « » (Russian quotation style). " quotation styles), as well as « » (Russian quotation style).
" — The characters §, №, (en-dash), — (em-dash), …, •, ·, ±, °, ¬, " — The characters §, №, (en-dash), — (em-dash), …, •, ·, ±, °, ¬,
" ¤, and €. " ¤, €, ‰, †, ‡, and ¶.
" "
" The keymap also defines key combinations for accented vowels in Bulgarian. " The keymap also defines key combinations for grave and acute accents.
" (Grave accent is used in Bulgarian, acute in Russian, but both accents
" apply to other languages as well.)
" "
" For details of what key or key combination maps to what character, please " For details of what key or key combination maps to what character, please
" see below the map table itself. " see below the map itself.
"
" See also http://www.math.bas.bg/bantchev/vim/kbdbul.html (in Bulgarian).
scriptencoding utf-8 scriptencoding utf-8
@ -121,21 +123,13 @@ q я CYRILLIC SMALL LETTER YA
~~ ¬ NOT SIGN ~~ ¬ NOT SIGN
@@ ¤ CURRENCY SIGN @@ ¤ CURRENCY SIGN
$$ € EURO SIGN $$ € EURO SIGN
%% ‰ PER MILLE SIGN
+|DAGGER
++DOUBLE DAGGER
||PILCROW SIGN
" accented vowels cannot map onto cp1251 use utf-8 file encoding " Accented characters cannot map onto cp1251 use utf-8 file encoding.
'A А̀ CYRILLIC CAPITAL LETTER A + GRAVE ACCENT (COMPOSED) " To apply an accent to a letter, type the corresponding key combination
'a а̀ CYRILLIC SMALL LETTER A + GRAVE ACCENT (COMPOSED) " to the immediate right of that letter.
'E Ѐ CYRILLIC CAPITAL LETTER IE + GRAVE ACCENT (COMPOSED) ^` <char-0x300> COMBINING GRAVE ACCENT
'e ѐ CYRILLIC SMALL LETTER IE + GRAVE ACCENT (COMPOSED) ^' <char-0x301> COMBINING ACUTE ACCENT
'I Ѝ CYRILLIC CAPITAL LETTER I + GRAVE ACCENT (COMPOSED)
'i ѝ CYRILLIC SMALL LETTER I + GRAVE ACCENT (COMPOSED)
'O О̀ CYRILLIC CAPITAL LETTER O + GRAVE ACCENT (COMPOSED)
'o о̀ CYRILLIC SMALL LETTER O + GRAVE ACCENT (COMPOSED)
'U У̀ CYRILLIC CAPITAL LETTER U + GRAVE ACCENT (COMPOSED)
'u у̀ CYRILLIC SMALL LETTER U + GRAVE ACCENT (COMPOSED)
'Y Ъ̀ CYRILLIC CAPITAL LETTER HARD SIGN + GRAVE ACCENT (COMPOSED)
'y ъ̀ CYRILLIC SMALL LETTER HARD SIGN + GRAVE ACCENT (COMPOSED)
'| Ю̀ CYRILLIC CAPITAL LETTER YU + GRAVE ACCENT (COMPOSED)
'\\ ю̀ CYRILLIC SMALL LETTER YU + GRAVE ACCENT (COMPOSED)
'Q Я̀ CYRILLIC CAPITAL LETTER YA + GRAVE ACCENT (COMPOSED)
'q я̀ CYRILLIC SMALL LETTER YA + GRAVE ACCENT (COMPOSED)

View File

@ -1,3 +1,3 @@
" Menu Translations: Serbian " Menu Translations: Serbian
source <sfile>:p:h/menu_sr_yu.utf-8.vim source <sfile>:p:h/menu_sr_rs.utf-8.vim

View File

@ -0,0 +1,258 @@
" Menu Translations: Serbian
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
" Last Change: Fri, 30 May 2003 12:15:30 -0400
" Quit when menu translations have already been done.
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
" Help menu
menutrans &Help Pomo&c
menutrans &Overview<Tab><F1> &Pregled<Tab><F1>
menutrans &User\ Manual &Uputstvo\ za\ korisnike
menutrans &How-to\ links &Kako\ da\.\.\.
menutrans &Find &Nadji
menutrans &Credits &Zasluge
menutrans Co&pying P&reuzimanje
menutrans O&rphans &Sirocici
menutrans &Version &Verzija
menutrans &About &O\ programu
" File menu
menutrans &File &Datoteka
menutrans &Open\.\.\.<Tab>:e &Otvori\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp &Podeli-otvori\.\.\.<Tab>:sp
menutrans &New<Tab>:enew &Nova<Tab>:enew
menutrans &Close<Tab>:close &Zatvori<Tab>:close
menutrans &Save<Tab>:w &Sacuvaj<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav Sacuvaj\ &kao\.\.\.<Tab>:sav
menutrans Split\ &Diff\ with\.\.\. Podeli\ i\ &uporedi\ sa\.\.\.
menutrans Split\ Patched\ &By\.\.\. Po&deli\ i\ prepravi\ sa\.\.\.
menutrans &Print Sta&mpaj
menutrans Sa&ve-Exit<Tab>:wqa Sacuvaj\ i\ za&vrsi<Tab>:wqa
menutrans E&xit<Tab>:qa K&raj<Tab>:qa
" Edit menu
menutrans &Edit &Uredjivanje
menutrans &Undo<Tab>u &Vrati<Tab>u
menutrans &Redo<Tab>^R &Povrati<Tab>^R
menutrans Rep&eat<Tab>\. P&onovi<Tab>\.
menutrans Cu&t<Tab>"+x Ise&ci<Tab>"+x
menutrans &Copy<Tab>"+y &Kopiraj<Tab>"+y
menutrans &Paste<Tab>"+gP &Ubaci<Tab>"+gP
menutrans &Paste<Tab>"+P &Ubaci<Tab>"+gP
menutrans Put\ &Before<Tab>[p Stavi\ pre&d<Tab>[p
menutrans Put\ &After<Tab>]p Stavi\ &iza<Tab>]p
menutrans &Delete<Tab>x Iz&brisi<Tab>x
menutrans &Select\ all<Tab>ggVG Izaberi\ sv&e<Tab>ggVG
menutrans &Find\.\.\. &Nadji\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. Nadji\ i\ &zameni\.\.\.
menutrans Settings\ &Window P&rozor\ podesavanja
menutrans &Global\ Settings Op&sta\ podesavanja
menutrans F&ile\ Settings Podesavanja\ za\ da&toteke
menutrans &Shiftwidth &Pomeraj
menutrans Soft\ &Tabstop &Meka\ tabulacija
menutrans Te&xt\ Width\.\.\. &Sirina\ teksta\.\.\.
menutrans &File\ Format\.\.\. &Vrsta\ datoteke\.\.\.
menutrans C&olor\ Scheme Bo&je
menutrans &Keymap Pres&likavanje\ tastature
menutrans Select\ Fo&nt\.\.\. Izbor\ &fonta\.\.\.
" Edit/Global Settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Naglasi\ &obrazce\ (da/ne)<Tab>:set\ hls!
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Zanemari\ \velicinu\ &slova\ (da/ne)<Tab>:set\ ic!
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Proveri\ pratecu\ &zagradu\ (da/ne)<Tab>:set\ sm!
menutrans &Context\ lines Vidljivi\ &redovi
menutrans &Virtual\ Edit Virtuelno\ &uredjivanje
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Rezim\ u&nosa\ (da/ne)<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! '&Vi'\ saglasno\ (da/ne)<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. Putanja\ &pretrage\.\.\.
menutrans Ta&g\ Files\.\.\. &Datoteke\ oznaka\.\.\.
menutrans Toggle\ &Toolbar Linija\ sa\ &alatkama\ (da/ne)
menutrans Toggle\ &Bottom\ Scrollbar Donja\ l&inija\ klizanja\ (da/ne)
menutrans Toggle\ &Left\ Scrollbar &Leva\ linija\ klizanja\ (da/ne)
menutrans Toggle\ &Right\ Scrollbar &Desna\ linija\ klizanja\ (da/ne)
" Edit/Global Settings/Virtual Edit
menutrans Never Nikad
menutrans Block\ Selection Izbor\ bloka
menutrans Insert\ mode Rezim\ unosa
menutrans Block\ and\ Insert Blok\ i\ unos
menutrans Always Uvek
" Edit/File Settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Redni\ &brojevi\ (da/ne)<Tab>:set\ nu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Rezim\ &liste\ (da/ne)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Obavijanje\ &redova\ (da/ne)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Prelomi\ &na\ rec\ (da/ne)<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! Razmaci\ umesto\ &tabulacije\ (da/ne)<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! Auto-&uvlacenje\ (da/ne)<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &Ce-uvlacenje\ (da/ne)<Tab>:set\ cin!
" Edit/Keymap
menutrans None Nijedan
" Tools menu
menutrans &Tools &Alatke
menutrans &Jump\ to\ this\ tag<Tab>g^] Skoci\ na\ &ovu\ oznaku<Tab>g^]
menutrans Jump\ &back<Tab>^T Skoci\ &natrag<Tab>^T
menutrans Build\ &Tags\ File Izgradi\ &datoteku\ oznaka
menutrans &Folding &Podvijanje
menutrans Create\ &Fold<Tab>zf S&tvori\ podvijutak<Tab>zf
menutrans &Delete\ Fold<Tab>zd O&brisi\ podvijutak<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Obrisi\ sve\ po&dvijutke<Tab>zD
menutrans Fold\ column\ &width Sirina\ &reda\ podvijutka
menutrans &Diff &Uporedjivanje
menutrans &Make<Tab>:make 'mak&e'<Tab>:make
menutrans &List\ Errors<Tab>:cl Spisak\ &gresaka<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Sp&isak\ poruka<Tab>:cl!
menutrans &Next\ Error<Tab>:cn S&ledeca\ greska<Tab>:cn
menutrans &Previous\ Error<Tab>:cp Pre&thodna\ greska<Tab>:cp
menutrans &Older\ List<Tab>:cold Stari\ spisa&k<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew No&vi\ spisak<Tab>:cnew
menutrans Error\ &Window Prozor\ sa\ g&reskama
menutrans &Set\ Compiler I&zaberi\ prevodioca
menutrans &Convert\ to\ HEX<Tab>:%!xxd Pretvori\ u\ &HEKS<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Vr&ati\ u\ prvobitan\ oblik<Tab>:%!xxd\ -r
" Tools/Folding
menutrans &Enable/Disable\ folds<Tab>zi &Omoguci/prekini\ podvijanje<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv &Pokazi\ red\ sa\ kursorom<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Pokazi\ &samo\ red\ sa\ kursorom<Tab>zMzx
menutrans C&lose\ more\ folds<Tab>zm &Zatvori\ vise\ podvijutaka<Tab>zm
menutrans &Close\ all\ folds<Tab>zM Zatvori\ s&ve\ podvijutke<Tab>zM
menutrans O&pen\ more\ folds<Tab>zr Otvori\ vis&e\ podvijutaka<Tab>zr
menutrans &Open\ all\ folds<Tab>zR O&tvori\ sve\ podvijutke<Tab>zR
menutrans Fold\ Met&hod &Nacin\ podvijanja
" Tools/Folding/Fold Method
menutrans M&anual &Rucno
menutrans I&ndent &Uvucenost
menutrans E&xpression &Izraz
menutrans S&yntax &Sintaksa
"menutrans &Diff
menutrans Ma&rker &Oznaka
" Tools/Diff
menutrans &Update &Azuriraj
menutrans &Get\ Block &Prihvati\ izmenu
menutrans &Put\ Block Pre&baci\ izmenu
" Tools/Error Window
menutrans &Update<Tab>:cwin &Azuriraj<Tab>:cwin
menutrans &Open<Tab>:copen &Otvori<Tab>:copen
menutrans &Close<Tab>:cclose &Zatvori<Tab>:cclose
" Bufers menu
menutrans &Buffers &Baferi
menutrans &Refresh\ menu &Azuriraj
menutrans Delete &Obrisi
menutrans &Alternate A&lternativni
menutrans &Next &Sledeci
menutrans &Previous &Prethodni
menutrans [No\ File] [Nema\ datoteke]
" Window menu
menutrans &Window &Prozor
menutrans &New<Tab>^Wn &Novi<Tab>^Wn
menutrans S&plit<Tab>^Ws &Podeli<Tab>^Ws
menutrans Sp&lit\ To\ #<Tab>^W^^ Podeli\ sa\ &alternativnim<Tab>^W^^
menutrans Split\ &Vertically<Tab>^Wv Podeli\ &uspravno<Tab>^Wv
menutrans Split\ File\ E&xplorer Podeli\ za\ pregled\ &datoteka
menutrans &Close<Tab>^Wc &Zatvori<Tab>^Wc
menutrans Close\ &Other(s)<Tab>^Wo Zatvori\ &ostale<Tab>^Wo
"menutrans Ne&xt<Tab>^Ww &Sledeci<Tab>^Ww
"menutrans P&revious<Tab>^WW P&rethodni<Tab>^WW
menutrans Move\ &To Pre&mesti
menutrans Rotate\ &Up<Tab>^WR &Kruzno\ nagore<Tab>^WR
menutrans Rotate\ &Down<Tab>^Wr Kruzno\ nadol&e<Tab>^Wr
menutrans &Equal\ Size<Tab>^W= &Iste\ velicine<Tab>^W=
menutrans &Max\ Height<Tab>^W_ Maksimalna\ &visina<Tab>^W_
menutrans M&in\ Height<Tab>^W1_ Minima&lna\ visina<Tab>^W1_
menutrans Max\ &Width<Tab>^W\| Maksimalna\ &sirina<Tab>^W\|
menutrans Min\ Widt&h<Tab>^W1\| Minimalna\ si&rina<Tab>^W1\|
" Window/Move To
menutrans &Top<Tab>^WK &Vrh<Tab>^WK
menutrans &Bottom<Tab>^WJ &Podnozje<Tab>^WJ
menutrans &Left\ side<Tab>^WH U&levo<Tab>^WH
menutrans &Right\ side<Tab>^WL U&desno<Tab>^WL
" The popup menu
menutrans &Undo &Vrati
menutrans Cu&t &Iseci
menutrans &Copy &Kopiraj
menutrans &Paste &Ubaci
menutrans &Delete I&zbrisi
menutrans Select\ Blockwise Biraj\ &pravougaono
menutrans Select\ &Word Izaberi\ &rec
menutrans Select\ &Line Izaberi\ r&ed
menutrans Select\ &Block Izaberi\ &blok
menutrans Select\ &All Izaberi\ &sve
" The GUI toolbar
if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
fun Do_toolbar_tmenu()
tmenu ToolBar.Open Ucitaj
tmenu ToolBar.Save Sacuvaj
tmenu ToolBar.SaveAll Sacuvaj sve
tmenu ToolBar.Print Stampaj
tmenu ToolBar.Undo Vrati
tmenu ToolBar.Redo Povrati
tmenu ToolBar.Cut Iseci
tmenu ToolBar.Copy Kopiraj
tmenu ToolBar.Paste Ubaci
tmenu ToolBar.Find Nadji
tmenu ToolBar.FindNext Nadji sledeci
tmenu ToolBar.FindPrev Nadji prethodni
tmenu ToolBar.Replace Zameni
tmenu ToolBar.New Novi
tmenu ToolBar.WinSplit Podeli prozor
tmenu ToolBar.WinMax Maksimalna visina
tmenu ToolBar.WinMin Minimalna visina
tmenu ToolBar.WinVSplit Podeli uspravno
tmenu ToolBar.WinMaxWidth Maksimalna sirina
tmenu ToolBar.WinMinWidth Minimalna sirina
tmenu ToolBar.WinClose Zatvori prozor
tmenu ToolBar.LoadSesn Ucitaj seansu
tmenu ToolBar.SaveSesn Sacuvaj seansu
tmenu ToolBar.RunScript Izvrsi spis
tmenu ToolBar.Make 'make'
tmenu ToolBar.Shell Operativno okruzenje
tmenu ToolBar.RunCtags Napravi oznake
tmenu ToolBar.TagJump Idi na oznaku
tmenu ToolBar.Help Pomoc
tmenu ToolBar.FindHelp Nadji objasnjenje
endfun
endif
" Syntax menu
menutrans &Syntax &Sintaksa
menutrans &Show\ filetypes\ in\ menu Izbor\ 'filetype'\ iz\ &menija
menutrans Set\ '&syntax'\ only Pode&si\ 'syntax'\ samo
menutrans Set\ '&filetype'\ too Podesi\ 'filetype'\ &takodje
menutrans &Off &Iskljuceno
menutrans &Manual &Rucno
menutrans A&utomatic &Automatski
menutrans on/off\ for\ &This\ file Da/ne\ za\ ovu\ &datoteku
menutrans Co&lor\ test Provera\ &boja
menutrans &Highlight\ test Provera\ isti&canja
menutrans &Convert\ to\ HTML Pretvori\ &u\ HTML
" dialog texts
let menutrans_help_dialog = "Unesite naredbu ili rec cije pojasnjenje trazite:\n\nDodajte i_ za naredbe unosa (npr. i_CTRL-X)\nDodajte c_ za naredbe komandnog rezima (npr. s_<Del>)\nDodajte ' za imena opcija (npr. 'shiftwidth')"
let g:menutrans_path_dialog = "Unesite put pretrage za datoteke\nRazdvojite zarezima imena direktorijuma."
let g:menutrans_tags_dialog = "Unesite imena datoteka sa oznakama\nRazdvojite zarezima imena."
let g:menutrans_textwidth_dialog = "Unesite novu sirinu teksta (0 sprecava prelom)"
let g:menutrans_fileformat_dialog = "Izaberite vrstu datoteke"
let menutrans_no_file = "[Nema datoteke]"

View File

@ -0,0 +1,259 @@
" Menu Translations: Serbian
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
" Last Change: Fri, 30 May 2003 12:04:48 -0400
" Quit when menu translations have already been done.
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
scriptencoding iso8859-2
" Help menu
menutrans &Help Pomo&æ
menutrans &Overview<Tab><F1> &Pregled<Tab><F1>
menutrans &User\ Manual &Uputstvo\ za\ korisnike
menutrans &How-to\ links &Kako\ da\.\.\.
menutrans &Find &Naði
menutrans &Credits &Zasluge
menutrans Co&pying P&reuzimanje
menutrans O&rphans &Siroèiæi
menutrans &Version &Verzija
menutrans &About &O\ programu
" File menu
menutrans &File &Datoteka
menutrans &Open\.\.\.<Tab>:e &Otvori\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp &Podeli-otvori\.\.\.<Tab>:sp
menutrans &New<Tab>:enew &Nova<Tab>:enew
menutrans &Close<Tab>:close &Zatvori<Tab>:close
menutrans &Save<Tab>:w &Saèuvaj<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav Saèuvaj\ &kao\.\.\.<Tab>:sav
menutrans Split\ &Diff\ with\.\.\. Podeli\ i\ &uporedi\ sa\.\.\.
menutrans Split\ Patched\ &By\.\.\. Po&deli\ i\ prepravi\ sa\.\.\.
menutrans &Print ©ta&mpaj
menutrans Sa&ve-Exit<Tab>:wqa Saèuvaj\ i\ za&vr¹i<Tab>:wqa
menutrans E&xit<Tab>:qa K&raj<Tab>:qa
" Edit menu
menutrans &Edit &Ureðivanje
menutrans &Undo<Tab>u &Vrati<Tab>u
menutrans &Redo<Tab>^R &Povrati<Tab>^R
menutrans Rep&eat<Tab>\. P&onovi<Tab>\.
menutrans Cu&t<Tab>"+x Ise&ci<Tab>"+x
menutrans &Copy<Tab>"+y &Kopiraj<Tab>"+y
menutrans &Paste<Tab>"+gP &Ubaci<Tab>"+gP
menutrans &Paste<Tab>"+P &Ubaci<Tab>"+gP
menutrans Put\ &Before<Tab>[p Stavi\ pre&d<Tab>[p
menutrans Put\ &After<Tab>]p Stavi\ &iza<Tab>]p
menutrans &Delete<Tab>x Iz&bri¹i<Tab>x
menutrans &Select\ all<Tab>ggVG Izaberi\ sv&e<Tab>ggVG
menutrans &Find\.\.\. &Naði\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. Naði\ i\ &zameni\.\.\.
menutrans Settings\ &Window P&rozor\ pode¹avanja
menutrans &Global\ Settings Opta\ pode¹avanja
menutrans F&ile\ Settings Pode¹avanja\ za\ da&toteke
menutrans &Shiftwidth &Pomeraj
menutrans Soft\ &Tabstop &Meka\ tabulacija
menutrans Te&xt\ Width\.\.\. &©irina\ teksta\.\.\.
menutrans &File\ Format\.\.\. &Vrsta\ datoteke\.\.\.
menutrans C&olor\ Scheme Bo&je
menutrans &Keymap Pres&likavanje\ tastature
menutrans Select\ Fo&nt\.\.\. Izbor\ &fonta\.\.\.
" Edit/Global Settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Naglasi\ &obrazce\ (da/ne)<Tab>:set\ hls!
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Zanemari\ \velièinu\ &slova\ (da/ne)<Tab>:set\ ic!
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Proveri\ prateæu\ &zagradu\ (da/ne)<Tab>:set\ sm!
menutrans &Context\ lines Vidljivi\ &redovi
menutrans &Virtual\ Edit Virtuelno\ &ureðivanje
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Re¾im\ u&nosa\ (da/ne)<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! '&Vi'\ saglasno\ (da/ne)<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. Putanja\ &pretrage\.\.\.
menutrans Ta&g\ Files\.\.\. &Datoteke\ oznaka\.\.\.
menutrans Toggle\ &Toolbar Linija\ sa\ &alatkama\ (da/ne)
menutrans Toggle\ &Bottom\ Scrollbar Donja\ l&inija\ klizanja\ (da/ne)
menutrans Toggle\ &Left\ Scrollbar &Leva\ linija\ klizanja\ (da/ne)
menutrans Toggle\ &Right\ Scrollbar &Desna\ linija\ klizanja\ (da/ne)
" Edit/Global Settings/Virtual Edit
menutrans Never Nikad
menutrans Block\ Selection Izbor\ bloka
menutrans Insert\ mode Re¾im\ unosa
menutrans Block\ and\ Insert Blok\ i\ unos
menutrans Always Uvek
" Edit/File Settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Redni\ &brojevi\ (da/ne)<Tab>:set\ nu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Re¾im\ &liste\ (da/ne)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Obavijanje\ &redova\ (da/ne)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Prelomi\ &na\ reè\ (da/ne)<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! Razmaci\ umesto\ &tabulacije\ (da/ne)<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! Auto-&uvlaèenje\ (da/ne)<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &Ce-uvlaèenje\ (da/ne)<Tab>:set\ cin!
" Edit/Keymap
menutrans None Nijedan
" Tools menu
menutrans &Tools &Alatke
menutrans &Jump\ to\ this\ tag<Tab>g^] Skoèi\ na\ &ovu\ oznaku<Tab>g^]
menutrans Jump\ &back<Tab>^T Skoèi\ &natrag<Tab>^T
menutrans Build\ &Tags\ File Izgradi\ &datoteku\ oznaka
menutrans &Folding &Podvijanje
menutrans Create\ &Fold<Tab>zf S&tvori\ podvijutak<Tab>zf
menutrans &Delete\ Fold<Tab>zd O&bri¹i\ podvijutak<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Obri¹i\ sve\ po&dvijutke<Tab>zD
menutrans Fold\ column\ &width ©irina\ &reda\ podvijutka
menutrans &Diff &Uporeðivanje
menutrans &Make<Tab>:make 'mak&e'<Tab>:make
menutrans &List\ Errors<Tab>:cl Spisak\ &gre¹aka<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Sp&isak\ poruka<Tab>:cl!
menutrans &Next\ Error<Tab>:cn S&ledeæa\ gre¹ka<Tab>:cn
menutrans &Previous\ Error<Tab>:cp Pre&thodna\ gre¹ka<Tab>:cp
menutrans &Older\ List<Tab>:cold Stari\ spisa&k<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew No&vi\ spisak<Tab>:cnew
menutrans Error\ &Window Prozor\ sa\ g&re¹kama
menutrans &Set\ Compiler I&zaberi\ prevodioca
menutrans &Convert\ to\ HEX<Tab>:%!xxd Pretvori\ u\ &HEKS<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Vr&ati\ u\ prvobitan\ oblik<Tab>:%!xxd\ -r
" Tools/Folding
menutrans &Enable/Disable\ folds<Tab>zi &Omoguæi/prekini\ podvijanje<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv &Poka¾i\ red\ sa\ kursorom<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Poka¾i\ &samo\ red\ sa\ kursorom<Tab>zMzx
menutrans C&lose\ more\ folds<Tab>zm &Zatvori\ vi¹e\ podvijutaka<Tab>zm
menutrans &Close\ all\ folds<Tab>zM Zatvori\ s&ve\ podvijutke<Tab>zM
menutrans O&pen\ more\ folds<Tab>zr Otvori\ vi¹&e\ podvijutaka<Tab>zr
menutrans &Open\ all\ folds<Tab>zR O&tvori\ sve\ podvijutke<Tab>zR
menutrans Fold\ Met&hod &Naèin\ podvijanja
" Tools/Folding/Fold Method
menutrans M&anual &Ruèno
menutrans I&ndent &Uvuèenost
menutrans E&xpression &Izraz
menutrans S&yntax &Sintaksa
"menutrans &Diff
menutrans Ma&rker &Oznaka
" Tools/Diff
menutrans &Update &A¾uriraj
menutrans &Get\ Block &Prihvati\ izmenu
menutrans &Put\ Block Pre&baci\ izmenu
" Tools/Error Window
menutrans &Update<Tab>:cwin &A¾uriraj<Tab>:cwin
menutrans &Open<Tab>:copen &Otvori<Tab>:copen
menutrans &Close<Tab>:cclose &Zatvori<Tab>:cclose
" Bufers menu
menutrans &Buffers &Baferi
menutrans &Refresh\ menu &A¾uriraj
menutrans Delete &Obri¹i
menutrans &Alternate A&lternativni
menutrans &Next &Sledeæi
menutrans &Previous &Prethodni
menutrans [No\ File] [Nema\ datoteke]
" Window menu
menutrans &Window &Prozor
menutrans &New<Tab>^Wn &Novi<Tab>^Wn
menutrans S&plit<Tab>^Ws &Podeli<Tab>^Ws
menutrans Sp&lit\ To\ #<Tab>^W^^ Podeli\ sa\ &alternativnim<Tab>^W^^
menutrans Split\ &Vertically<Tab>^Wv Podeli\ &uspravno<Tab>^Wv
menutrans Split\ File\ E&xplorer Podeli\ za\ pregled\ &datoteka
menutrans &Close<Tab>^Wc &Zatvori<Tab>^Wc
menutrans Close\ &Other(s)<Tab>^Wo Zatvori\ &ostale<Tab>^Wo
"menutrans Ne&xt<Tab>^Ww &Sledeæi<Tab>^Ww
"menutrans P&revious<Tab>^WW P&rethodni<Tab>^WW
menutrans Move\ &To Pre&mesti
menutrans Rotate\ &Up<Tab>^WR &Kru¾no\ nagore<Tab>^WR
menutrans Rotate\ &Down<Tab>^Wr Kru¾no\ nadol&e<Tab>^Wr
menutrans &Equal\ Size<Tab>^W= &Iste\ velièine<Tab>^W=
menutrans &Max\ Height<Tab>^W_ Maksimalna\ &visina<Tab>^W_
menutrans M&in\ Height<Tab>^W1_ Minima&lna\ visina<Tab>^W1_
menutrans Max\ &Width<Tab>^W\| Maksimalna\ &¹irina<Tab>^W\|
menutrans Min\ Widt&h<Tab>^W1\| Minimalna\ ¹i&rina<Tab>^W1\|
" Window/Move To
menutrans &Top<Tab>^WK &Vrh<Tab>^WK
menutrans &Bottom<Tab>^WJ &Podno¾je<Tab>^WJ
menutrans &Left\ side<Tab>^WH U&levo<Tab>^WH
menutrans &Right\ side<Tab>^WL U&desno<Tab>^WL
" The popup menu
menutrans &Undo &Vrati
menutrans Cu&t &Iseci
menutrans &Copy &Kopiraj
menutrans &Paste &Ubaci
menutrans &Delete I&zbri¹i
menutrans Select\ Blockwise Biraj\ &pravougaono
menutrans Select\ &Word Izaberi\ &reè
menutrans Select\ &Line Izaberi\ r&ed
menutrans Select\ &Block Izaberi\ &blok
menutrans Select\ &All Izaberi\ &sve
" The GUI toolbar
if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
fun Do_toolbar_tmenu()
tmenu ToolBar.Open Uèitaj
tmenu ToolBar.Save Saèuvaj
tmenu ToolBar.SaveAll Saèuvaj sve
tmenu ToolBar.Print ©tampaj
tmenu ToolBar.Undo Vrati
tmenu ToolBar.Redo Povrati
tmenu ToolBar.Cut Iseci
tmenu ToolBar.Copy Kopiraj
tmenu ToolBar.Paste Ubaci
tmenu ToolBar.Find Naði
tmenu ToolBar.FindNext Naði sledeæi
tmenu ToolBar.FindPrev Naði prethodni
tmenu ToolBar.Replace Zameni
tmenu ToolBar.New Novi
tmenu ToolBar.WinSplit Podeli prozor
tmenu ToolBar.WinMax Maksimalna visina
tmenu ToolBar.WinMin Minimalna visina
tmenu ToolBar.WinVSplit Podeli uspravno
tmenu ToolBar.WinMaxWidth Maksimalna ¹irina
tmenu ToolBar.WinMinWidth Minimalna ¹irina
tmenu ToolBar.WinClose Zatvori prozor
tmenu ToolBar.LoadSesn Uèitaj seansu
tmenu ToolBar.SaveSesn Saèuvaj seansu
tmenu ToolBar.RunScript Izvr¹i spis
tmenu ToolBar.Make 'make'
tmenu ToolBar.Shell Operativno okru¾enje
tmenu ToolBar.RunCtags Napravi oznake
tmenu ToolBar.TagJump Idi na oznaku
tmenu ToolBar.Help Pomoæ
tmenu ToolBar.FindHelp Naði obja¹njenje
endfun
endif
" Syntax menu
menutrans &Syntax &Sintaksa
menutrans &Show\ filetypes\ in\ menu Izbor\ 'filetype'\ iz\ &menija
menutrans Set\ '&syntax'\ only Pode&si\ 'syntax'\ samo
menutrans Set\ '&filetype'\ too Podesi\ 'filetype'\ &takoðe
menutrans &Off &Iskljuèeno
menutrans &Manual &Ruèno
menutrans A&utomatic &Automatski
menutrans on/off\ for\ &This\ file Da/ne\ za\ ovu\ &datoteku
menutrans Co&lor\ test Provera\ &boja
menutrans &Highlight\ test Provera\ isti&canja
menutrans &Convert\ to\ HTML Pretvori\ &u\ HTML
" dialog texts
let menutrans_help_dialog = "Unesite naredbu ili reè èije poja¹njenje tra¾ite:\n\nDodajte i_ za naredbe unosa (npr. i_CTRL-X)\nDodajte c_ za naredbe komandnog re¾ima (npr. s_<Del>)\nDodajte ' za imena opcija (npr. 'shiftwidth')"
let g:menutrans_path_dialog = "Unesite put pretrage za datoteke\nRazdvojite zarezima imena direktorijuma."
let g:menutrans_tags_dialog = "Unesite imena datoteka sa oznakama\nRazdvojite zarezima imena."
let g:menutrans_textwidth_dialog = "Unesite novu ¹irinu teksta (0 spreèava prelom)"
let g:menutrans_fileformat_dialog = "Izaberite vrstu datoteke"
let menutrans_no_file = "[Nema datoteke]"

View File

@ -0,0 +1,259 @@
" Menu Translations: Serbian
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
" Last Change: Fri, 30 May 2003 12:02:07 -0400
" Quit when menu translations have already been done.
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
scriptencoding iso8859-5
" Help menu
menutrans &Help ¿ÞÜÞ&û
menutrans &Overview<Tab><F1> &¿àÕÓÛÕÔ<Tab><F1>
menutrans &User\ Manual &ÃßãâáâÒÞ\ ×Ð\ ÚÞàØáÝØÚÕ
menutrans &How-to\ links &ºÐÚÞ\ ÔÐ\.\.\.
menutrans &FindÐòØ
menutrans &CreditsÐáÛãÓÕ
menutrans Co&pying ¿&àÕãרÜÐúÕ
menutrans O&rphans &ÁØàÞçØûØ
menutrans &VersionÕàרøÐ
menutrans &About &¾\ ßàÞÓàÐÜã
" File menu
menutrans &File &´ÐâÞâÕÚÐ
menutrans &Open\.\.\.<Tab>:eâÒÞàØ\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp &¿ÞÔÕÛØ-ÞâÒÞàØ\.\.\.<Tab>:sp
menutrans &New<Tab>:enewÞÒÐ<Tab>:enew
menutrans &Close<Tab>:closeÐâÒÞàØ<Tab>:close
menutrans &Save<Tab>:w &ÁÐçãÒÐø<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav ÁÐçãÒÐø\ &ÚÐÞ\.\.\.<Tab>:sav
menutrans Split\ &Diff\ with\.\.\. ¿ÞÔÕÛØ\ Ø\ &ãßÞàÕÔØ\ áÐ\.\.\.
menutrans Split\ Patched\ &By\.\.\. ¿Þ&ÔÕÛØ\ Ø\ ßàÕßàÐÒØ\ áÐ\.\.\.
menutrans &Print ÈâÐ&ÜßÐø
menutrans Sa&ve-Exit<Tab>:wqa ÁÐçãÒÐø\ Ø\ ×Ð&ÒàèØ<Tab>:wqa
menutrans E&xit<Tab>:qa º&àÐø<Tab>:qa
" Edit menu
menutrans &Edit &ÃàÕòØÒÐúÕ
menutrans &Undo<Tab>uàÐâØ<Tab>u
menutrans &Redo<Tab>^R &¿ÞÒàÐâØ<Tab>^R
menutrans Rep&eat<Tab>\. ¿&ÞÝÞÒØ<Tab>\.
menutrans Cu&t<Tab>"+x ¸áÕ&æØ<Tab>"+x
menutrans &Copy<Tab>"+y &ºÞߨàÐø<Tab>"+y
menutrans &Paste<Tab>"+gP &ÃÑÐæØ<Tab>"+gP
menutrans &Paste<Tab>"+P &ÃÑÐæØ<Tab>"+gP
menutrans Put\ &Before<Tab>[p ÁâÐÒØ\ ßàÕ&Ô<Tab>[p
menutrans Put\ &After<Tab>]p ÁâÐÒØ\ &Ø×Ð<Tab>]p
menutrans &Delete<Tab>x ¸×&ÑàØèØ<Tab>x
menutrans &Select\ all<Tab>ggVG ¸×ÐÑÕàØ\ áÒ&Õ<Tab>ggVG
menutrans &Find\.\.\. &½ÐòØ\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. ½ÐòØ\ Ø\ &×ÐÜÕÝØ\.\.\.
menutrans Settings\ &Window ¿&àÞ×Þà\ ßÞÔÕèÐÒÐúÐ
menutrans &Global\ Settings ¾ß&èâÐ\ ßÞÔÕèÐÒÐúÐ
menutrans F&ile\ Settings ¿ÞÔÕèÐÒÐúÐ\ ×Ð\ ÔÐ&âÞâÕÚÕ
menutrans &Shiftwidth &¿ÞÜÕàÐø
menutrans Soft\ &TabstopÕÚÐ\ âÐÑãÛÐæØøÐ
menutrans Te&xt\ Width\.\.\. &ÈØàØÝÐ\ âÕÚáâÐ\.\.\.
menutrans &File\ Format\.\.\. &²àáâÐ\ ÔÐâÞâÕÚÕ\.\.\.
menutrans C&olor\ Scheme ±Þ&øÕ
menutrans &Keymap ¿àÕá&ÛØÚÐÒÐúÕ\ âÐáâÐâãàÕ
menutrans Select\ Fo&nt\.\.\. ¸×ÑÞà\ &äÞÝâÐ\.\.\.
" Edit/Global Settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! ½ÐÓÛÐáØ\ &ÞÑàÐ׿Õ\ (ÔÐ/ÝÕ)<Tab>:set\ hls!
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! ·ÐÝÕÜÐàØ\ \ÒÕÛØçØÝã\ &áÛÞÒÐ\ (ÔÐ/ÝÕ)<Tab>:set\ ic!
menutrans Toggle\ &Showmatch<Tab>:set\ sm! ¿àÞÒÕàØ\ ßàÐâÕûã\ &×ÐÓàÐÔã\ (ÔÐ/ÝÕ)<Tab>:set\ sm!
menutrans &Context\ lines ²ØÔùØÒØ\ &àÕÔÞÒØ
menutrans &Virtual\ Edit ²ØàâãÕÛÝÞ\ &ãàÕòØÒÐúÕ
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! ÀÕÖØÜ\ ã&ÝÞáÐ\ (ÔÐ/ÝÕ)<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! '&Vi'\ áÐÓÛÐáÝÞ\ (ÔÐ/ÝÕ)<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. ¿ãâÐúÐ\ &ßàÕâàÐÓÕ\.\.\.
menutrans Ta&g\ Files\.\.\. &´ÐâÞâÕÚÕ\ Þ×ÝÐÚÐ\.\.\.
menutrans Toggle\ &Toolbar »ØÝØøÐ\ áÐ\ &ÐÛÐâÚÐÜÐ\ (ÔÐ/ÝÕ)
menutrans Toggle\ &Bottom\ Scrollbar ´ÞúÐ\ Û&ØÝØøÐ\ ÚÛØ×ÐúÐ\ (ÔÐ/ÝÕ)
menutrans Toggle\ &Left\ ScrollbarÕÒÐ\ ÛØÝØøÐ\ ÚÛØ×ÐúÐ\ (ÔÐ/ÝÕ)
menutrans Toggle\ &Right\ Scrollbar &´ÕáÝÐ\ ÛØÝØøÐ\ ÚÛØ×ÐúÐ\ (ÔÐ/ÝÕ)
" Edit/Global Settings/Virtual Edit
menutrans Never ½ØÚÐÔ
menutrans Block\ Selection ¸×ÑÞà\ ÑÛÞÚÐ
menutrans Insert\ mode ÀÕÖØÜ\ ãÝÞáÐ
menutrans Block\ and\ Insert ±ÛÞÚ\ Ø\ ãÝÞá
menutrans Always ÃÒÕÚ
" Edit/File Settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! ÀÕÔÝØ\ &ÑàÞøÕÒØ\ (ÔÐ/ÝÕ)<Tab>:set\ nu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! ÀÕÖØÜ\ &ÛØáâÕ\ (ÔÐ/ÝÕ)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! ¾ÑÐÒØøÐúÕ\ &àÕÔÞÒÐ\ (ÔÐ/ÝÕ)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! ¿àÕÛÞÜØ\ &ÝÐ\ àÕç\ (ÔÐ/ÝÕ)<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! ÀÐ×ÜÐæØ\ ãÜÕáâÞ\ &âÐÑãÛÐæØøÕ\ (ÔÐ/ÝÕ)<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! °ãâÞ-&ãÒÛÐçÕúÕ\ (ÔÐ/ÝÕ)<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &ÆÕ-ãÒÛÐçÕúÕ\ (ÔÐ/ÝÕ)<Tab>:set\ cin!
" Edit/Keymap
menutrans None ½ØøÕÔÐÝ
" Tools menu
menutrans &ToolsÛÐâÚÕ
menutrans &Jump\ to\ this\ tag<Tab>g^] ÁÚÞçØ\ ÝÐ\ &ÞÒã\ Þ×ÝÐÚã<Tab>g^]
menutrans Jump\ &back<Tab>^T ÁÚÞçØ\ &ÝÐâàÐÓ<Tab>^T
menutrans Build\ &Tags\ File ¸×ÓàÐÔØ\ &ÔÐâÞâÕÚã\ Þ×ÝÐÚÐ
menutrans &Folding &¿ÞÔÒØøÐúÕ
menutrans Create\ &Fold<Tab>zf Á&âÒÞàØ\ ßÞÔÒØøãâÐÚ<Tab>zf
menutrans &Delete\ Fold<Tab>zd ¾&ÑàØèØ\ ßÞÔÒØøãâÐÚ<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD ¾ÑàØèØ\ áÒÕ\ ßÞ&ÔÒØøãâÚÕ<Tab>zD
menutrans Fold\ column\ &width ÈØàØÝÐ\ &àÕÔÐ\ ßÞÔÒØøãâÚÐ
menutrans &Diff &ÃßÞàÕòØÒÐúÕ
menutrans &Make<Tab>:make 'mak&Õ'<Tab>:make
menutrans &List\ Errors<Tab>:cl ÁߨáÐÚ\ &ÓàÕèÐÚÐ<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Áß&ØáÐÚ\ ßÞàãÚÐ<Tab>:cl!
menutrans &Next\ Error<Tab>:cn Á&ÛÕÔÕûÐ\ ÓàÕèÚÐ<Tab>:cn
menutrans &Previous\ Error<Tab>:cp ¿àÕ&âåÞÔÝÐ\ ÓàÕèÚÐ<Tab>:cp
menutrans &Older\ List<Tab>:cold ÁâÐàØ\ áߨáÐ&Ú<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew ½Þ&ÒØ\ áߨáÐÚ<Tab>:cnew
menutrans Error\ &Window ¿àÞ×Þà\ áÐ\ Ó&àÕèÚÐÜÐ
menutrans &Set\ Compiler ¸&×ÐÑÕàØ\ ßàÕÒÞÔØÞæÐ
menutrans &Convert\ to\ HEX<Tab>:%!xxd ¿àÕâÒÞàØ\ ã\ &ŵºÁ<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r ²à&ÐâØ\ ã\ ßàÒÞÑØâÐÝ\ ÞÑÛØÚ<Tab>:%!xxd\ -r
" Tools/Folding
menutrans &Enable/Disable\ folds<Tab>zi &¾ÜÞÓãûØ/ßàÕÚØÝØ\ ßÞÔÒØøÐúÕ<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv &¿ÞÚÐÖØ\ àÕÔ\ áÐ\ ÚãàáÞàÞÜ<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx ¿ÞÚÐÖØ\ &áÐÜÞ\ àÕÔ\ áÐ\ ÚãàáÞàÞÜ<Tab>zMzx
menutrans C&lose\ more\ folds<Tab>zmÐâÒÞàØ\ ÒØèÕ\ ßÞÔÒØøãâÐÚÐ<Tab>zm
menutrans &Close\ all\ folds<Tab>zM ·ÐâÒÞàØ\ á&ÒÕ\ ßÞÔÒØøãâÚÕ<Tab>zM
menutrans O&pen\ more\ folds<Tab>zr ¾âÒÞàØ\ ÒØè&Õ\ ßÞÔÒØøãâÐÚÐ<Tab>zr
menutrans &Open\ all\ folds<Tab>zR ¾&âÒÞàØ\ áÒÕ\ ßÞÔÒØøãâÚÕ<Tab>zR
menutrans Fold\ Met&hodÐçØÝ\ ßÞÔÒØøÐúÐ
" Tools/Folding/Fold Method
menutrans M&anual &ÀãçÝÞ
menutrans I&ndent &ÃÒãçÕÝÞáâ
menutrans E&xpression &¸×àÐ×
menutrans S&yntax &ÁØÝâÐÚáÐ
"menutrans &Diff
menutrans Ma&rker &¾×ÝÐÚÐ
" Tools/Diff
menutrans &UpdateÖãàØàÐø
menutrans &Get\ Block &¿àØåÒÐâØ\ Ø×ÜÕÝã
menutrans &Put\ Block ¿àÕ&ÑÐæØ\ Ø×ÜÕÝã
" Tools/Error Window
menutrans &Update<Tab>:cwinÖãàØàÐø<Tab>:cwin
menutrans &Open<Tab>:copenâÒÞàØ<Tab>:copen
menutrans &Close<Tab>:ccloseÐâÒÞàØ<Tab>:cclose
" Bufers menu
menutrans &BuffersÐäÕàØ
menutrans &Refresh\ menuÖãàØàÐø
menutrans DeleteÑàØèØ
menutrans &Alternate °&ÛâÕàÝÐâØÒÝØ
menutrans &Next &ÁÛÕÔÕûØ
menutrans &Previous &¿àÕâåÞÔÝØ
menutrans [No\ File] [½ÕÜÐ\ ÔÐâÞâÕÚÕ]
" Window menu
menutrans &Window &¿àÞ×Þà
menutrans &New<Tab>^WnÞÒØ<Tab>^Wn
menutrans S&plit<Tab>^Ws &¿ÞÔÕÛØ<Tab>^Ws
menutrans Sp&lit\ To\ #<Tab>^W^^ ¿ÞÔÕÛØ\ áÐ\ &ÐÛâÕàÝÐâØÒÝØÜ<Tab>^W^^
menutrans Split\ &Vertically<Tab>^Wv ¿ÞÔÕÛØ\ &ãáßàÐÒÝÞ<Tab>^Wv
menutrans Split\ File\ E&xplorer ¿ÞÔÕÛØ\ ×Ð\ ßàÕÓÛÕÔ\ &ÔÐâÞâÕÚÐ
menutrans &Close<Tab>^WcÐâÒÞàØ<Tab>^Wc
menutrans Close\ &Other(s)<Tab>^Wo ·ÐâÒÞàØ\ &ÞáâÐÛÕ<Tab>^Wo
"menutrans Ne&xt<Tab>^Ww &ÁÛÕÔÕûØ<Tab>^Ww
"menutrans P&revious<Tab>^WW ¿&àÕâåÞÔÝØ<Tab>^WW
menutrans Move\ &To ¿àÕ&ÜÕáâØ
menutrans Rotate\ &Up<Tab>^WR &ºàãÖÝÞ\ ÝÐÓÞàÕ<Tab>^WR
menutrans Rotate\ &Down<Tab>^Wr ºàãÖÝÞ\ ÝÐÔÞÛ&Õ<Tab>^Wr
menutrans &Equal\ Size<Tab>^W= &¸áâÕ\ ÒÕÛØçØÝÕ<Tab>^W=
menutrans &Max\ Height<Tab>^W_ ¼ÐÚáØÜÐÛÝÐ\ &ÒØáØÝÐ<Tab>^W_
menutrans M&in\ Height<Tab>^W1_ ¼ØÝØÜÐ&ÛÝÐ\ ÒØáØÝÐ<Tab>^W1_
menutrans Max\ &Width<Tab>^W\| ¼ÐÚáØÜÐÛÝÐ\ &èØàØÝÐ<Tab>^W\|
menutrans Min\ Widt&h<Tab>^W1\| ¼ØÝØÜÐÛÝÐ\ èØ&àØÝÐ<Tab>^W1\|
" Window/Move To
menutrans &Top<Tab>^WKàå<Tab>^WK
menutrans &Bottom<Tab>^WJ &¿ÞÔÝÞÖøÕ<Tab>^WJ
menutrans &Left\ side<Tab>^WH Ã&ÛÕÒÞ<Tab>^WH
menutrans &Right\ side<Tab>^WL Ã&ÔÕáÝÞ<Tab>^WL
" The popup menu
menutrans &UndoàÐâØ
menutrans Cu&t &¸áÕæØ
menutrans &Copy &ºÞߨàÐø
menutrans &Paste &ÃÑÐæØ
menutrans &Delete ¸&×ÑàØèØ
menutrans Select\ Blockwise ±ØàÐø\ &ßàÐÒÞãÓÐÞÝÞ
menutrans Select\ &Word ¸×ÐÑÕàØ\ &àÕç
menutrans Select\ &Line ¸×ÐÑÕàØ\ à&ÕÔ
menutrans Select\ &Block ¸×ÐÑÕàØ\ &ÑÛÞÚ
menutrans Select\ &All ¸×ÐÑÕàØ\ &áÒÕ
" The GUI toolbar
if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
fun Do_toolbar_tmenu()
tmenu ToolBar.Open ÃçØâÐø
tmenu ToolBar.Save ÁÐçãÒÐø
tmenu ToolBar.SaveAll ÁÐçãÒÐø áÒÕ
tmenu ToolBar.Print ÈâÐÜßÐø
tmenu ToolBar.Undo ²àÐâØ
tmenu ToolBar.Redo ¿ÞÒàÐâØ
tmenu ToolBar.Cut ¸áÕæØ
tmenu ToolBar.Copy ºÞߨàÐø
tmenu ToolBar.Paste ÃÑÐæØ
tmenu ToolBar.Find ½ÐòØ
tmenu ToolBar.FindNext ½ÐòØ áÛÕÔÕûØ
tmenu ToolBar.FindPrev ½ÐòØ ßàÕâåÞÔÝØ
tmenu ToolBar.Replace ·ÐÜÕÝØ
tmenu ToolBar.New ½ÞÒØ
tmenu ToolBar.WinSplit ¿ÞÔÕÛØ ßàÞ×Þà
tmenu ToolBar.WinMax ¼ÐÚáØÜÐÛÝÐ ÒØáØÝÐ
tmenu ToolBar.WinMin ¼ØÝØÜÐÛÝÐ ÒØáØÝÐ
tmenu ToolBar.WinVSplit ¿ÞÔÕÛØ ãáßàÐÒÝÞ
tmenu ToolBar.WinMaxWidth ¼ÐÚáØÜÐÛÝÐ èØàØÝÐ
tmenu ToolBar.WinMinWidth ¼ØÝØÜÐÛÝÐ èØàØÝÐ
tmenu ToolBar.WinClose ·ÐâÒÞàØ ßàÞ×Þà
tmenu ToolBar.LoadSesn ÃçØâÐø áÕÐÝáã
tmenu ToolBar.SaveSesn ÁÐçãÒÐø áÕÐÝáã
tmenu ToolBar.RunScript ¸×ÒàèØ áߨá
tmenu ToolBar.Make 'make'
tmenu ToolBar.Shell ¾ßÕàÐâØÒÝÞ ÞÚàãÖÕúÕ
tmenu ToolBar.RunCtags ½ÐßàÐÒØ Þ×ÝÐÚÕ
tmenu ToolBar.TagJump ¸ÔØ ÝÐ Þ×ÝÐÚã
tmenu ToolBar.Help ¿ÞÜÞû
tmenu ToolBar.FindHelp ½ÐòØ ÞÑøÐèúÕúÕ
endfun
endif
" Syntax menu
menutrans &Syntax &ÁØÝâÐÚáÐ
menutrans &Show\ filetypes\ in\ menu ¸×ÑÞà\ 'filetype'\ Ø×\ &ÜÕÝØøÐ
menutrans Set\ '&syntax'\ only ¿ÞÔÕ&áØ\ 'syntax'\ áÐÜÞ
menutrans Set\ '&filetype'\ too ¿ÞÔÕáØ\ 'filetype'\ &âÐÚÞòÕ
menutrans &Off &¸áÚùãçÕÝÞ
menutrans &Manual &ÀãçÝÞ
menutrans A&utomaticãâÞÜÐâáÚØ
menutrans on/off\ for\ &This\ file ´Ð/ÝÕ\ ×Ð\ ÞÒã\ &ÔÐâÞâÕÚã
menutrans Co&lor\ test ¿àÞÒÕàÐ\ &ÑÞøÐ
menutrans &Highlight\ test ¿àÞÒÕàÐ\ ØáâØ&æÐúÐ
menutrans &Convert\ to\ HTML ¿àÕâÒÞàØ\ &ã\ HTML
" dialog texts
let menutrans_help_dialog = "ÃÝÕáØâÕ ÝÐàÕÔÑã ØÛØ àÕç çØøÕ ßÞøÐèúÕúÕ âàÐÖØâÕ:\n\n´ÞÔÐøâÕ i_ ×Ð ÝÐàÕÔÑÕ ãÝÞáÐ (Ýßà. i_CTRL-X)\n´ÞÔÐøâÕ c_ ×Ð ÝÐàÕÔÑÕ ÚÞÜÐÝÔÝÞÓ àÕÖØÜÐ (Ýßà. á_<Del>)\n´ÞÔÐøâÕ ' ×Ð ØÜÕÝÐ ÞßæØøÐ (Ýßà. 'shiftwidth')"
let g:menutrans_path_dialog = "ÃÝÕáØâÕ ßãâ ßàÕâàÐÓÕ ×Ð ÔÐâÞâÕÚÕ\nÀÐ×ÔÒÞøØâÕ ×ÐàÕרÜÐ ØÜÕÝÐ ÔØàÕÚâÞàØøãÜÐ."
let g:menutrans_tags_dialog = "ÃÝÕáØâÕ ØÜÕÝÐ ÔÐâÞâÕÚÐ áÐ Þ×ÝÐÚÐÜÐ\nÀÐ×ÔÒÞøØâÕ ×ÐàÕרÜÐ ØÜÕÝÐ."
let g:menutrans_textwidth_dialog = "ÃÝÕáØâÕ ÝÞÒã èØàØÝã âÕÚáâÐ (0 áßàÕçÐÒÐ ßàÕÛÞÜ)"
let g:menutrans_fileformat_dialog = "¸×ÐÑÕàØâÕ Òàáâã ÔÐâÞâÕÚÕ"
let menutrans_no_file = "[½ÕÜÐ ÔÐâÞâÕÚÕ]"

View File

@ -0,0 +1,261 @@
" Menu Translations: Serbian
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
" Last Change: Fri, 30 May 2003 10:17:39 Eastern Daylight Time
" Quit when menu translations have already been done.
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
scriptencoding utf-8
" Help menu
menutrans &Help Помо&ћ
menutrans &Overview<Tab><F1> &Преглед<Tab><F1>
menutrans &User\ Manual &Упутство\ за\ кориснике
menutrans &How-to\ links &Како\ да\.\.\.
menutrans &Find &Нађи
menutrans &Credits &Заслуге
menutrans Co&pying П&реузимање
menutrans O&rphans &Сирочићи
menutrans &Version &Верзија
menutrans &About &О\ програму
" File menu
menutrans &File &Датотека
menutrans &Open\.\.\.<Tab>:e &Отвори\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp &Подели-отвори\.\.\.<Tab>:sp
menutrans &New<Tab>:enew &Нова<Tab>:enew
menutrans &Close<Tab>:close &Затвори<Tab>:close
menutrans &Save<Tab>:w &Сачувај<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav Сачувај\ &као\.\.\.<Tab>:sav
menutrans Split\ &Diff\ with\.\.\. Подели\ и\ &упореди\ са\.\.\.
menutrans Split\ Patched\ &By\.\.\. По&дели\ и\ преправи\ са\.\.\.
menutrans &Print Шта&мпај
menutrans Sa&ve-Exit<Tab>:wqa Сачувај\ и\ за&врши<Tab>:wqa
menutrans E&xit<Tab>:qa К&рај<Tab>:qa
" Edit menu
menutrans &Edit &Уређивање
menutrans &Undo<Tab>u &Врати<Tab>u
menutrans &Redo<Tab>^R &Поврати<Tab>^R
menutrans Rep&eat<Tab>\. П&онови<Tab>\.
menutrans Cu&t<Tab>"+x Исе&ци<Tab>"+x
menutrans &Copy<Tab>"+y &Копирај<Tab>"+y
menutrans &Paste<Tab>"+gP &Убаци<Tab>"+gP
menutrans &Paste<Tab>"+P &Убаци<Tab>"+gP
menutrans Put\ &Before<Tab>[p Стави\ пре&д<Tab>[p
menutrans Put\ &After<Tab>]p Стави\ &иза<Tab>]p
menutrans &Delete<Tab>x Из&бриши<Tab>x
menutrans &Select\ all<Tab>ggVG Изабери\ св&е<Tab>ggVG
menutrans &Find\.\.\. &Нађи\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. Нађи\ и\ &замени\.\.\.
menutrans Settings\ &Window П&розор\ подешавања
menutrans &Global\ Settings Оп&шта\ подешавања
menutrans F&ile\ Settings Подешавања\ за\ да&тотеке
menutrans &Shiftwidth &Померај
menutrans Soft\ &Tabstop &Мека\ табулација
menutrans Te&xt\ Width\.\.\. &Ширина\ текста\.\.\.
menutrans &File\ Format\.\.\. &Врста\ датотеке\.\.\.
menutrans C&olor\ Scheme Бо&је
menutrans &Keymap Прес&ликавање\ тастатуре
menutrans Select\ Fo&nt\.\.\. Избор\ &фонта\.\.\.
" Edit/Global Settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Нагласи\ &образце\ (да/не)<Tab>:set\ hls!
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Занемари\ \величину\ &слова\ (да/не)<Tab>:set\ ic!
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Провери\ пратећу\ &заграду\ (да/не)<Tab>:set\ sm!
menutrans &Context\ lines Видљиви\ &редови
menutrans &Virtual\ Edit Виртуелно\ &уређивање
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Режим\ у&носа\ (да/не)<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! '&Vi'\ сагласно\ (да/не)<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. Путања\ &претраге\.\.\.
menutrans Ta&g\ Files\.\.\. &Датотеке\ ознака\.\.\.
menutrans Toggle\ &Toolbar Линија\ са\ &алаткама\ (да/не)
menutrans Toggle\ &Bottom\ Scrollbar Доња\ л&инија\ клизања\ (да/не)
menutrans Toggle\ &Left\ Scrollbar &Лева\ линија\ клизања\ (да/не)
menutrans Toggle\ &Right\ Scrollbar &Десна\ линија\ клизања\ (да/не)
" Edit/Global Settings/Virtual Edit
menutrans Never Никад
menutrans Block\ Selection Избор\ блока
menutrans Insert\ mode Режим\ уноса
menutrans Block\ and\ Insert Блок\ и\ унос
menutrans Always Увек
" Edit/File Settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Редни\ &бројеви\ (да/не)<Tab>:set\ nu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Режим\ &листе\ (да/не)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Обавијање\ &редова\ (да/не)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Преломи\ &на\ реч\ (да/не)<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! Размаци\ уместо\ &табулације\ (да/не)<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! Ауто-&увлачење\ (да/не)<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &Це-увлачење\ (да/не)<Tab>:set\ cin!
" Edit/Keymap
menutrans None Ниједан
" Tools menu
menutrans &Tools &Алатке
menutrans &Jump\ to\ this\ tag<Tab>g^] Скочи\ на\ &ову\ ознаку<Tab>g^]
menutrans Jump\ &back<Tab>^T Скочи\ &натраг<Tab>^T
menutrans Build\ &Tags\ File Изгради\ &датотеку\ ознака
menutrans &Folding &Подвијање
menutrans Create\ &Fold<Tab>zf С&твори\ подвијутак<Tab>zf
menutrans &Delete\ Fold<Tab>zd О&бриши\ подвијутак<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Обриши\ све\ по&двијутке<Tab>zD
menutrans Fold\ column\ &width Ширина\ &реда\ подвијутка
menutrans &Diff &Упоређивање
menutrans &Make<Tab>:make 'mak&е'<Tab>:make
menutrans &List\ Errors<Tab>:cl Списак\ &грешака<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Сп&исак\ порука<Tab>:cl!
menutrans &Next\ Error<Tab>:cn С&ледећа\ грешка<Tab>:cn
menutrans &Previous\ Error<Tab>:cp Пре&тходна\ грешка<Tab>:cp
menutrans &Older\ List<Tab>:cold Стари\ списа&к<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew Но&ви\ списак<Tab>:cnew
menutrans Error\ &Window Прозор\ са\ г&решкама
menutrans &Set\ Compiler И&забери\ преводиоца
menutrans &Convert\ to\ HEX<Tab>:%!xxd Претвори\ у\ &ХЕКС<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Вр&ати\ у\ првобитан\ облик<Tab>:%!xxd\ -r
" Tools/Folding
menutrans &Enable/Disable\ folds<Tab>zi &Омогући/прекини\ подвијање<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv &Покажи\ ред\ са\ курсором<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Покажи\ &само\ ред\ са\ курсором<Tab>zMzx
menutrans C&lose\ more\ folds<Tab>zm &Затвори\ више\ подвијутака<Tab>zm
menutrans &Close\ all\ folds<Tab>zM Затвори\ с&ве\ подвијутке<Tab>zM
menutrans O&pen\ more\ folds<Tab>zr Отвори\ виш&е\ подвијутака<Tab>zr
menutrans &Open\ all\ folds<Tab>zR О&твори\ све\ подвијутке<Tab>zR
menutrans Fold\ Met&hod &Начин\ подвијања
" Tools/Folding/Fold Method
menutrans M&anual &Ручно
menutrans I&ndent &Увученост
menutrans E&xpression &Израз
menutrans S&yntax &Синтакса
"menutrans &Diff
menutrans Ma&rker &Ознака
" Tools/Diff
menutrans &Update &Ажурирај
menutrans &Get\ Block &Прихвати\ измену
menutrans &Put\ Block Пре&баци\ измену
" Tools/Error Window
menutrans &Update<Tab>:cwin &Ажурирај<Tab>:cwin
menutrans &Open<Tab>:copen &Отвори<Tab>:copen
menutrans &Close<Tab>:cclose &Затвори<Tab>:cclose
" Bufers menu
menutrans &Buffers &Бафери
menutrans &Refresh\ menu &Ажурирај
menutrans Delete &Обриши
menutrans &Alternate А&лтернативни
menutrans &Next &Следећи
menutrans &Previous &Претходни
menutrans [No\ File] [Нема\ датотеке]
" Window menu
menutrans &Window &Прозор
menutrans &New<Tab>^Wn &Нови<Tab>^Wn
menutrans S&plit<Tab>^Ws &Подели<Tab>^Ws
menutrans Sp&lit\ To\ #<Tab>^W^^ Подели\ са\ &алтернативним<Tab>^W^^
menutrans Split\ &Vertically<Tab>^Wv Подели\ &усправно<Tab>^Wv
menutrans Split\ File\ E&xplorer Подели\ за\ преглед\ &датотека
menutrans &Close<Tab>^Wc &Затвори<Tab>^Wc
menutrans Close\ &Other(s)<Tab>^Wo Затвори\ &остале<Tab>^Wo
"menutrans Ne&xt<Tab>^Ww &Следећи<Tab>^Ww
"menutrans P&revious<Tab>^WW П&ретходни<Tab>^WW
menutrans Move\ &To Пре&мести
menutrans Rotate\ &Up<Tab>^WR &Кружно\ нагоре<Tab>^WR
menutrans Rotate\ &Down<Tab>^Wr Кружно\ надол&е<Tab>^Wr
menutrans &Equal\ Size<Tab>^W= &Исте\ величине<Tab>^W=
menutrans &Max\ Height<Tab>^W_ Максимална\ &висина<Tab>^W_
menutrans M&in\ Height<Tab>^W1_ Минима&лна\ висина<Tab>^W1_
menutrans Max\ &Width<Tab>^W\| Максимална\ &ширина<Tab>^W\|
menutrans Min\ Widt&h<Tab>^W1\| Минимална\ ши&рина<Tab>^W1\|
" Window/Move To
menutrans &Top<Tab>^WK &Врх<Tab>^WK
menutrans &Bottom<Tab>^WJ &Подножје<Tab>^WJ
menutrans &Left\ side<Tab>^WH У&лево<Tab>^WH
menutrans &Right\ side<Tab>^WL У&десно<Tab>^WL
" The popup menu
menutrans &Undo &Врати
menutrans Cu&t &Исеци
menutrans &Copy &Копирај
menutrans &Paste &Убаци
menutrans &Delete И&збриши
menutrans Select\ Blockwise Бирај\ &правоугаоно
menutrans Select\ &Word Изабери\ &реч
menutrans Select\ &Line Изабери\ р&ед
menutrans Select\ &Block Изабери\ &блок
menutrans Select\ &All Изабери\ &све
" The GUI toolbar
if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
fun Do_toolbar_tmenu()
tmenu ToolBar.Open Учитај
tmenu ToolBar.Save Сачувај
tmenu ToolBar.SaveAll Сачувај све
tmenu ToolBar.Print Штампај
tmenu ToolBar.Undo Врати
tmenu ToolBar.Redo Поврати
tmenu ToolBar.Cut Исеци
tmenu ToolBar.Copy Копирај
tmenu ToolBar.Paste Убаци
tmenu ToolBar.Find Нађи
tmenu ToolBar.FindNext Нађи следећи
tmenu ToolBar.FindPrev Нађи претходни
tmenu ToolBar.Replace Замени
tmenu ToolBar.New Нови
tmenu ToolBar.WinSplit Подели прозор
tmenu ToolBar.WinMax Максимална висина
tmenu ToolBar.WinMin Минимална висина
tmenu ToolBar.WinVSplit Подели усправно
tmenu ToolBar.WinMaxWidth Максимална ширина
tmenu ToolBar.WinMinWidth Минимална ширина
tmenu ToolBar.WinClose Затвори прозор
tmenu ToolBar.LoadSesn Учитај сеансу
tmenu ToolBar.SaveSesn Сачувај сеансу
tmenu ToolBar.RunScript Изврши спис
tmenu ToolBar.Make 'make'
tmenu ToolBar.Shell Оперативно окружење
tmenu ToolBar.RunCtags Направи ознаке
tmenu ToolBar.TagJump Иди на ознаку
tmenu ToolBar.Help Помоћ
tmenu ToolBar.FindHelp Нађи објашњење
endfun
endif
" Syntax menu
menutrans &Syntax &Синтакса
menutrans &Show\ filetypes\ in\ menu Избор\ 'filetype'\ из\ &менија
menutrans Set\ '&syntax'\ only Поде&си\ 'syntax'\ само
menutrans Set\ '&filetype'\ too Подеси\ 'filetype'\ &такође
menutrans &Off &Искључено
menutrans &Manual &Ручно
menutrans A&utomatic &Аутоматски
menutrans on/off\ for\ &This\ file Да/не\ за\ ову\ &датотеку
menutrans Co&lor\ test Провера\ &боја
menutrans &Highlight\ test Провера\ исти&цања
menutrans &Convert\ to\ HTML Претвори\ &у\ HTML
" dialog texts
let menutrans_help_dialog = "Унесите наредбу или реч чије појашњење тражите:\n\nДодајте i_ за наредбе уноса (нпр. i_CTRL-X)\nДодајте c_ за наредбе командног режима (нпр. с_<Del>)\nДодајте ' за имена опција (нпр. 'shiftwidth')"
let g:menutrans_path_dialog = "Унесите пут претраге за датотеке\nРаздвојите зарезима имена директоријума."
let g:menutrans_tags_dialog = "Унесите имена датотека са ознакама\nРаздвојите зарезима имена."
let g:menutrans_textwidth_dialog = "Унесите нову ширину текста (0 спречава прелом)"
let g:menutrans_fileformat_dialog = "Изаберите врсту датотеке"
let menutrans_no_file = "[Нема датотеке]"
" vim: tw=0 keymap=serbian

View File

@ -1,258 +1,3 @@
" Menu Translations: Serbian " Menu Translations: Serbian
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
" Last Change: Fri, 30 May 2003 12:15:30 -0400
" Quit when menu translations have already been done. source <sfile>:p:h/menu_sr_rs.ascii.vim
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
" Help menu
menutrans &Help Pomo&c
menutrans &Overview<Tab><F1> &Pregled<Tab><F1>
menutrans &User\ Manual &Uputstvo\ za\ korisnike
menutrans &How-to\ links &Kako\ da\.\.\.
menutrans &Find &Nadji
menutrans &Credits &Zasluge
menutrans Co&pying P&reuzimanje
menutrans O&rphans &Sirocici
menutrans &Version &Verzija
menutrans &About &O\ programu
" File menu
menutrans &File &Datoteka
menutrans &Open\.\.\.<Tab>:e &Otvori\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp &Podeli-otvori\.\.\.<Tab>:sp
menutrans &New<Tab>:enew &Nova<Tab>:enew
menutrans &Close<Tab>:close &Zatvori<Tab>:close
menutrans &Save<Tab>:w &Sacuvaj<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav Sacuvaj\ &kao\.\.\.<Tab>:sav
menutrans Split\ &Diff\ with\.\.\. Podeli\ i\ &uporedi\ sa\.\.\.
menutrans Split\ Patched\ &By\.\.\. Po&deli\ i\ prepravi\ sa\.\.\.
menutrans &Print Sta&mpaj
menutrans Sa&ve-Exit<Tab>:wqa Sacuvaj\ i\ za&vrsi<Tab>:wqa
menutrans E&xit<Tab>:qa K&raj<Tab>:qa
" Edit menu
menutrans &Edit &Uredjivanje
menutrans &Undo<Tab>u &Vrati<Tab>u
menutrans &Redo<Tab>^R &Povrati<Tab>^R
menutrans Rep&eat<Tab>\. P&onovi<Tab>\.
menutrans Cu&t<Tab>"+x Ise&ci<Tab>"+x
menutrans &Copy<Tab>"+y &Kopiraj<Tab>"+y
menutrans &Paste<Tab>"+gP &Ubaci<Tab>"+gP
menutrans &Paste<Tab>"+P &Ubaci<Tab>"+gP
menutrans Put\ &Before<Tab>[p Stavi\ pre&d<Tab>[p
menutrans Put\ &After<Tab>]p Stavi\ &iza<Tab>]p
menutrans &Delete<Tab>x Iz&brisi<Tab>x
menutrans &Select\ all<Tab>ggVG Izaberi\ sv&e<Tab>ggVG
menutrans &Find\.\.\. &Nadji\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. Nadji\ i\ &zameni\.\.\.
menutrans Settings\ &Window P&rozor\ podesavanja
menutrans &Global\ Settings Op&sta\ podesavanja
menutrans F&ile\ Settings Podesavanja\ za\ da&toteke
menutrans &Shiftwidth &Pomeraj
menutrans Soft\ &Tabstop &Meka\ tabulacija
menutrans Te&xt\ Width\.\.\. &Sirina\ teksta\.\.\.
menutrans &File\ Format\.\.\. &Vrsta\ datoteke\.\.\.
menutrans C&olor\ Scheme Bo&je
menutrans &Keymap Pres&likavanje\ tastature
menutrans Select\ Fo&nt\.\.\. Izbor\ &fonta\.\.\.
" Edit/Global Settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Naglasi\ &obrazce\ (da/ne)<Tab>:set\ hls!
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Zanemari\ \velicinu\ &slova\ (da/ne)<Tab>:set\ ic!
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Proveri\ pratecu\ &zagradu\ (da/ne)<Tab>:set\ sm!
menutrans &Context\ lines Vidljivi\ &redovi
menutrans &Virtual\ Edit Virtuelno\ &uredjivanje
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Rezim\ u&nosa\ (da/ne)<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! '&Vi'\ saglasno\ (da/ne)<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. Putanja\ &pretrage\.\.\.
menutrans Ta&g\ Files\.\.\. &Datoteke\ oznaka\.\.\.
menutrans Toggle\ &Toolbar Linija\ sa\ &alatkama\ (da/ne)
menutrans Toggle\ &Bottom\ Scrollbar Donja\ l&inija\ klizanja\ (da/ne)
menutrans Toggle\ &Left\ Scrollbar &Leva\ linija\ klizanja\ (da/ne)
menutrans Toggle\ &Right\ Scrollbar &Desna\ linija\ klizanja\ (da/ne)
" Edit/Global Settings/Virtual Edit
menutrans Never Nikad
menutrans Block\ Selection Izbor\ bloka
menutrans Insert\ mode Rezim\ unosa
menutrans Block\ and\ Insert Blok\ i\ unos
menutrans Always Uvek
" Edit/File Settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Redni\ &brojevi\ (da/ne)<Tab>:set\ nu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Rezim\ &liste\ (da/ne)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Obavijanje\ &redova\ (da/ne)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Prelomi\ &na\ rec\ (da/ne)<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! Razmaci\ umesto\ &tabulacije\ (da/ne)<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! Auto-&uvlacenje\ (da/ne)<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &Ce-uvlacenje\ (da/ne)<Tab>:set\ cin!
" Edit/Keymap
menutrans None Nijedan
" Tools menu
menutrans &Tools &Alatke
menutrans &Jump\ to\ this\ tag<Tab>g^] Skoci\ na\ &ovu\ oznaku<Tab>g^]
menutrans Jump\ &back<Tab>^T Skoci\ &natrag<Tab>^T
menutrans Build\ &Tags\ File Izgradi\ &datoteku\ oznaka
menutrans &Folding &Podvijanje
menutrans Create\ &Fold<Tab>zf S&tvori\ podvijutak<Tab>zf
menutrans &Delete\ Fold<Tab>zd O&brisi\ podvijutak<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Obrisi\ sve\ po&dvijutke<Tab>zD
menutrans Fold\ column\ &width Sirina\ &reda\ podvijutka
menutrans &Diff &Uporedjivanje
menutrans &Make<Tab>:make 'mak&e'<Tab>:make
menutrans &List\ Errors<Tab>:cl Spisak\ &gresaka<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Sp&isak\ poruka<Tab>:cl!
menutrans &Next\ Error<Tab>:cn S&ledeca\ greska<Tab>:cn
menutrans &Previous\ Error<Tab>:cp Pre&thodna\ greska<Tab>:cp
menutrans &Older\ List<Tab>:cold Stari\ spisa&k<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew No&vi\ spisak<Tab>:cnew
menutrans Error\ &Window Prozor\ sa\ g&reskama
menutrans &Set\ Compiler I&zaberi\ prevodioca
menutrans &Convert\ to\ HEX<Tab>:%!xxd Pretvori\ u\ &HEKS<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Vr&ati\ u\ prvobitan\ oblik<Tab>:%!xxd\ -r
" Tools/Folding
menutrans &Enable/Disable\ folds<Tab>zi &Omoguci/prekini\ podvijanje<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv &Pokazi\ red\ sa\ kursorom<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Pokazi\ &samo\ red\ sa\ kursorom<Tab>zMzx
menutrans C&lose\ more\ folds<Tab>zm &Zatvori\ vise\ podvijutaka<Tab>zm
menutrans &Close\ all\ folds<Tab>zM Zatvori\ s&ve\ podvijutke<Tab>zM
menutrans O&pen\ more\ folds<Tab>zr Otvori\ vis&e\ podvijutaka<Tab>zr
menutrans &Open\ all\ folds<Tab>zR O&tvori\ sve\ podvijutke<Tab>zR
menutrans Fold\ Met&hod &Nacin\ podvijanja
" Tools/Folding/Fold Method
menutrans M&anual &Rucno
menutrans I&ndent &Uvucenost
menutrans E&xpression &Izraz
menutrans S&yntax &Sintaksa
"menutrans &Diff
menutrans Ma&rker &Oznaka
" Tools/Diff
menutrans &Update &Azuriraj
menutrans &Get\ Block &Prihvati\ izmenu
menutrans &Put\ Block Pre&baci\ izmenu
" Tools/Error Window
menutrans &Update<Tab>:cwin &Azuriraj<Tab>:cwin
menutrans &Open<Tab>:copen &Otvori<Tab>:copen
menutrans &Close<Tab>:cclose &Zatvori<Tab>:cclose
" Bufers menu
menutrans &Buffers &Baferi
menutrans &Refresh\ menu &Azuriraj
menutrans Delete &Obrisi
menutrans &Alternate A&lternativni
menutrans &Next &Sledeci
menutrans &Previous &Prethodni
menutrans [No\ File] [Nema\ datoteke]
" Window menu
menutrans &Window &Prozor
menutrans &New<Tab>^Wn &Novi<Tab>^Wn
menutrans S&plit<Tab>^Ws &Podeli<Tab>^Ws
menutrans Sp&lit\ To\ #<Tab>^W^^ Podeli\ sa\ &alternativnim<Tab>^W^^
menutrans Split\ &Vertically<Tab>^Wv Podeli\ &uspravno<Tab>^Wv
menutrans Split\ File\ E&xplorer Podeli\ za\ pregled\ &datoteka
menutrans &Close<Tab>^Wc &Zatvori<Tab>^Wc
menutrans Close\ &Other(s)<Tab>^Wo Zatvori\ &ostale<Tab>^Wo
"menutrans Ne&xt<Tab>^Ww &Sledeci<Tab>^Ww
"menutrans P&revious<Tab>^WW P&rethodni<Tab>^WW
menutrans Move\ &To Pre&mesti
menutrans Rotate\ &Up<Tab>^WR &Kruzno\ nagore<Tab>^WR
menutrans Rotate\ &Down<Tab>^Wr Kruzno\ nadol&e<Tab>^Wr
menutrans &Equal\ Size<Tab>^W= &Iste\ velicine<Tab>^W=
menutrans &Max\ Height<Tab>^W_ Maksimalna\ &visina<Tab>^W_
menutrans M&in\ Height<Tab>^W1_ Minima&lna\ visina<Tab>^W1_
menutrans Max\ &Width<Tab>^W\| Maksimalna\ &sirina<Tab>^W\|
menutrans Min\ Widt&h<Tab>^W1\| Minimalna\ si&rina<Tab>^W1\|
" Window/Move To
menutrans &Top<Tab>^WK &Vrh<Tab>^WK
menutrans &Bottom<Tab>^WJ &Podnozje<Tab>^WJ
menutrans &Left\ side<Tab>^WH U&levo<Tab>^WH
menutrans &Right\ side<Tab>^WL U&desno<Tab>^WL
" The popup menu
menutrans &Undo &Vrati
menutrans Cu&t &Iseci
menutrans &Copy &Kopiraj
menutrans &Paste &Ubaci
menutrans &Delete I&zbrisi
menutrans Select\ Blockwise Biraj\ &pravougaono
menutrans Select\ &Word Izaberi\ &rec
menutrans Select\ &Line Izaberi\ r&ed
menutrans Select\ &Block Izaberi\ &blok
menutrans Select\ &All Izaberi\ &sve
" The GUI toolbar
if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
fun Do_toolbar_tmenu()
tmenu ToolBar.Open Ucitaj
tmenu ToolBar.Save Sacuvaj
tmenu ToolBar.SaveAll Sacuvaj sve
tmenu ToolBar.Print Stampaj
tmenu ToolBar.Undo Vrati
tmenu ToolBar.Redo Povrati
tmenu ToolBar.Cut Iseci
tmenu ToolBar.Copy Kopiraj
tmenu ToolBar.Paste Ubaci
tmenu ToolBar.Find Nadji
tmenu ToolBar.FindNext Nadji sledeci
tmenu ToolBar.FindPrev Nadji prethodni
tmenu ToolBar.Replace Zameni
tmenu ToolBar.New Novi
tmenu ToolBar.WinSplit Podeli prozor
tmenu ToolBar.WinMax Maksimalna visina
tmenu ToolBar.WinMin Minimalna visina
tmenu ToolBar.WinVSplit Podeli uspravno
tmenu ToolBar.WinMaxWidth Maksimalna sirina
tmenu ToolBar.WinMinWidth Minimalna sirina
tmenu ToolBar.WinClose Zatvori prozor
tmenu ToolBar.LoadSesn Ucitaj seansu
tmenu ToolBar.SaveSesn Sacuvaj seansu
tmenu ToolBar.RunScript Izvrsi spis
tmenu ToolBar.Make 'make'
tmenu ToolBar.Shell Operativno okruzenje
tmenu ToolBar.RunCtags Napravi oznake
tmenu ToolBar.TagJump Idi na oznaku
tmenu ToolBar.Help Pomoc
tmenu ToolBar.FindHelp Nadji objasnjenje
endfun
endif
" Syntax menu
menutrans &Syntax &Sintaksa
menutrans &Show\ filetypes\ in\ menu Izbor\ 'filetype'\ iz\ &menija
menutrans Set\ '&syntax'\ only Pode&si\ 'syntax'\ samo
menutrans Set\ '&filetype'\ too Podesi\ 'filetype'\ &takodje
menutrans &Off &Iskljuceno
menutrans &Manual &Rucno
menutrans A&utomatic &Automatski
menutrans on/off\ for\ &This\ file Da/ne\ za\ ovu\ &datoteku
menutrans Co&lor\ test Provera\ &boja
menutrans &Highlight\ test Provera\ isti&canja
menutrans &Convert\ to\ HTML Pretvori\ &u\ HTML
" dialog texts
let menutrans_help_dialog = "Unesite naredbu ili rec cije pojasnjenje trazite:\n\nDodajte i_ za naredbe unosa (npr. i_CTRL-X)\nDodajte c_ za naredbe komandnog rezima (npr. s_<Del>)\nDodajte ' za imena opcija (npr. 'shiftwidth')"
let g:menutrans_path_dialog = "Unesite put pretrage za datoteke\nRazdvojite zarezima imena direktorijuma."
let g:menutrans_tags_dialog = "Unesite imena datoteka sa oznakama\nRazdvojite zarezima imena."
let g:menutrans_textwidth_dialog = "Unesite novu sirinu teksta (0 sprecava prelom)"
let g:menutrans_fileformat_dialog = "Izaberite vrstu datoteke"
let menutrans_no_file = "[Nema datoteke]"

View File

@ -1,259 +1,3 @@
" Menu Translations: Serbian " Menu Translations: Serbian
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
" Last Change: Fri, 30 May 2003 12:04:48 -0400
" Quit when menu translations have already been done. source <sfile>:p:h/menu_sr_rs.iso_8859-2.vim
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
scriptencoding iso8859-2
" Help menu
menutrans &Help Pomo&æ
menutrans &Overview<Tab><F1> &Pregled<Tab><F1>
menutrans &User\ Manual &Uputstvo\ za\ korisnike
menutrans &How-to\ links &Kako\ da\.\.\.
menutrans &Find &Naði
menutrans &Credits &Zasluge
menutrans Co&pying P&reuzimanje
menutrans O&rphans &Siroèiæi
menutrans &Version &Verzija
menutrans &About &O\ programu
" File menu
menutrans &File &Datoteka
menutrans &Open\.\.\.<Tab>:e &Otvori\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp &Podeli-otvori\.\.\.<Tab>:sp
menutrans &New<Tab>:enew &Nova<Tab>:enew
menutrans &Close<Tab>:close &Zatvori<Tab>:close
menutrans &Save<Tab>:w &Saèuvaj<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav Saèuvaj\ &kao\.\.\.<Tab>:sav
menutrans Split\ &Diff\ with\.\.\. Podeli\ i\ &uporedi\ sa\.\.\.
menutrans Split\ Patched\ &By\.\.\. Po&deli\ i\ prepravi\ sa\.\.\.
menutrans &Print ©ta&mpaj
menutrans Sa&ve-Exit<Tab>:wqa Saèuvaj\ i\ za&vr¹i<Tab>:wqa
menutrans E&xit<Tab>:qa K&raj<Tab>:qa
" Edit menu
menutrans &Edit &Ureðivanje
menutrans &Undo<Tab>u &Vrati<Tab>u
menutrans &Redo<Tab>^R &Povrati<Tab>^R
menutrans Rep&eat<Tab>\. P&onovi<Tab>\.
menutrans Cu&t<Tab>"+x Ise&ci<Tab>"+x
menutrans &Copy<Tab>"+y &Kopiraj<Tab>"+y
menutrans &Paste<Tab>"+gP &Ubaci<Tab>"+gP
menutrans &Paste<Tab>"+P &Ubaci<Tab>"+gP
menutrans Put\ &Before<Tab>[p Stavi\ pre&d<Tab>[p
menutrans Put\ &After<Tab>]p Stavi\ &iza<Tab>]p
menutrans &Delete<Tab>x Iz&bri¹i<Tab>x
menutrans &Select\ all<Tab>ggVG Izaberi\ sv&e<Tab>ggVG
menutrans &Find\.\.\. &Naði\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. Naði\ i\ &zameni\.\.\.
menutrans Settings\ &Window P&rozor\ pode¹avanja
menutrans &Global\ Settings Opta\ pode¹avanja
menutrans F&ile\ Settings Pode¹avanja\ za\ da&toteke
menutrans &Shiftwidth &Pomeraj
menutrans Soft\ &Tabstop &Meka\ tabulacija
menutrans Te&xt\ Width\.\.\. &©irina\ teksta\.\.\.
menutrans &File\ Format\.\.\. &Vrsta\ datoteke\.\.\.
menutrans C&olor\ Scheme Bo&je
menutrans &Keymap Pres&likavanje\ tastature
menutrans Select\ Fo&nt\.\.\. Izbor\ &fonta\.\.\.
" Edit/Global Settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Naglasi\ &obrazce\ (da/ne)<Tab>:set\ hls!
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Zanemari\ \velièinu\ &slova\ (da/ne)<Tab>:set\ ic!
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Proveri\ prateæu\ &zagradu\ (da/ne)<Tab>:set\ sm!
menutrans &Context\ lines Vidljivi\ &redovi
menutrans &Virtual\ Edit Virtuelno\ &ureðivanje
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Re¾im\ u&nosa\ (da/ne)<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! '&Vi'\ saglasno\ (da/ne)<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. Putanja\ &pretrage\.\.\.
menutrans Ta&g\ Files\.\.\. &Datoteke\ oznaka\.\.\.
menutrans Toggle\ &Toolbar Linija\ sa\ &alatkama\ (da/ne)
menutrans Toggle\ &Bottom\ Scrollbar Donja\ l&inija\ klizanja\ (da/ne)
menutrans Toggle\ &Left\ Scrollbar &Leva\ linija\ klizanja\ (da/ne)
menutrans Toggle\ &Right\ Scrollbar &Desna\ linija\ klizanja\ (da/ne)
" Edit/Global Settings/Virtual Edit
menutrans Never Nikad
menutrans Block\ Selection Izbor\ bloka
menutrans Insert\ mode Re¾im\ unosa
menutrans Block\ and\ Insert Blok\ i\ unos
menutrans Always Uvek
" Edit/File Settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Redni\ &brojevi\ (da/ne)<Tab>:set\ nu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Re¾im\ &liste\ (da/ne)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Obavijanje\ &redova\ (da/ne)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Prelomi\ &na\ reè\ (da/ne)<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! Razmaci\ umesto\ &tabulacije\ (da/ne)<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! Auto-&uvlaèenje\ (da/ne)<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &Ce-uvlaèenje\ (da/ne)<Tab>:set\ cin!
" Edit/Keymap
menutrans None Nijedan
" Tools menu
menutrans &Tools &Alatke
menutrans &Jump\ to\ this\ tag<Tab>g^] Skoèi\ na\ &ovu\ oznaku<Tab>g^]
menutrans Jump\ &back<Tab>^T Skoèi\ &natrag<Tab>^T
menutrans Build\ &Tags\ File Izgradi\ &datoteku\ oznaka
menutrans &Folding &Podvijanje
menutrans Create\ &Fold<Tab>zf S&tvori\ podvijutak<Tab>zf
menutrans &Delete\ Fold<Tab>zd O&bri¹i\ podvijutak<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Obri¹i\ sve\ po&dvijutke<Tab>zD
menutrans Fold\ column\ &width ©irina\ &reda\ podvijutka
menutrans &Diff &Uporeðivanje
menutrans &Make<Tab>:make 'mak&e'<Tab>:make
menutrans &List\ Errors<Tab>:cl Spisak\ &gre¹aka<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Sp&isak\ poruka<Tab>:cl!
menutrans &Next\ Error<Tab>:cn S&ledeæa\ gre¹ka<Tab>:cn
menutrans &Previous\ Error<Tab>:cp Pre&thodna\ gre¹ka<Tab>:cp
menutrans &Older\ List<Tab>:cold Stari\ spisa&k<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew No&vi\ spisak<Tab>:cnew
menutrans Error\ &Window Prozor\ sa\ g&re¹kama
menutrans &Set\ Compiler I&zaberi\ prevodioca
menutrans &Convert\ to\ HEX<Tab>:%!xxd Pretvori\ u\ &HEKS<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Vr&ati\ u\ prvobitan\ oblik<Tab>:%!xxd\ -r
" Tools/Folding
menutrans &Enable/Disable\ folds<Tab>zi &Omoguæi/prekini\ podvijanje<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv &Poka¾i\ red\ sa\ kursorom<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Poka¾i\ &samo\ red\ sa\ kursorom<Tab>zMzx
menutrans C&lose\ more\ folds<Tab>zm &Zatvori\ vi¹e\ podvijutaka<Tab>zm
menutrans &Close\ all\ folds<Tab>zM Zatvori\ s&ve\ podvijutke<Tab>zM
menutrans O&pen\ more\ folds<Tab>zr Otvori\ vi¹&e\ podvijutaka<Tab>zr
menutrans &Open\ all\ folds<Tab>zR O&tvori\ sve\ podvijutke<Tab>zR
menutrans Fold\ Met&hod &Naèin\ podvijanja
" Tools/Folding/Fold Method
menutrans M&anual &Ruèno
menutrans I&ndent &Uvuèenost
menutrans E&xpression &Izraz
menutrans S&yntax &Sintaksa
"menutrans &Diff
menutrans Ma&rker &Oznaka
" Tools/Diff
menutrans &Update &A¾uriraj
menutrans &Get\ Block &Prihvati\ izmenu
menutrans &Put\ Block Pre&baci\ izmenu
" Tools/Error Window
menutrans &Update<Tab>:cwin &A¾uriraj<Tab>:cwin
menutrans &Open<Tab>:copen &Otvori<Tab>:copen
menutrans &Close<Tab>:cclose &Zatvori<Tab>:cclose
" Bufers menu
menutrans &Buffers &Baferi
menutrans &Refresh\ menu &A¾uriraj
menutrans Delete &Obri¹i
menutrans &Alternate A&lternativni
menutrans &Next &Sledeæi
menutrans &Previous &Prethodni
menutrans [No\ File] [Nema\ datoteke]
" Window menu
menutrans &Window &Prozor
menutrans &New<Tab>^Wn &Novi<Tab>^Wn
menutrans S&plit<Tab>^Ws &Podeli<Tab>^Ws
menutrans Sp&lit\ To\ #<Tab>^W^^ Podeli\ sa\ &alternativnim<Tab>^W^^
menutrans Split\ &Vertically<Tab>^Wv Podeli\ &uspravno<Tab>^Wv
menutrans Split\ File\ E&xplorer Podeli\ za\ pregled\ &datoteka
menutrans &Close<Tab>^Wc &Zatvori<Tab>^Wc
menutrans Close\ &Other(s)<Tab>^Wo Zatvori\ &ostale<Tab>^Wo
"menutrans Ne&xt<Tab>^Ww &Sledeæi<Tab>^Ww
"menutrans P&revious<Tab>^WW P&rethodni<Tab>^WW
menutrans Move\ &To Pre&mesti
menutrans Rotate\ &Up<Tab>^WR &Kru¾no\ nagore<Tab>^WR
menutrans Rotate\ &Down<Tab>^Wr Kru¾no\ nadol&e<Tab>^Wr
menutrans &Equal\ Size<Tab>^W= &Iste\ velièine<Tab>^W=
menutrans &Max\ Height<Tab>^W_ Maksimalna\ &visina<Tab>^W_
menutrans M&in\ Height<Tab>^W1_ Minima&lna\ visina<Tab>^W1_
menutrans Max\ &Width<Tab>^W\| Maksimalna\ &¹irina<Tab>^W\|
menutrans Min\ Widt&h<Tab>^W1\| Minimalna\ ¹i&rina<Tab>^W1\|
" Window/Move To
menutrans &Top<Tab>^WK &Vrh<Tab>^WK
menutrans &Bottom<Tab>^WJ &Podno¾je<Tab>^WJ
menutrans &Left\ side<Tab>^WH U&levo<Tab>^WH
menutrans &Right\ side<Tab>^WL U&desno<Tab>^WL
" The popup menu
menutrans &Undo &Vrati
menutrans Cu&t &Iseci
menutrans &Copy &Kopiraj
menutrans &Paste &Ubaci
menutrans &Delete I&zbri¹i
menutrans Select\ Blockwise Biraj\ &pravougaono
menutrans Select\ &Word Izaberi\ &reè
menutrans Select\ &Line Izaberi\ r&ed
menutrans Select\ &Block Izaberi\ &blok
menutrans Select\ &All Izaberi\ &sve
" The GUI toolbar
if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
fun Do_toolbar_tmenu()
tmenu ToolBar.Open Uèitaj
tmenu ToolBar.Save Saèuvaj
tmenu ToolBar.SaveAll Saèuvaj sve
tmenu ToolBar.Print ©tampaj
tmenu ToolBar.Undo Vrati
tmenu ToolBar.Redo Povrati
tmenu ToolBar.Cut Iseci
tmenu ToolBar.Copy Kopiraj
tmenu ToolBar.Paste Ubaci
tmenu ToolBar.Find Naði
tmenu ToolBar.FindNext Naði sledeæi
tmenu ToolBar.FindPrev Naði prethodni
tmenu ToolBar.Replace Zameni
tmenu ToolBar.New Novi
tmenu ToolBar.WinSplit Podeli prozor
tmenu ToolBar.WinMax Maksimalna visina
tmenu ToolBar.WinMin Minimalna visina
tmenu ToolBar.WinVSplit Podeli uspravno
tmenu ToolBar.WinMaxWidth Maksimalna ¹irina
tmenu ToolBar.WinMinWidth Minimalna ¹irina
tmenu ToolBar.WinClose Zatvori prozor
tmenu ToolBar.LoadSesn Uèitaj seansu
tmenu ToolBar.SaveSesn Saèuvaj seansu
tmenu ToolBar.RunScript Izvr¹i spis
tmenu ToolBar.Make 'make'
tmenu ToolBar.Shell Operativno okru¾enje
tmenu ToolBar.RunCtags Napravi oznake
tmenu ToolBar.TagJump Idi na oznaku
tmenu ToolBar.Help Pomoæ
tmenu ToolBar.FindHelp Naði obja¹njenje
endfun
endif
" Syntax menu
menutrans &Syntax &Sintaksa
menutrans &Show\ filetypes\ in\ menu Izbor\ 'filetype'\ iz\ &menija
menutrans Set\ '&syntax'\ only Pode&si\ 'syntax'\ samo
menutrans Set\ '&filetype'\ too Podesi\ 'filetype'\ &takoðe
menutrans &Off &Iskljuèeno
menutrans &Manual &Ruèno
menutrans A&utomatic &Automatski
menutrans on/off\ for\ &This\ file Da/ne\ za\ ovu\ &datoteku
menutrans Co&lor\ test Provera\ &boja
menutrans &Highlight\ test Provera\ isti&canja
menutrans &Convert\ to\ HTML Pretvori\ &u\ HTML
" dialog texts
let menutrans_help_dialog = "Unesite naredbu ili reè èije poja¹njenje tra¾ite:\n\nDodajte i_ za naredbe unosa (npr. i_CTRL-X)\nDodajte c_ za naredbe komandnog re¾ima (npr. s_<Del>)\nDodajte ' za imena opcija (npr. 'shiftwidth')"
let g:menutrans_path_dialog = "Unesite put pretrage za datoteke\nRazdvojite zarezima imena direktorijuma."
let g:menutrans_tags_dialog = "Unesite imena datoteka sa oznakama\nRazdvojite zarezima imena."
let g:menutrans_textwidth_dialog = "Unesite novu ¹irinu teksta (0 spreèava prelom)"
let g:menutrans_fileformat_dialog = "Izaberite vrstu datoteke"
let menutrans_no_file = "[Nema datoteke]"

View File

@ -1,259 +1,3 @@
" Menu Translations: Serbian " Menu Translations: Serbian
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
" Last Change: Fri, 30 May 2003 12:02:07 -0400
" Quit when menu translations have already been done. source <sfile>:p:h/menu_sr_rs.iso_8859-5.vim
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
scriptencoding iso8859-5
" Help menu
menutrans &Help ¿ÞÜÞ&û
menutrans &Overview<Tab><F1> &¿àÕÓÛÕÔ<Tab><F1>
menutrans &User\ Manual &ÃßãâáâÒÞ\ ×Ð\ ÚÞàØáÝØÚÕ
menutrans &How-to\ links &ºÐÚÞ\ ÔÐ\.\.\.
menutrans &FindÐòØ
menutrans &CreditsÐáÛãÓÕ
menutrans Co&pying ¿&àÕãרÜÐúÕ
menutrans O&rphans &ÁØàÞçØûØ
menutrans &VersionÕàרøÐ
menutrans &About &¾\ ßàÞÓàÐÜã
" File menu
menutrans &File &´ÐâÞâÕÚÐ
menutrans &Open\.\.\.<Tab>:eâÒÞàØ\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp &¿ÞÔÕÛØ-ÞâÒÞàØ\.\.\.<Tab>:sp
menutrans &New<Tab>:enewÞÒÐ<Tab>:enew
menutrans &Close<Tab>:closeÐâÒÞàØ<Tab>:close
menutrans &Save<Tab>:w &ÁÐçãÒÐø<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav ÁÐçãÒÐø\ &ÚÐÞ\.\.\.<Tab>:sav
menutrans Split\ &Diff\ with\.\.\. ¿ÞÔÕÛØ\ Ø\ &ãßÞàÕÔØ\ áÐ\.\.\.
menutrans Split\ Patched\ &By\.\.\. ¿Þ&ÔÕÛØ\ Ø\ ßàÕßàÐÒØ\ áÐ\.\.\.
menutrans &Print ÈâÐ&ÜßÐø
menutrans Sa&ve-Exit<Tab>:wqa ÁÐçãÒÐø\ Ø\ ×Ð&ÒàèØ<Tab>:wqa
menutrans E&xit<Tab>:qa º&àÐø<Tab>:qa
" Edit menu
menutrans &Edit &ÃàÕòØÒÐúÕ
menutrans &Undo<Tab>uàÐâØ<Tab>u
menutrans &Redo<Tab>^R &¿ÞÒàÐâØ<Tab>^R
menutrans Rep&eat<Tab>\. ¿&ÞÝÞÒØ<Tab>\.
menutrans Cu&t<Tab>"+x ¸áÕ&æØ<Tab>"+x
menutrans &Copy<Tab>"+y &ºÞߨàÐø<Tab>"+y
menutrans &Paste<Tab>"+gP &ÃÑÐæØ<Tab>"+gP
menutrans &Paste<Tab>"+P &ÃÑÐæØ<Tab>"+gP
menutrans Put\ &Before<Tab>[p ÁâÐÒØ\ ßàÕ&Ô<Tab>[p
menutrans Put\ &After<Tab>]p ÁâÐÒØ\ &Ø×Ð<Tab>]p
menutrans &Delete<Tab>x ¸×&ÑàØèØ<Tab>x
menutrans &Select\ all<Tab>ggVG ¸×ÐÑÕàØ\ áÒ&Õ<Tab>ggVG
menutrans &Find\.\.\. &½ÐòØ\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. ½ÐòØ\ Ø\ &×ÐÜÕÝØ\.\.\.
menutrans Settings\ &Window ¿&àÞ×Þà\ ßÞÔÕèÐÒÐúÐ
menutrans &Global\ Settings ¾ß&èâÐ\ ßÞÔÕèÐÒÐúÐ
menutrans F&ile\ Settings ¿ÞÔÕèÐÒÐúÐ\ ×Ð\ ÔÐ&âÞâÕÚÕ
menutrans &Shiftwidth &¿ÞÜÕàÐø
menutrans Soft\ &TabstopÕÚÐ\ âÐÑãÛÐæØøÐ
menutrans Te&xt\ Width\.\.\. &ÈØàØÝÐ\ âÕÚáâÐ\.\.\.
menutrans &File\ Format\.\.\. &²àáâÐ\ ÔÐâÞâÕÚÕ\.\.\.
menutrans C&olor\ Scheme ±Þ&øÕ
menutrans &Keymap ¿àÕá&ÛØÚÐÒÐúÕ\ âÐáâÐâãàÕ
menutrans Select\ Fo&nt\.\.\. ¸×ÑÞà\ &äÞÝâÐ\.\.\.
" Edit/Global Settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! ½ÐÓÛÐáØ\ &ÞÑàÐ׿Õ\ (ÔÐ/ÝÕ)<Tab>:set\ hls!
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! ·ÐÝÕÜÐàØ\ \ÒÕÛØçØÝã\ &áÛÞÒÐ\ (ÔÐ/ÝÕ)<Tab>:set\ ic!
menutrans Toggle\ &Showmatch<Tab>:set\ sm! ¿àÞÒÕàØ\ ßàÐâÕûã\ &×ÐÓàÐÔã\ (ÔÐ/ÝÕ)<Tab>:set\ sm!
menutrans &Context\ lines ²ØÔùØÒØ\ &àÕÔÞÒØ
menutrans &Virtual\ Edit ²ØàâãÕÛÝÞ\ &ãàÕòØÒÐúÕ
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! ÀÕÖØÜ\ ã&ÝÞáÐ\ (ÔÐ/ÝÕ)<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! '&Vi'\ áÐÓÛÐáÝÞ\ (ÔÐ/ÝÕ)<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. ¿ãâÐúÐ\ &ßàÕâàÐÓÕ\.\.\.
menutrans Ta&g\ Files\.\.\. &´ÐâÞâÕÚÕ\ Þ×ÝÐÚÐ\.\.\.
menutrans Toggle\ &Toolbar »ØÝØøÐ\ áÐ\ &ÐÛÐâÚÐÜÐ\ (ÔÐ/ÝÕ)
menutrans Toggle\ &Bottom\ Scrollbar ´ÞúÐ\ Û&ØÝØøÐ\ ÚÛØ×ÐúÐ\ (ÔÐ/ÝÕ)
menutrans Toggle\ &Left\ ScrollbarÕÒÐ\ ÛØÝØøÐ\ ÚÛØ×ÐúÐ\ (ÔÐ/ÝÕ)
menutrans Toggle\ &Right\ Scrollbar &´ÕáÝÐ\ ÛØÝØøÐ\ ÚÛØ×ÐúÐ\ (ÔÐ/ÝÕ)
" Edit/Global Settings/Virtual Edit
menutrans Never ½ØÚÐÔ
menutrans Block\ Selection ¸×ÑÞà\ ÑÛÞÚÐ
menutrans Insert\ mode ÀÕÖØÜ\ ãÝÞáÐ
menutrans Block\ and\ Insert ±ÛÞÚ\ Ø\ ãÝÞá
menutrans Always ÃÒÕÚ
" Edit/File Settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! ÀÕÔÝØ\ &ÑàÞøÕÒØ\ (ÔÐ/ÝÕ)<Tab>:set\ nu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! ÀÕÖØÜ\ &ÛØáâÕ\ (ÔÐ/ÝÕ)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! ¾ÑÐÒØøÐúÕ\ &àÕÔÞÒÐ\ (ÔÐ/ÝÕ)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! ¿àÕÛÞÜØ\ &ÝÐ\ àÕç\ (ÔÐ/ÝÕ)<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! ÀÐ×ÜÐæØ\ ãÜÕáâÞ\ &âÐÑãÛÐæØøÕ\ (ÔÐ/ÝÕ)<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! °ãâÞ-&ãÒÛÐçÕúÕ\ (ÔÐ/ÝÕ)<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &ÆÕ-ãÒÛÐçÕúÕ\ (ÔÐ/ÝÕ)<Tab>:set\ cin!
" Edit/Keymap
menutrans None ½ØøÕÔÐÝ
" Tools menu
menutrans &ToolsÛÐâÚÕ
menutrans &Jump\ to\ this\ tag<Tab>g^] ÁÚÞçØ\ ÝÐ\ &ÞÒã\ Þ×ÝÐÚã<Tab>g^]
menutrans Jump\ &back<Tab>^T ÁÚÞçØ\ &ÝÐâàÐÓ<Tab>^T
menutrans Build\ &Tags\ File ¸×ÓàÐÔØ\ &ÔÐâÞâÕÚã\ Þ×ÝÐÚÐ
menutrans &Folding &¿ÞÔÒØøÐúÕ
menutrans Create\ &Fold<Tab>zf Á&âÒÞàØ\ ßÞÔÒØøãâÐÚ<Tab>zf
menutrans &Delete\ Fold<Tab>zd ¾&ÑàØèØ\ ßÞÔÒØøãâÐÚ<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD ¾ÑàØèØ\ áÒÕ\ ßÞ&ÔÒØøãâÚÕ<Tab>zD
menutrans Fold\ column\ &width ÈØàØÝÐ\ &àÕÔÐ\ ßÞÔÒØøãâÚÐ
menutrans &Diff &ÃßÞàÕòØÒÐúÕ
menutrans &Make<Tab>:make 'mak&Õ'<Tab>:make
menutrans &List\ Errors<Tab>:cl ÁߨáÐÚ\ &ÓàÕèÐÚÐ<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Áß&ØáÐÚ\ ßÞàãÚÐ<Tab>:cl!
menutrans &Next\ Error<Tab>:cn Á&ÛÕÔÕûÐ\ ÓàÕèÚÐ<Tab>:cn
menutrans &Previous\ Error<Tab>:cp ¿àÕ&âåÞÔÝÐ\ ÓàÕèÚÐ<Tab>:cp
menutrans &Older\ List<Tab>:cold ÁâÐàØ\ áߨáÐ&Ú<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew ½Þ&ÒØ\ áߨáÐÚ<Tab>:cnew
menutrans Error\ &Window ¿àÞ×Þà\ áÐ\ Ó&àÕèÚÐÜÐ
menutrans &Set\ Compiler ¸&×ÐÑÕàØ\ ßàÕÒÞÔØÞæÐ
menutrans &Convert\ to\ HEX<Tab>:%!xxd ¿àÕâÒÞàØ\ ã\ &ŵºÁ<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r ²à&ÐâØ\ ã\ ßàÒÞÑØâÐÝ\ ÞÑÛØÚ<Tab>:%!xxd\ -r
" Tools/Folding
menutrans &Enable/Disable\ folds<Tab>zi &¾ÜÞÓãûØ/ßàÕÚØÝØ\ ßÞÔÒØøÐúÕ<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv &¿ÞÚÐÖØ\ àÕÔ\ áÐ\ ÚãàáÞàÞÜ<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx ¿ÞÚÐÖØ\ &áÐÜÞ\ àÕÔ\ áÐ\ ÚãàáÞàÞÜ<Tab>zMzx
menutrans C&lose\ more\ folds<Tab>zmÐâÒÞàØ\ ÒØèÕ\ ßÞÔÒØøãâÐÚÐ<Tab>zm
menutrans &Close\ all\ folds<Tab>zM ·ÐâÒÞàØ\ á&ÒÕ\ ßÞÔÒØøãâÚÕ<Tab>zM
menutrans O&pen\ more\ folds<Tab>zr ¾âÒÞàØ\ ÒØè&Õ\ ßÞÔÒØøãâÐÚÐ<Tab>zr
menutrans &Open\ all\ folds<Tab>zR ¾&âÒÞàØ\ áÒÕ\ ßÞÔÒØøãâÚÕ<Tab>zR
menutrans Fold\ Met&hodÐçØÝ\ ßÞÔÒØøÐúÐ
" Tools/Folding/Fold Method
menutrans M&anual &ÀãçÝÞ
menutrans I&ndent &ÃÒãçÕÝÞáâ
menutrans E&xpression &¸×àÐ×
menutrans S&yntax &ÁØÝâÐÚáÐ
"menutrans &Diff
menutrans Ma&rker &¾×ÝÐÚÐ
" Tools/Diff
menutrans &UpdateÖãàØàÐø
menutrans &Get\ Block &¿àØåÒÐâØ\ Ø×ÜÕÝã
menutrans &Put\ Block ¿àÕ&ÑÐæØ\ Ø×ÜÕÝã
" Tools/Error Window
menutrans &Update<Tab>:cwinÖãàØàÐø<Tab>:cwin
menutrans &Open<Tab>:copenâÒÞàØ<Tab>:copen
menutrans &Close<Tab>:ccloseÐâÒÞàØ<Tab>:cclose
" Bufers menu
menutrans &BuffersÐäÕàØ
menutrans &Refresh\ menuÖãàØàÐø
menutrans DeleteÑàØèØ
menutrans &Alternate °&ÛâÕàÝÐâØÒÝØ
menutrans &Next &ÁÛÕÔÕûØ
menutrans &Previous &¿àÕâåÞÔÝØ
menutrans [No\ File] [½ÕÜÐ\ ÔÐâÞâÕÚÕ]
" Window menu
menutrans &Window &¿àÞ×Þà
menutrans &New<Tab>^WnÞÒØ<Tab>^Wn
menutrans S&plit<Tab>^Ws &¿ÞÔÕÛØ<Tab>^Ws
menutrans Sp&lit\ To\ #<Tab>^W^^ ¿ÞÔÕÛØ\ áÐ\ &ÐÛâÕàÝÐâØÒÝØÜ<Tab>^W^^
menutrans Split\ &Vertically<Tab>^Wv ¿ÞÔÕÛØ\ &ãáßàÐÒÝÞ<Tab>^Wv
menutrans Split\ File\ E&xplorer ¿ÞÔÕÛØ\ ×Ð\ ßàÕÓÛÕÔ\ &ÔÐâÞâÕÚÐ
menutrans &Close<Tab>^WcÐâÒÞàØ<Tab>^Wc
menutrans Close\ &Other(s)<Tab>^Wo ·ÐâÒÞàØ\ &ÞáâÐÛÕ<Tab>^Wo
"menutrans Ne&xt<Tab>^Ww &ÁÛÕÔÕûØ<Tab>^Ww
"menutrans P&revious<Tab>^WW ¿&àÕâåÞÔÝØ<Tab>^WW
menutrans Move\ &To ¿àÕ&ÜÕáâØ
menutrans Rotate\ &Up<Tab>^WR &ºàãÖÝÞ\ ÝÐÓÞàÕ<Tab>^WR
menutrans Rotate\ &Down<Tab>^Wr ºàãÖÝÞ\ ÝÐÔÞÛ&Õ<Tab>^Wr
menutrans &Equal\ Size<Tab>^W= &¸áâÕ\ ÒÕÛØçØÝÕ<Tab>^W=
menutrans &Max\ Height<Tab>^W_ ¼ÐÚáØÜÐÛÝÐ\ &ÒØáØÝÐ<Tab>^W_
menutrans M&in\ Height<Tab>^W1_ ¼ØÝØÜÐ&ÛÝÐ\ ÒØáØÝÐ<Tab>^W1_
menutrans Max\ &Width<Tab>^W\| ¼ÐÚáØÜÐÛÝÐ\ &èØàØÝÐ<Tab>^W\|
menutrans Min\ Widt&h<Tab>^W1\| ¼ØÝØÜÐÛÝÐ\ èØ&àØÝÐ<Tab>^W1\|
" Window/Move To
menutrans &Top<Tab>^WKàå<Tab>^WK
menutrans &Bottom<Tab>^WJ &¿ÞÔÝÞÖøÕ<Tab>^WJ
menutrans &Left\ side<Tab>^WH Ã&ÛÕÒÞ<Tab>^WH
menutrans &Right\ side<Tab>^WL Ã&ÔÕáÝÞ<Tab>^WL
" The popup menu
menutrans &UndoàÐâØ
menutrans Cu&t &¸áÕæØ
menutrans &Copy &ºÞߨàÐø
menutrans &Paste &ÃÑÐæØ
menutrans &Delete ¸&×ÑàØèØ
menutrans Select\ Blockwise ±ØàÐø\ &ßàÐÒÞãÓÐÞÝÞ
menutrans Select\ &Word ¸×ÐÑÕàØ\ &àÕç
menutrans Select\ &Line ¸×ÐÑÕàØ\ à&ÕÔ
menutrans Select\ &Block ¸×ÐÑÕàØ\ &ÑÛÞÚ
menutrans Select\ &All ¸×ÐÑÕàØ\ &áÒÕ
" The GUI toolbar
if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
fun Do_toolbar_tmenu()
tmenu ToolBar.Open ÃçØâÐø
tmenu ToolBar.Save ÁÐçãÒÐø
tmenu ToolBar.SaveAll ÁÐçãÒÐø áÒÕ
tmenu ToolBar.Print ÈâÐÜßÐø
tmenu ToolBar.Undo ²àÐâØ
tmenu ToolBar.Redo ¿ÞÒàÐâØ
tmenu ToolBar.Cut ¸áÕæØ
tmenu ToolBar.Copy ºÞߨàÐø
tmenu ToolBar.Paste ÃÑÐæØ
tmenu ToolBar.Find ½ÐòØ
tmenu ToolBar.FindNext ½ÐòØ áÛÕÔÕûØ
tmenu ToolBar.FindPrev ½ÐòØ ßàÕâåÞÔÝØ
tmenu ToolBar.Replace ·ÐÜÕÝØ
tmenu ToolBar.New ½ÞÒØ
tmenu ToolBar.WinSplit ¿ÞÔÕÛØ ßàÞ×Þà
tmenu ToolBar.WinMax ¼ÐÚáØÜÐÛÝÐ ÒØáØÝÐ
tmenu ToolBar.WinMin ¼ØÝØÜÐÛÝÐ ÒØáØÝÐ
tmenu ToolBar.WinVSplit ¿ÞÔÕÛØ ãáßàÐÒÝÞ
tmenu ToolBar.WinMaxWidth ¼ÐÚáØÜÐÛÝÐ èØàØÝÐ
tmenu ToolBar.WinMinWidth ¼ØÝØÜÐÛÝÐ èØàØÝÐ
tmenu ToolBar.WinClose ·ÐâÒÞàØ ßàÞ×Þà
tmenu ToolBar.LoadSesn ÃçØâÐø áÕÐÝáã
tmenu ToolBar.SaveSesn ÁÐçãÒÐø áÕÐÝáã
tmenu ToolBar.RunScript ¸×ÒàèØ áߨá
tmenu ToolBar.Make 'make'
tmenu ToolBar.Shell ¾ßÕàÐâØÒÝÞ ÞÚàãÖÕúÕ
tmenu ToolBar.RunCtags ½ÐßàÐÒØ Þ×ÝÐÚÕ
tmenu ToolBar.TagJump ¸ÔØ ÝÐ Þ×ÝÐÚã
tmenu ToolBar.Help ¿ÞÜÞû
tmenu ToolBar.FindHelp ½ÐòØ ÞÑøÐèúÕúÕ
endfun
endif
" Syntax menu
menutrans &Syntax &ÁØÝâÐÚáÐ
menutrans &Show\ filetypes\ in\ menu ¸×ÑÞà\ 'filetype'\ Ø×\ &ÜÕÝØøÐ
menutrans Set\ '&syntax'\ only ¿ÞÔÕ&áØ\ 'syntax'\ áÐÜÞ
menutrans Set\ '&filetype'\ too ¿ÞÔÕáØ\ 'filetype'\ &âÐÚÞòÕ
menutrans &Off &¸áÚùãçÕÝÞ
menutrans &Manual &ÀãçÝÞ
menutrans A&utomaticãâÞÜÐâáÚØ
menutrans on/off\ for\ &This\ file ´Ð/ÝÕ\ ×Ð\ ÞÒã\ &ÔÐâÞâÕÚã
menutrans Co&lor\ test ¿àÞÒÕàÐ\ &ÑÞøÐ
menutrans &Highlight\ test ¿àÞÒÕàÐ\ ØáâØ&æÐúÐ
menutrans &Convert\ to\ HTML ¿àÕâÒÞàØ\ &ã\ HTML
" dialog texts
let menutrans_help_dialog = "ÃÝÕáØâÕ ÝÐàÕÔÑã ØÛØ àÕç çØøÕ ßÞøÐèúÕúÕ âàÐÖØâÕ:\n\n´ÞÔÐøâÕ i_ ×Ð ÝÐàÕÔÑÕ ãÝÞáÐ (Ýßà. i_CTRL-X)\n´ÞÔÐøâÕ c_ ×Ð ÝÐàÕÔÑÕ ÚÞÜÐÝÔÝÞÓ àÕÖØÜÐ (Ýßà. á_<Del>)\n´ÞÔÐøâÕ ' ×Ð ØÜÕÝÐ ÞßæØøÐ (Ýßà. 'shiftwidth')"
let g:menutrans_path_dialog = "ÃÝÕáØâÕ ßãâ ßàÕâàÐÓÕ ×Ð ÔÐâÞâÕÚÕ\nÀÐ×ÔÒÞøØâÕ ×ÐàÕרÜÐ ØÜÕÝÐ ÔØàÕÚâÞàØøãÜÐ."
let g:menutrans_tags_dialog = "ÃÝÕáØâÕ ØÜÕÝÐ ÔÐâÞâÕÚÐ áÐ Þ×ÝÐÚÐÜÐ\nÀÐ×ÔÒÞøØâÕ ×ÐàÕרÜÐ ØÜÕÝÐ."
let g:menutrans_textwidth_dialog = "ÃÝÕáØâÕ ÝÞÒã èØàØÝã âÕÚáâÐ (0 áßàÕçÐÒÐ ßàÕÛÞÜ)"
let g:menutrans_fileformat_dialog = "¸×ÐÑÕàØâÕ Òàáâã ÔÐâÞâÕÚÕ"
let menutrans_no_file = "[½ÕÜÐ ÔÐâÞâÕÚÕ]"

View File

@ -1,261 +1,3 @@
" Menu Translations: Serbian " Menu Translations: Serbian
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
" Last Change: Fri, 30 May 2003 10:17:39 Eastern Daylight Time
" Quit when menu translations have already been done. source <sfile>:p:h/menu_sr_rs.utf-8.vim
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
scriptencoding utf-8
" Help menu
menutrans &Help Помо&ћ
menutrans &Overview<Tab><F1> &Преглед<Tab><F1>
menutrans &User\ Manual &Упутство\ за\ кориснике
menutrans &How-to\ links &Како\ да\.\.\.
menutrans &Find &Нађи
menutrans &Credits &Заслуге
menutrans Co&pying П&реузимање
menutrans O&rphans &Сирочићи
menutrans &Version &Верзија
menutrans &About &О\ програму
" File menu
menutrans &File &Датотека
menutrans &Open\.\.\.<Tab>:e &Отвори\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp &Подели-отвори\.\.\.<Tab>:sp
menutrans &New<Tab>:enew &Нова<Tab>:enew
menutrans &Close<Tab>:close &Затвори<Tab>:close
menutrans &Save<Tab>:w &Сачувај<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav Сачувај\ &као\.\.\.<Tab>:sav
menutrans Split\ &Diff\ with\.\.\. Подели\ и\ &упореди\ са\.\.\.
menutrans Split\ Patched\ &By\.\.\. По&дели\ и\ преправи\ са\.\.\.
menutrans &Print Шта&мпај
menutrans Sa&ve-Exit<Tab>:wqa Сачувај\ и\ за&врши<Tab>:wqa
menutrans E&xit<Tab>:qa К&рај<Tab>:qa
" Edit menu
menutrans &Edit &Уређивање
menutrans &Undo<Tab>u &Врати<Tab>u
menutrans &Redo<Tab>^R &Поврати<Tab>^R
menutrans Rep&eat<Tab>\. П&онови<Tab>\.
menutrans Cu&t<Tab>"+x Исе&ци<Tab>"+x
menutrans &Copy<Tab>"+y &Копирај<Tab>"+y
menutrans &Paste<Tab>"+gP &Убаци<Tab>"+gP
menutrans &Paste<Tab>"+P &Убаци<Tab>"+gP
menutrans Put\ &Before<Tab>[p Стави\ пре&д<Tab>[p
menutrans Put\ &After<Tab>]p Стави\ &иза<Tab>]p
menutrans &Delete<Tab>x Из&бриши<Tab>x
menutrans &Select\ all<Tab>ggVG Изабери\ св&е<Tab>ggVG
menutrans &Find\.\.\. &Нађи\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. Нађи\ и\ &замени\.\.\.
menutrans Settings\ &Window П&розор\ подешавања
menutrans &Global\ Settings Оп&шта\ подешавања
menutrans F&ile\ Settings Подешавања\ за\ да&тотеке
menutrans &Shiftwidth &Померај
menutrans Soft\ &Tabstop &Мека\ табулација
menutrans Te&xt\ Width\.\.\. &Ширина\ текста\.\.\.
menutrans &File\ Format\.\.\. &Врста\ датотеке\.\.\.
menutrans C&olor\ Scheme Бо&је
menutrans &Keymap Прес&ликавање\ тастатуре
menutrans Select\ Fo&nt\.\.\. Избор\ &фонта\.\.\.
" Edit/Global Settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Нагласи\ &образце\ (да/не)<Tab>:set\ hls!
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Занемари\ \величину\ &слова\ (да/не)<Tab>:set\ ic!
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Провери\ пратећу\ &заграду\ (да/не)<Tab>:set\ sm!
menutrans &Context\ lines Видљиви\ &редови
menutrans &Virtual\ Edit Виртуелно\ &уређивање
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Режим\ у&носа\ (да/не)<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! '&Vi'\ сагласно\ (да/не)<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. Путања\ &претраге\.\.\.
menutrans Ta&g\ Files\.\.\. &Датотеке\ ознака\.\.\.
menutrans Toggle\ &Toolbar Линија\ са\ &алаткама\ (да/не)
menutrans Toggle\ &Bottom\ Scrollbar Доња\ л&инија\ клизања\ (да/не)
menutrans Toggle\ &Left\ Scrollbar &Лева\ линија\ клизања\ (да/не)
menutrans Toggle\ &Right\ Scrollbar &Десна\ линија\ клизања\ (да/не)
" Edit/Global Settings/Virtual Edit
menutrans Never Никад
menutrans Block\ Selection Избор\ блока
menutrans Insert\ mode Режим\ уноса
menutrans Block\ and\ Insert Блок\ и\ унос
menutrans Always Увек
" Edit/File Settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Редни\ &бројеви\ (да/не)<Tab>:set\ nu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Режим\ &листе\ (да/не)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Обавијање\ &редова\ (да/не)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Преломи\ &на\ реч\ (да/не)<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! Размаци\ уместо\ &табулације\ (да/не)<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! Ауто-&увлачење\ (да/не)<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &Це-увлачење\ (да/не)<Tab>:set\ cin!
" Edit/Keymap
menutrans None Ниједан
" Tools menu
menutrans &Tools &Алатке
menutrans &Jump\ to\ this\ tag<Tab>g^] Скочи\ на\ &ову\ ознаку<Tab>g^]
menutrans Jump\ &back<Tab>^T Скочи\ &натраг<Tab>^T
menutrans Build\ &Tags\ File Изгради\ &датотеку\ ознака
menutrans &Folding &Подвијање
menutrans Create\ &Fold<Tab>zf С&твори\ подвијутак<Tab>zf
menutrans &Delete\ Fold<Tab>zd О&бриши\ подвијутак<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Обриши\ све\ по&двијутке<Tab>zD
menutrans Fold\ column\ &width Ширина\ &реда\ подвијутка
menutrans &Diff &Упоређивање
menutrans &Make<Tab>:make 'mak&е'<Tab>:make
menutrans &List\ Errors<Tab>:cl Списак\ &грешака<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Сп&исак\ порука<Tab>:cl!
menutrans &Next\ Error<Tab>:cn С&ледећа\ грешка<Tab>:cn
menutrans &Previous\ Error<Tab>:cp Пре&тходна\ грешка<Tab>:cp
menutrans &Older\ List<Tab>:cold Стари\ списа&к<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew Но&ви\ списак<Tab>:cnew
menutrans Error\ &Window Прозор\ са\ г&решкама
menutrans &Set\ Compiler И&забери\ преводиоца
menutrans &Convert\ to\ HEX<Tab>:%!xxd Претвори\ у\ &ХЕКС<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Вр&ати\ у\ првобитан\ облик<Tab>:%!xxd\ -r
" Tools/Folding
menutrans &Enable/Disable\ folds<Tab>zi &Омогући/прекини\ подвијање<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv &Покажи\ ред\ са\ курсором<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Покажи\ &само\ ред\ са\ курсором<Tab>zMzx
menutrans C&lose\ more\ folds<Tab>zm &Затвори\ више\ подвијутака<Tab>zm
menutrans &Close\ all\ folds<Tab>zM Затвори\ с&ве\ подвијутке<Tab>zM
menutrans O&pen\ more\ folds<Tab>zr Отвори\ виш&е\ подвијутака<Tab>zr
menutrans &Open\ all\ folds<Tab>zR О&твори\ све\ подвијутке<Tab>zR
menutrans Fold\ Met&hod &Начин\ подвијања
" Tools/Folding/Fold Method
menutrans M&anual &Ручно
menutrans I&ndent &Увученост
menutrans E&xpression &Израз
menutrans S&yntax &Синтакса
"menutrans &Diff
menutrans Ma&rker &Ознака
" Tools/Diff
menutrans &Update &Ажурирај
menutrans &Get\ Block &Прихвати\ измену
menutrans &Put\ Block Пре&баци\ измену
" Tools/Error Window
menutrans &Update<Tab>:cwin &Ажурирај<Tab>:cwin
menutrans &Open<Tab>:copen &Отвори<Tab>:copen
menutrans &Close<Tab>:cclose &Затвори<Tab>:cclose
" Bufers menu
menutrans &Buffers &Бафери
menutrans &Refresh\ menu &Ажурирај
menutrans Delete &Обриши
menutrans &Alternate А&лтернативни
menutrans &Next &Следећи
menutrans &Previous &Претходни
menutrans [No\ File] [Нема\ датотеке]
" Window menu
menutrans &Window &Прозор
menutrans &New<Tab>^Wn &Нови<Tab>^Wn
menutrans S&plit<Tab>^Ws &Подели<Tab>^Ws
menutrans Sp&lit\ To\ #<Tab>^W^^ Подели\ са\ &алтернативним<Tab>^W^^
menutrans Split\ &Vertically<Tab>^Wv Подели\ &усправно<Tab>^Wv
menutrans Split\ File\ E&xplorer Подели\ за\ преглед\ &датотека
menutrans &Close<Tab>^Wc &Затвори<Tab>^Wc
menutrans Close\ &Other(s)<Tab>^Wo Затвори\ &остале<Tab>^Wo
"menutrans Ne&xt<Tab>^Ww &Следећи<Tab>^Ww
"menutrans P&revious<Tab>^WW П&ретходни<Tab>^WW
menutrans Move\ &To Пре&мести
menutrans Rotate\ &Up<Tab>^WR &Кружно\ нагоре<Tab>^WR
menutrans Rotate\ &Down<Tab>^Wr Кружно\ надол&е<Tab>^Wr
menutrans &Equal\ Size<Tab>^W= &Исте\ величине<Tab>^W=
menutrans &Max\ Height<Tab>^W_ Максимална\ &висина<Tab>^W_
menutrans M&in\ Height<Tab>^W1_ Минима&лна\ висина<Tab>^W1_
menutrans Max\ &Width<Tab>^W\| Максимална\ &ширина<Tab>^W\|
menutrans Min\ Widt&h<Tab>^W1\| Минимална\ ши&рина<Tab>^W1\|
" Window/Move To
menutrans &Top<Tab>^WK &Врх<Tab>^WK
menutrans &Bottom<Tab>^WJ &Подножје<Tab>^WJ
menutrans &Left\ side<Tab>^WH У&лево<Tab>^WH
menutrans &Right\ side<Tab>^WL У&десно<Tab>^WL
" The popup menu
menutrans &Undo &Врати
menutrans Cu&t &Исеци
menutrans &Copy &Копирај
menutrans &Paste &Убаци
menutrans &Delete И&збриши
menutrans Select\ Blockwise Бирај\ &правоугаоно
menutrans Select\ &Word Изабери\ &реч
menutrans Select\ &Line Изабери\ р&ед
menutrans Select\ &Block Изабери\ &блок
menutrans Select\ &All Изабери\ &све
" The GUI toolbar
if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
fun Do_toolbar_tmenu()
tmenu ToolBar.Open Учитај
tmenu ToolBar.Save Сачувај
tmenu ToolBar.SaveAll Сачувај све
tmenu ToolBar.Print Штампај
tmenu ToolBar.Undo Врати
tmenu ToolBar.Redo Поврати
tmenu ToolBar.Cut Исеци
tmenu ToolBar.Copy Копирај
tmenu ToolBar.Paste Убаци
tmenu ToolBar.Find Нађи
tmenu ToolBar.FindNext Нађи следећи
tmenu ToolBar.FindPrev Нађи претходни
tmenu ToolBar.Replace Замени
tmenu ToolBar.New Нови
tmenu ToolBar.WinSplit Подели прозор
tmenu ToolBar.WinMax Максимална висина
tmenu ToolBar.WinMin Минимална висина
tmenu ToolBar.WinVSplit Подели усправно
tmenu ToolBar.WinMaxWidth Максимална ширина
tmenu ToolBar.WinMinWidth Минимална ширина
tmenu ToolBar.WinClose Затвори прозор
tmenu ToolBar.LoadSesn Учитај сеансу
tmenu ToolBar.SaveSesn Сачувај сеансу
tmenu ToolBar.RunScript Изврши спис
tmenu ToolBar.Make 'make'
tmenu ToolBar.Shell Оперативно окружење
tmenu ToolBar.RunCtags Направи ознаке
tmenu ToolBar.TagJump Иди на ознаку
tmenu ToolBar.Help Помоћ
tmenu ToolBar.FindHelp Нађи објашњење
endfun
endif
" Syntax menu
menutrans &Syntax &Синтакса
menutrans &Show\ filetypes\ in\ menu Избор\ 'filetype'\ из\ &менија
menutrans Set\ '&syntax'\ only Поде&си\ 'syntax'\ само
menutrans Set\ '&filetype'\ too Подеси\ 'filetype'\ &такође
menutrans &Off &Искључено
menutrans &Manual &Ручно
menutrans A&utomatic &Аутоматски
menutrans on/off\ for\ &This\ file Да/не\ за\ ову\ &датотеку
menutrans Co&lor\ test Провера\ &боја
menutrans &Highlight\ test Провера\ исти&цања
menutrans &Convert\ to\ HTML Претвори\ &у\ HTML
" dialog texts
let menutrans_help_dialog = "Унесите наредбу или реч чије појашњење тражите:\n\nДодајте i_ за наредбе уноса (нпр. i_CTRL-X)\nДодајте c_ за наредбе командног режима (нпр. с_<Del>)\nДодајте ' за имена опција (нпр. 'shiftwidth')"
let g:menutrans_path_dialog = "Унесите пут претраге за датотеке\nРаздвојите зарезима имена директоријума."
let g:menutrans_tags_dialog = "Унесите имена датотека са ознакама\nРаздвојите зарезима имена."
let g:menutrans_textwidth_dialog = "Унесите нову ширину текста (0 спречава прелом)"
let g:menutrans_fileformat_dialog = "Изаберите врсту датотеке"
let menutrans_no_file = "[Нема датотеке]"
" vim: tw=0 keymap=serbcyril-US

View File

@ -20,7 +20,7 @@
if &cp || exists("g:loaded_netrwPlugin") if &cp || exists("g:loaded_netrwPlugin")
finish finish
endif endif
let g:loaded_netrwPlugin = "v136" let g:loaded_netrwPlugin = "v138"
if v:version < 702 if v:version < 702
echohl WarningMsg | echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None echohl WarningMsg | echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None
finish finish
@ -35,6 +35,7 @@ set cpo&vim
augroup FileExplorer augroup FileExplorer
au! au!
au BufEnter * silent! call s:LocalBrowse(expand("<amatch>")) au BufEnter * silent! call s:LocalBrowse(expand("<amatch>"))
au VimEnter * silent! call s:VimEnter(expand("<amatch>"))
if has("win32") || has("win95") || has("win64") || has("win16") if has("win32") || has("win95") || has("win64") || has("win16")
au BufEnter .* silent! call s:LocalBrowse(expand("<amatch>")) au BufEnter .* silent! call s:LocalBrowse(expand("<amatch>"))
endif endif
@ -108,6 +109,13 @@ fun! s:LocalBrowse(dirname)
" not a directory, ignore it " not a directory, ignore it
endfun endfun
" ---------------------------------------------------------------------
" s:VimEnter: {{{2
fun! s:VimEnter(dirname)
windo if a:dirname != expand("%")|call s:LocalBrowse(expand("%:p"))|endif
1wincmd w
endfun
" --------------------------------------------------------------------- " ---------------------------------------------------------------------
" NetrwStatusLine: {{{1 " NetrwStatusLine: {{{1
fun! NetrwStatusLine() fun! NetrwStatusLine()

View File

@ -1,6 +1,6 @@
" vimballPlugin : construct a file containing both paths and files " vimballPlugin : construct a file containing both paths and files
" Author: Charles E. Campbell, Jr. " Author: Charles E. Campbell, Jr.
" Copyright: (c) 2004-2009 by Charles E. Campbell, Jr. " Copyright: (c) 2004-2010 by Charles E. Campbell, Jr.
" The VIM LICENSE applies to Vimball.vim, and Vimball.txt " The VIM LICENSE applies to Vimball.vim, and Vimball.txt
" (see |copyright|) except use "Vimball" instead of "Vim". " (see |copyright|) except use "Vimball" instead of "Vim".
" No warranty, express or implied. " No warranty, express or implied.
@ -16,7 +16,7 @@
if &cp || exists("g:loaded_vimballPlugin") if &cp || exists("g:loaded_vimballPlugin")
finish finish
endif endif
let g:loaded_vimballPlugin = "v30" let g:loaded_vimballPlugin = "v31"
let s:keepcpo = &cpo let s:keepcpo = &cpo
set cpo&vim set cpo&vim
@ -27,7 +27,7 @@ com! -na=? -complete=dir UseVimball call vimball#Vimball(1,<f-args>)
com! -na=0 VimballList call vimball#Vimball(0) com! -na=0 VimballList call vimball#Vimball(0)
com! -na=* -complete=dir RmVimball call vimball#SaveSettings()|call vimball#RmVimball(<f-args>)|call vimball#RestoreSettings() com! -na=* -complete=dir RmVimball call vimball#SaveSettings()|call vimball#RmVimball(<f-args>)|call vimball#RestoreSettings()
au SourceCmd *.vba.gz,*.vba.bz2,*.vba.zip call vimball#Decompress(expand("<amatch>"))|call vimball#Vimball(1) au SourceCmd *.vba.gz,*.vba.bz2,*.vba.zip call vimball#Decompress(expand("<amatch>"))|call vimball#Vimball(1)
au BufEnter *.vba,*.vba.gz,*.vba.bz2,*.vba.zip setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'| setlocal ff=unix|endif|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)") au BufEnter *.vba,*.vba.gz,*.vba.bz2,*.vba.zip setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'| setlocal ma ff=unix noma |endif|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")
" ===================================================================== " =====================================================================
" Restoration And Modelines: {{{1 " Restoration And Modelines: {{{1

View File

@ -20,7 +20,7 @@
if &cp || exists("g:loaded_zipPlugin") if &cp || exists("g:loaded_zipPlugin")
finish finish
endif endif
let g:loaded_zipPlugin = "v22" let g:loaded_zipPlugin = "v23"
let s:keepcpo = &cpo let s:keepcpo = &cpo
set cpo&vim set cpo&vim

View File

@ -34,9 +34,9 @@ bg_BG.aff bg_BG.dic: {buildcheck=}
:fetch bg_BG.zip :fetch bg_BG.zip
:sys $UNZIP bg_BG.zip :sys $UNZIP bg_BG.zip
:delete bg_BG.zip :delete bg_BG.zip
:sys $VIM bg_BG.aff -e -c "set ff=unix" -c update -c q :sys $VIM bg_BG.aff -u NONE -e -c "set ff=unix" -c update -c q
:sys $VIM bg_BG.dic -e -c "set ff=unix" -c update -c q :sys $VIM bg_BG.dic -u NONE -e -c "set ff=unix" -c update -c q
:sys $VIM README_bg_BG.txt -e -c "set ff=unix" -c update -c q :sys $VIM README_bg_BG.txt -u NONE -e -c "set ff=unix" -c update -c q
@if not os.path.exists('bg_BG.orig.aff'): @if not os.path.exists('bg_BG.orig.aff'):
:copy bg_BG.aff bg_BG.orig.aff :copy bg_BG.aff bg_BG.orig.aff
@if not os.path.exists('bg_BG.orig.dic'): @if not os.path.exists('bg_BG.orig.dic'):

View File

@ -0,0 +1,13 @@
*** br_FR.orig.aff 2010-04-14 18:44:36.365731271 +0200
--- br_FR.aff 2010-04-14 18:43:31.069137439 +0200
***************
*** 9,14 ****
--- 9,16 ----
SET UTF-8
TRY esiaùnñrtolcdugmphbyfvkwzESIAÙNÑRTOLCDUGMPHBYFVKWZ'
+ MIDWORD '
+
PFX m Y 1
PFX m 0 m' [aehiouy]

86
runtime/spell/br/main.aap Normal file
View File

@ -0,0 +1,86 @@
# Aap recipe for Breton 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 = br_FR.aff br_FR.dic
all: $SPELLDIR/br.latin1.spl $SPELLDIR/br.utf-8.spl ../README_br.txt
$SPELLDIR/br.latin1.spl : $FILES
:sys $VIM -u NONE -e -c "set enc=latin1"
-c "mkspell! $SPELLDIR/br br_FR" -c q
$SPELLDIR/br.utf-8.spl : $FILES
:sys $VIM -u NONE -e -c "set enc=UTF-8"
-c "mkspell! $SPELLDIR/br br_FR" -c q
../README_br.txt : package-description.txt
:copy $source $target
#
# Fetching the files from OpenOffice.org.
#
OODIR = http://extensions.services.openoffice.org/e-files/2207/3
:attr {fetch = $OODIR/%file%} dict-br_0.3.oxt
# 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.
br_FR.aff br_FR.dic: {buildcheck=}
:assertpkg unzip patch
:fetch dict-br_0.3.oxt
:sys $UNZIP dict-br_0.3.oxt
:delete dict-br_0.3.oxt
:copy dictionaries/br_FR.aff br_FR.aff
:copy dictionaries/br_FR.dic br_FR.dic
# The br_FR.aff file contains a BOM, remove it.
:sys $VIM -u NONE -e -c "set enc=utf-8"
-c "e br_FR.aff"
-c "set nobomb ff=unix"
-c "update" -c q
:sys $VIM -u NONE -e -c "set enc=utf-8"
-c "e br_FR.dic"
-c "set nobomb ff=unix"
-c "update" -c q
@if not os.path.exists('br_FR.orig.aff'):
:copy br_FR.aff br_FR.orig.aff
@if os.path.exists('br_FR.diff'):
:sys patch <br_FR.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 dictionaries/br_FR.aff br_FR.aff >br_FR.diff
:sys {force} diff -a -C 1 dictionaries/br_FR.dic br_FR.dic >>br_FR.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 dict-br_0.3.oxt
:mkdir tmp
:cd tmp
@try:
@import stat
:sys $UNZIP ../dict-br_0.3.oxt
:sys {force} diff ../dictionaries/br_FR.aff br_FR.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy br_FR.aff ../br_FR.new.aff
:sys {force} diff ../dictionaries/br_FR.dic br_FR.dic >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy br_FR.dic ../br_FR.new.dic
@finally:
:cd ..
:delete {r}{f}{q} tmp
:delete dict-br_0.3.oxt
# vim: set sts=4 sw=4 :

View File

@ -36,8 +36,8 @@ ca_ES.aff ca_ES.dic: {buildcheck=}
:fetch ca_ES.zip :fetch ca_ES.zip
:sys $UNZIP ca_ES.zip :sys $UNZIP ca_ES.zip
:delete ca_ES.zip :delete ca_ES.zip
:sys $VIM ca_ES.aff -c "set ff=unix" -c "update" -c q :sys $VIM ca_ES.aff -u NONE -c "set ff=unix" -c "update" -c q
:sys $VIM ca_ES.dic -c "set ff=unix" -c "update" -c q :sys $VIM ca_ES.dic -u NONE -c "set ff=unix" -c "update" -c q
@if not os.path.exists('ca_ES.orig.aff'): @if not os.path.exists('ca_ES.orig.aff'):
:copy ca_ES.aff ca_ES.orig.aff :copy ca_ES.aff ca_ES.orig.aff
@if not os.path.exists('ca_ES.orig.dic'): @if not os.path.exists('ca_ES.orig.dic'):

View File

@ -36,9 +36,9 @@ cy_GB.aff cy_GB.dic: {buildcheck=}
:fetch cy_GB.zip :fetch cy_GB.zip
:sys $UNZIP cy_GB.zip :sys $UNZIP cy_GB.zip
:delete cy_GB.zip :delete cy_GB.zip
:sys $VIM cy_GB.aff -e -c "set ff=unix" -c update -c q :sys $VIM cy_GB.aff -u NONE -e -c "set ff=unix" -c update -c q
:sys $VIM cy_GB.dic -e -c "set ff=unix" -c update -c q :sys $VIM cy_GB.dic -u NONE -e -c "set ff=unix" -c update -c q
:sys $VIM README_cy_GB.txt -e -c "set ff=unix" -c update -c q :sys $VIM README_cy_GB.txt -u NONE -e -c "set ff=unix" -c update -c q
@if not os.path.exists('cy_GB.orig.aff'): @if not os.path.exists('cy_GB.orig.aff'):
:copy cy_GB.aff cy_GB.orig.aff :copy cy_GB.aff cy_GB.orig.aff
@if not os.path.exists('cy_GB.orig.dic'): @if not os.path.exists('cy_GB.orig.dic'):

View File

@ -133,7 +133,7 @@ de_AT.aff de_AT.dic: {buildcheck=}
:print >>de_AT.dic :print >>de_AT.dic
# delete the first line, the word count # delete the first line, the word count
:sys $VIM de_DE.dic -e -c 1delete -c wq :sys $VIM -u NONE de_DE.dic -e -c 1delete -c wq
:cat de_DE.dic >>de_AT.dic :cat de_DE.dic >>de_AT.dic
:delete de_DE.dic :delete de_DE.dic
:move de_DE.aff de_AT.aff :move de_DE.aff de_AT.aff
@ -195,7 +195,7 @@ check:
:sys $UNZIP ../$ZIPFILE_AT :sys $UNZIP ../$ZIPFILE_AT
:print >>de_AT.dic :print >>de_AT.dic
# delete the first line, the word count # delete the first line, the word count
:sys ../$VIM de_DE.dic -e -c 1delete -c wq :sys ../$VIM -u NONE de_DE.dic -e -c 1delete -c wq
:cat de_DE.dic >>de_AT.dic :cat de_DE.dic >>de_AT.dic
:delete de_DE.dic :delete de_DE.dic
:move de_DE.aff de_AT.aff :move de_DE.aff de_AT.aff

View File

@ -22,7 +22,7 @@ $SPELLDIR/eo.utf-8.spl : $FILES
../README_eo.txt : README_eo_l3.txt ../README_eo.txt : README_eo_l3.txt
:copy $source $target :copy $source $target
# fix missing newline # fix missing newline
:sys $VIM $target -e -c "set ff=unix" -c wq :sys $VIM -u NONE -e -c "set ff=unix" -c wq $target
# #
# Fetching the files from OpenOffice.org. # Fetching the files from OpenOffice.org.

View File

@ -63,7 +63,7 @@ es_MX.aff es_MX.dic: {buildcheck=}
:print No copyright information for es_MX wordlist >! README_es_MX.txt :print No copyright information for es_MX wordlist >! README_es_MX.txt
:sys $UNZIP $ZIPFILE_MX :sys $UNZIP $ZIPFILE_MX
:delete $ZIPFILE_MX :delete $ZIPFILE_MX
:sys $VIM -e -c "set ff=unix | wq" es_MX.dic :sys $VIM -u NONE -e -c "set ff=unix | wq" es_MX.dic
@if not os.path.exists('es_MX.orig.aff'): @if not os.path.exists('es_MX.orig.aff'):
:copy es_MX.aff es_MX.orig.aff :copy es_MX.aff es_MX.orig.aff
@if not os.path.exists('es_MX.orig.dic'): @if not os.path.exists('es_MX.orig.dic'):

View File

@ -36,9 +36,9 @@ ku_TR.aff ku_TR.dic: {buildcheck=}
:fetch ku_TR.zip :fetch ku_TR.zip
:sys $UNZIP ku_TR.zip :sys $UNZIP ku_TR.zip
:delete ku_TR.zip :delete ku_TR.zip
:sys $VIM ku_TR.aff -e -c "set ff=unix" -c update -c q :sys $VIM ku_TR.aff -u NONE -e -c "set ff=unix" -c update -c q
:sys $VIM ku_TR.dic -e -c "set ff=unix" -c update -c q :sys $VIM ku_TR.dic -u NONE -e -c "set ff=unix" -c update -c q
:sys $VIM README_ku_TR.txt -e -c "set ff=unix" -c update -c q :sys $VIM README_ku_TR.txt -u NONE -e -c "set ff=unix" -c update -c q
@if not os.path.exists('ku_TR.orig.aff'): @if not os.path.exists('ku_TR.orig.aff'):
:copy ku_TR.aff ku_TR.orig.aff :copy ku_TR.aff ku_TR.orig.aff
@if not os.path.exists('ku_TR.orig.dic'): @if not os.path.exists('ku_TR.orig.dic'):

View File

@ -37,9 +37,9 @@ lv_LV.aff lv_LV.dic: {buildcheck=}
:sys $UNZIP lv_LV.zip :sys $UNZIP lv_LV.zip
:delete lv_LV.zip :delete lv_LV.zip
:delete changelog.txt gpl.txt lin-lv_LV_add.sh win-lv_LV_add.bat :delete changelog.txt gpl.txt lin-lv_LV_add.sh win-lv_LV_add.bat
:sys $VIM lv_LV.aff -e -N -c "%s/\r//" -c update -c q :sys $VIM lv_LV.aff -u NONE -e -N -c "%s/\r//" -c update -c q
:sys $VIM lv_LV.dic -e -N -c "%s/\r//" -c update -c q :sys $VIM lv_LV.dic -u NONE -e -N -c "%s/\r//" -c update -c q
:sys $VIM README_lv_LV.txt -e -c "set ff=unix" -c update -c q :sys $VIM README_lv_LV.txt -u NONE -e -c "set ff=unix" -c update -c q
@if not os.path.exists('lv_LV.orig.aff'): @if not os.path.exists('lv_LV.orig.aff'):
:copy lv_LV.aff lv_LV.orig.aff :copy lv_LV.aff lv_LV.orig.aff
@if not os.path.exists('lv_LV.orig.dic'): @if not os.path.exists('lv_LV.orig.dic'):

View File

@ -5,8 +5,8 @@
# aap diff create all the diff files # aap diff create all the diff files
# "hu" is at the end, because it takes a very long time. # "hu" is at the end, because it takes a very long time.
LANG = af am bg ca cs cy da de el en eo es fr fo ga gd gl he hr id it ku LANG = af am bg br ca cs cy da de el en eo es fr fo ga gd gl he hr id it
la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw ku la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw
tet th tl tn uk yi zu hu tet th tl tn uk yi zu hu
# TODO: # TODO:

View File

@ -36,8 +36,8 @@ ms_MY.aff ms_MY.dic: {buildcheck=}
:fetch ms_MY.zip :fetch ms_MY.zip
:sys $UNZIP ms_MY.zip :sys $UNZIP ms_MY.zip
:delete ms_MY.zip :delete ms_MY.zip
:sys $VIM ms_MY.aff -e -c "set ff=unix" -c update -c q :sys $VIM ms_MY.aff -u NONE -e -c "set ff=unix" -c update -c q
:sys $VIM ms_MY.dic -e -c "set ff=unix" -c update -c q :sys $VIM ms_MY.dic -u NONE -e -c "set ff=unix" -c update -c q
@if not os.path.exists('ms_MY.orig.aff'): @if not os.path.exists('ms_MY.orig.aff'):
:copy ms_MY.aff ms_MY.orig.aff :copy ms_MY.aff ms_MY.orig.aff
@if not os.path.exists('ms_MY.orig.dic'): @if not os.path.exists('ms_MY.orig.dic'):

View File

@ -67,13 +67,13 @@ pt_BR.aff pt_BR.dic: {buildcheck=}
:fetch $BR_FNAME :fetch $BR_FNAME
:sys $UNZIP $BR_FNAME :sys $UNZIP $BR_FNAME
:delete $BR_FNAME :delete $BR_FNAME
:sys $VIM README_pt_BR.TXT -e -c "set ff=unix" -c update -c q :sys $VIM README_pt_BR.TXT -u NONE -e -c "set ff=unix" -c update -c q
:move README_pt_BR.TXT README_pt_BR.txt :move README_pt_BR.TXT README_pt_BR.txt
# Vim seems to ignore the dots from the word list. # Vim seems to ignore the dots from the word list.
# Removing words with dot to avoid misbehaviour. # Removing words with dot to avoid misbehaviour.
:sys $VIM pt_BR.dic -e -c "set ff=unix" -c "/\./d" -c update -c q :sys $VIM pt_BR.dic -u NONE -e -c "set ff=unix" -c "/\./d" -c update -c q
:sys $VIM pt_BR.aff -e -c "set ff=unix" -c update -c q :sys $VIM pt_BR.aff -u NONE -e -c "set ff=unix" -c update -c q
@if not os.path.exists('pt_BR.orig.aff'): @if not os.path.exists('pt_BR.orig.aff'):
:copy pt_BR.aff pt_BR.orig.aff :copy pt_BR.aff pt_BR.orig.aff
@if not os.path.exists('pt_BR.orig.dic'): @if not os.path.exists('pt_BR.orig.dic'):

View File

@ -3,7 +3,9 @@
" Maintainer: Erik Wognsen <erik.wognsen@gmail.com> " Maintainer: Erik Wognsen <erik.wognsen@gmail.com>
" Previous maintainer: " Previous maintainer:
" Kevin Dahlhausen <kdahlhaus@yahoo.com> " Kevin Dahlhausen <kdahlhaus@yahoo.com>
" Last Change: 2010 Jan 9 " Last Change: 2010 Apr 18
" Thanks to Ori Avtalion for feedback on the comment markers!
" For version 5.x: Clear all syntax items " For version 5.x: Clear all syntax items
" For version 6.0 and later: Quit when a syntax file was already loaded " For version 6.0 and later: Quit when a syntax file was already loaded
@ -45,8 +47,16 @@ syn match octNumber "0[0-7][0-7]\+"
syn match hexNumber "0[xX][0-9a-fA-F]\+" syn match hexNumber "0[xX][0-9a-fA-F]\+"
syn match binNumber "0[bB][0-1]*" syn match binNumber "0[bB][0-1]*"
syn match asmComment "#.*" syn keyword asmTodo contained TODO
syn region asmComment start="/\*" end="\*/"
" GAS supports various comment markers as described here:
" http://sourceware.org/binutils/docs-2.19/as/Comments.html
" I have commented out the ARM comment marker "@" by default as I think more
" people are using "@" with the .type directive. See
" http://sourceware.org/binutils/docs-2.19/as/Type.html
syn region asmComment start="/\*" end="\*/" contains=asmTodo
syn match asmComment "[#;!|].*" contains=asmTodo
" syn match asmComment "@.*" contains=asmTodo
syn match asmInclude "\.include" syn match asmInclude "\.include"
syn match asmCond "\.if" syn match asmCond "\.if"
@ -75,6 +85,7 @@ if version >= 508 || !exists("did_asm_syntax_inits")
HiLink asmSection Special HiLink asmSection Special
HiLink asmLabel Label HiLink asmLabel Label
HiLink asmComment Comment HiLink asmComment Comment
HiLink asmTodo Todo
HiLink asmDirective Statement HiLink asmDirective Statement
HiLink asmInclude Include HiLink asmInclude Include

131
runtime/syntax/cabal.vim Normal file
View File

@ -0,0 +1,131 @@
" Vim syntax file
" Language: Haskell Cabal Build file
" Maintainer: Vincent Berthoux <twinside@gmail.com>
" File Types: .cabal
" v1.3: Updated to the last version of cabal
" Added more highlighting for cabal function, true/false
" and version number. Also added missing comment highlighting.
" Cabal known compiler are highlighted too.
"
" V1.2: Added cpp-options which was missing. Feature implemented
" by GHC, found with a GHC warning, but undocumented.
" Whatever...
"
" v1.1: Fixed operator problems and added ftdetect file
" (thanks to Sebastian Schwarz)
"
" v1.0: Cabal syntax in vimball format
" (thanks to Magnus Therning)
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
syn keyword cabalCategory Library library Executable executable Flag flag
syn keyword cabalCategory source-repository Source-Repository
syn keyword cabalConditional if else
syn match cabalOperator "&&\|||\|!\|==\|>=\|<="
syn keyword cabalFunction os arche impl flag
syn match cabalComment /--.*$/
syn match cabalVersion "\d\+\(.\(\d\)\+\)\+"
syn match cabalTruth "\ctrue"
syn match cabalTruth "\cfalse"
syn match cabalCompiler "\cghc"
syn match cabalCompiler "\cnhc"
syn match cabalCompiler "\cyhc"
syn match cabalCompiler "\chugs"
syn match cabalCompiler "\chbc"
syn match cabalCompiler "\chelium"
syn match cabalCompiler "\cjhc"
syn match cabalCompiler "\clhc"
syn match cabalStatement "\cauthor"
syn match cabalStatement "\cbranch"
syn match cabalStatement "\cbug-reports"
syn match cabalStatement "\cbuild-depends"
syn match cabalStatement "\cbuild-tools"
syn match cabalStatement "\cbuild-type"
syn match cabalStatement "\cbuildable"
syn match cabalStatement "\cc-sources"
syn match cabalStatement "\ccabal-version"
syn match cabalStatement "\ccategory"
syn match cabalStatement "\ccc-options"
syn match cabalStatement "\ccopyright"
syn match cabalStatement "\ccpp-options"
syn match cabalStatement "\cdata-dir"
syn match cabalStatement "\cdata-files"
syn match cabalStatement "\cdefault"
syn match cabalStatement "\cdescription"
syn match cabalStatement "\cexecutable"
syn match cabalStatement "\cexposed-modules"
syn match cabalStatement "\cexposed"
syn match cabalStatement "\cextensions"
syn match cabalStatement "\cextra-lib-dirs"
syn match cabalStatement "\cextra-libraries"
syn match cabalStatement "\cextra-source-files"
syn match cabalStatement "\cextra-tmp-files"
syn match cabalStatement "\cfor example"
syn match cabalStatement "\cframeworks"
syn match cabalStatement "\cghc-options"
syn match cabalStatement "\cghc-prof-options"
syn match cabalStatement "\cghc-shared-options"
syn match cabalStatement "\chomepage"
syn match cabalStatement "\chs-source-dirs"
syn match cabalStatement "\chugs-options"
syn match cabalStatement "\cinclude-dirs"
syn match cabalStatement "\cincludes"
syn match cabalStatement "\cinstall-includes"
syn match cabalStatement "\cld-options"
syn match cabalStatement "\clicense-file"
syn match cabalStatement "\clicense"
syn match cabalStatement "\clocation"
syn match cabalStatement "\cmain-is"
syn match cabalStatement "\cmaintainer"
syn match cabalStatement "\cmodule"
syn match cabalStatement "\cname"
syn match cabalStatement "\cnhc98-options"
syn match cabalStatement "\cother-modules"
syn match cabalStatement "\cpackage-url"
syn match cabalStatement "\cpkgconfig-depends"
syn match cabalStatement "\cstability"
syn match cabalStatement "\csubdir"
syn match cabalStatement "\csynopsis"
syn match cabalStatement "\ctag"
syn match cabalStatement "\ctested-with"
syn match cabalStatement "\ctype"
syn match cabalStatement "\cversion"
" Define the default highlighting.
" For version 5.7 and earlier: only when not done already
" For version 5.8 and later: only when an item doesn't have highlighting yet
if version >= 508 || !exists("did_cabal_syn_inits")
if version < 508
let did_cabal_syn_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif
HiLink cabalVersion Number
HiLink cabalTruth Boolean
HiLink cabalComment Comment
HiLink cabalStatement Statement
HiLink cabalCategory Type
HiLink cabalFunction Function
HiLink cabalConditional Conditional
HiLink cabalOperator Operator
HiLink cabalCompiler Constant
delcommand HiLink
endif
let b:current_syntax = "cabal"
" vim: ts=8

View File

@ -0,0 +1,94 @@
" Vim syntax file
" Language: ChaiScript
" Maintainer: Jason Turner <lefticus 'at' gmail com>
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
finish
end
syn case match
" syncing method
syn sync fromstart
" Strings
syn region chaiscriptString start=+"+ end=+"+ skip=+\\\\\|\\"+ contains=chaiscriptSpecial,chaiscriptEval,@Spell
" Escape characters
syn match chaiscriptSpecial contained "\\[\\abfnrtv\'\"]\|\\\d\{,3}"
" String evals
syn region chaiscriptEval contained start="${" end="}"
" integer number
syn match chaiscriptNumber "\<\d\+\>"
" floating point number, with dot, optional exponent
syn match chaiscriptFloat "\<\d\+\.\d*\%(e[-+]\=\d\+\)\=\>"
" floating point number, starting with a dot, optional exponent
syn match chaiscriptFloat "\.\d\+\%(e[-+]\=\d\+\)\=\>"
" floating point number, without dot, with exponent
syn match chaiscriptFloat "\<\d\+e[-+]\=\d\+\>"
" Hex strings
syn match chaiscriptNumber "\<0x\x\+\>"
" Binary strings
syn match chaiscriptNumber "\<0b[01]\+\>"
" Various language features
syn keyword chaiscriptCond if else
syn keyword chaiscriptRepeat while for do
syn keyword chaiscriptStatement break continue return
syn keyword chaiscriptExceptions try catch throw
"Keyword
syn keyword chaiscriptKeyword def true false attr
"Built in types
syn keyword chaiscriptType fun var
"Built in funcs, keep it simple
syn keyword chaiscriptFunc eval throw
"Let's treat all backtick operator function lookups as built in too
syn region chaiscriptFunc matchgroup=chaiscriptFunc start="`" end="`"
" Account for the "[1..10]" syntax, treating it as an operator
" Intentionally leaving out all of the normal, well known operators
syn match chaiscriptOperator "\.\."
" Guard seperator as an operator
syn match chaiscriptOperator ":"
" Comments
syn match chaiscriptComment "//.*$" contains=@Spell
syn region chaiscriptComment matchgroup=chaiscriptComment start="/\*" end="\*/" contains=@Spell
hi def link chaiscriptExceptions Exception
hi def link chaiscriptKeyword Keyword
hi def link chaiscriptStatement Statement
hi def link chaiscriptRepeat Repeat
hi def link chaiscriptString String
hi def link chaiscriptNumber Number
hi def link chaiscriptFloat Float
hi def link chaiscriptOperator Operator
hi def link chaiscriptConstant Constant
hi def link chaiscriptCond Conditional
hi def link chaiscriptFunction Function
hi def link chaiscriptComment Comment
hi def link chaiscriptTodo Todo
hi def link chaiscriptError Error
hi def link chaiscriptSpecial SpecialChar
hi def link chaiscriptFunc Identifier
hi def link chaiscriptType Type
hi def link chaiscriptEval Special
let b:current_syntax = "chaiscript"
" vim: nowrap sw=2 sts=2 ts=8 noet

View File

@ -3,8 +3,8 @@
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
" Former Maintainers: Gerfried Fuchs <alfie@ist.org> " Former Maintainers: Gerfried Fuchs <alfie@ist.org>
" Wichert Akkerman <wakkerma@debian.org> " Wichert Akkerman <wakkerma@debian.org>
" Last Change: 2009 Jun 05 " Last Change: 2010 May 06
" URL: http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/syntax/debchangelog.vim;hb=debian " URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/tip/runtime/syntax/debchangelog.vim
" Standard syntax initialization " Standard syntax initialization
if version < 600 if version < 600
@ -19,7 +19,7 @@ syn case ignore
" Define some common expressions we can use later on " Define some common expressions we can use later on
syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ " syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ "
syn match debchangelogUrgency contained "; urgency=\(low\|medium\|high\|critical\|emergency\)\( \S.*\)\=" syn match debchangelogUrgency contained "; urgency=\(low\|medium\|high\|critical\|emergency\)\( \S.*\)\="
syn match debchangelogTarget contained "\v %(frozen|unstable|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|%(etch|lenny)-%(backports|volatile)|%(dapper|hardy|intrepid|jaunty|karmic)%(-%(security|proposed|updates|backports|commercial|partner))=)+" syn match debchangelogTarget contained "\v %(frozen|unstable|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|%(etch|lenny)-%(backports|volatile)|%(dapper|hardy|jaunty|karmic|lucid|maverick)%(-%(security|proposed|updates|backports|commercial|partner))=)+"
syn match debchangelogVersion contained "(.\{-})" syn match debchangelogVersion contained "(.\{-})"
syn match debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*" syn match debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*"
syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*" syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*"

View File

@ -3,12 +3,8 @@
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
" Former Maintainers: Gerfried Fuchs <alfie@ist.org> " Former Maintainers: Gerfried Fuchs <alfie@ist.org>
" Wichert Akkerman <wakkerma@debian.org> " Wichert Akkerman <wakkerma@debian.org>
" Last Change: 2009 July 14 " Last Change: 2009 Aug 17
" URL: http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/ftplugin/debcontrol.vim;hb=debian " URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/tip/runtime/syntax/debcontrol.vim
" Comments are very welcome - but please make sure that you are commenting on
" the latest version of this file.
" SPAM is _NOT_ welcome - be ready to be reported!
" Standard syntax initialization " Standard syntax initialization
if version < 600 if version < 600
@ -28,7 +24,7 @@ syn match debControlComma ", *"
syn match debControlSpace " " syn match debControlSpace " "
" Define some common expressions we can use later on " Define some common expressions we can use later on
syn match debcontrolArchitecture contained "\(all\|any\|alpha\|amd64\|arm\(e[bl]\)\=\|avr32\|hppa\|i386\|ia64\|m32r\|m68k\|mipsel\|mips\|powerpc\|ppc64\|s390x\=\|sh[34]\(eb\)\=\|sh\|sparc64\|sparc\|hurd-i386\|kfreebsd-\(i386\|amd64\|gnu\)\|knetbsd-i386\|netbsd-\(alpha\|i386\)\)" syn match debcontrolArchitecture contained "\%(all\|any\|alpha\|amd64\|arm\%(e[bl]\)\=\|avr32\|hppa\|i386\|ia64\|lpia\|m32r\|m68k\|mips\%(el\)\=\|powerpc\|ppc64\|s390x\=\|sh[34]\(eb\)\=\|sh\|sparc\%(64\)\=\|hurd-i386\|kfreebsd-\%(i386\|amd64\|gnu\)\|knetbsd-i386\|kopensolaris-i386\|netbsd-\%(alpha\|i386\)\)"
syn match debcontrolName contained "[a-z0-9][a-z0-9+.-]\+" syn match debcontrolName contained "[a-z0-9][a-z0-9+.-]\+"
syn match debcontrolPriority contained "\(extra\|important\|optional\|required\|standard\)" syn match debcontrolPriority contained "\(extra\|important\|optional\|required\|standard\)"
syn match debcontrolSection contained "\v((contrib|non-free|non-US/main|non-US/contrib|non-US/non-free|restricted|universe|multiverse)/)?(admin|cli-mono|comm|database|debian-installer|debug|devel|doc|editors|electronics|embedded|fonts|games|gnome|gnustep|gnu-r|graphics|hamradio|haskell|httpd|interpreters|java|kde|kernel|libs|libdevel|lisp|localization|mail|math|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|science|shells|sound|text|tex|utils|vcs|video|web|x11|xfce|zope)" syn match debcontrolSection contained "\v((contrib|non-free|non-US/main|non-US/contrib|non-US/non-free|restricted|universe|multiverse)/)?(admin|cli-mono|comm|database|debian-installer|debug|devel|doc|editors|electronics|embedded|fonts|games|gnome|gnustep|gnu-r|graphics|hamradio|haskell|httpd|interpreters|java|kde|kernel|libs|libdevel|lisp|localization|mail|math|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|science|shells|sound|text|tex|utils|vcs|video|web|x11|xfce|zope)"
@ -53,7 +49,7 @@ syn match debcontrolComment "^#.*$"
syn case ignore syn case ignore
" List of all legal keys " List of all legal keys
syn match debcontrolKey contained "^\%(Source\|Package\|Section\|Priority\|\%(XSBC-Original-\)\=Maintainer\|Uploaders\|Build-\%(Conflicts\|Depends\)\%(-Indep\)\=\|Standards-Version\|\%(Pre-\)\=Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Enhances\|Essential\|Architecture\|Description\|Bugs\|Origin\|X[SB]-Python-Version\|Homepage\|\(XS-\)\=Vcs-\(Browser\|Arch\|Bzr\|Cvs\|Darcs\|Git\|Hg\|Mtn\|Svn\)\|XC-Package-Type\|\%(XS-\)\=DM-Upload-Allowed\): *" syn match debcontrolKey contained "^\%(Source\|Package\|Section\|Priority\|\%(XSBC-Original-\)\=Maintainer\|Uploaders\|Build-\%(Conflicts\|Depends\)\%(-Indep\)\=\|Standards-Version\|\%(Pre-\)\=Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Enhances\|Breaks\|Essential\|Architecture\|Description\|Bugs\|Origin\|X[SB]-Python-Version\|Homepage\|\(XS-\)\=Vcs-\(Browser\|Arch\|Bzr\|Cvs\|Darcs\|Git\|Hg\|Mtn\|Svn\)\|XC-Package-Type\|\%(XS-\)\=DM-Upload-Allowed\): *"
" Fields for which we do strict syntax checking " Fields for which we do strict syntax checking
syn region debcontrolStrictField start="^Architecture" end="$" contains=debcontrolKey,debcontrolArchitecture,debcontrolSpace oneline syn region debcontrolStrictField start="^Architecture" end="$" contains=debcontrolKey,debcontrolArchitecture,debcontrolSpace oneline
@ -70,7 +66,7 @@ syn region debcontrolStrictField start="^\%(XS-\)\=DM-Upload-Allowed" end="$" co
" Catch-all for the other legal fields " Catch-all for the other legal fields
syn region debcontrolField start="^\%(\%(XSBC-Original-\)\=Maintainer\|Standards-Version\|Essential\|Bugs\|Origin\|X[SB]-Python-Version\|\%(XS-\)\=Vcs-Mtn\):" end="$" contains=debcontrolKey,debcontrolVariable,debcontrolEmail oneline syn region debcontrolField start="^\%(\%(XSBC-Original-\)\=Maintainer\|Standards-Version\|Essential\|Bugs\|Origin\|X[SB]-Python-Version\|\%(XS-\)\=Vcs-Mtn\):" end="$" contains=debcontrolKey,debcontrolVariable,debcontrolEmail oneline
syn region debcontrolMultiField start="^\%(Build-\%(Conflicts\|Depends\)\%(-Indep\)\=\|\%(Pre-\)\=Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Enhances\|Uploaders\|Description\):" skip="^ " end="^$"me=s-1 end="^[^ #]"me=s-1 contains=debcontrolKey,debcontrolEmail,debcontrolVariable,debcontrolComment syn region debcontrolMultiField start="^\%(Build-\%(Conflicts\|Depends\)\%(-Indep\)\=\|\%(Pre-\)\=Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Enhances\|Breaks\|Uploaders\|Description\):" skip="^ " end="^$"me=s-1 end="^[^ #]"me=s-1 contains=debcontrolKey,debcontrolEmail,debcontrolVariable,debcontrolComment
" Associate our matches and regions with pretty colours " Associate our matches and regions with pretty colours
if version >= 508 || !exists("did_debcontrol_syn_inits") if version >= 508 || !exists("did_debcontrol_syn_inits")

View File

@ -2,8 +2,8 @@
" Language: Debian sources.list " Language: Debian sources.list
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
" Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl> " Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
" Last Change: 2009 Apr 17 " Last Change: 2010 May 06
" URL: http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/syntax/debsources.vim;hb=debian " URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/tip/runtime/syntax/debsources.vim
" Standard syntax initialization " Standard syntax initialization
if version < 600 if version < 600
@ -23,7 +23,7 @@ syn match debsourcesComment /#.*/ contains=@Spell
" Match uri's " Match uri's
syn match debsourcesUri +\(http://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^' <>"]\++ syn match debsourcesUri +\(http://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^' <>"]\++
syn match debsourcesDistrKeyword +\([[:alnum:]_./]*\)\(etch\|lenny\|squeeze\|\(old\)\=stable\|testing\|unstable\|sid\|experimental\|dapper\|hardy\|intrepid\|jaunty\|karmic\)\([-[:alnum:]_./]*\)+ syn match debsourcesDistrKeyword +\([[:alnum:]_./]*\)\(etch\|lenny\|squeeze\|\(old\)\=stable\|testing\|unstable\|sid\|rc-buggy\|experimental\|dapper\|hardy\|jaunty\|karmic\|lucid\|maverick\)\([-[:alnum:]_./]*\)+
" Associate our matches and regions with pretty colours " Associate our matches and regions with pretty colours
hi def link debsourcesLine Error hi def link debsourcesLine Error
@ -33,5 +33,3 @@ hi def link debsourcesComment Comment
hi def link debsourcesUri Constant hi def link debsourcesUri Constant
let b:current_syntax = "debsources" let b:current_syntax = "debsources"
" vim: ts=8

View File

@ -1,8 +1,7 @@
" Vim syntax file " Vim syntax file " Language: Java
" Language: Java
" Maintainer: Claudio Fleiner <claudio@fleiner.com> " Maintainer: Claudio Fleiner <claudio@fleiner.com>
" URL: http://www.fleiner.com/vim/syntax/java.vim " URL: http://www.fleiner.com/vim/syntax/java.vim
" Last Change: 2009 Mar 14 " Last Change: 2010 March 23
" Please check :help java.vim for comments on some of the options available. " Please check :help java.vim for comments on some of the options available.
@ -180,7 +179,7 @@ syn match javaComment "/\*\*/"
" Strings and constants " Strings and constants
syn match javaSpecialError contained "\\." syn match javaSpecialError contained "\\."
syn match javaSpecialCharError contained "[^']" syn match javaSpecialCharError contained "[^']"
syn match javaSpecialChar contained "\\\([4-9]\d\|[0-3]\d\d\|[\"\\'ntbrf]\|u\+\x\{4\}\)" syn match javaSpecialChar contained "\\\([4-9]\d\|[0-3]\d\d\|[\"\\'ntbrf]\|u\x\{4\}\)"
syn region javaString start=+"+ end=+"+ end=+$+ contains=javaSpecialChar,javaSpecialError,@Spell syn region javaString start=+"+ end=+"+ end=+$+ contains=javaSpecialChar,javaSpecialError,@Spell
" next line disabled, it can cause a crash for a long line " next line disabled, it can cause a crash for a long line
"syn match javaStringError +"\([^"\\]\|\\.\)*$+ "syn match javaStringError +"\([^"\\]\|\\.\)*$+
@ -193,7 +192,7 @@ syn match javaNumber "\<\d\+[eE][-+]\=\d\+[fFdD]\=\>"
syn match javaNumber "\<\d\+\([eE][-+]\=\d\+\)\=[fFdD]\>" syn match javaNumber "\<\d\+\([eE][-+]\=\d\+\)\=[fFdD]\>"
" unicode characters " unicode characters
syn match javaSpecial "\\u\+\d\{4\}" syn match javaSpecial "\\u\d\{4\}"
syn cluster javaTop add=javaString,javaCharacter,javaNumber,javaSpecial,javaStringError syn cluster javaTop add=javaString,javaCharacter,javaNumber,javaSpecial,javaStringError

View File

@ -7,7 +7,7 @@
" (ss) repaired several quoting and grouping glitches " (ss) repaired several quoting and grouping glitches
" (ss) fixed regex parsing issue with multiple qualifiers [gi] " (ss) fixed regex parsing issue with multiple qualifiers [gi]
" (ss) additional factoring of keywords, globals, and members " (ss) additional factoring of keywords, globals, and members
" Last Change: 2006 Jun 19 " Last Change: 2010 Mar 25
" For version 5.x: Clear all syntax items " For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded " For version 6.x: Quit when a syntax file was already loaded
@ -28,8 +28,6 @@ if version < 600 && exists("javaScript_fold")
unlet javaScript_fold unlet javaScript_fold
endif endif
syn case ignore
syn keyword javaScriptCommentTodo TODO FIXME XXX TBD contained syn keyword javaScriptCommentTodo TODO FIXME XXX TBD contained
syn match javaScriptLineComment "\/\/.*" contains=@Spell,javaScriptCommentTodo syn match javaScriptLineComment "\/\/.*" contains=@Spell,javaScriptCommentTodo
@ -51,7 +49,7 @@ syn keyword javaScriptType Array Boolean Date Function Number Object String Reg
syn keyword javaScriptStatement return with syn keyword javaScriptStatement return with
syn keyword javaScriptBoolean true false syn keyword javaScriptBoolean true false
syn keyword javaScriptNull null undefined syn keyword javaScriptNull null undefined
syn keyword javaScriptIdentifier arguments this var syn keyword javaScriptIdentifier arguments this var let
syn keyword javaScriptLabel case default syn keyword javaScriptLabel case default
syn keyword javaScriptException try catch finally throw syn keyword javaScriptException try catch finally throw
syn keyword javaScriptMessage alert confirm prompt status syn keyword javaScriptMessage alert confirm prompt status

View File

@ -4,7 +4,7 @@
" \begin{code} \end{code} blocks " \begin{code} \end{code} blocks
" Maintainer: Haskell Cafe mailinglist <haskell-cafe@haskell.org> " Maintainer: Haskell Cafe mailinglist <haskell-cafe@haskell.org>
" Original Author: Arthur van Leeuwen <arthurvl@cs.uu.nl> " Original Author: Arthur van Leeuwen <arthurvl@cs.uu.nl>
" Last Change: 2009 May 08 " Last Change: 2010 Apr 11
" Version: 1.04 " Version: 1.04
" "
" Thanks to Ian Lynagh for thoughtful comments on initial versions and " Thanks to Ian Lynagh for thoughtful comments on initial versions and
@ -107,13 +107,12 @@ else
endif endif
syntax region lhsHaskellBirdTrack start="^>" end="\%(^[^>]\)\@=" contains=@haskellTop,lhsBirdTrack containedin=@lhsTeXContainer syntax region lhsHaskellBirdTrack start="^>" end="\%(^[^>]\)\@=" contains=@haskellTop,lhsBirdTrack containedin=@lhsTeXContainer
syntax region lhsHaskellBeginEndBlock start="^\\begin{code}\s*$" matchgroup=NONE end="\%(^\\end{code}.*$\)\@=" contains=@haskellTop,@beginCode containedin=@lhsTeXContainer syntax region lhsHaskellBeginEndBlock start="^\\begin{code}\s*$" matchgroup=NONE end="\%(^\\end{code}.*$\)\@=" contains=@haskellTop,beginCodeBegin containedin=@lhsTeXContainer
syntax match lhsBirdTrack "^>" contained syntax match lhsBirdTrack "^>" contained
syntax match beginCodeBegin "^\\begin" nextgroup=beginCodeCode contained syntax match beginCodeBegin "^\\begin" nextgroup=beginCodeCode contained
syntax region beginCodeCode matchgroup=texDelimiter start="{" end="}" syntax region beginCodeCode matchgroup=texDelimiter start="{" end="}"
syntax cluster beginCode contains=beginCodeBegin,beginCodeCode
" Define the default highlighting. " Define the default highlighting.
" For version 5.7 and earlier: only when not done already " For version 5.7 and earlier: only when not done already

View File

@ -1,8 +1,8 @@
" Vim syntax file " Vim syntax file
" Language: Maple V (based on release 4) " Language: Maple V (based on release 4)
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz> " Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
" Last Change: Sep 11, 2006 " Last Change: Jan 05, 2010
" Version: 9 " Version: 10
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
" "
" Package Function Selection: {{{1 " Package Function Selection: {{{1
@ -164,9 +164,11 @@ syn match mvError "\.\.\."
" Split into booleans, conditionals, operators, repeat-logic, etc " Split into booleans, conditionals, operators, repeat-logic, etc
syn keyword mvBool true false FAIL syn keyword mvBool true false FAIL
syn keyword mvCond elif else fi if then syn keyword mvCond elif else fi if then
syn match mvCond "end\s\+if"
syn keyword mvRepeat by for in to syn keyword mvRepeat by for in to
syn keyword mvRepeat do from od while syn keyword mvRepeat do from od while
syn match mvRepeat "end\s\+do"
syn keyword mvSpecial NULL syn keyword mvSpecial NULL
syn match mvSpecial "\[\]\|{}" syn match mvSpecial "\[\]\|{}"

View File

@ -3,13 +3,13 @@
" Maintainer: Martin Smat <msmat@post.cz> " Maintainer: Martin Smat <msmat@post.cz>
" Original Author: David Pascoe <pascoedj@spamcop.net> " Original Author: David Pascoe <pascoedj@spamcop.net>
" Written: Wed Jan 28 14:37:23 GMT--8:00 1998 " Written: Wed Jan 28 14:37:23 GMT--8:00 1998
" Last Changed: Mon Mar 15 2010 " Last Changed: Mon Mar 23 2010
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
endif endif
setlocal iskeyword=@,48-57,_,128-167,224-235,-,:,= setlocal iskeyword=@,48-57,_,128-167,224-235,-
syn keyword mibImplicit ACCESS ANY AUGMENTS BEGIN BIT BITS BOOLEAN CHOICE syn keyword mibImplicit ACCESS ANY AUGMENTS BEGIN BIT BITS BOOLEAN CHOICE
syn keyword mibImplicit COMPONENTS CONTACT-INFO DEFINITIONS DEFVAL syn keyword mibImplicit COMPONENTS CONTACT-INFO DEFINITIONS DEFVAL
@ -22,7 +22,7 @@ syn keyword mibImplicit NULL OBJECT-GROUP OBJECT-IDENTITY OBJECT-TYPE
syn keyword mibImplicit OBJECTS OF OPTIONAL ORGANIZATION REFERENCE syn keyword mibImplicit OBJECTS OF OPTIONAL ORGANIZATION REFERENCE
syn keyword mibImplicit REVISION SEQUENCE SET SIZE STATUS SYNTAX syn keyword mibImplicit REVISION SEQUENCE SET SIZE STATUS SYNTAX
syn keyword mibImplicit TEXTUAL-CONVENTION TRAP-TYPE TRUE UNITS VARIABLES syn keyword mibImplicit TEXTUAL-CONVENTION TRAP-TYPE TRUE UNITS VARIABLES
syn keyword mibImplicit WRITE-SYNTAX ::= syn keyword mibImplicit WRITE-SYNTAX
syn keyword mibValue accessible-for-notify current DisplayString syn keyword mibValue accessible-for-notify current DisplayString
syn keyword mibValue deprecated mandatory not-accessible obsolete optional syn keyword mibValue deprecated mandatory not-accessible obsolete optional
syn keyword mibValue read-create read-only read-write write-only INTEGER syn keyword mibValue read-create read-only read-write write-only INTEGER
@ -40,11 +40,13 @@ syn keyword mibEpilogue test-function-async next-function next-function-async
syn keyword mibEpilogue leaf-name syn keyword mibEpilogue leaf-name
syn keyword mibEpilogue DEFAULT contained syn keyword mibEpilogue DEFAULT contained
syn match mibOperator "::="
syn match mibComment "\ *--.\{-}\(--\|$\)" syn match mibComment "\ *--.\{-}\(--\|$\)"
syn match mibNumber "\<['0-9a-fA-FhH]*\>" syn match mibNumber "\<['0-9a-fA-FhH]*\>"
syn region mibDescription start="\"" end="\"" contains=DEFAULT syn region mibDescription start="\"" end="\"" contains=DEFAULT
hi def link mibImplicit Statement hi def link mibImplicit Statement
hi def link mibOperator Statement
hi def link mibComment Comment hi def link mibComment Comment
hi def link mibConstants String hi def link mibConstants String
hi def link mibNumber Number hi def link mibNumber Number

View File

@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: mysql " Language: mysql
" Maintainer: Kenneth J. Pronovici <pronovic@ieee.org> " Maintainer: Kenneth J. Pronovici <pronovic@ieee.org>
" Last Change: $LastChangedDate: 2009-06-29 23:08:37 -0500 (Mon, 29 Jun 2009) $ " Last Change: $LastChangedDate: 2010-04-22 09:48:02 -0500 (Thu, 22 Apr 2010) $
" Filenames: *.mysql " Filenames: *.mysql
" URL: ftp://cedar-solutions.com/software/mysql.vim " URL: ftp://cedar-solutions.com/software/mysql.vim
" Note: The definitions below are taken from the mysql user manual as of April 2002, for version 3.23 " Note: The definitions below are taken from the mysql user manual as of April 2002, for version 3.23
@ -62,7 +62,7 @@ syn match mysqlNumber "-\=\<[0-9]*\.[0-9]*e[+-]\=[0-9]*\>"
syn match mysqlNumber "\<0x[abcdefABCDEF0-9]*\>" syn match mysqlNumber "\<0x[abcdefABCDEF0-9]*\>"
" User variables " User variables
syn match mysqlVariable "@\a*[A-Za-z0-9]*[._]*[A-Za-z0-9]*" syn match mysqlVariable "@\a*[A-Za-z0-9]*\([._]*[A-Za-z0-9]\)*"
" Comments (c-style, mysql-style and modified sql-style) " Comments (c-style, mysql-style and modified sql-style)
syn region mysqlComment start="/\*" end="\*/" syn region mysqlComment start="/\*" end="\*/"
@ -75,7 +75,7 @@ syn sync ccomment mysqlComment
" This gets a bit ugly. There are two different problems we have to " This gets a bit ugly. There are two different problems we have to
" deal with. " deal with.
" "
" The first problem is that some keywoards like 'float' can be used " The first problem is that some keywords like 'float' can be used
" both with and without specifiers, i.e. 'float', 'float(1)' and " both with and without specifiers, i.e. 'float', 'float(1)' and
" 'float(@var)' are all valid. We have to account for this and we " 'float(@var)' are all valid. We have to account for this and we
" also have to make sure that garbage like floatn or float_(1) is not " also have to make sure that garbage like floatn or float_(1) is not

95
runtime/syntax/obj.vim Normal file
View File

@ -0,0 +1,95 @@
" Vim syntax file
" Language: 3D wavefront's obj file
" Maintainer: Vincent Berthoux <twinside@gmail.com>
" File Types: .obj (used in 3D)
"
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
syn match objError "^\a\+"
syn match objKeywords "^cstype\s"
syn match objKeywords "^ctech\s"
syn match objKeywords "^stech\s"
syn match objKeywords "^deg\s"
syn match objKeywords "^curv\(2\?\)\s"
syn match objKeywords "^parm\s"
syn match objKeywords "^surf\s"
syn match objKeywords "^end\s"
syn match objKeywords "^bzp\s"
syn match objKeywords "^bsp\s"
syn match objKeywords "^res\s"
syn match objKeywords "^cdc\s"
syn match objKeywords "^con\s"
syn match objKeywords "^shadow_obj\s"
syn match objKeywords "^trace_obj\s"
syn match objKeywords "^usemap\s"
syn match objKeywords "^lod\s"
syn match objKeywords "^maplib\s"
syn match objKeywords "^d_interp\s"
syn match objKeywords "^c_interp\s"
syn match objKeywords "^bevel\s"
syn match objKeywords "^mg\s"
syn match objKeywords "^s\s"
syn match objKeywords "^con\s"
syn match objKeywords "^trim\s"
syn match objKeywords "^hole\s"
syn match objKeywords "^scrv\s"
syn match objKeywords "^sp\s"
syn match objKeywords "^step\s"
syn match objKeywords "^bmat\s"
syn match objKeywords "^csh\s"
syn match objKeywords "^call\s"
syn match objComment "^#.*"
syn match objVertex "^v\s"
syn match objFace "^f\s"
syn match objVertice "^vt\s"
syn match objNormale "^vn\s"
syn match objGroup "^g\s.*"
syn match objMaterial "^usemtl\s.*"
syn match objInclude "^mtllib\s.*"
syn match objFloat "-\?\d\+\.\d\+\(e\(+\|-\)\d\+\)\?"
syn match objInt "\d\+"
syn match objIndex "\d\+\/\d*\/\d*"
" Define the default highlighting.
" For version 5.7 and earlier: only when not done already
" For version 5.8 and later: only when an item doesn't have highlighting yet
if version >= 508 || !exists("did_cabal_syn_inits")
if version < 508
let did_cabal_syn_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif
HiLink objError Error
HiLink objComment Comment
HiLink objInclude PreProc
HiLink objFloat Float
HiLink objInt Number
HiLink objGroup Structure
HiLink objIndex Constant
HiLink objMaterial Label
HiLink objVertex Keyword
HiLink objNormale Keyword
HiLink objVertice Keyword
HiLink objFace Keyword
HiLink objKeywords Keyword
delcommand HiLink
endif
let b:current_syntax = "obj"
" vim: ts=8

View File

@ -1,24 +1,24 @@
" Vim syntax file " Vim syntax file
" Language: Perl " Language: Perl 5
" Maintainer: Nick Hibma <nick@van-laarhoven.org> " Maintainer: Andy Lester <andy@petdance.com>
" Last Change: 2006 November 23 " URL: http://github.com/petdance/vim-perl/tree/master
" Location: http://www.van-laarhoven.org/vim/syntax/perl.vim " Last Change: 2009-09-2
" Contributors: Andy Lester <andy@petdance.com>
" Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
" Lukas Mai <l.mai.web.de>
" Nick Hibma <nick@van-laarhoven.org>
" Sonia Heimann <niania@netsurf.org>
" and many others.
" "
" Please download most recent version first before mailing " Please download most recent version first before mailing
" any comments. " any comments.
" See also the file perl.vim.regression.pl to check whether your
" modifications work in the most odd cases
" http://www.van-laarhoven.org/vim/syntax/perl.vim.regression.pl
" "
" Original version: Sonia Heimann <niania@netsurf.org>
" Thanks to many people for their contribution.
" The following parameters are available for tuning the " The following parameters are available for tuning the
" perl syntax highlighting, with defaults given: " perl syntax highlighting, with defaults given:
" "
" unlet perl_include_pod " unlet perl_include_pod
" unlet perl_want_scope_in_variables " unlet perl_no_scope_in_variables
" unlet perl_extended_vars " unlet perl_no_extended_vars
" unlet perl_string_as_statement " unlet perl_string_as_statement
" unlet perl_no_sync_on_sub " unlet perl_no_sync_on_sub
" unlet perl_no_sync_on_global_var " unlet perl_no_sync_on_global_var
@ -28,17 +28,37 @@
" let perl_nofold_packages = 1 " let perl_nofold_packages = 1
" let perl_nofold_subs = 1 " let perl_nofold_subs = 1
" Remove any old syntax stuff that was loaded (5.x) or quit when a syntax file
" was already loaded (6.x).
if version < 600 if version < 600
syntax clear echoerr ">=vim-6.0 is required to run perl.vim"
finish
elseif exists("b:current_syntax") elseif exists("b:current_syntax")
finish finish
endif endif
" Unset perl_fold if it set but vim doesn't support it. "
if version < 600 && exists("perl_fold") " Folding
unlet perl_fold
if exists("perl_fold")
" Note: this bit must come before the actual highlighting of the "package"
" keyword, otherwise this will screw up Pod lines that match /^package/
if !exists("perl_nofold_packages")
syn region perlPackageFold start="^package \S\+;\s*\%(#.*\)\=$" end="^1;\=\s*\%(#.*\)\=$" end="\n\+package"me=s-1 transparent fold keepend
endif
if !exists("perl_nofold_subs")
syn region perlSubFold start="^\z(\s*\)\<sub\>.*[^};]$" end="^\z1}\s*\%(#.*\)\=$" transparent fold keepend
syn region perlSubFold start="^\z(\s*\)\<\%(BEGIN\|END\|CHECK\|INIT\|UNITCHECK\)\>.*[^};]$" end="^\z1}\s*$" transparent fold keepend
endif
if exists("perl_fold_blocks")
syn region perlBlockFold start="^\z(\s*\)\%(if\|elsif\|unless\|for\|while\|until\|given\)\s*(.*)\%(\s*{\)\=\s*\%(#.*\)\=$" start="^\z(\s*\)foreach\s*\%(\%(my\|our\)\=\s*\S\+\s*\)\=(.*)\%(\s*{\)\=\s*\%(#.*\)\=$" end="^\z1}\s*;\=\%(#.*\)\=$" transparent fold keepend
syn region perlBlockFold start="^\z(\s*\)\%(do\|else\)\%(\s*{\)\=\s*\%(#.*\)\=$" end="^\z1}\s*while" end="^\z1}\s*;\=\%(#.*\)\=$" transparent fold keepend
endif
setlocal foldmethod=syntax
syn sync fromstart
else
" fromstart above seems to set minlines even if perl_fold is not set.
syn sync minlines=0
endif endif
@ -65,64 +85,48 @@ else
endif endif
syn cluster perlTop contains=TOP
syn region perlGenericBlock matchgroup=perlGenericBlock start="{" end="}" contained transparent
" All keywords " All keywords
" "
if exists("perl_fold") && exists("perl_fold_blocks") syn match perlConditional "\<\%(if\|elsif\|unless\|given\|when\|default\)\>"
syn match perlConditional "\<if\>"
syn match perlConditional "\<elsif\>"
syn match perlConditional "\<unless\>"
syn match perlConditional "\<else\>" nextgroup=perlElseIfError skipwhite skipnl skipempty syn match perlConditional "\<else\>" nextgroup=perlElseIfError skipwhite skipnl skipempty
else syn match perlRepeat "\<\%(while\|for\%(each\)\=\|do\|until\|continue\)\>"
syn keyword perlConditional if elsif unless syn match perlOperator "\<\%(defined\|undef\|eq\|ne\|[gl][et]\|cmp\|not\|and\|or\|xor\|not\|bless\|ref\|do\)\>"
syn keyword perlConditional else nextgroup=perlElseIfError skipwhite skipnl skipempty syn match perlControl "\<\%(BEGIN\|CHECK\|INIT\|END\|UNITCHECK\)\>"
endif
syn keyword perlConditional switch eq ne gt lt ge le cmp not and or xor err
if exists("perl_fold") && exists("perl_fold_blocks")
syn match perlRepeat "\<while\>"
syn match perlRepeat "\<for\>"
syn match perlRepeat "\<foreach\>"
syn match perlRepeat "\<do\>"
syn match perlRepeat "\<until\>"
syn match perlRepeat "\<continue\>"
else
syn keyword perlRepeat while for foreach do until continue
endif
syn keyword perlOperator defined undef and or not bless ref
if exists("perl_fold")
" if BEGIN/END would be a keyword the perlBEGINENDFold does not work
syn match perlControl "\<BEGIN\|CHECK\|INIT\|END\>" contained
else
syn keyword perlControl BEGIN END CHECK INIT
endif
syn keyword perlStatementStorage my local our syn match perlStatementStorage "\<\%(my\|our\|local\|state\)\>"
syn keyword perlStatementControl goto return last next redo syn match perlStatementControl "\<\%(return\|last\|next\|redo\|goto\|break\)\>"
syn keyword perlStatementScalar chomp chop chr crypt index lc lcfirst length ord pack reverse rindex sprintf substr uc ucfirst syn match perlStatementScalar "\<\%(chom\=p\|chr\|crypt\|r\=index\|lc\%(first\)\=\|length\|ord\|pack\|sprintf\|substr\|uc\%(first\)\=\)\>"
syn keyword perlStatementRegexp pos quotemeta split study syn match perlStatementRegexp "\<\%(pos\|quotemeta\|split\|study\)\>"
syn keyword perlStatementNumeric abs atan2 cos exp hex int log oct rand sin sqrt srand syn match perlStatementNumeric "\<\%(abs\|atan2\|cos\|exp\|hex\|int\|log\|oct\|rand\|sin\|sqrt\|srand\)\>"
syn keyword perlStatementList splice unshift shift push pop split join reverse grep map sort unpack syn match perlStatementList "\<\%(splice\|unshift\|shift\|push\|pop\|join\|reverse\|grep\|map\|sort\|unpack\)\>"
syn keyword perlStatementHash each exists keys values tie tied untie syn match perlStatementHash "\<\%(delete\|each\|exists\|keys\|values\)\>"
syn keyword perlStatementIOfunc carp confess croak dbmclose dbmopen die syscall syn match perlStatementIOfunc "\<\%(syscall\|dbmopen\|dbmclose\)\>"
syn keyword perlStatementFiledesc binmode close closedir eof fileno getc lstat print printf readdir readline readpipe rewinddir select stat tell telldir write nextgroup=perlFiledescStatementNocomma skipwhite syn match perlStatementFiledesc "\<\%(binmode\|close\%(dir\)\=\|eof\|fileno\|getc\|lstat\|printf\=\|read\%(dir\|line\|pipe\)\|rewinddir\|say\|select\|stat\|tell\%(dir\)\=\|write\)\>" nextgroup=perlFiledescStatementNocomma skipwhite
syn keyword perlStatementFiledesc fcntl flock ioctl open opendir read seek seekdir sysopen sysread sysseek syswrite truncate nextgroup=perlFiledescStatementComma skipwhite syn match perlStatementFiledesc "\<\%(fcntl\|flock\|ioctl\|open\%(dir\)\=\|read\|seek\%(dir\)\=\|sys\%(open\|read\|seek\|write\)\|truncate\)\>" nextgroup=perlFiledescStatementComma skipwhite
syn keyword perlStatementVector pack vec syn match perlStatementVector "\<vec\>"
syn keyword perlStatementFiles chdir chmod chown chroot glob link mkdir readlink rename rmdir symlink umask unlink utime syn match perlStatementFiles "\<\%(ch\%(dir\|mod\|own\|root\)\|glob\|link\|mkdir\|readlink\|rename\|rmdir\|symlink\|umask\|unlink\|utime\)\>"
syn match perlStatementFiles "-[rwxoRWXOezsfdlpSbctugkTBMAC]\>" syn match perlStatementFiles "-[rwxoRWXOezsfdlpSbctugkTBMAC]\>"
syn keyword perlStatementFlow caller die dump eval exit wantarray syn match perlStatementFlow "\<\%(caller\|die\|dump\|eval\|exit\|wantarray\)\>"
syn keyword perlStatementInclude require syn match perlStatementInclude "\<require\>"
syn match perlStatementInclude "\<\(use\|no\)\s\+\(\(integer\|strict\|lib\|sigtrap\|subs\|vars\|warnings\|utf8\|byte\|base\|fields\)\>\)\=" syn match perlStatementInclude "\<\%(use\|no\)\s\+\%(\%(attributes\|attrs\|autouse\|parent\|base\|big\%(int\|num\|rat\)\|blib\|bytes\|charnames\|constant\|diagnostics\|encoding\%(::warnings\)\=\|feature\|fields\|filetest\|if\|integer\|less\|lib\|locale\|mro\|open\|ops\|overload\|re\|sigtrap\|sort\|strict\|subs\|threads\%(::shared\)\=\|utf8\|vars\|version\|vmsish\|warnings\%(::register\)\=\)\>\)\="
syn keyword perlStatementScope import syn match perlStatementProc "\<\%(alarm\|exec\|fork\|get\%(pgrp\|ppid\|priority\)\|kill\|pipe\|set\%(pgrp\|priority\)\|sleep\|system\|times\|wait\%(pid\)\=\)\>"
syn keyword perlStatementProc alarm exec fork getpgrp getppid getpriority kill pipe setpgrp setpriority sleep system times wait waitpid syn match perlStatementSocket "\<\%(acept\|bind\|connect\|get\%(peername\|sock\%(name\|opt\)\)\|listen\|recv\|send\|setsockopt\|shutdown\|socket\%(pair\)\=\)\>"
syn keyword perlStatementSocket accept bind connect getpeername getsockname getsockopt listen recv send setsockopt shutdown socket socketpair syn match perlStatementIPC "\<\%(msg\%(ctl\|get\|rcv\|snd\)\|sem\%(ctl\|get\|op\)\|shm\%(ctl\|get\|read\|write\)\)\>"
syn keyword perlStatementIPC msgctl msgget msgrcv msgsnd semctl semget semop shmctl shmget shmread shmwrite syn match perlStatementNetwork "\<\%(\%(end\|[gs]et\)\%(host\|net\|proto\|serv\)ent\|get\%(\%(host\|net\)by\%(addr\|name\)\|protoby\%(name\|number\)\|servby\%(name\|port\)\)\)\>"
syn keyword perlStatementNetwork endhostent endnetent endprotoent endservent gethostbyaddr gethostbyname gethostent getnetbyaddr getnetbyname getnetent getprotobyname getprotobynumber getprotoent getservbyname getservbyport getservent sethostent setnetent setprotoent setservent syn match perlStatementPword "\<\%(get\%(pw\%(uid\|nam\)\|gr\%(gid\|nam\)\|login\)\)\|\%(end\|[gs]et\)\%(pw\|gr\)ent\>"
syn keyword perlStatementPword getpwuid getpwnam getpwent setpwent endpwent getgrent getgrgid getlogin getgrnam setgrent endgrent syn match perlStatementTime "\<\%(gmtime\|localtime\|time\)\>"
syn keyword perlStatementTime gmtime localtime time times
syn keyword perlStatementMisc warn formline reset scalar delete prototype lock syn match perlStatementMisc "\<\%(warn\|formline\|reset\|scalar\|prototype\|lock\|tied\=\|untie\)\>"
syn keyword perlStatementNew new
syn keyword perlTodo TODO TBD FIXME XXX contained syn keyword perlTodo TODO TBD FIXME XXX NOTE contained
syn region perlStatementIndirObjWrap matchgroup=perlStatementIndirObj start="\<\%(map\|grep\|sort\|print\|system\|exec\)\>\s*{" end="}" contains=@perlTop,perlGenericBlock
syn match perlLabel "^\s*\h\w*\s*::\@!\%(\<v\d\+\s*:\)\@<!"
" Perl Identifiers. " Perl Identifiers.
" "
@ -135,52 +139,55 @@ syn keyword perlTodo TODO TBD FIXME XXX contained
" variable - there again, too complicated and too slow. " variable - there again, too complicated and too slow.
" Special variables first ($^A, ...) and ($|, $', ...) " Special variables first ($^A, ...) and ($|, $', ...)
syn match perlVarPlain "$^[ADEFHILMOPSTWX]\=" syn match perlVarPlain "$^[ACDEFHILMNOPRSTVWX]\="
syn match perlVarPlain "$[\\\"\[\]'&`+*.,;=%~!?@#$<>(-]" syn match perlVarPlain "$[\\\"\[\]'&`+*.,;=%~!?@#$<>(-]"
syn match perlVarPlain "$\(0\|[1-9][0-9]*\)" syn match perlVarPlain "$\%(0\|[1-9]\d*\)"
" Same as above, but avoids confusion in $::foo (equivalent to $main::foo) " Same as above, but avoids confusion in $::foo (equivalent to $main::foo)
syn match perlVarPlain "$:[^:]" syn match perlVarPlain "$::\@!"
" These variables are not recognized within matches. " These variables are not recognized within matches.
syn match perlVarNotInMatches "$[|)]" syn match perlVarNotInMatches "$[|)]"
" This variable is not recognized within matches delimited by m//. " This variable is not recognized within matches delimited by m//.
syn match perlVarSlash "$/" syn match perlVarSlash "$/"
" And plain identifiers " And plain identifiers
syn match perlPackageRef "\(\h\w*\)\=\(::\|'\)\I"me=e-1 contained syn match perlPackageRef "[$@#%*&]\%(\%(::\|'\)\=\I\i*\%(\%(::\|'\)\I\i*\)*\)\=\%(::\|'\)\I"ms=s+1,me=e-1 contained
" To highlight packages in variables as a scope reference - i.e. in $pack::var, " To not highlight packages in variables as a scope reference - i.e. in
" pack:: is a scope, just set "perl_want_scope_in_variables" " $pack::var, pack:: is a scope, just set "perl_no_scope_in_variables"
" If you *want* complex things like @{${"foo"}} to be processed, " If you don't want complex things like @{${"foo"}} to be processed,
" just set the variable "perl_extended_vars"... " just set the variable "perl_no_extended_vars"...
" FIXME value between {} should be marked as string. is treated as such by Perl. if !exists("perl_no_scope_in_variables")
" At the moment it is marked as something greyish instead of read. Probably todo syn match perlVarPlain "\%([@$]\|\$#\)\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)" contains=perlPackageRef nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
" with transparency. Or maybe we should handle the bare word in that case. or make it into syn match perlVarPlain2 "%\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)" contains=perlPackageRef
syn match perlFunctionName "&\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)" contains=perlPackageRef nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
if exists("perl_want_scope_in_variables")
syn match perlVarPlain "\\\=\([@$]\|\$#\)\$*\(\I\i*\)\=\(\(::\|'\)\I\i*\)*\>" contains=perlPackageRef nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
syn match perlVarPlain2 "\\\=%\$*\(\I\i*\)\=\(\(::\|'\)\I\i*\)*\>" contains=perlPackageRef nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
syn match perlFunctionName "\\\=&\$*\(\I\i*\)\=\(\(::\|'\)\I\i*\)*\>" contains=perlPackageRef nextgroup=perlVarMember,perlVarSimpleMember
else else
syn match perlVarPlain "\\\=\([@$]\|\$#\)\$*\(\I\i*\)\=\(\(::\|'\)\I\i*\)*\>" nextgroup=perlVarMember,perlVarSimpleMember,perlMethod syn match perlVarPlain "\%([@$]\|\$#\)\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)" nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
syn match perlVarPlain2 "\\\=%\$*\(\I\i*\)\=\(\(::\|'\)\I\i*\)*\>" nextgroup=perlVarMember,perlVarSimpleMember,perlMethod syn match perlVarPlain2 "%\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)"
syn match perlFunctionName "\\\=&\$*\(\I\i*\)\=\(\(::\|'\)\I\i*\)*\>" nextgroup=perlVarMember,perlVarSimpleMember syn match perlFunctionName "&\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)" nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
endif endif
if exists("perl_extended_vars") if !exists("perl_no_extended_vars")
syn cluster perlExpr contains=perlStatementScalar,perlStatementRegexp,perlStatementNumeric,perlStatementList,perlStatementHash,perlStatementFiles,perlStatementTime,perlStatementMisc,perlVarPlain,perlVarPlain2,perlVarNotInMatches,perlVarSlash,perlVarBlock,perlShellCommand,perlFloat,perlNumber,perlStringUnexpanded,perlString,perlQQ syn cluster perlExpr contains=perlStatementIndirObjWrap,perlStatementScalar,perlStatementRegexp,perlStatementNumeric,perlStatementList,perlStatementHash,perlStatementFiles,perlStatementTime,perlStatementMisc,perlVarPlain,perlVarPlain2,perlVarNotInMatches,perlVarSlash,perlVarBlock,perlVarBlock2,perlShellCommand,perlFloat,perlNumber,perlStringUnexpanded,perlString,perlQQ,perlArrow,perlGenericBlock
syn region perlVarBlock matchgroup=perlVarPlain start="\($#\|[@%$]\)\$*{" skip="\\}" end="}" contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember syn region perlArrow matchgroup=perlArrow start="->\s*(" end=")" contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod contained
syn region perlVarBlock matchgroup=perlVarPlain start="&\$*{" skip="\\}" end="}" contains=@perlExpr syn region perlArrow matchgroup=perlArrow start="->\s*\[" end="\]" contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod contained
syn match perlVarPlain "\\\=\(\$#\|[@%&$]\)\$*{\I\i*}" nextgroup=perlVarMember,perlVarSimpleMember syn region perlArrow matchgroup=perlArrow start="->\s*{" end="}" contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod contained
syn region perlVarMember matchgroup=perlVarPlain start="\(->\)\={" skip="\\}" end="}" contained contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember syn match perlArrow "->\s*{\s*\I\i*\s*}" contains=perlVarSimpleMemberName nextgroup=perlVarMember,perlVarSimpleMember,perlMethod contained
syn match perlVarSimpleMember "\(->\)\={\I\i*}" nextgroup=perlVarMember,perlVarSimpleMember contains=perlVarSimpleMemberName contained syn region perlArrow matchgroup=perlArrow start="->\s*\$*\I\i*\s*(" end=")" contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod contained
syn region perlVarBlock matchgroup=perlVarPlain start="\%($#\|[$@]\)\$*{" skip="\\}" end="}" contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
syn region perlVarBlock2 matchgroup=perlVarPlain start="[%&*]\$*{" skip="\\}" end="}" contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
syn match perlVarPlain2 "[%&*]\$*{\I\i*}" nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
syn match perlVarPlain "\%(\$#\|[@$]\)\$*{\I\i*}" nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
syn region perlVarMember matchgroup=perlVarPlain start="\%(->\)\={" skip="\\}" end="}" contained contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
syn match perlVarSimpleMember "\%(->\)\={\s*\I\i*\s*}" nextgroup=perlVarMember,perlVarSimpleMember,perlMethod contains=perlVarSimpleMemberName contained
syn match perlVarSimpleMemberName "\I\i*" contained syn match perlVarSimpleMemberName "\I\i*" contained
syn region perlVarMember matchgroup=perlVarPlain start="\(->\)\=\[" skip="\\]" end="]" contained contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember syn region perlVarMember matchgroup=perlVarPlain start="\%(->\)\=\[" skip="\\]" end="]" contained contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
syn match perlMethod "\(->\)\I\i*" contained syn match perlPackageConst "__PACKAGE__" nextgroup=perlMethod
syn match perlMethod "->\$*\I\i*" contained nextgroup=perlVarSimpleMember,perlVarMember,perlMethod
endif endif
" File Descriptors " File Descriptors
syn match perlFiledescRead "[<]\h\w\+[>]" syn match perlFiledescRead "<\h\w*>"
syn match perlFiledescStatementComma "(\=\s*\u\w*\s*,"me=e-1 transparent contained contains=perlFiledescStatement syn match perlFiledescStatementComma "(\=\s*\u\w*\s*,"me=e-1 transparent contained contains=perlFiledescStatement
syn match perlFiledescStatementNocomma "(\=\s*\u\w*\s*[^, \t]"me=e-1 transparent contained contains=perlFiledescStatement syn match perlFiledescStatementNocomma "(\=\s*\u\w*\s*[^, \t]"me=e-1 transparent contained contains=perlFiledescStatement
@ -188,16 +195,20 @@ syn match perlFiledescStatementNocomma "(\=\s*\u\w*\s*[^, \t]"me=e-1 transparen
syn match perlFiledescStatement "\u\w*" contained syn match perlFiledescStatement "\u\w*" contained
" Special characters in strings and matches " Special characters in strings and matches
syn match perlSpecialString "\\\(\d\+\|[xX]\x\+\|c\u\|.\)" contained syn match perlSpecialString "\\\%(\o\{1,3}\|x\%({\x\+}\|\x\{1,2}\)\|c.\|[^cx]\)" contained extend
syn match perlSpecialStringU "\\['\\]" contained syn match perlSpecialStringU2 "\\." extend contained transparent contains=NONE
syn match perlSpecialMatch "{\d\+\(,\(\d\+\)\=\)\=}" contained syn match perlSpecialStringU "\\\\" contained
syn match perlSpecialMatch "\[\(\]\|-\)\=[^\[\]]*\(\[\|\-\)\=\]" contained syn match perlSpecialMatch "\\[1-9]" contained extend
syn match perlSpecialMatch "\\g\%(\d\+\|{\%(-\=\d\+\|\h\w*\)}\)" contained
syn match perlSpecialMatch "\\k\%(<\h\w*>\|'\h\w*'\)" contained
syn match perlSpecialMatch "{\d\+\%(,\%(\d\+\)\=\)\=}" contained
syn match perlSpecialMatch "\[[]-]\=[^\[\]]*[]-]\=\]" contained
syn match perlSpecialMatch "[+*()?.]" contained syn match perlSpecialMatch "[+*()?.]" contained
syn match perlSpecialMatch "(?[#:=!]" contained syn match perlSpecialMatch "(?[#:=!]" contained
syn match perlSpecialMatch "(?[imsx]\+)" contained syn match perlSpecialMatch "(?[impsx]*\%(-[imsx]\+\)\=)" contained
" FIXME the line below does not work. It should mark end of line and syn match perlSpecialMatch "(?\%([-+]\=\d\+\|R\))" contained
" begin of line as perlSpecial. syn match perlSpecialMatch "(?\%(&\|P[>=]\)\h\w*)" contained
" syn match perlSpecialBEOM "^\^\|\$$" contained syn match perlSpecialMatch "(\*\%(\%(PRUNE\|SKIP\|THEN\)\%(:[^)]*\)\=\|\%(MARK\|\):[^)]*\|COMMIT\|F\%(AIL\)\=\|ACCEPT\))" contained
" Possible errors " Possible errors
" "
@ -205,177 +216,195 @@ syn match perlSpecialMatch "(?[imsx]\+)" contained
syn match perlNotEmptyLine "^\s\+$" contained syn match perlNotEmptyLine "^\s\+$" contained
" Highlight '} else if (...) {', it should be '} else { if (...) { ' or " Highlight '} else if (...) {', it should be '} else { if (...) { ' or
" '} elsif (...) {'. " '} elsif (...) {'.
"syn keyword perlElseIfError if contained syn match perlElseIfError "[^[:space:]{]\+" contained
" Variable interpolation " Variable interpolation
" "
" These items are interpolated inside "" strings and similar constructs. " These items are interpolated inside "" strings and similar constructs.
syn cluster perlInterpDQ contains=perlSpecialString,perlVarPlain,perlVarNotInMatches,perlVarSlash,perlVarBlock syn cluster perlInterpDQ contains=perlSpecialString,perlVarPlain,perlVarNotInMatches,perlVarSlash,perlVarBlock
" These items are interpolated inside '' strings and similar constructs. " These items are interpolated inside '' strings and similar constructs.
syn cluster perlInterpSQ contains=perlSpecialStringU syn cluster perlInterpSQ contains=perlSpecialStringU,perlSpecialStringU2
" These items are interpolated inside m// matches and s/// substitutions. " These items are interpolated inside m// matches and s/// substitutions.
syn cluster perlInterpSlash contains=perlSpecialString,perlSpecialMatch,perlVarPlain,perlVarBlock,perlSpecialBEOM syn cluster perlInterpSlash contains=perlSpecialString,perlSpecialMatch,perlVarPlain,perlVarBlock
" These items are interpolated inside m## matches and s### substitutions. " These items are interpolated inside m## matches and s### substitutions.
syn cluster perlInterpMatch contains=@perlInterpSlash,perlVarSlash syn cluster perlInterpMatch contains=@perlInterpSlash,perlVarSlash
" Shell commands " Shell commands
syn region perlShellCommand matchgroup=perlMatchStartEnd start="`" end="`" contains=@perlInterpDQ syn region perlShellCommand matchgroup=perlMatchStartEnd start="`" end="`" contains=@perlInterpDQ keepend
" Constants " Constants
" "
" Numbers " Numbers
syn match perlNumber "[-+]\=\(\<\d[[:digit:]_]*L\=\>\|0[xX]\x[[:xdigit:]_]*\>\)" syn match perlNumber "\<\%(0\%(x\x[[:xdigit:]_]*\|b[01][01_]*\|\o[0-7_]*\|\)\|[1-9][[:digit:]_]*\)\>"
syn match perlFloat "[-+]\=\<\d[[:digit:]_]*[eE][\-+]\=\d\+" syn match perlFloat "\<\d[[:digit:]_]*[eE][\-+]\=\d\+"
syn match perlFloat "[-+]\=\<\d[[:digit:]_]*\.[[:digit:]_]*\([eE][\-+]\=\d\+\)\=" syn match perlFloat "\<\d[[:digit:]_]*\.[[:digit:]_]*\%([eE][\-+]\=\d\+\)\="
syn match perlFloat "[-+]\=\<\.[[:digit:]_]\+\([eE][\-+]\=\d\+\)\=" syn match perlFloat "\.[[:digit:]_]\+\%([eE][\-+]\=\d\+\)\="
syn match perlString "\<\%(v\d\+\%(\.\d\+\)*\|\d\+\%(\.\d\+\)\{2,}\)\>" contains=perlVStringV
syn match perlVStringV "\<v" contained
syn region perlParensSQ start=+(+ end=+)+ extend contained transparent contains=perlParensSQ,@perlInterpSQ keepend
syn region perlBracketsSQ start=+\[+ end=+\]+ extend contained transparent contains=perlBracketsSQ,@perlInterpSQ keepend
syn region perlBracesSQ start=+{+ end=+}+ extend contained transparent contains=perlBracesSQ,@perlInterpSQ keepend
syn region perlAnglesSQ start=+<+ end=+>+ extend contained transparent contains=perlAnglesSQ,@perlInterpSQ keepend
syn region perlParensDQ start=+(+ end=+)+ extend contained transparent contains=perlParensDQ,@perlInterpDQ keepend
syn region perlBracketsDQ start=+\[+ end=+\]+ extend contained transparent contains=perlBracketsDQ,@perlInterpDQ keepend
syn region perlBracesDQ start=+{+ end=+}+ extend contained transparent contains=perlBracesDQ,@perlInterpDQ keepend
syn region perlAnglesDQ start=+<+ end=+>+ extend contained transparent contains=perlAnglesDQ,@perlInterpDQ keepend
" Simple version of searches and matches " Simple version of searches and matches
" caters for m//, m##, m{} and m[] (and the !/ variant) syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m\>\s*\z([^[:space:]'([{<#]\)+ end=+\z1[cgimopsx]*+ contains=@perlInterpMatch keepend
syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]/+ end=+/[cgimosx]*+ contains=@perlInterpSlash syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m#+ end=+#[cgimopsx]*+ contains=@perlInterpMatch keepend
syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]#+ end=+#[cgimosx]*+ contains=@perlInterpMatch syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m\s*'+ end=+'[cgimopsx]*+ contains=@perlInterpSQ keepend
syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]{+ end=+}[cgimosx]*+ contains=@perlInterpMatch syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m\s*/+ end=+/[cgimopsx]*+ contains=@perlInterpSlash keepend
syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]\[+ end=+\][cgimosx]*+ contains=@perlInterpMatch syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m\s*(+ end=+)[cgimopsx]*+ contains=@perlInterpMatch,perlParensDQ keepend
" A special case for m!!x which allows for comments and extra whitespace in the pattern " A special case for m{}, m<> and m[] which allows for comments and extra whitespace in the pattern
syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]!+ end=+![cgimosx]*+ contains=@perlInterpSlash,perlComment syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m\s*{+ end=+}[cgimopsx]*+ contains=@perlInterpMatch,perlComment,perlBracesDQ keepend
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m\s*<+ end=+>[cgimopsx]*+ contains=@perlInterpMatch,perlAnglesDQ keepend
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m\s*\[+ end=+\][cgimopsx]*+ contains=@perlInterpMatch,perlComment,perlBracketsDQ keepend
" Below some hacks to recognise the // variant. This is virtually impossible to catch in all " Below some hacks to recognise the // variant. This is virtually impossible to catch in all
" cases as the / is used in so many other ways, but these should be the most obvious ones. " cases as the / is used in so many other ways, but these should be the most obvious ones.
syn region perlMatch matchgroup=perlMatchStartEnd start=+^split /+lc=5 start=+[^$@%]\<split /+lc=6 start=+^while /+lc=5 start=+[^$@%]\<while /+lc=6 start=+^if /+lc=2 start=+[^$@%]\<if /+lc=3 start=+[!=]\~\s*/+lc=2 start=+[(~]/+lc=1 start=+\.\./+lc=2 start=+\s/[^= \t0-9$@%]+lc=1,me=e-1,rs=e-1 start=+^/+ skip=+\\/+ end=+/[cgimosx]*+ contains=@perlInterpSlash syn region perlMatch matchgroup=perlMatchStartEnd start="\%([$@%&*]\@<!\%(\<split\|\<while\|\<if\|\<unless\|\.\.\|[-+*!~(\[{=]\)\s*\)\@<=/\%(/=\)\@!" start=+^/\%(/=\)\@!+ start=+\s\@<=/\%(/=\)\@![^[:space:][:digit:]$@%=]\@=\%(/\_s*\%([([{$@%&*[:digit:]"'`]\|\_s\w\|[[:upper:]_abd-fhjklnqrt-wyz]\)\)\@!+ skip=+\\/+ end=+/[cgimopsx]*+ contains=@perlInterpSlash
" Substitutions " Substitutions
" caters for s///, s### and s[][]
" perlMatch is the first part, perlSubstitution* is the substitution part " perlMatch is the first part, perlSubstitution* is the substitution part
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<s'+ end=+'+me=e-1 contains=@perlInterpSQ nextgroup=perlSubstitutionSQ syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!s\>\s*\z([^[:space:]'([{<#]\)+ end=+\z1+me=e-1 contains=@perlInterpMatch nextgroup=perlSubstitutionGQQ keepend
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<s"+ end=+"+me=e-1 contains=@perlInterpMatch nextgroup=perlSubstitutionDQ syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!s\s*'+ end=+'+me=e-1 contains=@perlInterpSQ nextgroup=perlSubstitutionSQ keepend
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<s/+ end=+/+me=e-1 contains=@perlInterpSlash nextgroup=perlSubstitutionSlash syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!s\s*/+ end=+/+me=e-1 contains=@perlInterpSlash nextgroup=perlSubstitutionGQQ keepend
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<s#+ end=+#+me=e-1 contains=@perlInterpMatch nextgroup=perlSubstitutionHash syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!s#+ end=+#+me=e-1 contains=@perlInterpMatch nextgroup=perlSubstitutionGQQ keepend
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<s\[+ end=+\]+ contains=@perlInterpMatch nextgroup=perlSubstitutionBracket skipwhite skipempty skipnl syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!s\s*(+ end=+)+ contains=@perlInterpMatch,perlParensDQ nextgroup=perlSubstitutionGQQ skipwhite skipempty skipnl keepend
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<s{+ end=+}+ contains=@perlInterpMatch nextgroup=perlSubstitutionCurly skipwhite skipempty skipnl syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!s\s*<+ end=+>+ contains=@perlInterpMatch,perlAnglesDQ nextgroup=perlSubstitutionGQQ skipwhite skipempty skipnl keepend
syn region perlSubstitutionSQ matchgroup=perlMatchStartEnd start=+'+ end=+'[ecgimosx]*+ contained contains=@perlInterpSQ syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!s\s*\[+ end=+\]+ contains=@perlInterpMatch,perlBracketsDQ nextgroup=perlSubstitutionGQQ skipwhite skipempty skipnl keepend
syn region perlSubstitutionDQ matchgroup=perlMatchStartEnd start=+"+ end=+"[ecgimosx]*+ contained contains=@perlInterpDQ syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!s\s*{+ end=+}+ contains=@perlInterpMatch,perlBracesDQ nextgroup=perlSubstitutionGQQ skipwhite skipempty skipnl keepend
syn region perlSubstitutionSlash matchgroup=perlMatchStartEnd start=+/+ end=+/[ecgimosx]*+ contained contains=@perlInterpDQ syn region perlSubstitutionGQQ matchgroup=perlMatchStartEnd start=+\z([^[:space:]'([{<]\)+ end=+\z1[ecgimopsx]*+ keepend contained contains=@perlInterpDQ
syn region perlSubstitutionHash matchgroup=perlMatchStartEnd start=+#+ end=+#[ecgimosx]*+ contained contains=@perlInterpDQ syn region perlSubstitutionGQQ matchgroup=perlMatchStartEnd start=+(+ end=+)[ecgimopsx]*+ contained contains=@perlInterpDQ,perlParensDQ keepend
syn region perlSubstitutionBracket matchgroup=perlMatchStartEnd start=+\[+ end=+\][ecgimosx]*+ contained contains=@perlInterpDQ syn region perlSubstitutionGQQ matchgroup=perlMatchStartEnd start=+\[+ end=+\][ecgimopsx]*+ contained contains=@perlInterpDQ,perlBracketsDQ keepend
syn region perlSubstitutionCurly matchgroup=perlMatchStartEnd start=+{+ end=+}[ecgimosx]*+ contained contains=@perlInterpDQ syn region perlSubstitutionGQQ matchgroup=perlMatchStartEnd start=+{+ end=+}[ecgimopsx]*+ contained contains=@perlInterpDQ,perlBracesDQ keepend
syn region perlSubstitutionGQQ matchgroup=perlMatchStartEnd start=+<+ end=+>[ecgimopsx]*+ contained contains=@perlInterpDQ,perlAnglesDQ keepend
syn region perlSubstitutionSQ matchgroup=perlMatchStartEnd start=+'+ end=+'[ecgimopsx]*+ contained contains=@perlInterpSQ keepend
" A special case for m!!x which allows for comments and extra whitespace in the pattern " Translations
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<s!+ end=+!+me=e-1 contains=@perlInterpSlash,perlComment nextgroup=perlSubstitutionPling
syn region perlSubstitutionPling matchgroup=perlMatchStartEnd start=+!+ end=+![ecgimosx]*+ contained contains=@perlInterpDQ
" Substitutions
" caters for tr///, tr### and tr[][]
" perlMatch is the first part, perlTranslation* is the second, translator part. " perlMatch is the first part, perlTranslation* is the second, translator part.
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\(tr\|y\)'+ end=+'+me=e-1 contains=@perlInterpSQ nextgroup=perlTranslationSQ syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!\%(tr\|y\)\>\s*\z([^[:space:]([{<#]\)+ end=+\z1+me=e-1 contains=@perlInterpSQ nextgroup=perlTranslationGQ
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\(tr\|y\)"+ end=+"+me=e-1 contains=@perlInterpSQ nextgroup=perlTranslationDQ syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!\%(tr\|y\)#+ end=+#+me=e-1 contains=@perlInterpSQ nextgroup=perlTranslationGQ
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\(tr\|y\)/+ end=+/+me=e-1 contains=@perlInterpSQ nextgroup=perlTranslationSlash syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!\%(tr\|y\)\s*\[+ end=+\]+ contains=@perlInterpSQ,perlBracketsSQ nextgroup=perlTranslationGQ skipwhite skipempty skipnl
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\(tr\|y\)#+ end=+#+me=e-1 contains=@perlInterpSQ nextgroup=perlTranslationHash syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!\%(tr\|y\)\s*(+ end=+)+ contains=@perlInterpSQ,perlParensSQ nextgroup=perlTranslationGQ skipwhite skipempty skipnl
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\(tr\|y\)\[+ end=+\]+ contains=@perlInterpSQ nextgroup=perlTranslationBracket skipwhite skipempty skipnl syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!\%(tr\|y\)\s*<+ end=+>+ contains=@perlInterpSQ,perlAnglesSQ nextgroup=perlTranslationGQ skipwhite skipempty skipnl
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\(tr\|y\){+ end=+}+ contains=@perlInterpSQ nextgroup=perlTranslationCurly skipwhite skipempty skipnl syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!\%(tr\|y\)\s*{+ end=+}+ contains=@perlInterpSQ,perlBracesSQ nextgroup=perlTranslationGQ skipwhite skipempty skipnl
syn region perlTranslationSQ matchgroup=perlMatchStartEnd start=+'+ end=+'[cds]*+ contained syn region perlTranslationGQ matchgroup=perlMatchStartEnd start=+\z([^[:space:]([{<]\)+ end=+\z1[cds]*+ contained
syn region perlTranslationDQ matchgroup=perlMatchStartEnd start=+"+ end=+"[cds]*+ contained syn region perlTranslationGQ matchgroup=perlMatchStartEnd start=+(+ end=+)[cds]*+ contains=perlParensSQ contained
syn region perlTranslationSlash matchgroup=perlMatchStartEnd start=+/+ end=+/[cds]*+ contained syn region perlTranslationGQ matchgroup=perlMatchStartEnd start=+\[+ end=+\][cds]*+ contains=perlBracketsSQ contained
syn region perlTranslationHash matchgroup=perlMatchStartEnd start=+#+ end=+#[cds]*+ contained syn region perlTranslationGQ matchgroup=perlMatchStartEnd start=+{+ end=+}[cds]*+ contains=perlBracesSQ contained
syn region perlTranslationBracket matchgroup=perlMatchStartEnd start=+\[+ end=+\][cds]*+ contained syn region perlTranslationGQ matchgroup=perlMatchStartEnd start=+<+ end=+>[cds]*+ contains=perlAnglesSQ contained
syn region perlTranslationCurly matchgroup=perlMatchStartEnd start=+{+ end=+}[cds]*+ contained
" The => operator forces a bareword to the left of it to be interpreted as
" a string
syn match perlString "\<\I\i*\s*=>"me=e-2
" Strings and q, qq, qw and qr expressions " Strings and q, qq, qw and qr expressions
" Brackets in qq() syn region perlStringUnexpanded matchgroup=perlStringStartEnd start="'" end="'" contains=@perlInterpSQ keepend
syn region perlBrackets start=+(+ end=+)+ contained transparent contains=perlBrackets,@perlStringSQ syn region perlString matchgroup=perlStringStartEnd start=+"+ end=+"+ contains=@perlInterpDQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q\>\s*\z([^[:space:]#([{<]\)+ end=+\z1+ contains=@perlInterpSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q#+ end=+#+ contains=@perlInterpSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q\s*(+ end=+)+ contains=@perlInterpSQ,perlParensSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q\s*\[+ end=+\]+ contains=@perlInterpSQ,perlBracketsSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q\s*{+ end=+}+ contains=@perlInterpSQ,perlBracesSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q\s*<+ end=+>+ contains=@perlInterpSQ,perlAnglesSQ keepend
syn region perlStringUnexpanded matchgroup=perlStringStartEnd start="'" end="'" contains=@perlInterpSQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]\>\s*\z([^[:space:]#([{<]\)+ end=+\z1+ contains=@perlInterpDQ keepend
syn region perlString matchgroup=perlStringStartEnd start=+"+ end=+"+ contains=@perlInterpDQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]#+ end=+#+ contains=@perlInterpDQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q#+ end=+#+ contains=@perlInterpSQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]\s*(+ end=+)+ contains=@perlInterpDQ,perlParensDQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q|+ end=+|+ contains=@perlInterpSQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]\s*\[+ end=+\]+ contains=@perlInterpDQ,perlBracketsDQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q(+ end=+)+ contains=@perlInterpSQ,perlBrackets syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]\s*{+ end=+}+ contains=@perlInterpDQ,perlBracesDQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q{+ end=+}+ contains=@perlInterpSQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]\s*<+ end=+>+ contains=@perlInterpDQ,perlAnglesDQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q/+ end=+/+ contains=@perlInterpSQ
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q[qx]#+ end=+#+ contains=@perlInterpDQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw\s*\z([^[:space:]#([{<]\)+ end=+\z1+ contains=@perlInterpSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q[qx]|+ end=+|+ contains=@perlInterpDQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw#+ end=+#+ contains=@perlInterpSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q[qx](+ end=+)+ contains=@perlInterpDQ,perlBrackets syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw\s*(+ end=+)+ contains=@perlInterpSQ,perlParensSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q[qx]{+ end=+}+ contains=@perlInterpDQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw\s*\[+ end=+\]+ contains=@perlInterpSQ,perlBracketsSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q[qx]/+ end=+/+ contains=@perlInterpDQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw\s*{+ end=+}+ contains=@perlInterpSQ,perlBracesSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qw#+ end=+#+ contains=@perlInterpSQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw\s*<+ end=+>+ contains=@perlInterpSQ,perlAnglesSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qw|+ end=+|+ contains=@perlInterpSQ
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qw(+ end=+)+ contains=@perlInterpSQ,perlBrackets syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr\>\s*\z([^[:space:]#([{<'/]\)+ end=+\z1[imosx]*+ contains=@perlInterpMatch keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qw{+ end=+}+ contains=@perlInterpSQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr\s*/+ end=+/[imosx]*+ contains=@perlInterpSlash keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qw/+ end=+/+ contains=@perlInterpSQ syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr#+ end=+#[imosx]*+ contains=@perlInterpMatch keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qr#+ end=+#[imosx]*+ contains=@perlInterpMatch syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr\s*'+ end=+'[imosx]*+ contains=@perlInterpSQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qr|+ end=+|[imosx]*+ contains=@perlInterpMatch syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr\s*(+ end=+)[imosx]*+ contains=@perlInterpMatch,perlParensDQ keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qr(+ end=+)[imosx]*+ contains=@perlInterpMatch
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qr{+ end=+}[imosx]*+ contains=@perlInterpMatch " A special case for qr{}, qr<> and qr[] which allows for comments and extra whitespace in the pattern
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qr/+ end=+/[imosx]*+ contains=@perlInterpSlash syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr\s*{+ end=+}[imosx]*+ contains=@perlInterpMatch,perlBracesDQ,perlComment keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr\s*<+ end=+>[imosx]*+ contains=@perlInterpMatch,perlAnglesDQ,perlComment keepend
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr\s*\[+ end=+\][imosx]*+ contains=@perlInterpMatch,perlBracketsDQ,perlComment keepend
" Constructs such as print <<EOF [...] EOF, 'here' documents " Constructs such as print <<EOF [...] EOF, 'here' documents
" "
if version >= 600
" XXX Any statements after the identifier are in perlString colour (i.e. " XXX Any statements after the identifier are in perlString colour (i.e.
" 'if $a' in 'print <<EOF if $a'). " 'if $a' in 'print <<EOF if $a'). This is almost impossible to get right it
" seems due to the 'auto-extending nature' of regions.
if exists("perl_fold") if exists("perl_fold")
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\z(\I\i*\).*+ end=+^\z1$+ contains=@perlInterpDQ fold syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\z(\I\i*\).*+ end=+^\z1$+ contains=@perlInterpDQ fold
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*"\z(.\{-}\)"+ end=+^\z1$+ contains=@perlInterpDQ fold syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*"\z([^\\"]*\%(\\.[^\\"]*\)*\)"+ end=+^\z1$+ contains=@perlInterpDQ fold
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*'\z(.\{-}\)'+ end=+^\z1$+ contains=@perlInterpSQ fold syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*'\z([^\\']*\%(\\.[^\\']*\)*\)'+ end=+^\z1$+ contains=@perlInterpSQ fold
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*""+ end=+^$+ contains=@perlInterpDQ,perlNotEmptyLine fold syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*""+ end=+^$+ contains=@perlInterpDQ,perlNotEmptyLine fold
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*''+ end=+^$+ contains=@perlInterpSQ,perlNotEmptyLine fold syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*''+ end=+^$+ contains=@perlInterpSQ,perlNotEmptyLine fold
syn region perlAutoload matchgroup=perlStringStartEnd start=+<<['"]\z(END_\(SUB\|OF_FUNC\|OF_AUTOLOAD\)\)['"]+ end=+^\z1$+ contains=ALL fold syn region perlAutoload matchgroup=perlStringStartEnd start=+<<\s*\(['"]\=\)\z(END_\%(SUB\|OF_FUNC\|OF_AUTOLOAD\)\)\1+ end=+^\z1$+ contains=ALL fold
else else
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\z(\I\i*\)+ end=+^\z1$+ contains=@perlInterpDQ syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\z(\I\i*\)+ end=+^\z1$+ contains=@perlInterpDQ
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*"\z(.\{-}\)"+ end=+^\z1$+ contains=@perlInterpDQ syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*"\z([^\\"]*\%(\\.[^\\"]*\)*\)"+ end=+^\z1$+ contains=@perlInterpDQ
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*'\z(.\{-}\)'+ end=+^\z1$+ contains=@perlInterpSQ syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*'\z([^\\']*\%(\\.[^\\']*\)*\)'+ end=+^\z1$+ contains=@perlInterpSQ
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*""+ end=+^$+ contains=@perlInterpDQ,perlNotEmptyLine syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*""+ end=+^$+ contains=@perlInterpDQ,perlNotEmptyLine
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*''+ end=+^$+ contains=@perlInterpSQ,perlNotEmptyLine syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*''+ end=+^$+ contains=@perlInterpSQ,perlNotEmptyLine
syn region perlAutoload matchgroup=perlStringStartEnd start=+<<\(['"]\|\)\z(END_\(SUB\|OF_FUNC\|OF_AUTOLOAD\)\)\1+ end=+^\z1$+ contains=ALL syn region perlAutoload matchgroup=perlStringStartEnd start=+<<\s*\(['"]\=\)\z(END_\%(SUB\|OF_FUNC\|OF_AUTOLOAD\)\)\1+ end=+^\z1$+ contains=ALL
endif
else
syn match perlUntilEOFStart "<<EOF.*"lc=5 nextgroup=perlUntilEOFDQ skipnl transparent
syn match perlUntilEOFStart "<<\s*\"EOF\".*" nextgroup=perlUntilEOFDQ skipnl transparent
syn match perlUntilEOFStart "<<\s*'EOF'.*" nextgroup=perlUntilEOFSQ skipnl transparent
syn match perlUntilEOFStart "<<\s*\"\".*" nextgroup=perlUntilEmptyDQ skipnl transparent
syn match perlUntilEOFStart "<<\s*''.*" nextgroup=perlUntilEmptySQ skipnl transparent
syn region perlUntilEOFDQ matchgroup=perlStringStartEnd start=++ end="^EOF$" contains=@perlInterpDQ contained
syn region perlUntilEOFSQ matchgroup=perlStringStartEnd start=++ end="^EOF$" contains=@perlInterpSQ contained
syn region perlUntilEmptySQ matchgroup=perlStringStartEnd start=++ end="^$" contains=@perlInterpDQ,perlNotEmptyLine contained
syn region perlUntilEmptyDQ matchgroup=perlStringStartEnd start=++ end="^$" contains=@perlInterpSQ,perlNotEmptyLine contained
syn match perlHereIdentifier "<<EOF"
syn region perlAutoload matchgroup=perlStringStartEnd start=+<<\(['"]\|\)\(END_\(SUB\|OF_FUNC\|OF_AUTOLOAD\)\)\1+ end=+^\(END_\(SUB\|OF_FUNC\|OF_AUTOLOAD\)\)$+ contains=ALL
endif endif
" Class declarations " Class declarations
" "
syn match perlPackageDecl "^\s*\<package\s\+\S\+" contains=perlStatementPackage syn match perlPackageDecl "\<package\s\+\%(\h\|::\)\%(\w\|::\)*" contains=perlStatementPackage
syn keyword perlStatementPackage package contained syn keyword perlStatementPackage package contained
" Functions " Functions
" sub [name] [(prototype)] { " sub [name] [(prototype)] {
" "
syn region perlFunction start="\s*\<sub\>" end="[;{]"he=e-1 contains=perlStatementSub,perlFunctionPrototype,perlFunctionPRef,perlFunctionName,perlComment syn match perlSubError "[^[:space:];{#]" contained
syn keyword perlStatementSub sub contained if v:version == 701 && !has('patch221') " XXX I hope that's the right one
syn match perlSubAttributes ":" contained
else
syn match perlSubAttributesCont "\h\w*\_s*\%(:\_s*\)\=" nextgroup=@perlSubAttrMaybe contained
syn region perlSubAttributesCont matchgroup=perlSubAttributesCont start="\h\w*(" end=")\_s*\%(:\_s*\)\=" nextgroup=@perlSubAttrMaybe contained contains=@perlInterpSQ,perlParensSQ
syn cluster perlSubAttrMaybe contains=perlSubAttributesCont,perlSubError
syn match perlSubAttributes "" contained nextgroup=perlSubError
syn match perlSubAttributes ":\_s*" contained nextgroup=@perlSubAttrMaybe
endif
syn match perlSubPrototypeError "(\%(\_s*\%(\%(\\\%([$@%&*]\|\[[$@%&*]\+\]\)\|[$&*]\|[@%]\%(\_s*)\)\@=\|;\%(\_s*[)$@%&*\\]\)\@=\|_\%(\_s*[);]\)\@=\)\_s*\)*\)\@>\zs\_[^)]\+" contained
syn match perlSubPrototype +(\_[^)]*)\_s*\|+ nextgroup=perlSubAttributes contained contains=perlSubPrototypeError
syn match perlSubName +\%(\h\|::\|'\w\)\%(\w\|::\|'\w\)*\_s*\|+ contained nextgroup=perlSubPrototype
syn match perlFunctionPrototype "([^)]*)" contained syn match perlFunction +\<sub\>\_s*+ nextgroup=perlSubName
if exists("perl_want_scope_in_variables")
if !exists("perl_no_scope_in_variables")
syn match perlFunctionPRef "\h\w*::" contained syn match perlFunctionPRef "\h\w*::" contained
syn match perlFunctionName "\h\w*[^:]" contained syn match perlFunctionName "\h\w*[^:]" contained
else else
syn match perlFunctionName "\h[[:alnum:]_:]*" contained syn match perlFunctionName "\h[[:alnum:]_:]*" contained
endif endif
" The => operator forces a bareword to the left of it to be interpreted as
" a string
syn match perlString "\I\@<!-\?\I\i*\%(\s*=>\)\@="
" All other # are comments, except ^#! " All other # are comments, except ^#!
syn match perlComment "#.*" contains=perlTodo syn match perlComment "#.*" contains=perlTodo,@Spell
syn match perlSharpBang "^#!.*" syn match perlSharpBang "^#!.*"
" Formats " Formats
syn region perlFormat matchgroup=perlStatementIOFunc start="^\s*\<format\s\+\k\+\s*=\s*$"rs=s+6 end="^\s*\.\s*$" contains=perlFormatName,perlFormatField,perlVarPlain,perlVarPlain2 syn region perlFormat matchgroup=perlStatementIOFunc start="^\s*\<format\s\+\k\+\s*=\s*$"rs=s+6 end="^\s*\.\s*$" contains=perlFormatName,perlFormatField,perlVarPlain,perlVarPlain2
syn match perlFormatName "format\s\+\k\+\s*="lc=7,me=e-1 contained syn match perlFormatName "format\s\+\k\+\s*="lc=7,me=e-1 contained
syn match perlFormatField "[@^][|<>~]\+\(\.\.\.\)\=" contained syn match perlFormatField "[@^][|<>~]\+\%(\.\.\.\)\=" contained
syn match perlFormatField "[@^]#[#.]*" contained syn match perlFormatField "[@^]#[#.]*" contained
syn match perlFormatField "@\*" contained syn match perlFormatField "@\*" contained
syn match perlFormatField "@[^A-Za-z_|<>~#*]"me=e-1 contained syn match perlFormatField "@[^A-Za-z_|<>~#*]"me=e-1 contained
@ -383,44 +412,12 @@ syn match perlFormatField "@$" contained
" __END__ and __DATA__ clauses " __END__ and __DATA__ clauses
if exists("perl_fold") if exists("perl_fold")
syntax region perlDATA start="^__\(DATA\|END\)__$" skip="." end="." contains=perlPOD,@perlDATA fold syntax region perlDATA start="^__\%(DATA\|END\)__$" skip="." end="." contains=perlPOD,@perlDATA fold
else else
syntax region perlDATA start="^__\(DATA\|END\)__$" skip="." end="." contains=perlPOD,@perlDATA syntax region perlDATA start="^__\%(DATA\|END\)__$" skip="." end="." contains=perlPOD,@perlDATA
endif endif
"
" Folding
if exists("perl_fold")
if !exists("perl_nofold_packages")
syn region perlPackageFold start="^package \S\+;\s*\(#.*\)\=$" end="^1;\s*\(#.*\)\=$" end="\n\+package"me=s-1 transparent fold keepend
endif
if !exists("perl_nofold_subs")
syn region perlSubFold start="^\z(\s*\)\<sub\>.*[^};]$" end="^\z1}\s*\(#.*\)\=$" transparent fold keepend
syn region perlSubFold start="^\z(\s*\)\<\(BEGIN\|END\|CHECK\|INIT\)\>.*[^};]$" end="^\z1}\s*$" transparent fold keepend
endif
if exists("perl_fold_blocks")
syn region perlBlockFold start="^\z(\s*\)\(if\|elsif\|unless\|for\|while\|until\)\s*(.*)\(\s*{\)\=\s*\(#.*\)\=$" start="^\z(\s*\)foreach\s*\(\(my\|our\)\=\s*\S\+\s*\)\=(.*)\(\s*{\)\=\s*\(#.*\)\=$" end="^\z1}\s*;\=\(#.*\)\=$" transparent fold keepend
syn region perlBlockFold start="^\z(\s*\)\(do\|else\)\(\s*{\)\=\s*\(#.*\)\=$" end="^\z1}\s*while" end="^\z1}\s*;\=\(#.*\)\=$" transparent fold keepend
endif
setlocal foldmethod=syntax
syn sync fromstart
else
" fromstart above seems to set minlines even if perl_fold is not set.
syn sync minlines=0
endif
if version >= 508 || !exists("did_perl_syn_inits")
if version < 508
let did_perl_syn_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args> command -nargs=+ HiLink hi def link <args>
endif
" The default highlighting. " The default highlighting.
HiLink perlSharpBang PreProc HiLink perlSharpBang PreProc
@ -438,8 +435,11 @@ if version >= 508 || !exists("did_perl_syn_inits")
HiLink perlConditional Conditional HiLink perlConditional Conditional
HiLink perlRepeat Repeat HiLink perlRepeat Repeat
HiLink perlOperator Operator HiLink perlOperator Operator
HiLink perlFunction Function HiLink perlFunction Keyword
HiLink perlFunctionPrototype perlFunction HiLink perlSubName Function
HiLink perlSubPrototype Type
HiLink perlSubAttributes PreProc
HiLink perlSubAttributesCont perlSubAttributes
HiLink perlComment Comment HiLink perlComment Comment
HiLink perlTodo Todo HiLink perlTodo Todo
if exists("perl_string_as_statement") if exists("perl_string_as_statement")
@ -447,10 +447,12 @@ if version >= 508 || !exists("did_perl_syn_inits")
else else
HiLink perlStringStartEnd perlString HiLink perlStringStartEnd perlString
endif endif
HiLink perlVStringV perlStringStartEnd
HiLink perlList perlStatement HiLink perlList perlStatement
HiLink perlMisc perlStatement HiLink perlMisc perlStatement
HiLink perlVarPlain perlIdentifier HiLink perlVarPlain perlIdentifier
HiLink perlVarPlain2 perlIdentifier HiLink perlVarPlain2 perlIdentifier
HiLink perlArrow perlIdentifier
HiLink perlFiledescRead perlIdentifier HiLink perlFiledescRead perlIdentifier
HiLink perlFiledescStatement perlIdentifier HiLink perlFiledescStatement perlIdentifier
HiLink perlVarSimpleMember perlIdentifier HiLink perlVarSimpleMember perlIdentifier
@ -458,28 +460,11 @@ if version >= 508 || !exists("did_perl_syn_inits")
HiLink perlVarNotInMatches perlIdentifier HiLink perlVarNotInMatches perlIdentifier
HiLink perlVarSlash perlIdentifier HiLink perlVarSlash perlIdentifier
HiLink perlQQ perlString HiLink perlQQ perlString
if version >= 600
HiLink perlHereDoc perlString HiLink perlHereDoc perlString
else
HiLink perlHereIdentifier perlStringStartEnd
HiLink perlUntilEOFDQ perlString
HiLink perlUntilEOFSQ perlString
HiLink perlUntilEmptyDQ perlString
HiLink perlUntilEmptySQ perlString
HiLink perlUntilEOF perlString
endif
HiLink perlStringUnexpanded perlString HiLink perlStringUnexpanded perlString
HiLink perlSubstitutionSQ perlString HiLink perlSubstitutionSQ perlString
HiLink perlSubstitutionDQ perlString HiLink perlSubstitutionGQQ perlString
HiLink perlSubstitutionSlash perlString HiLink perlTranslationGQ perlString
HiLink perlSubstitutionHash perlString
HiLink perlSubstitutionBracket perlString
HiLink perlSubstitutionCurly perlString
HiLink perlSubstitutionPling perlString
HiLink perlTranslationSlash perlString
HiLink perlTranslationHash perlString
HiLink perlTranslationBracket perlString
HiLink perlTranslationCurly perlString
HiLink perlMatch perlString HiLink perlMatch perlString
HiLink perlMatchStartEnd perlStatement HiLink perlMatchStartEnd perlStatement
HiLink perlFormatName perlIdentifier HiLink perlFormatName perlIdentifier
@ -488,7 +473,6 @@ if version >= 508 || !exists("did_perl_syn_inits")
HiLink perlStorageClass perlType HiLink perlStorageClass perlType
HiLink perlPackageRef perlType HiLink perlPackageRef perlType
HiLink perlStatementPackage perlStatement HiLink perlStatementPackage perlStatement
HiLink perlStatementSub perlStatement
HiLink perlStatementStorage perlStatement HiLink perlStatementStorage perlStatement
HiLink perlStatementControl perlStatement HiLink perlStatementControl perlStatement
HiLink perlStatementScalar perlStatement HiLink perlStatementScalar perlStatement
@ -501,7 +485,6 @@ if version >= 508 || !exists("did_perl_syn_inits")
HiLink perlStatementVector perlStatement HiLink perlStatementVector perlStatement
HiLink perlStatementFiles perlStatement HiLink perlStatementFiles perlStatement
HiLink perlStatementFlow perlStatement HiLink perlStatementFlow perlStatement
HiLink perlStatementScope perlStatement
HiLink perlStatementInclude perlStatement HiLink perlStatementInclude perlStatement
HiLink perlStatementProc perlStatement HiLink perlStatementProc perlStatement
HiLink perlStatementSocket perlStatement HiLink perlStatementSocket perlStatement
@ -510,7 +493,7 @@ if version >= 508 || !exists("did_perl_syn_inits")
HiLink perlStatementPword perlStatement HiLink perlStatementPword perlStatement
HiLink perlStatementTime perlStatement HiLink perlStatementTime perlStatement
HiLink perlStatementMisc perlStatement HiLink perlStatementMisc perlStatement
HiLink perlStatementNew perlStatement HiLink perlStatementIndirObj perlStatement
HiLink perlFunctionName perlIdentifier HiLink perlFunctionName perlIdentifier
HiLink perlMethod perlIdentifier HiLink perlMethod perlIdentifier
HiLink perlFunctionPRef perlType HiLink perlFunctionPRef perlType
@ -521,23 +504,21 @@ if version >= 508 || !exists("did_perl_syn_inits")
HiLink perlSpecialString perlSpecial HiLink perlSpecialString perlSpecial
HiLink perlSpecialStringU perlSpecial HiLink perlSpecialStringU perlSpecial
HiLink perlSpecialMatch perlSpecial HiLink perlSpecialMatch perlSpecial
HiLink perlSpecialBEOM perlSpecial
HiLink perlDATA perlComment HiLink perlDATA perlComment
HiLink perlBrackets Error
" Possible errors " Possible errors
HiLink perlNotEmptyLine Error HiLink perlNotEmptyLine Error
HiLink perlElseIfError Error HiLink perlElseIfError Error
HiLink perlSubPrototypeError Error
HiLink perlSubError Error
delcommand HiLink delcommand HiLink
endif
" Syncing to speed up processing " Syncing to speed up processing
" "
if !exists("perl_no_sync_on_sub") if !exists("perl_no_sync_on_sub")
syn sync match perlSync grouphere NONE "^\s*\<package\s" syn sync match perlSync grouphere NONE "^\s*\<package\s"
syn sync match perlSync grouphere perlFunction "^\s*\<sub\s" syn sync match perlSync grouphere NONE "^\s*\<sub\>"
syn sync match perlSync grouphere NONE "^}" syn sync match perlSync grouphere NONE "^}"
endif endif
@ -559,4 +540,5 @@ syn sync match perlSyncPOD grouphere NONE "^=cut"
let b:current_syntax = "perl" let b:current_syntax = "perl"
" vim: ts=8 " XXX Change to sts=4:sw=4
" vim:ts=8:sts=2:sw=2:expandtab:ft=vim

2249
runtime/syntax/perl6.vim Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,17 @@
" Vim syntax file " Vim syntax file
" Language: R Help File " Language: R Help File
" Maintainer: Johannes Ranke <jranke@uni-bremen.de> " Maintainer: Johannes Ranke <jranke@uni-bremen.de>
" Last Change: 2009 Mai 12 " Last Change: 2010 Apr 22
" Version: 0.7.2 " Version: 0.7.3
" SVN: $Id: rhelp.vim 86 2009-05-12 19:23:47Z ranke $ " SVN: $Id: rhelp.vim 88 2010-04-22 19:37:09Z ranke $
" Remarks: - Now includes R syntax highlighting in the appropriate " Remarks: - Now includes R syntax highlighting in the appropriate
" sections if an r.vim file is in the same directory or in the " sections if an r.vim file is in the same directory or in the
" default debian location. " default debian location.
" - There is no Latex markup in equations " - There is no Latex markup in equations
" - Thanks to Will Gray for finding and fixing a bug " - Thanks to Will Gray for finding and fixing a bug
" - No support for \if, \ifelse and \out as I don't understand
" them and have no examples at hand (help welcome).
" - No support for \var tag within quoted string (dito)
" Version Clears: {{{1 " Version Clears: {{{1
" For version 5.x: Clear all syntax items " For version 5.x: Clear all syntax items
@ -37,6 +40,7 @@ syn region rhelpRcode matchgroup=Delimiter start="\\synopsis{" matchgroup=Delimi
syn region rhelpRcode matchgroup=Delimiter start="\\special{" matchgroup=Delimiter transparent end=/}/ contains=@R contained syn region rhelpRcode matchgroup=Delimiter start="\\special{" matchgroup=Delimiter transparent end=/}/ contains=@R contained
syn region rhelpRcode matchgroup=Delimiter start="\\code{" matchgroup=Delimiter transparent end=/}/ contains=@R,rhelpLink contained syn region rhelpRcode matchgroup=Delimiter start="\\code{" matchgroup=Delimiter transparent end=/}/ contains=@R,rhelpLink contained
syn region rhelpS4method matchgroup=Delimiter start="\\S4method{.*}(" matchgroup=Delimiter transparent end=/)/ contains=@R,rhelpDots contained syn region rhelpS4method matchgroup=Delimiter start="\\S4method{.*}(" matchgroup=Delimiter transparent end=/)/ contains=@R,rhelpDots contained
syn region rhelpSexpr matchgroup=Delimiter start="\\Sexpr{" matchgroup=Delimiter transparent end=/}/ contains=@R
" Strings {{{1 " Strings {{{1
syn region rhelpString start=/"/ end=/"/ syn region rhelpString start=/"/ end=/"/
@ -55,6 +59,56 @@ syn match rhelpKeyword "--"
syn match rhelpKeyword "---" syn match rhelpKeyword "---"
syn match rhelpKeyword "<" syn match rhelpKeyword "<"
syn match rhelpKeyword ">" syn match rhelpKeyword ">"
syn match rhelpKeyword "\\ge"
syn match rhelpKeyword "\\le"
syn match rhelpKeyword "\\alpha"
syn match rhelpKeyword "\\beta"
syn match rhelpKeyword "\\gamma"
syn match rhelpKeyword "\\delta"
syn match rhelpKeyword "\\epsilon"
syn match rhelpKeyword "\\zeta"
syn match rhelpKeyword "\\eta"
syn match rhelpKeyword "\\theta"
syn match rhelpKeyword "\\iota"
syn match rhelpKeyword "\\kappa"
syn match rhelpKeyword "\\lambda"
syn match rhelpKeyword "\\mu"
syn match rhelpKeyword "\\nu"
syn match rhelpKeyword "\\xi"
syn match rhelpKeyword "\\omicron"
syn match rhelpKeyword "\\pi"
syn match rhelpKeyword "\\rho"
syn match rhelpKeyword "\\sigma"
syn match rhelpKeyword "\\tau"
syn match rhelpKeyword "\\upsilon"
syn match rhelpKeyword "\\phi"
syn match rhelpKeyword "\\chi"
syn match rhelpKeyword "\\psi"
syn match rhelpKeyword "\\omega"
syn match rhelpKeyword "\\Alpha"
syn match rhelpKeyword "\\Beta"
syn match rhelpKeyword "\\Gamma"
syn match rhelpKeyword "\\Delta"
syn match rhelpKeyword "\\Epsilon"
syn match rhelpKeyword "\\Zeta"
syn match rhelpKeyword "\\Eta"
syn match rhelpKeyword "\\Theta"
syn match rhelpKeyword "\\Iota"
syn match rhelpKeyword "\\Kappa"
syn match rhelpKeyword "\\Lambda"
syn match rhelpKeyword "\\Mu"
syn match rhelpKeyword "\\Nu"
syn match rhelpKeyword "\\Xi"
syn match rhelpKeyword "\\Omicron"
syn match rhelpKeyword "\\Pi"
syn match rhelpKeyword "\\Rho"
syn match rhelpKeyword "\\Sigma"
syn match rhelpKeyword "\\Tau"
syn match rhelpKeyword "\\Upsilon"
syn match rhelpKeyword "\\Phi"
syn match rhelpKeyword "\\Chi"
syn match rhelpKeyword "\\Psi"
syn match rhelpKeyword "\\Omega"
" Links {{{1 " Links {{{1
syn region rhelpLink matchgroup=rhelpSection start="\\link{" end="}" contained keepend syn region rhelpLink matchgroup=rhelpSection start="\\link{" end="}" contained keepend
@ -112,6 +166,7 @@ syn match rhelpSection "\\donttest\>"
" Freely named Sections {{{1 " Freely named Sections {{{1
syn region rhelpFreesec matchgroup=Delimiter start="\\section{" matchgroup=Delimiter transparent end=/}/ syn region rhelpFreesec matchgroup=Delimiter start="\\section{" matchgroup=Delimiter transparent end=/}/
syn region rhelpFreesubsec matchgroup=Delimiter start="\\subsection{" matchgroup=Delimiter transparent end=/}/
" R help file comments {{{1 " R help file comments {{{1
syn match rhelpComment /%.*$/ contained syn match rhelpComment /%.*$/ contained

View File

@ -2,8 +2,8 @@
" Language: shell (sh) Korn shell (ksh) bash (sh) " Language: shell (sh) Korn shell (ksh) bash (sh)
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz> " Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int> " Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
" Last Change: Nov 17, 2009 " Last Change: Apr 12, 2010
" Version: 110 " Version: 111
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
" For options and settings, please use: :help ft-sh-syntax " For options and settings, please use: :help ft-sh-syntax
" This file includes many ideas from Éric Brunet (eric.brunet@ens.fr) " This file includes many ideas from Éric Brunet (eric.brunet@ens.fr)
@ -59,7 +59,7 @@ if !exists("s:sh_fold_ifdofor")
let s:sh_fold_ifdofor = 4 let s:sh_fold_ifdofor = 4
endif endif
if g:sh_fold_enabled && &fdm == "manual" if g:sh_fold_enabled && &fdm == "manual"
set fdm=syntax setlocal fdm=syntax
endif endif
" sh syntax is case sensitive {{{1 " sh syntax is case sensitive {{{1
@ -157,7 +157,7 @@ syn region shSubSh transparent matchgroup=shSubShRegion start="(" end=")" contai
" Tests: {{{1 " Tests: {{{1
"======= "=======
syn region shExpr matchgroup=shRange start="\[" skip=+\\\\\|\\$+ end="\]" contains=@shTestList,shSpecial syn region shExpr matchgroup=shRange start="\[" skip=+\\\\\|\\$\|\[+ end="\]" contains=@shTestList,shSpecial
syn region shTest transparent matchgroup=shStatement start="\<test\s" skip=+\\\\\|\\$+ matchgroup=NONE end="[;&|]"me=e-1 end="$" contains=@shExprList1 syn region shTest transparent matchgroup=shStatement start="\<test\s" skip=+\\\\\|\\$+ matchgroup=NONE end="[;&|]"me=e-1 end="$" contains=@shExprList1
syn match shTestOpr contained "<=\|>=\|!=\|==\|-.\>\|-\(nt\|ot\|ef\|eq\|ne\|lt\|le\|gt\|ge\)\>\|[!<>]" syn match shTestOpr contained "<=\|>=\|!=\|==\|-.\>\|-\(nt\|ot\|ef\|eq\|ne\|lt\|le\|gt\|ge\)\>\|[!<>]"
syn match shTestOpr contained '=' skipwhite nextgroup=shTestDoubleQuote,shTestSingleQuote,shTestPattern syn match shTestOpr contained '=' skipwhite nextgroup=shTestDoubleQuote,shTestSingleQuote,shTestPattern

View File

@ -1,6 +1,6 @@
"SiSU Vim syntax file "SiSU Vim syntax file
"SiSU Maintainer: Ralph Amissah <ralph@amissah.com> "SiSU Maintainer: Ralph Amissah <ralph@amissah.com>
"SiSU Markup: SiSU (sisu-0.69.0, 2008-09-16) "SiSU Markup: SiSU (sisu-2.0.1, 2010-03-17)
"(originally looked at Ruby Vim by Mirko Nasato) "(originally looked at Ruby Vim by Mirko Nasato)
if version < 600 if version < 600
@ -16,25 +16,26 @@ syn match sisu_error contains=sisu_link,sisu_error_wspace "<![^ei]\S\+!>"
" Markers Identifiers: " Markers Identifiers:
if !exists("sisu_no_identifiers") if !exists("sisu_no_identifiers")
syn match sisu_mark_endnote "\~^" syn match sisu_mark_endnote "\~^"
syn match sisu_contain contains=@NoSpell "</\?sub>"
syn match sisu_break contains=@NoSpell "<br>\|<br />" syn match sisu_break contains=@NoSpell "<br>\|<br />"
syn match sisu_control contains=@NoSpell "<p>\|</p>\|<p />\|<:p[bn]>" syn match sisu_control contains=@NoSpell "<:p[bn]>"
syn match sisu_html "<center>\|</center>"
syn match sisu_marktail "[~-]#" syn match sisu_marktail "[~-]#"
syn match sisu_html contains=@NoSpell "<td>\|<td \|<tr>\|</td>\|</tr>\|<table>\|<table \|</table>"
syn match sisu_control "\"" syn match sisu_control "\""
syn match sisu_underline "\(^\| \)_[a-zA-Z0-9]\+_\([ .,]\|$\)" syn match sisu_underline "\(^\| \)_[a-zA-Z0-9]\+_\([ .,]\|$\)"
syn match sisu_number contains=@NoSpell "[0-9a-f]\{32\}\|[0-9a-f]\{64\}" syn match sisu_number contains=@NoSpell "[0-9a-f]\{32\}\|[0-9a-f]\{64\}"
syn match sisu_link contains=@NoSpell "\(_\?https\?://\|\.\.\/\)\S\+" syn match sisu_link contains=@NoSpell "\(_\?https\?://\|\.\.\/\)\S\+"
"metaverse specific
syn match sisu_ocn contains=@NoSpell "<\~\d\+;\w\d\+;\w\d\+>"
syn match sisu_marktail "<\~#>"
syn match sisu_markpara contains=@NoSpell "<:i[1-9]>"
syn match sisu_link " \*\~\S\+" syn match sisu_link " \*\~\S\+"
syn match sisu_action "^<:insert\d\+>" syn match sisu_action "^<:insert\d\+>"
syn match sisu_require contains=@NoSpell "^<<\s*[a-zA-Z0-9^._-]\+\.ss[it]$" syn match sisu_require contains=@NoSpell "^<<\s*[a-zA-Z0-9^._-]\+\.ss[it]$"
syn match sisu_require contains=@NoSpell "^<<{[a-zA-Z0-9^._-]\+\.ss[it]}$" syn match sisu_require contains=@NoSpell "^<<{[a-zA-Z0-9^._-]\+\.ss[it]}$"
syn match sisu_contain "<:e>" syn match sisu_structure "^:A\~$"
syn match sisu_sub_header_title "^\s\+:\(subtitle\|short\|edition\|language\|note\):\s" "group=sisu_header_content
syn match sisu_sub_header_creator "^\s\+:\(author\|translator\|illustrator\|photographer\|audio\|digitized_by\|prepared_by\):\s"
syn match sisu_sub_header_rights "^\s\+:\(copyright\|text\|translation\|illustrations\|photographs\|audio\|digitization\|license\|all\):\s" "access_rights license
syn match sisu_sub_header_classify "^\s\+:\(type\|subject\|topic_register\|keywords\|coverage\|relation\|format\|identifier\|isbn\|dewey\|loc\|pg\):\s"
syn match sisu_sub_header_dates "^\s\+:\(published\|available\|created\|issued\|valid\|modified\|added_to_site\|translated\|original_publication\):\s"
syn match sisu_sub_header_original "^\s\+:\(publisher\|date\|language\|institution\|nationality\|source\):\s"
syn match sisu_sub_header_make "^\s\+:\(headings\|num_top\|breaks\|italics\|bold\|skin\|stamp\|promo\|ad\|manpage\):\s"
syn match sisu_sub_header_notes "^\s\+:\(comment\|abstract\|description\|history\|prefix\|prefix_[ab]\):\s"
syn match sisu_sem_marker ";{\|};[a-z._]*[a-z]" syn match sisu_sem_marker ";{\|};[a-z._]*[a-z]"
syn match sisu_sem_marker_block "\([a-z][a-z._]*\|\):{\|}:[a-z._]*[a-z]" syn match sisu_sem_marker_block "\([a-z][a-z._]*\|\):{\|}:[a-z._]*[a-z]"
syn match sisu_sem_ex_marker ";\[\|\];[a-z._]*[a-z]" syn match sisu_sem_ex_marker ";\[\|\];[a-z._]*[a-z]"
@ -57,19 +58,28 @@ syn match sisu_error contains=sisu_error "<a href\|</a>]"
"url/link "url/link
syn region sisu_link contains=sisu_error,sisu_error_wspace matchgroup=sisu_action start="^<<\s*|[a-zA-Z0-9^._-]\+|@|[a-zA-Z0-9^._-]\+|"rs=s+2 end="$" syn region sisu_link contains=sisu_error,sisu_error_wspace matchgroup=sisu_action start="^<<\s*|[a-zA-Z0-9^._-]\+|@|[a-zA-Z0-9^._-]\+|"rs=s+2 end="$"
"header "header
syn region sisu_header_content contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break matchgroup=sisu_header start="^0\~\(\S\+\|[^-]\)" end="\n$" syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_title matchgroup=sisu_header start="^[@]title:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
syn region sisu_header_content contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break matchgroup=sisu_header start="^[@%]\S\+:[+-]\?\s"rs=e-1 end="\n$" syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_creator matchgroup=sisu_header start="^[@]creator:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_rights matchgroup=sisu_header start="^[@]rights:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_classify matchgroup=sisu_header start="^[@]classify:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_dates matchgroup=sisu_header start="^[@]date:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_make matchgroup=sisu_header start="^[@]make:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_publisher matchgroup=sisu_header start="^[@]publisher:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_notes matchgroup=sisu_header start="^[@]notes:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_original matchgroup=sisu_header start="^[@]original:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_source matchgroup=sisu_header start="^[@]source:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_linked,sisu_sub_header_links matchgroup=sisu_header start="^[@]links:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
"headings "headings
syn region sisu_heading contains=sisu_mark_endnote,sisu_content_endnote,sisu_marktail,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_ocn,sisu_error,sisu_error_wspace matchgroup=sisu_structure start="^\([1-8]\|:\?[A-C]\)\~\(\S\+\|[^-]\)" end="$" syn region sisu_heading contains=sisu_mark_endnote,sisu_content_endnote,sisu_marktail,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_ocn,sisu_error,sisu_error_wspace matchgroup=sisu_structure start="^\([1-8]\|:\?[A-C]\)\~\(\S\+\|[^-]\)" end="$"
"grouped text "grouped text
syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^table{.\+" end="}table" syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^table{.\+" end="}table"
syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^{\(t\|table\)\(\~h\)\?\(\sc[0-9]\+;\)\?[0-9; ]*}" end="\n\n" syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^{\(t\|table\)\(\~h\)\?\(\sc[0-9]\+;\)\?[0-9; ]*}" end="\n$"
syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^\(alt\|group\|poem\){" end="^}\(alt\|group\|poem\)" syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^\(alt\|group\|poem\){" end="^}\(alt\|group\|poem\)"
syn region sisu_content_alt contains=sisu_error matchgroup=sisu_contain start="^code{" end="^}code" syn region sisu_content_alt contains=sisu_error matchgroup=sisu_contain start="^code{" end="^}code"
"endnotes "endnotes
syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker matchgroup=sisu_mark_endnote start="\~{[*+]*" end="}\~" skip="\n" syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker matchgroup=sisu_mark_endnote start="\~{[*+]*" end="}\~" skip="\n"
syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker matchgroup=sisu_mark_endnote start="\~\[[*+]*" end="\]\~" skip="\n" syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker matchgroup=sisu_mark_endnote start="\~\[[*+]*" end="\]\~" skip="\n"
syn region sisu_content_endnote contains=sisu_strikeout,sisu_number,sisu_control,sisu_link,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break matchgroup=sisu_mark_endnote start="\^\~" end="\n\n" syn region sisu_content_endnote contains=sisu_strikeout,sisu_number,sisu_control,sisu_link,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break matchgroup=sisu_mark_endnote start="\^\~" end="\n$"
"links and images "links and images
syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_sem_block,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="}\(https\?:/\/\|\.\./\)\S\+" oneline syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_sem_block,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="}\(https\?:/\/\|\.\./\)\S\+" oneline
syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_sem_block,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="\[[1-5][sS]*\]}\S\+\.ss[tm]" oneline syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_sem_block,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="\[[1-5][sS]*\]}\S\+\.ss[tm]" oneline
@ -78,7 +88,6 @@ syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_co
syn region sisu_control contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_error,sisu_error_wspace matchgroup=sisu_control start="\(\(^\| \)!_ \|<:b>\)" end="$" syn region sisu_control contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_error,sisu_error_wspace matchgroup=sisu_control start="\(\(^\| \)!_ \|<:b>\)" end="$"
syn region sisu_normal contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_\([1-9*]\|[1-9]\*\) " end="$" syn region sisu_normal contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_\([1-9*]\|[1-9]\*\) " end="$"
syn region sisu_normal contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^\(#[ 1]\|_# \)" end="$" syn region sisu_normal contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^\(#[ 1]\|_# \)" end="$"
syn region sisu_comment matchgroup=sisu_comment start="^%\{1,2\} " end="$"
"font face curly brackets "font face curly brackets
"syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_sem start="\S\+:{" end="}:[^<>,.!?:; ]\+" oneline "syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_sem start="\S\+:{" end="}:[^<>,.!?:; ]\+" oneline
syn region sisu_index matchgroup=sisu_index_block start="^={" end="}" syn region sisu_index matchgroup=sisu_index_block start="^={" end="}"
@ -96,18 +105,6 @@ syn region sisu_control contains=sisu_error matchgroup=sisu_control start="\([ (
syn region sisu_identifier contains=sisu_error matchgroup=sisu_content_alt start="\([ ]\|^\)/[^{ \|\n\\]"hs=e-1 end="/\[ \.\]" skip="[a-zA-Z0-9']" oneline syn region sisu_identifier contains=sisu_error matchgroup=sisu_content_alt start="\([ ]\|^\)/[^{ \|\n\\]"hs=e-1 end="/\[ \.\]" skip="[a-zA-Z0-9']" oneline
"misc "misc
syn region sisu_identifier contains=sisu_error matchgroup=sisu_fontface start="\^[^ {\|\n\\]"rs=s+1 end="\^[ ,.;:'})\\\n]" skip="[a-zA-Z0-9']" oneline syn region sisu_identifier contains=sisu_error matchgroup=sisu_fontface start="\^[^ {\|\n\\]"rs=s+1 end="\^[ ,.;:'})\\\n]" skip="[a-zA-Z0-9']" oneline
"metaverse html (flagged as errors for filetype sisu)
syn region sisu_control contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_mark matchgroup=sisu_html start="<b>" end="</b>" skip="\n" oneline
syn region sisu_control contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_mark matchgroup=sisu_html start="<em>" end="</em>" skip="\n" oneline
syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_mark matchgroup=sisu_html start="<i>" end="</i>" skip="\n" oneline
syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_mark matchgroup=sisu_html start="<u>" end="</u>" skip="\n" oneline
syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_mark matchgroup=sisu_html start="<ins>" end="</ins>" skip="\\\\\|\\'" oneline
syn region sisu_identifier contains=sisu_error matchgroup=sisu_html start="<del>" end="</del>" oneline
"metaverse
syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="<:Table.\{-}>" end="<:Table[-_]end>"
syn region sisu_content_alt contains=sisu_error matchgroup=sisu_contain start="<:code>" end="<:code[-_]end>"
syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="<:alt>" end="<:alt[-_]end>"
syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="<:poem>" end="<:poem[-_]end>"
"Expensive Mode: "Expensive Mode:
if !exists("sisu_no_expensive") if !exists("sisu_no_expensive")
@ -120,18 +117,19 @@ syn match sisu_control contains=sisu_error,sisu_error_wspace "4\~! \S\+"
syn region sisu_markpara contains=sisu_error,sisu_error_wspace start="^=begin" end="^=end.*$" syn region sisu_markpara contains=sisu_error,sisu_error_wspace start="^=begin" end="^=end.*$"
"Errors: "Errors:
syn match sisu_error_wspace contains=sisu_error_wspace "^\s\+" syn match sisu_error_wspace contains=sisu_error_wspace "^\s\+[^:]"
syn match sisu_error_wspace contains=sisu_error_wspace "\s\s\+" syn match sisu_error_wspace contains=sisu_error_wspace "\s\s\+"
syn match sisu_error_wspace contains=sisu_error_wspace " \s*$" syn match sisu_error_wspace contains=sisu_error_wspace " \s*$"
syn match sisu_error contains=sisu_error_wspace "\t\+" syn match sisu_error contains=sisu_error_wspace "\t\+"
syn match sisu_error contains=sisu_error,sisu_error_wspace "\([^ (][_\\]\||[^ (}]\)https\?:\S\+" syn match sisu_error contains=sisu_error,sisu_error_wspace "\([^ (][_\\]\||[^ (}]\)https\?:\S\+"
syn match sisu_error contains=sisu_error "_\?https\?:\S\+[}><]" syn match sisu_error contains=sisu_error "_\?https\?:\S\+[}><]"
syn match sisu_error contains=sisu_error "\([!*/_\+,^]\){\([^(\}\1)]\)\{-}\n\n" syn match sisu_error contains=sisu_error "\([!*/_\+,^]\){\([^(\}\1)]\)\{-}\n$"
syn match sisu_error contains=sisu_error "^[\~]{[^{]\{-}\n\n" syn match sisu_error contains=sisu_error "^[\~]{[^{]\{-}\n$"
syn match sisu_error contains=sisu_error "\s\+.{{" syn match sisu_error contains=sisu_error "\s\+.{{"
syn match sisu_error contains=sisu_error "^\~\s*$" syn match sisu_error contains=sisu_error "^\~\s*$"
syn match sisu_error contains=sisu_error "^[0-9]\~\s*$" syn match sisu_error contains=sisu_error "^0\~.*"
syn match sisu_error contains=sisu_error "^[0-9]\~\S\+\s*$" syn match sisu_error contains=sisu_error "^[1-9]\~\s*$"
syn match sisu_error contains=sisu_error "^[1-9]\~\S\+\s*$"
syn match sisu_error contains=sisu_error "[^{]\~\^[^ \)]" syn match sisu_error contains=sisu_error "[^{]\~\^[^ \)]"
syn match sisu_error contains=sisu_error "\~\^\s\+\.\s*" syn match sisu_error contains=sisu_error "\~\^\s\+\.\s*"
syn match sisu_error contains=sisu_error "{\~^\S\+" syn match sisu_error contains=sisu_error "{\~^\S\+"
@ -140,19 +138,31 @@ syn match sisu_error contains=sisu_error "[^ (\"'(\[][_/\*!]{\|}[_/\*!][a-zA-Z0-
syn match sisu_error contains=sisu_error "<dir>" syn match sisu_error contains=sisu_error "<dir>"
"errors for filetype sisu, though not error in 'metaverse': "errors for filetype sisu, though not error in 'metaverse':
syn match sisu_error contains=sisu_error,sisu_match,sisu_strikeout,sisu_contain,sisu_content_alt,sisu_mark,sisu_break,sisu_number "<[a-zA-Z\/]\+>" syn match sisu_error contains=sisu_error,sisu_match,sisu_strikeout,sisu_contain,sisu_content_alt,sisu_mark,sisu_break,sisu_number "<[a-zA-Z\/]\+>"
syn match sisu_error "/\?<\([biu]\)>[^(</\1>)]\{-}\n\n" syn match sisu_error "/\?<\([biu]\)>[^(</\1>)]\{-}\n$"
"Error Exceptions: "Error Exceptions:
syn match sisu_control "\n\n" "contains=ALL syn match sisu_control "\n$" "contains=ALL
syn match sisu_control " //" syn match sisu_control " //"
syn match sisu_error "%{" syn match sisu_error "%{"
syn match sisu_error "<br>_\?https\?:\S\+\|_\?https\?:\S\+<br>" syn match sisu_error "<br>_\?https\?:\S\+\|_\?https\?:\S\+<br>"
syn match sisu_error "[><]_\?https\?:\S\+\|_\?https\?:\S\+[><]" syn match sisu_error "[><]_\?https\?:\S\+\|_\?https\?:\S\+[><]"
syn match sisu_comment "^%\{1,2\}.\+"
"Definitions Default Highlighting: "Definitions Default Highlighting:
hi def link sisu_normal Normal hi def link sisu_normal Normal
hi def link sisu_header PreProc hi def link sisu_header PreProc
hi def link sisu_header_content Statement hi def link sisu_header_content Normal
hi def link sisu_sub_header_title Statement
hi def link sisu_sub_header_creator Statement
hi def link sisu_sub_header_rights Statement
hi def link sisu_sub_header_classify Statement
hi def link sisu_sub_header_dates Statement
hi def link sisu_sub_header_make Statement
hi def link sisu_sub_header_links Statement
hi def link sisu_sub_header_publisher Statement
hi def link sisu_sub_header_notes Statement
hi def link sisu_sub_header_original Statement
hi def link sisu_sub_header_source Statement
hi def link sisu_heading Title hi def link sisu_heading Title
hi def link sisu_structure Operator hi def link sisu_structure Operator
hi def link sisu_contain Include hi def link sisu_contain Include

15
runtime/syntax/svg.vim Normal file
View File

@ -0,0 +1,15 @@
" Vim syntax file
" Language: SVG (Scalable Vector Graphics)
" Maintainer: Vincent Berthoux <twinside@gmail.com>
" File Types: .svg (used in Web and vector programs)
"
" Directly call the xml syntax, because SVG is an XML
" dialect. But as some plugins base their effect on filetype,
" providing a distinct filetype from xml is better.
if exists("b:current_syntax")
finish
endif
runtime! syntax/xml.vim
let b:current_syntax = "svg"

View File

@ -1,8 +1,8 @@
" Vim syntax file " Vim syntax file
" Language: TeX " Language: TeX
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM> " Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM>
" Last Change: Dec 28, 2009 " Last Change: Apr 14, 2010
" Version: 46 " Version: 47
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
" "
" Notes: {{{1 " Notes: {{{1
@ -77,7 +77,7 @@ elseif g:tex_fold_enabled && !has("folding")
echomsg "Ignoring g:tex_fold_enabled=".g:tex_fold_enabled."; need to re-compile vim for +fold support" echomsg "Ignoring g:tex_fold_enabled=".g:tex_fold_enabled."; need to re-compile vim for +fold support"
endif endif
if g:tex_fold_enabled && &fdm == "manual" if g:tex_fold_enabled && &fdm == "manual"
set fdm=syntax setl fdm=syntax
endif endif
" (La)TeX keywords: only use the letters a-zA-Z {{{1 " (La)TeX keywords: only use the letters a-zA-Z {{{1

View File

@ -1,22 +1,16 @@
" Vim syntax file " Vim syntax file
" Language: XS (Perl extension interface language) " Language: XS (Perl extension interface language)
" Maintainer: Michael W. Dodge <sarge@pobox.com> " Maintainer: Andy Lester <andy@petdance.com>
" Last Change: 2001 May 09 " URL: http://github.com/petdance/vim-perl
" Last Change: 2009-08-14
" For version 5.x: Clear all syntax items " Quit when a syntax file was already loaded
" For version 6.x: Quit when a syntax file was already loaded if exists("b:current_syntax")
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish finish
endif endif
" Read the C syntax to start with " Read the C syntax to start with
if version < 600
source <sfile>:p:h/c.vim
else
runtime! syntax/c.vim runtime! syntax/c.vim
endif
" XS extentions " XS extentions
" TODO: Figure out how to look for trailing '='. " TODO: Figure out how to look for trailing '='.
@ -31,23 +25,14 @@ syn keyword xsVariable RETVAL NO_INIT
"syn match xsCast "\<\(const\|static\|dynamic\|reinterpret\)_cast\s*<"me=e-1 "syn match xsCast "\<\(const\|static\|dynamic\|reinterpret\)_cast\s*<"me=e-1
"syn match xsCast "\<\(const\|static\|dynamic\|reinterpret\)_cast\s*$" "syn match xsCast "\<\(const\|static\|dynamic\|reinterpret\)_cast\s*$"
" Define the default highlighting. " Define the default highlighting, but only when an item doesn't have highlighting yet
" For version 5.7 and earlier: only when not done already
" For version 5.8 and later: only when an item doesn't have highlighting yet
if version >= 508 || !exists("did_xs_syntax_inits")
if version < 508
let did_xs_syntax_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args> command -nargs=+ HiLink hi def link <args>
endif
HiLink xsKeyword Keyword HiLink xsKeyword Keyword
HiLink xsMacro Macro HiLink xsMacro Macro
HiLink xsVariable Identifier HiLink xsVariable Identifier
delcommand HiLink delcommand HiLink
endif
let b:current_syntax = "xs" let b:current_syntax = "xs"