mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
Updated runtime files.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
" Vim completion script
|
||||
" Language: C
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2007 Aug 30
|
||||
" Last Change: 2010 Mar 23
|
||||
|
||||
|
||||
" 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}]
|
||||
else
|
||||
" 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
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,14 +1,23 @@
|
||||
" Vim OMNI completion script for SQL
|
||||
" Language: SQL
|
||||
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
|
||||
" Version: 7.0
|
||||
" Last Change: 2009 Jan 04
|
||||
" Version: 9.0
|
||||
" Last Change: 2010 Apr 20
|
||||
" Usage: For detailed help
|
||||
" ":help sql.txt"
|
||||
" or ":help ft-sql-omni"
|
||||
" or read $VIMRUNTIME/doc/sql.txt
|
||||
|
||||
" 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
|
||||
" Better handling of object names
|
||||
" Version 6.0
|
||||
@ -250,7 +259,7 @@ function! sqlcomplete#Complete(findstart, base)
|
||||
" 1. Check if the dbext plugin has the option turned
|
||||
" on to even allow owners
|
||||
" 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
|
||||
" check to see the table.column exists in the
|
||||
" cached table list. If it does, then we have
|
||||
@ -390,13 +399,14 @@ function! sqlcomplete#DrillIntoTable()
|
||||
call sqlcomplete#Map('column')
|
||||
" C-Y, makes the currently highlighted entry active
|
||||
" 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
|
||||
if has('win32')
|
||||
" If the popup is not visible, simple perform the normal
|
||||
" <C-Right> behaviour
|
||||
exec "normal! \<C-Right>"
|
||||
endif
|
||||
" If the popup is not visible, simple perform the normal
|
||||
" key behaviour.
|
||||
" Must use exec since they key must be preceeded by "\"
|
||||
" 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
|
||||
return ""
|
||||
endfunction
|
||||
@ -408,11 +418,12 @@ function! sqlcomplete#DrillOutOfColumns()
|
||||
" Trigger the omni popup to be redisplayed
|
||||
call feedkeys("\<C-X>\<C-O>")
|
||||
else
|
||||
if has('win32')
|
||||
" If the popup is not visible, simple perform the normal
|
||||
" <C-Left> behaviour
|
||||
exec "normal! \<C-Left>"
|
||||
endif
|
||||
" If the popup is not visible, simple perform the normal
|
||||
" key behaviour.
|
||||
" Must use exec since they key must be preceeded by "\"
|
||||
" 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
|
||||
return ""
|
||||
endfunction
|
||||
@ -609,7 +620,7 @@ function! s:SQLCGetColumns(table_name, list_type)
|
||||
" Search backwards to the beginning of the statement
|
||||
" and do NOT wrap
|
||||
" 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
|
||||
" 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)
|
||||
" 3. The end of the file (incase no delimiter)
|
||||
" 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 = substitute(query, "\n", ' ', 'g')
|
||||
let found = 0
|
||||
|
||||
" if query =~? '^\(select\|update\|delete\)'
|
||||
if query =~? '^\(select\)'
|
||||
" if query =~? '^\c\(select\)'
|
||||
if query =~? '^\(select\|update\|delete\)'
|
||||
let found = 1
|
||||
" \(\(\<\w\+\>\)\.\)\? -
|
||||
" 'from.\{-}' - Starting at the from clause
|
||||
" '\c\(from\|join\|,\).\{-}' - Starting at the from clause (case insensitive)
|
||||
" '\zs\(\(\<\w\+\>\)\.\)\?' - Get the owner name (optional)
|
||||
" '\<\w\+\>\ze' - Get the table name
|
||||
" '\s\+\<'.table_name.'\>' - Followed by the alias
|
||||
" '\s*\.\@!.*' - Cannot be followed by a .
|
||||
" '\(\<where\>\|$\)' - Must be followed by a WHERE clause
|
||||
" '.*' - 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,
|
||||
\ 'from.\{-}'.
|
||||
\ '\zs\(\("\|\[\)\?.\{-}\("\|\]\)\.\)\?'.
|
||||
\ '\("\|\[\)\?.\{-}\("\|\]\)\ze'.
|
||||
\ '\c\(\<from\>\|\<join\>\|,\)\s*'.
|
||||
\ '\zs\(\("\|\[\)\?\w\+\("\|\]\)\?\.\)\?'.
|
||||
\ '\("\|\[\)\?\w\+\("\|\]\)\?\ze'.
|
||||
\ '\s\+\%(as\s\+\)\?\<'.
|
||||
\ matchstr(table_name, '.\{-}\ze\.\?$').
|
||||
\ '\>'.
|
||||
@ -649,7 +671,7 @@ function! s:SQLCGetColumns(table_name, list_type)
|
||||
|
||||
if table_name_new != ''
|
||||
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)
|
||||
if list_idx > -1
|
||||
@ -717,4 +739,3 @@ function! s:SQLCGetColumns(table_name, list_type)
|
||||
|
||||
return table_cols
|
||||
endfunction
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
" vimball.vim : construct a file containing both paths and files
|
||||
" Author: Charles E. Campbell, Jr.
|
||||
" Date: Dec 28, 2009
|
||||
" Version: 30
|
||||
" Date: Apr 12, 2010
|
||||
" Version: 31
|
||||
" GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim
|
||||
" Copyright: (c) 2004-2009 by Charles E. Campbell, Jr.
|
||||
" The VIM LICENSE applies to Vimball.vim, and Vimball.txt
|
||||
@ -14,7 +14,7 @@
|
||||
if &cp || exists("g:loaded_vimball")
|
||||
finish
|
||||
endif
|
||||
let g:loaded_vimball = "v30"
|
||||
let g:loaded_vimball = "v31"
|
||||
if v:version < 702
|
||||
echohl WarningMsg
|
||||
echo "***warning*** this version of vimball needs vim 7.2"
|
||||
|
@ -1,7 +1,7 @@
|
||||
" zip.vim: Handles browsing zipfiles
|
||||
" AUTOLOAD PORTION
|
||||
" Date: Jul 30, 2008
|
||||
" Version: 22
|
||||
" Date: Apr 12, 2010
|
||||
" Version: 23
|
||||
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
|
||||
" License: Vim License (see vim's :help license)
|
||||
" Copyright: Copyright (C) 2005-2008 Charles E. Campbell, Jr. {{{1
|
||||
@ -16,13 +16,19 @@
|
||||
|
||||
" ---------------------------------------------------------------------
|
||||
" Load Once: {{{1
|
||||
let s:keepcpo= &cpo
|
||||
set cpo&vim
|
||||
if &cp || exists("g:loaded_zip") || v:version < 700
|
||||
if &cp || exists("g:loaded_zip")
|
||||
finish
|
||||
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:ERROR = 2
|
||||
let s:WARNING = 1
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
@ -585,7 +585,7 @@ For other systems the tmpnam() library function is used.
|
||||
":&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
|
||||
actually work differently. You can use ":&&" to keep
|
||||
the flags.
|
||||
|
@ -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
|
||||
@ -522,6 +522,7 @@ followed by another Vim command:
|
||||
:registers
|
||||
:read !
|
||||
:scscope
|
||||
:sign
|
||||
:tcl
|
||||
:tcldo
|
||||
:tclfile
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
@ -67,7 +67,7 @@ the Number. Examples: >
|
||||
Number 123 --> String "123"
|
||||
Number 0 --> String "0"
|
||||
Number -1 --> String "-1"
|
||||
|
||||
*octal*
|
||||
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
|
||||
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>
|
||||
\\ backslash
|
||||
\" 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
|
||||
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.
|
||||
If both "pattern" and "lnum" are present then "pattern" will
|
||||
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
|
||||
|getqflist()| returns.
|
||||
|
||||
@ -6828,14 +6832,16 @@ This would call the function "my_func_whizz(parameter)".
|
||||
<
|
||||
*:exe* *:execute*
|
||||
:exe[cute] {expr1} .. Executes the string that results from the evaluation
|
||||
of {expr1} as an Ex command. Multiple arguments are
|
||||
concatenated, with a space in between. {expr1} is
|
||||
used as the processed command, command line editing
|
||||
keys are not recognized.
|
||||
of {expr1} as an Ex command.
|
||||
Multiple arguments are concatenated, with a space in
|
||||
between. To avoid the extra space use the "."
|
||||
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.
|
||||
Examples: >
|
||||
:execute "buffer " nextbuf
|
||||
:execute "normal " count . "w"
|
||||
:execute "buffer" nextbuf
|
||||
:execute "normal" count . "w"
|
||||
<
|
||||
":execute" can be used to append a command to commands
|
||||
that don't accept a '|'. Example: >
|
||||
|
@ -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
|
||||
@ -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
|
||||
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*
|
||||
|
||||
@ -352,9 +355,13 @@ zv View cursor line: Open just enough folds to make the line in
|
||||
*zx*
|
||||
zx Update folds: Undo manually opened and closed folds: re-apply
|
||||
'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 Undo manually opened and closed folds: re-apply 'foldlevel'.
|
||||
Also forces recomputing folds, like |zx|.
|
||||
|
||||
*zm*
|
||||
zm Fold more: Subtract one from 'foldlevel'. If 'foldlevel' was
|
||||
|
@ -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
|
||||
@ -556,7 +556,7 @@ some modes:
|
||||
mode inserted appended ~
|
||||
Normal nothing nothing
|
||||
Visual <C-C> <C-\><C-G>
|
||||
Insert <C-O>
|
||||
Insert <C-\><C-O>
|
||||
Cmdline <C-C> <C-\><C-G>
|
||||
Op-pending <C-C> <C-\><C-G>
|
||||
|
||||
@ -571,7 +571,7 @@ is equal to: >
|
||||
|
||||
:nmenu File.Next :next^M
|
||||
: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
|
||||
:omenu File.Next ^C:next^M^\^G
|
||||
|
||||
|
@ -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
|
||||
@ -447,7 +447,7 @@ assume a 'shiftwidth' of 4.
|
||||
|
||||
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,
|
||||
/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:
|
||||
- It starts with '#' (preprocessor directives), if 'cinkeys' contains '#'.
|
||||
|
@ -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
|
||||
@ -315,6 +315,7 @@ _ <underscore> [count] - 1 lines downward, on the first non-blank
|
||||
G Goto line [count], default last line, on the first
|
||||
non-blank character |linewise|. If 'startofline' not
|
||||
set, keep the same column.
|
||||
G is a one of |jump-motions|.
|
||||
|
||||
*<C-End>*
|
||||
<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] can also be just one line number, e.g., ":1"
|
||||
or ":'m".
|
||||
In contrast with |G| this command does not modify the
|
||||
|jumplist|.
|
||||
*N%*
|
||||
{count}% Go to {count} percentage in the file, on the first
|
||||
non-blank in the line |linewise|. To compute the new
|
||||
|
@ -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
|
||||
@ -40,6 +40,7 @@ achieve special effects. These options come in three forms:
|
||||
|
||||
:se[t] no{option} Toggle option: Reset, switch it off.
|
||||
|
||||
*:set-!* *:set-inv*
|
||||
:se[t] {option}! or
|
||||
: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)
|
||||
global
|
||||
{not in Vi}
|
||||
{only available when compiled with the
|
||||
|+netbeans_intg| or |+sun_workshop| feature}
|
||||
{only available when compiled with it, use
|
||||
exists("+autochdir") to check}
|
||||
When on, Vim will change the current working directory whenever you
|
||||
open a file, switch buffers, delete a buffer or open/close a window.
|
||||
It will change to the directory containing the file which was opened
|
||||
@ -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
|
||||
"tcsh" after initializations, the default becomes "|& tee". If the
|
||||
'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"
|
||||
and the other initializations, so that when the 'shell' option is set
|
||||
there, the 'shellpipe' option changes automatically, unless it was
|
||||
|
@ -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.
|
||||
@ -6,7 +6,7 @@
|
||||
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
|
||||
(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
|
||||
or without modifications, provided that this copyright notice is
|
||||
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.
|
||||
|
||||
|
||||
*dav* *ftp* *netrw-file* *Nread* *rcp* *scp*
|
||||
*davs* *http* *netrw.vim* *Nsource* *rsync* *sftp*
|
||||
*fetch* *netrw* *network* *Nwrite*
|
||||
*dav* *ftp* *netrw-file* *rcp* *scp*
|
||||
*davs* *http* *netrw.vim* *rsync* *sftp*
|
||||
*fetch* *netrw* *network*
|
||||
|
||||
==============================================================================
|
||||
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
|
||||
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
|
||||
you need to avoid loading both the plugin and the autoload portions of netrw.
|
||||
@ -169,7 +169,7 @@ You may do so by placing the following two lines in your <.vimrc>: >
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
3. Netrw Reference *netrw-ref* {{{1
|
||||
3. Netrw Reference *netrw-ref* {{{1
|
||||
|
||||
Netrw supports several protocols in addition to scp and ftp as mentioned
|
||||
in |netrw-start|. These include dav, fetch, http,... well, just look
|
||||
@ -642,18 +642,22 @@ Nread as shown in |netrw-transparent| (ie. simply use >
|
||||
instead, as appropriate) -- see |netrw-urls|. In the explanations
|
||||
below, a {netfile} is an url to a remote file.
|
||||
|
||||
*:Nwrite* *:Nw*
|
||||
:[range]Nw[rite] Write the specified lines to the current
|
||||
file as specified in b:netrw_lastfile.
|
||||
(related: |netrw-nwrite|)
|
||||
|
||||
:[range]Nw[rite] {netfile} [{netfile}]...
|
||||
Write the specified lines to the {netfile}.
|
||||
|
||||
*:Nread* *:Nr*
|
||||
: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}...
|
||||
Read the {netfile} after the current line.
|
||||
|
||||
*:Nsource* *:Ns*
|
||||
:Ns[ource] {netfile}
|
||||
Source the {netfile}.
|
||||
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
|
||||
--cmd "runtime plugin/netrwPlugin.vim"
|
||||
--cmd "source scp://HOSTNAME/.vimrc"
|
||||
< *netrw-uidpass*
|
||||
:call NetUserPass()
|
||||
< (related: |netrw-source|)
|
||||
|
||||
:call NetUserPass() *NetUserPass()*
|
||||
If g:netrw_uid and s:netrw_passwd don't exist,
|
||||
this function will query the user for them.
|
||||
(related: |netrw-userpass|)
|
||||
|
||||
:call NetUserPass("userid")
|
||||
This call will set the g:netrw_uid and, if
|
||||
the password doesn't exist, will query the user for it.
|
||||
(related: |netrw-userpass|)
|
||||
|
||||
:call NetUserPass("userid","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
|
||||
effectively remove the user-id and password by using empty
|
||||
strings (ie. "").
|
||||
(related: |netrw-userpass|)
|
||||
|
||||
:NetrwSettings This command is described in |netrw-settings| -- used to
|
||||
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
|
||||
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|)
|
||||
|
||||
>
|
||||
|
||||
-------------
|
||||
Netrw Options
|
||||
-------------
|
||||
@ -1025,6 +1031,8 @@ QUICK REFERENCE: MAPS *netrw-browse-maps* {{{2
|
||||
to the netrw browser window. See |g:netrw_retmap|.
|
||||
<s-leftmouse> (gvim only) like mf, will mark files
|
||||
|
||||
(to disable mouse buttons while browsing: |g:netrw_mousemaps|)
|
||||
|
||||
*netrw-quickcom* *netrw-quickcoms*
|
||||
QUICK REFERENCE: COMMANDS *netrw-explore-cmds* *netrw-browse-cmds* {{{2
|
||||
:NetrwClean[!] ...........................................|netrw-clean|
|
||||
@ -1202,7 +1210,7 @@ Related Topics:
|
||||
|netrw-qb| how to list bookmarks
|
||||
|
||||
|
||||
CHANGING TO A PREDECESSOR DIRECTORY *netrw-u* *netrw-updir* {{{2
|
||||
CHANGING TO A PREDECESSOR DIRECTORY *netrw-u* *netrw-updir* {{{2
|
||||
|
||||
Every time you change to a new directory (new for the current session),
|
||||
netrw will save the directory in a recently-visited directory history
|
||||
@ -2022,7 +2030,8 @@ your browsing preferences. (see also: |netrw-settings|)
|
||||
unix or g:netrw_cygwin set: : "ls -tlF"
|
||||
otherwise "dir"
|
||||
|
||||
*g:netrw_glob_escape* ='[]*?`{~$'
|
||||
*g:netrw_glob_escape* ='[]*?`{~$' (unix)
|
||||
='[]*?`{$' (windows
|
||||
These characters in directory names are
|
||||
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
|
||||
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
|
||||
|
||||
@ -2597,6 +2618,29 @@ Associated setting variables: |g:netrw_chgwin|
|
||||
Multibyte encodings use two (or more) bytes per character.
|
||||
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
|
||||
|
||||
@ -2651,6 +2695,35 @@ which is loaded automatically at startup (assuming :set nocp).
|
||||
==============================================================================
|
||||
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
|
||||
of function references
|
||||
Jan 14, 2009 * (reported by Marvin Renich) with spell check
|
||||
|
@ -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
|
||||
@ -156,6 +156,22 @@ PREVENTING LOADING
|
||||
let g:loaded_vimballPlugin= 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
|
||||
|
@ -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 |
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
|
||||
(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,
|
||||
with or without modifications, provided that this copyright
|
||||
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
|
||||
file; by default: >
|
||||
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
|
||||
<
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
|
@ -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
|
||||
@ -53,7 +53,7 @@ disappears again. The color of the column is set with the SignColumn group
|
||||
==============================================================================
|
||||
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: >
|
||||
:sign define piet text=>> texthl=Search
|
||||
:exe ":sign place 2 line=23 name=piet file=" . expand("%:p")
|
||||
|
@ -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
|
||||
@ -468,8 +468,11 @@ Vim uses a binary file format for spelling. This greatly speeds up loading
|
||||
the word list and keeps it small.
|
||||
*.aff* *.dic* *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
|
||||
find them here:
|
||||
uses. Myspell is used by OpenOffice.org and Mozilla. The OpenOffice .oxt
|
||||
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
|
||||
You can also use a plain word list. The results are the same, the choice
|
||||
depends on what word lists you can find.
|
||||
|
@ -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
|
||||
@ -3871,13 +3871,19 @@ This will open a new window containing all highlight group names, displayed
|
||||
in their own color.
|
||||
|
||||
*: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'
|
||||
for the file "colors/{name}.vim. The first one that
|
||||
is found is loaded.
|
||||
To see the name of the currently active color scheme: >
|
||||
:echo g:colors_name
|
||||
< When using the default colors you will get an E121
|
||||
error.
|
||||
:colo
|
||||
< The name is also stored in the g:colors_name variable.
|
||||
Doesn't work recursively, thus you can't use
|
||||
":colorscheme" in a color scheme script.
|
||||
After the color scheme has been loaded the
|
||||
|
@ -1767,6 +1767,12 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
:Nexplore pi_netrw.txt /*:Nexplore*
|
||||
:Next editing.txt /*:Next*
|
||||
: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*
|
||||
:Pexplore pi_netrw.txt /*:Pexplore*
|
||||
:Print various.txt /*:Print*
|
||||
@ -2614,6 +2620,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
:search-args tagsrch.txt /*:search-args*
|
||||
:set options.txt /*:set*
|
||||
:set+= options.txt /*:set+=*
|
||||
:set-! options.txt /*:set-!*
|
||||
:set-& options.txt /*:set-&*
|
||||
:set-&vi options.txt /*:set-&vi*
|
||||
:set-&vim options.txt /*:set-&vim*
|
||||
@ -2621,6 +2628,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
:set-args options.txt /*:set-args*
|
||||
:set-browse options.txt /*:set-browse*
|
||||
:set-default options.txt /*:set-default*
|
||||
:set-inv options.txt /*:set-inv*
|
||||
:set-termcap options.txt /*:set-termcap*
|
||||
:set-verbose options.txt /*:set-verbose*
|
||||
:set^= options.txt /*:set^=*
|
||||
@ -4235,13 +4243,11 @@ N: cmdline.txt /*N:*
|
||||
N<Del> various.txt /*N<Del>*
|
||||
NL-used-for-Nul pattern.txt /*NL-used-for-Nul*
|
||||
NetBSD-backspace options.txt /*NetBSD-backspace*
|
||||
NetUserPass() pi_netrw.txt /*NetUserPass()*
|
||||
Normal intro.txt /*Normal*
|
||||
Normal-mode intro.txt /*Normal-mode*
|
||||
Nread pi_netrw.txt /*Nread*
|
||||
Nsource pi_netrw.txt /*Nsource*
|
||||
Number eval.txt /*Number*
|
||||
Nvi intro.txt /*Nvi*
|
||||
Nwrite pi_netrw.txt /*Nwrite*
|
||||
O insert.txt /*O*
|
||||
OS/2 os_os2.txt /*OS\/2*
|
||||
OS2 os_os2.txt /*OS2*
|
||||
@ -6620,6 +6626,7 @@ netrw-mx pi_netrw.txt /*netrw-mx*
|
||||
netrw-mz pi_netrw.txt /*netrw-mz*
|
||||
netrw-netrc pi_netrw.txt /*netrw-netrc*
|
||||
netrw-nexplore pi_netrw.txt /*netrw-nexplore*
|
||||
netrw-noload pi_netrw.txt /*netrw-noload*
|
||||
netrw-nread pi_netrw.txt /*netrw-nread*
|
||||
netrw-nwrite pi_netrw.txt /*netrw-nwrite*
|
||||
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-p11 pi_netrw.txt /*netrw-p11*
|
||||
netrw-p12 pi_netrw.txt /*netrw-p12*
|
||||
netrw-p13 pi_netrw.txt /*netrw-p13*
|
||||
netrw-p2 pi_netrw.txt /*netrw-p2*
|
||||
netrw-p3 pi_netrw.txt /*netrw-p3*
|
||||
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-transparent pi_netrw.txt /*netrw-transparent*
|
||||
netrw-u pi_netrw.txt /*netrw-u*
|
||||
netrw-uidpass pi_netrw.txt /*netrw-uidpass*
|
||||
netrw-updir pi_netrw.txt /*netrw-updir*
|
||||
netrw-urls pi_netrw.txt /*netrw-urls*
|
||||
netrw-userpass pi_netrw.txt /*netrw-userpass*
|
||||
@ -6792,6 +6799,7 @@ object-select motion.txt /*object-select*
|
||||
objects index.txt /*objects*
|
||||
obtaining-exted netbeans.txt /*obtaining-exted*
|
||||
ocaml.vim syntax.txt /*ocaml.vim*
|
||||
octal eval.txt /*octal*
|
||||
oldfiles-variable eval.txt /*oldfiles-variable*
|
||||
ole-activation if_ole.txt /*ole-activation*
|
||||
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-intro pi_vimball.txt /*vimball-intro*
|
||||
vimball-manual pi_vimball.txt /*vimball-manual*
|
||||
vimball-windows pi_vimball.txt /*vimball-windows*
|
||||
vimdev intro.txt /*vimdev*
|
||||
vimdiff diff.txt /*vimdiff*
|
||||
vimfiles options.txt /*vimfiles*
|
||||
|
@ -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
|
||||
@ -30,20 +30,59 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
||||
*known-bugs*
|
||||
-------------------- Known bugs and current work -----------------------
|
||||
|
||||
":s" summary in :folddo is not correct. (Jean Johner, 2010 Feb 20)
|
||||
Patch from Lech Lorens, 2010 Mar 13.
|
||||
Cursor positioning wrong with 0x200e character. (John Becket, 2010 May 6)
|
||||
|
||||
Vim tries to set the background or foreground color in a terminal to -1.
|
||||
(Graywh) Appears to happen with ":hi Normal ctermbg=NONE".
|
||||
Possible solution from Matt Wozniski, 2010 Mar 17.
|
||||
E315 when trying to change a file in FileChangedRO autocommand event.
|
||||
(Dominique Pelle, 2010 Apr 30)
|
||||
|
||||
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)
|
||||
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.
|
||||
Also, Vim in xterm sometimes loses copy/paste ability (probably after running
|
||||
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
|
||||
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
|
||||
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
|
||||
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.
|
||||
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.
|
||||
|
||||
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)
|
||||
|
||||
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
|
||||
reliable. (Lech Lorens, 2009 Nov 9) Enable with an option?
|
||||
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:
|
||||
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
|
||||
string value.
|
||||
|
||||
There is no command line completion for ":lmap".
|
||||
|
||||
Reproducible crash in syntax HL. (George Reilly, Dominique Pelle, 2009 May 9)
|
||||
|
||||
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
|
||||
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".
|
||||
(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)
|
||||
|
||||
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
|
||||
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
|
||||
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.
|
||||
(Pankaj Garg, 2009 Apr 14, aka Lone, Apr 15)
|
||||
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.
|
||||
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.
|
||||
|
||||
":tab split fname" doesn't set the alternate file in the original window,
|
||||
because win_valid() always returns FALSE. Below win_new_tabpage() in
|
||||
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.
|
||||
|
||||
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
|
||||
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)
|
||||
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
|
||||
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
|
||||
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)
|
||||
Includes changes for omnicompletion.
|
||||
Needs to be tested.
|
||||
Update 2010 Apr 20
|
||||
|
||||
8 Some file systems are case-sensitive, some are not. Turn
|
||||
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>?
|
||||
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,
|
||||
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
|
||||
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
|
||||
with %nn%nn, which is taken as two characters instead of one.
|
||||
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()
|
||||
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
|
||||
Ebersbach, 2008 Feb 1)
|
||||
|
||||
@ -1126,20 +1148,50 @@ Patch for adding "J" flag to 'cinoptions': placement of jump label.
|
||||
Vim 7.3:
|
||||
- Use latest autoconf (2.65)
|
||||
- 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.
|
||||
- Create Mercurial repository.
|
||||
- Easier/standard way to disable default plugins.
|
||||
- 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
|
||||
Kocher (LGPL), close to original. Mohsin also has some ideas.
|
||||
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.
|
||||
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.
|
||||
You can already yank lines and use :@" to execute them.
|
||||
Most of do_source() would not be used, need a new function.
|
||||
It's easy when not doing breakpoints or profiling.
|
||||
- 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:
|
||||
@ -2161,6 +2213,7 @@ Most interesting new features to be added when all bugs have been fixed:
|
||||
http://vimshell.wana.at
|
||||
- Add Lua interface? (Wolfgang Oertl) patch by Luis Carvalho, 2008 Sep 5
|
||||
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
|
||||
values for the optional fields. E.g., ":tag size type=m".
|
||||
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
|
||||
things are unrelated for the user (but the implementation is more
|
||||
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
|
||||
user can define the action taking (autowrite, dialog, fail) based on the
|
||||
kind of file. (Yakov Lerner) Or is BufLeave sufficient?
|
||||
@ -3964,13 +4015,6 @@ Undo:
|
||||
storing the differences.
|
||||
8 Search for pattern in undo tree, showing when it happened and the text
|
||||
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
|
||||
trailing unfinished command, e.g. for ":map K iX^[r".
|
||||
- When accidentally hitting "R" instead of Ctrl-R, further Ctrl-R is not
|
||||
|
@ -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
|
||||
|
||||
@ -40,7 +40,7 @@ matches.)
|
||||
|
||||
: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: >
|
||||
|
||||
:set ignorecase smartcase
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
@ -56,6 +56,11 @@ Changed |changed-7.2|
|
||||
Added |added-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*
|
||||
|
||||
@ -7142,5 +7147,34 @@ Pelle)
|
||||
|
||||
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:
|
||||
|
@ -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
|
||||
@ -467,11 +467,11 @@ CTRL-W = Make all windows (almost) equally high and wide, but use
|
||||
|
||||
:res[ize] -N *:res* *:resize* *CTRL-W_-*
|
||||
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_+*
|
||||
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]
|
||||
CTRL-W CTRL-_ *CTRL-W_CTRL-_* *CTRL-W__*
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim support file to detect file types
|
||||
"
|
||||
" 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
|
||||
if exists("did_load_filetypes")
|
||||
@ -324,6 +324,9 @@ au BufNewFile,BufRead */.calendar/*,
|
||||
" C#
|
||||
au BufNewFile,BufRead *.cs setf cs
|
||||
|
||||
" Cabal
|
||||
au BufNewFile,BufRead *.cabal setf cabal
|
||||
|
||||
" Cdrdao TOC
|
||||
au BufNewFile,BufRead *.toc setf cdrtoc
|
||||
|
||||
@ -333,6 +336,9 @@ au BufNewFile,BufRead etc/cdrdao.conf,etc/defaults/cdrdao,etc/default/cdrdao,~/.
|
||||
" Cfengine
|
||||
au BufNewFile,BufRead cfengine.conf setf cfengine
|
||||
|
||||
" ChaiScript
|
||||
au BufRead,BufNewFile *.chai setf chaiscript
|
||||
|
||||
" Comshare Dimension Definition Language
|
||||
au BufNewFile,BufRead *.cdl setf cdl
|
||||
|
||||
@ -764,7 +770,7 @@ au BufNewFile,BufRead *.haml setf haml
|
||||
au BufNewFile,BufRead *.hsc,*.hsm setf hamster
|
||||
|
||||
" Haskell
|
||||
au BufNewFile,BufRead *.hs setf haskell
|
||||
au BufNewFile,BufRead *.hs,*.hs-boot setf haskell
|
||||
au BufNewFile,BufRead *.lhs setf lhaskell
|
||||
au BufNewFile,BufRead *.chs setf chaskell
|
||||
|
||||
@ -1381,6 +1387,10 @@ au BufNewFile,BufRead *.g setf pccts
|
||||
" PPWizard
|
||||
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++
|
||||
au BufNewFile,BufRead *.pc setf proc
|
||||
|
||||
@ -1938,6 +1948,9 @@ au BufNewFile,BufRead *.sdc setf sdc
|
||||
" 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
|
||||
" almost certainly a Perl test file.
|
||||
" If the first line starts with '#' and contains 'perl' it's probably a Perl
|
||||
|
@ -1,14 +1,14 @@
|
||||
" Vim filetype plugin file (GUI menu, folding and completion)
|
||||
" Language: Debian Changelog
|
||||
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
||||
" Former Maintainers: Michael Piefel <piefel@informatik.hu-berlin.de>
|
||||
" Stefano Zacchiroli <zack@debian.org>
|
||||
" Last Change: 2008-03-08
|
||||
" 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
|
||||
" Language: Debian Changelog
|
||||
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
||||
" Former Maintainers: Michael Piefel <piefel@informatik.hu-berlin.de>
|
||||
" Stefano Zacchiroli <zack@debian.org>
|
||||
" Last Change: 2010-04-29
|
||||
" License: GNU GPL, version 2.0 or later
|
||||
" 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
|
||||
" python-launchpad-bugs installed for Ubuntu packages
|
||||
" python-launchpadlib installed for Ubuntu packages
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
@ -329,17 +329,26 @@ fun! DebCompleteBugs(findstart, base)
|
||||
python << EOF
|
||||
import vim
|
||||
try:
|
||||
from launchpadbugs import connector
|
||||
buglist = connector.ConnectBugList()
|
||||
bl = list(buglist('https://bugs.launchpad.net/ubuntu/+source/%s' % vim.eval('pkgsrc')))
|
||||
bl.sort(None, int)
|
||||
liststr = '['
|
||||
for bug in bl:
|
||||
liststr += "'#%d - %s'," % (int(bug), bug.summary.replace('\'', '\'\''))
|
||||
liststr += ']'
|
||||
vim.command('silent let bug_lines = %s' % liststr)
|
||||
from launchpadlib.launchpad import Launchpad
|
||||
from lazr.restfulclient.errors import HTTPError
|
||||
# login anonymously
|
||||
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 = '['
|
||||
for task in tasklist:
|
||||
bug = task.bug
|
||||
liststr += "'#%d - %s'," % (bug.id, bug.title.replace('\'', '\'\''))
|
||||
liststr += ']'
|
||||
vim.command('silent let bug_lines = %s' % liststr.encode('utf-8'))
|
||||
except HTTPError:
|
||||
pass
|
||||
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
|
||||
else
|
||||
if ! filereadable('/usr/sbin/apt-listbugs')
|
||||
|
@ -1,9 +1,9 @@
|
||||
" Vim filetype plugin file (GUI menu and folding)
|
||||
" Language: Debian control files
|
||||
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
||||
" Former Maintainer: Pierre Habouzit <madcoder@debian.org>
|
||||
" 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
|
||||
" Language: Debian control files
|
||||
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
||||
" Former Maintainer: Pierre Habouzit <madcoder@debian.org>
|
||||
" Last Change: 2008-03-08
|
||||
" URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/tip/runtime/ftplugin/debcontrol.vim
|
||||
|
||||
" Do these settings once per buffer
|
||||
if exists("b:did_ftplugin")
|
||||
|
50
runtime/indent/chaiscript.vim
Normal file
50
runtime/indent/chaiscript.vim
Normal 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
136
runtime/indent/perl6.vim
Normal 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
|
@ -1,14 +1,14 @@
|
||||
" 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
|
||||
" 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.
|
||||
|
||||
" Maintainer: Boyko Bantchev <boykobb@gmail.com>
|
||||
" 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
|
||||
" keyboard layout (BDS, БДС).
|
||||
" keyboard layout, or "БДС".
|
||||
"
|
||||
" Note that, in addition to the Bulgarian alphabet, the BDS layout prescribes
|
||||
" the presence of the following characters:
|
||||
@ -17,7 +17,7 @@
|
||||
" without having to leave Cyrillic mode.
|
||||
"
|
||||
" 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.
|
||||
"
|
||||
" In this keymap, also defined (besides BDS) are:
|
||||
@ -28,12 +28,16 @@
|
||||
" — The quotation marks „ “ ” ‘ ’ (used in the Bulgarian and English
|
||||
" quotation styles), as well as « » (Russian quotation style).
|
||||
" — 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
|
||||
" 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
|
||||
|
||||
@ -139,21 +143,13 @@ q , COMMA
|
||||
~~ ¬ NOT SIGN
|
||||
@@ ¤ CURRENCY SIGN
|
||||
$$ € EURO SIGN
|
||||
%% ‰ PER MILLE SIGN
|
||||
+| † DAGGER
|
||||
++ ‡ DOUBLE DAGGER
|
||||
|| ¶ PILCROW SIGN
|
||||
|
||||
" accented vowels cannot map onto cp1251 – use utf-8 file encoding
|
||||
`D А̀ CYRILLIC CAPITAL LETTER A + GRAVE ACCENT (COMPOSED)
|
||||
`d а̀ CYRILLIC SMALL LETTER A + GRAVE ACCENT (COMPOSED)
|
||||
`E Ѐ CYRILLIC CAPITAL LETTER IE + GRAVE ACCENT (COMPOSED)
|
||||
`e ѐ CYRILLIC SMALL LETTER IE + GRAVE ACCENT (COMPOSED)
|
||||
`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)
|
||||
" Accented characters cannot map onto cp1251 – use utf-8 file encoding.
|
||||
" To apply an accent to a letter, type the corresponding key combination
|
||||
" to the immediate right of that letter.
|
||||
^` <char-0x300> COMBINING GRAVE ACCENT
|
||||
^' <char-0x301> COMBINING ACUTE ACCENT
|
||||
|
@ -5,15 +5,13 @@
|
||||
|
||||
" Maintainer: Boyko Bantchev <boykobb@gmail.com>
|
||||
" URI: http://www.math.bas.bg/bantchev/vim/bulgarian-phonetic.vim
|
||||
" Last Changed: 2008 June 28
|
||||
|
||||
" For a rationale for the layout and additional info on typing in Bulgarian
|
||||
" using Unicode Cyrillic please see:
|
||||
" Last Changed: 2010 May 4
|
||||
|
||||
" This keymap corresponds to what is called "phonetic layout" in Bulgaria:
|
||||
" Cyrillic letters tend to be mapped to their Latin homophones, if present.
|
||||
" Most keys corresponding to punctuation characters are left unmapped, so
|
||||
" they retain their usual (qwerty) meanings in Cyrillic typing.
|
||||
" Cyrillic letters tend to be mapped to their Latin homophones wherever
|
||||
" there are ones. Most keys corresponding to punctuation characters are
|
||||
" left unmapped, so they retain their usual (QWERTY) meanings when typing
|
||||
" Cyrillic.
|
||||
"
|
||||
" In addition to the Bulgarian alphabet, the keymap makes accessible the
|
||||
" following characters:
|
||||
@ -24,12 +22,16 @@
|
||||
" — The quotation marks „ “ ” ‘ ’ (used in the Bulgarian and English
|
||||
" quotation styles), as well as « » (Russian quotation style).
|
||||
" — 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
|
||||
" 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
|
||||
|
||||
@ -121,21 +123,13 @@ q я CYRILLIC SMALL LETTER YA
|
||||
~~ ¬ NOT SIGN
|
||||
@@ ¤ CURRENCY SIGN
|
||||
$$ € EURO SIGN
|
||||
%% ‰ PER MILLE SIGN
|
||||
+| † DAGGER
|
||||
++ ‡ DOUBLE DAGGER
|
||||
|| ¶ PILCROW SIGN
|
||||
|
||||
" accented vowels cannot map onto cp1251 – use utf-8 file encoding
|
||||
'A А̀ CYRILLIC CAPITAL LETTER A + GRAVE ACCENT (COMPOSED)
|
||||
'a а̀ CYRILLIC SMALL LETTER A + GRAVE ACCENT (COMPOSED)
|
||||
'E Ѐ CYRILLIC CAPITAL LETTER IE + GRAVE ACCENT (COMPOSED)
|
||||
'e ѐ CYRILLIC SMALL LETTER IE + GRAVE ACCENT (COMPOSED)
|
||||
'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)
|
||||
" Accented characters cannot map onto cp1251 – use utf-8 file encoding.
|
||||
" To apply an accent to a letter, type the corresponding key combination
|
||||
" to the immediate right of that letter.
|
||||
^` <char-0x300> COMBINING GRAVE ACCENT
|
||||
^' <char-0x301> COMBINING ACUTE ACCENT
|
||||
|
@ -1,3 +1,3 @@
|
||||
" Menu Translations: Serbian
|
||||
|
||||
source <sfile>:p:h/menu_sr_yu.utf-8.vim
|
||||
source <sfile>:p:h/menu_sr_rs.utf-8.vim
|
||||
|
258
runtime/lang/menu_sr_rs.ascii.vim
Normal file
258
runtime/lang/menu_sr_rs.ascii.vim
Normal 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<ernativni
|
||||
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]"
|
259
runtime/lang/menu_sr_rs.iso_8859-2.vim
Normal file
259
runtime/lang/menu_sr_rs.iso_8859-2.vim
Normal 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&<26>
|
||||
menutrans &Overview<Tab><F1> &Pregled<Tab><F1>
|
||||
menutrans &User\ Manual &Uputstvo\ za\ korisnike
|
||||
menutrans &How-to\ links &Kako\ da\.\.\.
|
||||
menutrans &Find &Na<EFBFBD>i
|
||||
menutrans &Credits &Zasluge
|
||||
menutrans Co&pying P&reuzimanje
|
||||
menutrans O&rphans &Siro<EFBFBD>i<EFBFBD>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<EFBFBD>uvaj<Tab>:w
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav Sa<EFBFBD>uvaj\ &kao\.\.\.<Tab>:sav
|
||||
menutrans Split\ &Diff\ with\.\.\. Podeli\ i\ &uporedi\ sa\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. Po&deli\ i\ prepravi\ sa\.\.\.
|
||||
menutrans &Print <20>ta&mpaj
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Sa<EFBFBD>uvaj\ i\ za&vr<EFBFBD>i<Tab>:wqa
|
||||
menutrans E&xit<Tab>:qa K&raj<Tab>:qa
|
||||
|
||||
" Edit menu
|
||||
menutrans &Edit &Ure<EFBFBD>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<EFBFBD>i<Tab>x
|
||||
menutrans &Select\ all<Tab>ggVG Izaberi\ sv&e<Tab>ggVG
|
||||
menutrans &Find\.\.\. &Na<EFBFBD>i\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\. Na<EFBFBD>i\ i\ &zameni\.\.\.
|
||||
menutrans Settings\ &Window P&rozor\ pode<EFBFBD>avanja
|
||||
menutrans &Global\ Settings Op&<26>ta\ pode<EFBFBD>avanja
|
||||
menutrans F&ile\ Settings Pode<EFBFBD>avanja\ za\ da&toteke
|
||||
menutrans &Shiftwidth &Pomeraj
|
||||
menutrans Soft\ &Tabstop &Meka\ tabulacija
|
||||
menutrans Te&xt\ Width\.\.\. &<26>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<EFBFBD>inu\ &slova\ (da/ne)<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Proveri\ prate<EFBFBD>u\ &zagradu\ (da/ne)<Tab>:set\ sm!
|
||||
menutrans &Context\ lines Vidljivi\ &redovi
|
||||
menutrans &Virtual\ Edit Virtuelno\ &ure<EFBFBD>ivanje
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Re<EFBFBD>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<EFBFBD>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<EFBFBD>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<EFBFBD>\ (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<EFBFBD>enje\ (da/ne)<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &Ce-uvla<EFBFBD>enje\ (da/ne)<Tab>:set\ cin!
|
||||
|
||||
" Edit/Keymap
|
||||
menutrans None Nijedan
|
||||
|
||||
" Tools menu
|
||||
menutrans &Tools &Alatke
|
||||
menutrans &Jump\ to\ this\ tag<Tab>g^] Sko<EFBFBD>i\ na\ &ovu\ oznaku<Tab>g^]
|
||||
menutrans Jump\ &back<Tab>^T Sko<EFBFBD>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<EFBFBD>i\ podvijutak<Tab>zd
|
||||
menutrans Delete\ &All\ Folds<Tab>zD Obri<EFBFBD>i\ sve\ po&dvijutke<Tab>zD
|
||||
menutrans Fold\ column\ &width <20>irina\ &reda\ podvijutka
|
||||
menutrans &Diff &Upore<EFBFBD>ivanje
|
||||
menutrans &Make<Tab>:make 'mak&e'<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl Spisak\ &gre<EFBFBD>aka<Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! Sp&isak\ poruka<Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn S&lede<EFBFBD>a\ gre<EFBFBD>ka<Tab>:cn
|
||||
menutrans &Previous\ Error<Tab>:cp Pre&thodna\ gre<EFBFBD>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<EFBFBD>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<67>i/prekini\ podvijanje<Tab>zi
|
||||
menutrans &View\ Cursor\ Line<Tab>zv &Poka<EFBFBD>i\ red\ sa\ kursorom<Tab>zv
|
||||
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Poka<EFBFBD>i\ &samo\ red\ sa\ kursorom<Tab>zMzx
|
||||
menutrans C&lose\ more\ folds<Tab>zm &Zatvori\ vi<EFBFBD>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<EFBFBD>&e\ podvijutaka<Tab>zr
|
||||
menutrans &Open\ all\ folds<Tab>zR O&tvori\ sve\ podvijutke<Tab>zR
|
||||
menutrans Fold\ Met&hod &Na<EFBFBD>in\ podvijanja
|
||||
|
||||
" Tools/Folding/Fold Method
|
||||
menutrans M&anual &Ru<EFBFBD>no
|
||||
menutrans I&ndent &Uvu<EFBFBD>enost
|
||||
menutrans E&xpression &Izraz
|
||||
menutrans S&yntax &Sintaksa
|
||||
"menutrans &Diff
|
||||
menutrans Ma&rker &Oznaka
|
||||
|
||||
" Tools/Diff
|
||||
menutrans &Update &A<EFBFBD>uriraj
|
||||
menutrans &Get\ Block &Prihvati\ izmenu
|
||||
menutrans &Put\ Block Pre&baci\ izmenu
|
||||
|
||||
" Tools/Error Window
|
||||
menutrans &Update<Tab>:cwin &A<EFBFBD>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<EFBFBD>uriraj
|
||||
menutrans Delete &Obri<EFBFBD>i
|
||||
menutrans &Alternate A<ernativni
|
||||
menutrans &Next &Slede<EFBFBD>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<64>i<Tab>^Ww
|
||||
"menutrans P&revious<Tab>^WW P&rethodni<Tab>^WW
|
||||
menutrans Move\ &To Pre&mesti
|
||||
menutrans Rotate\ &Up<Tab>^WR &Kru<EFBFBD>no\ nagore<Tab>^WR
|
||||
menutrans Rotate\ &Down<Tab>^Wr Kru<EFBFBD>no\ nadol&e<Tab>^Wr
|
||||
menutrans &Equal\ Size<Tab>^W= &Iste\ veli<EFBFBD>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\ &<26>irina<Tab>^W\|
|
||||
menutrans Min\ Widt&h<Tab>^W1\| Minimalna\ <20>i&rina<Tab>^W1\|
|
||||
|
||||
" Window/Move To
|
||||
menutrans &Top<Tab>^WK &Vrh<Tab>^WK
|
||||
menutrans &Bottom<Tab>^WJ &Podno<EFBFBD>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<EFBFBD>i
|
||||
menutrans Select\ Blockwise Biraj\ &pravougaono
|
||||
menutrans Select\ &Word Izaberi\ &re<EFBFBD>
|
||||
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<EFBFBD>itaj
|
||||
tmenu ToolBar.Save Sa<EFBFBD>uvaj
|
||||
tmenu ToolBar.SaveAll Sa<EFBFBD>uvaj sve
|
||||
tmenu ToolBar.Print <20>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<EFBFBD>i
|
||||
tmenu ToolBar.FindNext Na<EFBFBD>i slede<EFBFBD>i
|
||||
tmenu ToolBar.FindPrev Na<EFBFBD>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 <20>irina
|
||||
tmenu ToolBar.WinMinWidth Minimalna <20>irina
|
||||
tmenu ToolBar.WinClose Zatvori prozor
|
||||
tmenu ToolBar.LoadSesn U<EFBFBD>itaj seansu
|
||||
tmenu ToolBar.SaveSesn Sa<EFBFBD>uvaj seansu
|
||||
tmenu ToolBar.RunScript Izvr<EFBFBD>i spis
|
||||
tmenu ToolBar.Make 'make'
|
||||
tmenu ToolBar.Shell Operativno okru<EFBFBD>enje
|
||||
tmenu ToolBar.RunCtags Napravi oznake
|
||||
tmenu ToolBar.TagJump Idi na oznaku
|
||||
tmenu ToolBar.Help Pomo<EFBFBD>
|
||||
tmenu ToolBar.FindHelp Na<EFBFBD>i obja<EFBFBD>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<EFBFBD>e
|
||||
menutrans &Off &Isklju<EFBFBD>eno
|
||||
menutrans &Manual &Ru<EFBFBD>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<72> <20>ije poja<6A>njenje tra<72>ite:\n\nDodajte i_ za naredbe unosa (npr. i_CTRL-X)\nDodajte c_ za naredbe komandnog re<72>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 <20>irinu teksta (0 spre<72>ava prelom)"
|
||||
|
||||
let g:menutrans_fileformat_dialog = "Izaberite vrstu datoteke"
|
||||
|
||||
let menutrans_no_file = "[Nema datoteke]"
|
259
runtime/lang/menu_sr_rs.iso_8859-5.vim
Normal file
259
runtime/lang/menu_sr_rs.iso_8859-5.vim
Normal 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 <20><><EFBFBD><EFBFBD>&<26>
|
||||
menutrans &Overview<Tab><F1> &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab><F1>
|
||||
menutrans &User\ Manual &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &How-to\ links &<26><><EFBFBD><EFBFBD>\ <20><>\.\.\.
|
||||
menutrans &Find &<26><><EFBFBD><EFBFBD>
|
||||
menutrans &Credits &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Co&pying <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans O&rphans &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Version &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &About &<26>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
" File menu
|
||||
menutrans &File &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Open\.\.\.<Tab>:e &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.<Tab>:e
|
||||
menutrans Sp&lit-Open\.\.\.<Tab>:sp &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.<Tab>:sp
|
||||
menutrans &New<Tab>:enew &<26><><EFBFBD><EFBFBD><Tab>:enew
|
||||
menutrans &Close<Tab>:close &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:close
|
||||
menutrans &Save<Tab>:w &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:w
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD>\.\.\.<Tab>:sav
|
||||
menutrans Split\ &Diff\ with\.\.\. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. <20><>&<26><><EFBFBD><EFBFBD>\ <20>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\.\.\.
|
||||
menutrans &Print <20><><EFBFBD>&<26><><EFBFBD><EFBFBD>
|
||||
menutrans Sa&ve-Exit<Tab>:wqa <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20>\ <20><>&<26><><EFBFBD><EFBFBD><Tab>:wqa
|
||||
menutrans E&xit<Tab>:qa <20>&<26><><EFBFBD><Tab>:qa
|
||||
|
||||
" Edit menu
|
||||
menutrans &Edit &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Undo<Tab>u &<26><><EFBFBD><EFBFBD><EFBFBD><Tab>u
|
||||
menutrans &Redo<Tab>^R &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^R
|
||||
menutrans Rep&eat<Tab>\. <20>&<26><><EFBFBD><EFBFBD><EFBFBD><Tab>\.
|
||||
menutrans Cu&t<Tab>"+x <20><><EFBFBD>&<26><><Tab>"+x
|
||||
menutrans &Copy<Tab>"+y &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>"+y
|
||||
menutrans &Paste<Tab>"+gP &<26><><EFBFBD><EFBFBD><EFBFBD><Tab>"+gP
|
||||
menutrans &Paste<Tab>"+P &<26><><EFBFBD><EFBFBD><EFBFBD><Tab>"+gP
|
||||
menutrans Put\ &Before<Tab>[p <20><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD>&<26><Tab>[p
|
||||
menutrans Put\ &After<Tab>]p <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><Tab>]p
|
||||
menutrans &Delete<Tab>x <20><>&<26><><EFBFBD><EFBFBD><EFBFBD><Tab>x
|
||||
menutrans &Select\ all<Tab>ggVG <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>&<26><Tab>ggVG
|
||||
menutrans &Find\.\.\. &<26><><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\. <20><><EFBFBD><EFBFBD>\ <20>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans Settings\ &Window <20>&<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Global\ Settings <20><>&<26><><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans F&ile\ Settings <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ <20><>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Shiftwidth &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Soft\ &Tabstop &<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Te&xt\ Width\.\.\. &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans &File\ Format\.\.\. &<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans C&olor\ Scheme <20><>&<26><>
|
||||
menutrans &Keymap <20><><EFBFBD><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Select\ Fo&nt\.\.\. <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
|
||||
" Edit/Global Settings
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ \<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ sm!
|
||||
menutrans &Context\ lines <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Virtual\ Edit <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! <09><><EFBFBD><EFBFBD><EFBFBD>\ <20>&<26><><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! '&Vi'\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans Toggle\ &Toolbar <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)
|
||||
menutrans Toggle\ &Bottom\ Scrollbar <20><><EFBFBD><EFBFBD>\ <20>&<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)
|
||||
menutrans Toggle\ &Left\ Scrollbar &<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)
|
||||
menutrans Toggle\ &Right\ Scrollbar &<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)
|
||||
|
||||
" Edit/Global Settings/Virtual Edit
|
||||
menutrans Never <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Block\ Selection <20><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Insert\ mode <20><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Block\ and\ Insert <20><><EFBFBD><EFBFBD>\ <20>\ <20><><EFBFBD><EFBFBD>
|
||||
menutrans Always <20><><EFBFBD><EFBFBD>
|
||||
|
||||
" Edit/File Settings
|
||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ nu!
|
||||
menutrans Toggle\ &List\ Mode<Tab>:set\ list! <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ list!
|
||||
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><>\ <20><><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ lbr!
|
||||
menutrans Toggle\ &expand-tab<Tab>:set\ et! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ et!
|
||||
menutrans Toggle\ &auto-indent<Tab>:set\ ai! <09><><EFBFBD><EFBFBD>-&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &<26><>-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ cin!
|
||||
|
||||
" Edit/Keymap
|
||||
menutrans None <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
" Tools menu
|
||||
menutrans &Tools &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Jump\ to\ this\ tag<Tab>g^] <20><><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ &<26><><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>g^]
|
||||
menutrans Jump\ &back<Tab>^T <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^T
|
||||
menutrans Build\ &Tags\ File <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Folding &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Create\ &Fold<Tab>zf <20>&<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zf
|
||||
menutrans &Delete\ Fold<Tab>zd <20>&<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zd
|
||||
menutrans Delete\ &All\ Folds<Tab>zD <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD>\ <20><>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zD
|
||||
menutrans Fold\ column\ &width <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Diff &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Make<Tab>:make 'mak&<26>'<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! <20><>&<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cn
|
||||
menutrans &Previous\ Error<Tab>:cp <20><><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cp
|
||||
menutrans &Older\ List<Tab>:cold <20><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD>&<26><Tab>:cold
|
||||
menutrans N&ewer\ List<Tab>:cnew <20><>&<26><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cnew
|
||||
menutrans Error\ &Window <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Set\ Compiler <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20>\ &ŵ<EFBFBD><EFBFBD><Tab>:%!xxd
|
||||
menutrans Conve&rt\ back<Tab>:%!xxd\ -r <20><>&<26><><EFBFBD>\ <20>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><Tab>:%!xxd\ -r
|
||||
|
||||
" Tools/Folding
|
||||
menutrans &Enable/Disable\ folds<Tab>zi &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zi
|
||||
menutrans &View\ Cursor\ Line<Tab>zv &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD>\ <20><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zv
|
||||
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD>\ <20><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zMzx
|
||||
menutrans C&lose\ more\ folds<Tab>zm &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zm
|
||||
menutrans &Close\ all\ folds<Tab>zM <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20>&<26><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zM
|
||||
menutrans O&pen\ more\ folds<Tab>zr <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD>&<26>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zr
|
||||
menutrans &Open\ all\ folds<Tab>zR <20>&<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zR
|
||||
menutrans Fold\ Met&hod &<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
" Tools/Folding/Fold Method
|
||||
menutrans M&anual &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans I&ndent &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans E&xpression &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans S&yntax &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
"menutrans &Diff
|
||||
menutrans Ma&rker &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
" Tools/Diff
|
||||
menutrans &Update &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Get\ Block &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Put\ Block <09><><EFBFBD>&<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
" Tools/Error Window
|
||||
menutrans &Update<Tab>:cwin &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cwin
|
||||
menutrans &Open<Tab>:copen &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:copen
|
||||
menutrans &Close<Tab>:cclose &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cclose
|
||||
|
||||
" Bufers menu
|
||||
menutrans &Buffers &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Refresh\ menu &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Delete &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Alternate <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Next &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Previous &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans [No\ File] [<5B><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]
|
||||
|
||||
" Window menu
|
||||
menutrans &Window &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &New<Tab>^Wn &<26><><EFBFBD><EFBFBD><Tab>^Wn
|
||||
menutrans S&plit<Tab>^Ws &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^Ws
|
||||
menutrans Sp&lit\ To\ #<Tab>^W^^ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^W^^
|
||||
menutrans Split\ &Vertically<Tab>^Wv <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^Wv
|
||||
menutrans Split\ File\ E&xplorer <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Close<Tab>^Wc &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^Wc
|
||||
menutrans Close\ &Other(s)<Tab>^Wo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^Wo
|
||||
"menutrans Ne&xt<Tab>^Ww &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^Ww
|
||||
"menutrans P&revious<Tab>^WW <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^WW
|
||||
menutrans Move\ &To <20><><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Rotate\ &Up<Tab>^WR &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^WR
|
||||
menutrans Rotate\ &Down<Tab>^Wr <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD>&<26><Tab>^Wr
|
||||
menutrans &Equal\ Size<Tab>^W= &<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^W=
|
||||
menutrans &Max\ Height<Tab>^W_ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^W_
|
||||
menutrans M&in\ Height<Tab>^W1_ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>&<26><><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^W1_
|
||||
menutrans Max\ &Width<Tab>^W\| <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^W\|
|
||||
menutrans Min\ Widt&h<Tab>^W1\| <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>&<26><><EFBFBD><EFBFBD><Tab>^W1\|
|
||||
|
||||
" Window/Move To
|
||||
menutrans &Top<Tab>^WK &<26><><EFBFBD><Tab>^WK
|
||||
menutrans &Bottom<Tab>^WJ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^WJ
|
||||
menutrans &Left\ side<Tab>^WH <20>&<26><><EFBFBD><EFBFBD><Tab>^WH
|
||||
menutrans &Right\ side<Tab>^WL <20>&<26><><EFBFBD><EFBFBD><EFBFBD><Tab>^WL
|
||||
|
||||
" The popup menu
|
||||
menutrans &Undo &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Cu&t &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Copy &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Paste &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Delete <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Select\ Blockwise <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Select\ &Word <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD>
|
||||
menutrans Select\ &Line <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20>&<26><>
|
||||
menutrans Select\ &Block <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD>
|
||||
menutrans Select\ &All <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD>
|
||||
|
||||
" The GUI toolbar
|
||||
if has("toolbar")
|
||||
if exists("*Do_toolbar_tmenu")
|
||||
delfun Do_toolbar_tmenu
|
||||
endif
|
||||
fun Do_toolbar_tmenu()
|
||||
tmenu ToolBar.Open <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Save <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.SaveAll <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
|
||||
tmenu ToolBar.Print <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Undo <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Redo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Cut <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Copy <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Paste <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Find <20><><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.FindNext <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.FindPrev <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Replace <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.New <20><><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinSplit <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinMax <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinMin <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinVSplit <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinMaxWidth <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinMinWidth <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinClose <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.LoadSesn <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.SaveSesn <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.RunScript <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Make 'make'
|
||||
tmenu ToolBar.Shell <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.RunCtags <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.TagJump <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Help <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.FindHelp <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
endfun
|
||||
endif
|
||||
|
||||
" Syntax menu
|
||||
menutrans &Syntax &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Show\ filetypes\ in\ menu <20><><EFBFBD><EFBFBD><EFBFBD>\ 'filetype'\ <20><>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Set\ '&syntax'\ only <20><><EFBFBD><EFBFBD>&<26><>\ 'syntax'\ <20><><EFBFBD><EFBFBD>
|
||||
menutrans Set\ '&filetype'\ too <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ 'filetype'\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Off &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Manual &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans A&utomatic &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans on/off\ for\ &This\ file <20><>/<EFBFBD><EFBFBD>\ <20><>\ <20><><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Co&lor\ test <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD>
|
||||
menutrans &Highlight\ test <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD>&<26><><EFBFBD><EFBFBD>
|
||||
menutrans &Convert\ to\ HTML <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26>\ HTML
|
||||
|
||||
" dialog texts
|
||||
let menutrans_help_dialog = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:\n\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> i_ <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>. i_CTRL-X)\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> c_ <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>. <20>_<Del>)\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ' <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>. 'shiftwidth')"
|
||||
|
||||
let g:menutrans_path_dialog = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
|
||||
|
||||
let g:menutrans_tags_dialog = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>."
|
||||
|
||||
let g:menutrans_textwidth_dialog = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (0 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
|
||||
|
||||
let g:menutrans_fileformat_dialog = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
let menutrans_no_file = "[<5B><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]"
|
261
runtime/lang/menu_sr_rs.utf-8.vim
Normal file
261
runtime/lang/menu_sr_rs.utf-8.vim
Normal 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
|
@ -1,258 +1,3 @@
|
||||
" Menu Translations: Serbian
|
||||
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
|
||||
" Last Change: Fri, 30 May 2003 12:15:30 -0400
|
||||
" Menu Translations: Serbian
|
||||
|
||||
" 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<ernativni
|
||||
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]"
|
||||
source <sfile>:p:h/menu_sr_rs.ascii.vim
|
||||
|
@ -1,259 +1,3 @@
|
||||
" Menu Translations: Serbian
|
||||
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
|
||||
" Last Change: Fri, 30 May 2003 12:04:48 -0400
|
||||
" Menu Translations: Serbian
|
||||
|
||||
" 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&<26>
|
||||
menutrans &Overview<Tab><F1> &Pregled<Tab><F1>
|
||||
menutrans &User\ Manual &Uputstvo\ za\ korisnike
|
||||
menutrans &How-to\ links &Kako\ da\.\.\.
|
||||
menutrans &Find &Na<EFBFBD>i
|
||||
menutrans &Credits &Zasluge
|
||||
menutrans Co&pying P&reuzimanje
|
||||
menutrans O&rphans &Siro<EFBFBD>i<EFBFBD>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<EFBFBD>uvaj<Tab>:w
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav Sa<EFBFBD>uvaj\ &kao\.\.\.<Tab>:sav
|
||||
menutrans Split\ &Diff\ with\.\.\. Podeli\ i\ &uporedi\ sa\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. Po&deli\ i\ prepravi\ sa\.\.\.
|
||||
menutrans &Print <20>ta&mpaj
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Sa<EFBFBD>uvaj\ i\ za&vr<EFBFBD>i<Tab>:wqa
|
||||
menutrans E&xit<Tab>:qa K&raj<Tab>:qa
|
||||
|
||||
" Edit menu
|
||||
menutrans &Edit &Ure<EFBFBD>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<EFBFBD>i<Tab>x
|
||||
menutrans &Select\ all<Tab>ggVG Izaberi\ sv&e<Tab>ggVG
|
||||
menutrans &Find\.\.\. &Na<EFBFBD>i\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\. Na<EFBFBD>i\ i\ &zameni\.\.\.
|
||||
menutrans Settings\ &Window P&rozor\ pode<EFBFBD>avanja
|
||||
menutrans &Global\ Settings Op&<26>ta\ pode<EFBFBD>avanja
|
||||
menutrans F&ile\ Settings Pode<EFBFBD>avanja\ za\ da&toteke
|
||||
menutrans &Shiftwidth &Pomeraj
|
||||
menutrans Soft\ &Tabstop &Meka\ tabulacija
|
||||
menutrans Te&xt\ Width\.\.\. &<26>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<EFBFBD>inu\ &slova\ (da/ne)<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Proveri\ prate<EFBFBD>u\ &zagradu\ (da/ne)<Tab>:set\ sm!
|
||||
menutrans &Context\ lines Vidljivi\ &redovi
|
||||
menutrans &Virtual\ Edit Virtuelno\ &ure<EFBFBD>ivanje
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Re<EFBFBD>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<EFBFBD>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<EFBFBD>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<EFBFBD>\ (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<EFBFBD>enje\ (da/ne)<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &Ce-uvla<EFBFBD>enje\ (da/ne)<Tab>:set\ cin!
|
||||
|
||||
" Edit/Keymap
|
||||
menutrans None Nijedan
|
||||
|
||||
" Tools menu
|
||||
menutrans &Tools &Alatke
|
||||
menutrans &Jump\ to\ this\ tag<Tab>g^] Sko<EFBFBD>i\ na\ &ovu\ oznaku<Tab>g^]
|
||||
menutrans Jump\ &back<Tab>^T Sko<EFBFBD>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<EFBFBD>i\ podvijutak<Tab>zd
|
||||
menutrans Delete\ &All\ Folds<Tab>zD Obri<EFBFBD>i\ sve\ po&dvijutke<Tab>zD
|
||||
menutrans Fold\ column\ &width <20>irina\ &reda\ podvijutka
|
||||
menutrans &Diff &Upore<EFBFBD>ivanje
|
||||
menutrans &Make<Tab>:make 'mak&e'<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl Spisak\ &gre<EFBFBD>aka<Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! Sp&isak\ poruka<Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn S&lede<EFBFBD>a\ gre<EFBFBD>ka<Tab>:cn
|
||||
menutrans &Previous\ Error<Tab>:cp Pre&thodna\ gre<EFBFBD>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<EFBFBD>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<67>i/prekini\ podvijanje<Tab>zi
|
||||
menutrans &View\ Cursor\ Line<Tab>zv &Poka<EFBFBD>i\ red\ sa\ kursorom<Tab>zv
|
||||
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Poka<EFBFBD>i\ &samo\ red\ sa\ kursorom<Tab>zMzx
|
||||
menutrans C&lose\ more\ folds<Tab>zm &Zatvori\ vi<EFBFBD>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<EFBFBD>&e\ podvijutaka<Tab>zr
|
||||
menutrans &Open\ all\ folds<Tab>zR O&tvori\ sve\ podvijutke<Tab>zR
|
||||
menutrans Fold\ Met&hod &Na<EFBFBD>in\ podvijanja
|
||||
|
||||
" Tools/Folding/Fold Method
|
||||
menutrans M&anual &Ru<EFBFBD>no
|
||||
menutrans I&ndent &Uvu<EFBFBD>enost
|
||||
menutrans E&xpression &Izraz
|
||||
menutrans S&yntax &Sintaksa
|
||||
"menutrans &Diff
|
||||
menutrans Ma&rker &Oznaka
|
||||
|
||||
" Tools/Diff
|
||||
menutrans &Update &A<EFBFBD>uriraj
|
||||
menutrans &Get\ Block &Prihvati\ izmenu
|
||||
menutrans &Put\ Block Pre&baci\ izmenu
|
||||
|
||||
" Tools/Error Window
|
||||
menutrans &Update<Tab>:cwin &A<EFBFBD>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<EFBFBD>uriraj
|
||||
menutrans Delete &Obri<EFBFBD>i
|
||||
menutrans &Alternate A<ernativni
|
||||
menutrans &Next &Slede<EFBFBD>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<64>i<Tab>^Ww
|
||||
"menutrans P&revious<Tab>^WW P&rethodni<Tab>^WW
|
||||
menutrans Move\ &To Pre&mesti
|
||||
menutrans Rotate\ &Up<Tab>^WR &Kru<EFBFBD>no\ nagore<Tab>^WR
|
||||
menutrans Rotate\ &Down<Tab>^Wr Kru<EFBFBD>no\ nadol&e<Tab>^Wr
|
||||
menutrans &Equal\ Size<Tab>^W= &Iste\ veli<EFBFBD>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\ &<26>irina<Tab>^W\|
|
||||
menutrans Min\ Widt&h<Tab>^W1\| Minimalna\ <20>i&rina<Tab>^W1\|
|
||||
|
||||
" Window/Move To
|
||||
menutrans &Top<Tab>^WK &Vrh<Tab>^WK
|
||||
menutrans &Bottom<Tab>^WJ &Podno<EFBFBD>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<EFBFBD>i
|
||||
menutrans Select\ Blockwise Biraj\ &pravougaono
|
||||
menutrans Select\ &Word Izaberi\ &re<EFBFBD>
|
||||
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<EFBFBD>itaj
|
||||
tmenu ToolBar.Save Sa<EFBFBD>uvaj
|
||||
tmenu ToolBar.SaveAll Sa<EFBFBD>uvaj sve
|
||||
tmenu ToolBar.Print <20>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<EFBFBD>i
|
||||
tmenu ToolBar.FindNext Na<EFBFBD>i slede<EFBFBD>i
|
||||
tmenu ToolBar.FindPrev Na<EFBFBD>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 <20>irina
|
||||
tmenu ToolBar.WinMinWidth Minimalna <20>irina
|
||||
tmenu ToolBar.WinClose Zatvori prozor
|
||||
tmenu ToolBar.LoadSesn U<EFBFBD>itaj seansu
|
||||
tmenu ToolBar.SaveSesn Sa<EFBFBD>uvaj seansu
|
||||
tmenu ToolBar.RunScript Izvr<EFBFBD>i spis
|
||||
tmenu ToolBar.Make 'make'
|
||||
tmenu ToolBar.Shell Operativno okru<EFBFBD>enje
|
||||
tmenu ToolBar.RunCtags Napravi oznake
|
||||
tmenu ToolBar.TagJump Idi na oznaku
|
||||
tmenu ToolBar.Help Pomo<EFBFBD>
|
||||
tmenu ToolBar.FindHelp Na<EFBFBD>i obja<EFBFBD>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<EFBFBD>e
|
||||
menutrans &Off &Isklju<EFBFBD>eno
|
||||
menutrans &Manual &Ru<EFBFBD>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<72> <20>ije poja<6A>njenje tra<72>ite:\n\nDodajte i_ za naredbe unosa (npr. i_CTRL-X)\nDodajte c_ za naredbe komandnog re<72>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 <20>irinu teksta (0 spre<72>ava prelom)"
|
||||
|
||||
let g:menutrans_fileformat_dialog = "Izaberite vrstu datoteke"
|
||||
|
||||
let menutrans_no_file = "[Nema datoteke]"
|
||||
source <sfile>:p:h/menu_sr_rs.iso_8859-2.vim
|
||||
|
@ -1,259 +1,3 @@
|
||||
" Menu Translations: Serbian
|
||||
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
|
||||
" Last Change: Fri, 30 May 2003 12:02:07 -0400
|
||||
" Menu Translations: Serbian
|
||||
|
||||
" 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 <20><><EFBFBD><EFBFBD>&<26>
|
||||
menutrans &Overview<Tab><F1> &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab><F1>
|
||||
menutrans &User\ Manual &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &How-to\ links &<26><><EFBFBD><EFBFBD>\ <20><>\.\.\.
|
||||
menutrans &Find &<26><><EFBFBD><EFBFBD>
|
||||
menutrans &Credits &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Co&pying <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans O&rphans &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Version &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &About &<26>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
" File menu
|
||||
menutrans &File &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Open\.\.\.<Tab>:e &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.<Tab>:e
|
||||
menutrans Sp&lit-Open\.\.\.<Tab>:sp &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.<Tab>:sp
|
||||
menutrans &New<Tab>:enew &<26><><EFBFBD><EFBFBD><Tab>:enew
|
||||
menutrans &Close<Tab>:close &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:close
|
||||
menutrans &Save<Tab>:w &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:w
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD>\.\.\.<Tab>:sav
|
||||
menutrans Split\ &Diff\ with\.\.\. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. <20><>&<26><><EFBFBD><EFBFBD>\ <20>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\.\.\.
|
||||
menutrans &Print <20><><EFBFBD>&<26><><EFBFBD><EFBFBD>
|
||||
menutrans Sa&ve-Exit<Tab>:wqa <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20>\ <20><>&<26><><EFBFBD><EFBFBD><Tab>:wqa
|
||||
menutrans E&xit<Tab>:qa <20>&<26><><EFBFBD><Tab>:qa
|
||||
|
||||
" Edit menu
|
||||
menutrans &Edit &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Undo<Tab>u &<26><><EFBFBD><EFBFBD><EFBFBD><Tab>u
|
||||
menutrans &Redo<Tab>^R &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^R
|
||||
menutrans Rep&eat<Tab>\. <20>&<26><><EFBFBD><EFBFBD><EFBFBD><Tab>\.
|
||||
menutrans Cu&t<Tab>"+x <20><><EFBFBD>&<26><><Tab>"+x
|
||||
menutrans &Copy<Tab>"+y &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>"+y
|
||||
menutrans &Paste<Tab>"+gP &<26><><EFBFBD><EFBFBD><EFBFBD><Tab>"+gP
|
||||
menutrans &Paste<Tab>"+P &<26><><EFBFBD><EFBFBD><EFBFBD><Tab>"+gP
|
||||
menutrans Put\ &Before<Tab>[p <20><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD>&<26><Tab>[p
|
||||
menutrans Put\ &After<Tab>]p <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><Tab>]p
|
||||
menutrans &Delete<Tab>x <20><>&<26><><EFBFBD><EFBFBD><EFBFBD><Tab>x
|
||||
menutrans &Select\ all<Tab>ggVG <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>&<26><Tab>ggVG
|
||||
menutrans &Find\.\.\. &<26><><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\. <20><><EFBFBD><EFBFBD>\ <20>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans Settings\ &Window <20>&<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Global\ Settings <20><>&<26><><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans F&ile\ Settings <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ <20><>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Shiftwidth &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Soft\ &Tabstop &<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Te&xt\ Width\.\.\. &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans &File\ Format\.\.\. &<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans C&olor\ Scheme <20><>&<26><>
|
||||
menutrans &Keymap <20><><EFBFBD><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Select\ Fo&nt\.\.\. <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
|
||||
" Edit/Global Settings
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ \<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ sm!
|
||||
menutrans &Context\ lines <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Virtual\ Edit <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! <09><><EFBFBD><EFBFBD><EFBFBD>\ <20>&<26><><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! '&Vi'\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\.\.\.
|
||||
menutrans Toggle\ &Toolbar <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)
|
||||
menutrans Toggle\ &Bottom\ Scrollbar <20><><EFBFBD><EFBFBD>\ <20>&<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)
|
||||
menutrans Toggle\ &Left\ Scrollbar &<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)
|
||||
menutrans Toggle\ &Right\ Scrollbar &<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)
|
||||
|
||||
" Edit/Global Settings/Virtual Edit
|
||||
menutrans Never <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Block\ Selection <20><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Insert\ mode <20><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Block\ and\ Insert <20><><EFBFBD><EFBFBD>\ <20>\ <20><><EFBFBD><EFBFBD>
|
||||
menutrans Always <20><><EFBFBD><EFBFBD>
|
||||
|
||||
" Edit/File Settings
|
||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ nu!
|
||||
menutrans Toggle\ &List\ Mode<Tab>:set\ list! <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ list!
|
||||
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><>\ <20><><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ lbr!
|
||||
menutrans Toggle\ &expand-tab<Tab>:set\ et! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ et!
|
||||
menutrans Toggle\ &auto-indent<Tab>:set\ ai! <09><><EFBFBD><EFBFBD>-&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &<26><>-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ (<EFBFBD><EFBFBD>/<2F><>)<Tab>:set\ cin!
|
||||
|
||||
" Edit/Keymap
|
||||
menutrans None <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
" Tools menu
|
||||
menutrans &Tools &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Jump\ to\ this\ tag<Tab>g^] <20><><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ &<26><><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>g^]
|
||||
menutrans Jump\ &back<Tab>^T <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^T
|
||||
menutrans Build\ &Tags\ File <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Folding &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Create\ &Fold<Tab>zf <20>&<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zf
|
||||
menutrans &Delete\ Fold<Tab>zd <20>&<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zd
|
||||
menutrans Delete\ &All\ Folds<Tab>zD <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD>\ <20><>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zD
|
||||
menutrans Fold\ column\ &width <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Diff &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Make<Tab>:make 'mak&<26>'<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! <20><>&<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cn
|
||||
menutrans &Previous\ Error<Tab>:cp <20><><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cp
|
||||
menutrans &Older\ List<Tab>:cold <20><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD>&<26><Tab>:cold
|
||||
menutrans N&ewer\ List<Tab>:cnew <20><>&<26><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cnew
|
||||
menutrans Error\ &Window <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Set\ Compiler <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20>\ &ŵ<EFBFBD><EFBFBD><Tab>:%!xxd
|
||||
menutrans Conve&rt\ back<Tab>:%!xxd\ -r <20><>&<26><><EFBFBD>\ <20>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><Tab>:%!xxd\ -r
|
||||
|
||||
" Tools/Folding
|
||||
menutrans &Enable/Disable\ folds<Tab>zi &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zi
|
||||
menutrans &View\ Cursor\ Line<Tab>zv &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD>\ <20><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zv
|
||||
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD>\ <20><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zMzx
|
||||
menutrans C&lose\ more\ folds<Tab>zm &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zm
|
||||
menutrans &Close\ all\ folds<Tab>zM <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20>&<26><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zM
|
||||
menutrans O&pen\ more\ folds<Tab>zr <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD>&<26>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zr
|
||||
menutrans &Open\ all\ folds<Tab>zR <20>&<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>zR
|
||||
menutrans Fold\ Met&hod &<26><><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
" Tools/Folding/Fold Method
|
||||
menutrans M&anual &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans I&ndent &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans E&xpression &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans S&yntax &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
"menutrans &Diff
|
||||
menutrans Ma&rker &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
" Tools/Diff
|
||||
menutrans &Update &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Get\ Block &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Put\ Block <09><><EFBFBD>&<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
" Tools/Error Window
|
||||
menutrans &Update<Tab>:cwin &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cwin
|
||||
menutrans &Open<Tab>:copen &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:copen
|
||||
menutrans &Close<Tab>:cclose &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>:cclose
|
||||
|
||||
" Bufers menu
|
||||
menutrans &Buffers &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Refresh\ menu &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Delete &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Alternate <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Next &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Previous &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans [No\ File] [<5B><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]
|
||||
|
||||
" Window menu
|
||||
menutrans &Window &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &New<Tab>^Wn &<26><><EFBFBD><EFBFBD><Tab>^Wn
|
||||
menutrans S&plit<Tab>^Ws &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^Ws
|
||||
menutrans Sp&lit\ To\ #<Tab>^W^^ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^W^^
|
||||
menutrans Split\ &Vertically<Tab>^Wv <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^Wv
|
||||
menutrans Split\ File\ E&xplorer <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Close<Tab>^Wc &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^Wc
|
||||
menutrans Close\ &Other(s)<Tab>^Wo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^Wo
|
||||
"menutrans Ne&xt<Tab>^Ww &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^Ww
|
||||
"menutrans P&revious<Tab>^WW <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^WW
|
||||
menutrans Move\ &To <20><><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Rotate\ &Up<Tab>^WR &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^WR
|
||||
menutrans Rotate\ &Down<Tab>^Wr <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD>&<26><Tab>^Wr
|
||||
menutrans &Equal\ Size<Tab>^W= &<26><><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^W=
|
||||
menutrans &Max\ Height<Tab>^W_ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^W_
|
||||
menutrans M&in\ Height<Tab>^W1_ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>&<26><><EFBFBD>\ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^W1_
|
||||
menutrans Max\ &Width<Tab>^W\| <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^W\|
|
||||
menutrans Min\ Widt&h<Tab>^W1\| <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><>&<26><><EFBFBD><EFBFBD><Tab>^W1\|
|
||||
|
||||
" Window/Move To
|
||||
menutrans &Top<Tab>^WK &<26><><EFBFBD><Tab>^WK
|
||||
menutrans &Bottom<Tab>^WJ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><Tab>^WJ
|
||||
menutrans &Left\ side<Tab>^WH <20>&<26><><EFBFBD><EFBFBD><Tab>^WH
|
||||
menutrans &Right\ side<Tab>^WL <20>&<26><><EFBFBD><EFBFBD><EFBFBD><Tab>^WL
|
||||
|
||||
" The popup menu
|
||||
menutrans &Undo &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Cu&t &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Copy &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Paste &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Delete <20>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Select\ Blockwise <20><><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Select\ &Word <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD>
|
||||
menutrans Select\ &Line <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20>&<26><>
|
||||
menutrans Select\ &Block <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD>
|
||||
menutrans Select\ &All <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD>
|
||||
|
||||
" The GUI toolbar
|
||||
if has("toolbar")
|
||||
if exists("*Do_toolbar_tmenu")
|
||||
delfun Do_toolbar_tmenu
|
||||
endif
|
||||
fun Do_toolbar_tmenu()
|
||||
tmenu ToolBar.Open <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Save <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.SaveAll <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
|
||||
tmenu ToolBar.Print <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Undo <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Redo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Cut <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Copy <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Paste <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Find <20><><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.FindNext <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.FindPrev <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Replace <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.New <20><><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinSplit <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinMax <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinMin <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinVSplit <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinMaxWidth <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinMinWidth <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.WinClose <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.LoadSesn <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.SaveSesn <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.RunScript <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Make 'make'
|
||||
tmenu ToolBar.Shell <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.RunCtags <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.TagJump <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.Help <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmenu ToolBar.FindHelp <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
endfun
|
||||
endif
|
||||
|
||||
" Syntax menu
|
||||
menutrans &Syntax &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Show\ filetypes\ in\ menu <20><><EFBFBD><EFBFBD><EFBFBD>\ 'filetype'\ <20><>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Set\ '&syntax'\ only <20><><EFBFBD><EFBFBD>&<26><>\ 'syntax'\ <20><><EFBFBD><EFBFBD>
|
||||
menutrans Set\ '&filetype'\ too <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ 'filetype'\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Off &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans &Manual &<26><><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans A&utomatic &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans on/off\ for\ &This\ file <20><>/<EFBFBD><EFBFBD>\ <20><>\ <20><><EFBFBD>\ &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
menutrans Co&lor\ test <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26><><EFBFBD><EFBFBD>
|
||||
menutrans &Highlight\ test <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ <20><><EFBFBD><EFBFBD>&<26><><EFBFBD><EFBFBD>
|
||||
menutrans &Convert\ to\ HTML <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\ &<26>\ HTML
|
||||
|
||||
" dialog texts
|
||||
let menutrans_help_dialog = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:\n\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> i_ <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>. i_CTRL-X)\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> c_ <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>. <20>_<Del>)\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ' <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>. 'shiftwidth')"
|
||||
|
||||
let g:menutrans_path_dialog = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
|
||||
|
||||
let g:menutrans_tags_dialog = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>."
|
||||
|
||||
let g:menutrans_textwidth_dialog = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (0 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
|
||||
|
||||
let g:menutrans_fileformat_dialog = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
let menutrans_no_file = "[<5B><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]"
|
||||
source <sfile>:p:h/menu_sr_rs.iso_8859-5.vim
|
||||
|
@ -1,261 +1,3 @@
|
||||
" Menu Translations: Serbian
|
||||
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
|
||||
" Last Change: Fri, 30 May 2003 10:17:39 Eastern Daylight Time
|
||||
" Menu Translations: Serbian
|
||||
|
||||
" 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=serbcyril-US
|
||||
source <sfile>:p:h/menu_sr_rs.utf-8.vim
|
||||
|
@ -20,7 +20,7 @@
|
||||
if &cp || exists("g:loaded_netrwPlugin")
|
||||
finish
|
||||
endif
|
||||
let g:loaded_netrwPlugin = "v136"
|
||||
let g:loaded_netrwPlugin = "v138"
|
||||
if v:version < 702
|
||||
echohl WarningMsg | echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None
|
||||
finish
|
||||
@ -35,6 +35,7 @@ set cpo&vim
|
||||
augroup FileExplorer
|
||||
au!
|
||||
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")
|
||||
au BufEnter .* silent! call s:LocalBrowse(expand("<amatch>"))
|
||||
endif
|
||||
@ -108,6 +109,13 @@ fun! s:LocalBrowse(dirname)
|
||||
" not a directory, ignore it
|
||||
endfun
|
||||
|
||||
" ---------------------------------------------------------------------
|
||||
" s:VimEnter: {{{2
|
||||
fun! s:VimEnter(dirname)
|
||||
windo if a:dirname != expand("%")|call s:LocalBrowse(expand("%:p"))|endif
|
||||
1wincmd w
|
||||
endfun
|
||||
|
||||
" ---------------------------------------------------------------------
|
||||
" NetrwStatusLine: {{{1
|
||||
fun! NetrwStatusLine()
|
||||
|
@ -1,6 +1,6 @@
|
||||
" vimballPlugin : construct a file containing both paths and files
|
||||
" 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
|
||||
" (see |copyright|) except use "Vimball" instead of "Vim".
|
||||
" No warranty, express or implied.
|
||||
@ -16,7 +16,7 @@
|
||||
if &cp || exists("g:loaded_vimballPlugin")
|
||||
finish
|
||||
endif
|
||||
let g:loaded_vimballPlugin = "v30"
|
||||
let g:loaded_vimballPlugin = "v31"
|
||||
let s:keepcpo = &cpo
|
||||
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=* -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 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
|
||||
|
@ -20,7 +20,7 @@
|
||||
if &cp || exists("g:loaded_zipPlugin")
|
||||
finish
|
||||
endif
|
||||
let g:loaded_zipPlugin = "v22"
|
||||
let g:loaded_zipPlugin = "v23"
|
||||
let s:keepcpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
|
@ -34,9 +34,9 @@ bg_BG.aff bg_BG.dic: {buildcheck=}
|
||||
:fetch bg_BG.zip
|
||||
:sys $UNZIP 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.dic -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 bg_BG.aff -u NONE -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 -u NONE -e -c "set ff=unix" -c update -c q
|
||||
@if not os.path.exists('bg_BG.orig.aff'):
|
||||
:copy bg_BG.aff bg_BG.orig.aff
|
||||
@if not os.path.exists('bg_BG.orig.dic'):
|
||||
|
13
runtime/spell/br/br_FR.diff
Normal file
13
runtime/spell/br/br_FR.diff
Normal 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
86
runtime/spell/br/main.aap
Normal 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 :
|
@ -36,8 +36,8 @@ ca_ES.aff ca_ES.dic: {buildcheck=}
|
||||
:fetch ca_ES.zip
|
||||
:sys $UNZIP ca_ES.zip
|
||||
:delete ca_ES.zip
|
||||
:sys $VIM ca_ES.aff -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.aff -u NONE -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'):
|
||||
:copy ca_ES.aff ca_ES.orig.aff
|
||||
@if not os.path.exists('ca_ES.orig.dic'):
|
||||
|
@ -36,9 +36,9 @@ cy_GB.aff cy_GB.dic: {buildcheck=}
|
||||
:fetch cy_GB.zip
|
||||
:sys $UNZIP 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.dic -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 cy_GB.aff -u NONE -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 -u NONE -e -c "set ff=unix" -c update -c q
|
||||
@if not os.path.exists('cy_GB.orig.aff'):
|
||||
:copy cy_GB.aff cy_GB.orig.aff
|
||||
@if not os.path.exists('cy_GB.orig.dic'):
|
||||
|
@ -133,7 +133,7 @@ de_AT.aff de_AT.dic: {buildcheck=}
|
||||
|
||||
:print >>de_AT.dic
|
||||
# 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
|
||||
:delete de_DE.dic
|
||||
:move de_DE.aff de_AT.aff
|
||||
@ -195,7 +195,7 @@ check:
|
||||
:sys $UNZIP ../$ZIPFILE_AT
|
||||
:print >>de_AT.dic
|
||||
# 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
|
||||
:delete de_DE.dic
|
||||
:move de_DE.aff de_AT.aff
|
||||
|
@ -22,7 +22,7 @@ $SPELLDIR/eo.utf-8.spl : $FILES
|
||||
../README_eo.txt : README_eo_l3.txt
|
||||
:copy $source $target
|
||||
# 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.
|
||||
|
@ -63,7 +63,7 @@ es_MX.aff es_MX.dic: {buildcheck=}
|
||||
:print No copyright information for es_MX wordlist >! README_es_MX.txt
|
||||
:sys $UNZIP $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'):
|
||||
:copy es_MX.aff es_MX.orig.aff
|
||||
@if not os.path.exists('es_MX.orig.dic'):
|
||||
|
@ -36,9 +36,9 @@ ku_TR.aff ku_TR.dic: {buildcheck=}
|
||||
:fetch ku_TR.zip
|
||||
:sys $UNZIP 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.dic -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 ku_TR.aff -u NONE -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 -u NONE -e -c "set ff=unix" -c update -c q
|
||||
@if not os.path.exists('ku_TR.orig.aff'):
|
||||
:copy ku_TR.aff ku_TR.orig.aff
|
||||
@if not os.path.exists('ku_TR.orig.dic'):
|
||||
|
@ -37,9 +37,9 @@ lv_LV.aff lv_LV.dic: {buildcheck=}
|
||||
:sys $UNZIP lv_LV.zip
|
||||
:delete lv_LV.zip
|
||||
: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.dic -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 lv_LV.aff -u NONE -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 -u NONE -e -c "set ff=unix" -c update -c q
|
||||
@if not os.path.exists('lv_LV.orig.aff'):
|
||||
:copy lv_LV.aff lv_LV.orig.aff
|
||||
@if not os.path.exists('lv_LV.orig.dic'):
|
||||
|
@ -5,8 +5,8 @@
|
||||
# aap diff create all the diff files
|
||||
|
||||
# "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
|
||||
la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw
|
||||
LANG = af am bg br ca cs cy da de el en eo es fr fo ga gd gl he hr id it
|
||||
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
|
||||
|
||||
# TODO:
|
||||
|
@ -36,8 +36,8 @@ ms_MY.aff ms_MY.dic: {buildcheck=}
|
||||
:fetch ms_MY.zip
|
||||
:sys $UNZIP 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.dic -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 -u NONE -e -c "set ff=unix" -c update -c q
|
||||
@if not os.path.exists('ms_MY.orig.aff'):
|
||||
:copy ms_MY.aff ms_MY.orig.aff
|
||||
@if not os.path.exists('ms_MY.orig.dic'):
|
||||
|
@ -67,13 +67,13 @@ pt_BR.aff pt_BR.dic: {buildcheck=}
|
||||
:fetch $BR_FNAME
|
||||
:sys $UNZIP $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
|
||||
|
||||
# Vim seems to ignore the dots from the word list.
|
||||
# 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.aff -e -c "set ff=unix" -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 -u NONE -e -c "set ff=unix" -c update -c q
|
||||
@if not os.path.exists('pt_BR.orig.aff'):
|
||||
:copy pt_BR.aff pt_BR.orig.aff
|
||||
@if not os.path.exists('pt_BR.orig.dic'):
|
||||
|
@ -3,7 +3,9 @@
|
||||
" Maintainer: Erik Wognsen <erik.wognsen@gmail.com>
|
||||
" Previous maintainer:
|
||||
" 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 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 binNumber "0[bB][0-1]*"
|
||||
|
||||
syn match asmComment "#.*"
|
||||
syn region asmComment start="/\*" end="\*/"
|
||||
syn keyword asmTodo contained TODO
|
||||
|
||||
" 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 asmCond "\.if"
|
||||
@ -75,6 +85,7 @@ if version >= 508 || !exists("did_asm_syntax_inits")
|
||||
HiLink asmSection Special
|
||||
HiLink asmLabel Label
|
||||
HiLink asmComment Comment
|
||||
HiLink asmTodo Todo
|
||||
HiLink asmDirective Statement
|
||||
|
||||
HiLink asmInclude Include
|
||||
|
131
runtime/syntax/cabal.vim
Normal file
131
runtime/syntax/cabal.vim
Normal 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
|
94
runtime/syntax/chaiscript.vim
Normal file
94
runtime/syntax/chaiscript.vim
Normal 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
|
@ -3,8 +3,8 @@
|
||||
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
||||
" Former Maintainers: Gerfried Fuchs <alfie@ist.org>
|
||||
" Wichert Akkerman <wakkerma@debian.org>
|
||||
" Last Change: 2009 Jun 05
|
||||
" URL: http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/syntax/debchangelog.vim;hb=debian
|
||||
" Last Change: 2010 May 06
|
||||
" URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/tip/runtime/syntax/debchangelog.vim
|
||||
|
||||
" Standard syntax initialization
|
||||
if version < 600
|
||||
@ -19,7 +19,7 @@ syn case ignore
|
||||
" Define some common expressions we can use later on
|
||||
syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ "
|
||||
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 debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*"
|
||||
syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*"
|
||||
|
@ -1,14 +1,10 @@
|
||||
" Vim syntax file
|
||||
" Language: Debian control files
|
||||
" Language: Debian control files
|
||||
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
||||
" Former Maintainers: Gerfried Fuchs <alfie@ist.org>
|
||||
" Wichert Akkerman <wakkerma@debian.org>
|
||||
" Last Change: 2009 July 14
|
||||
" URL: http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/ftplugin/debcontrol.vim;hb=debian
|
||||
|
||||
" 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!
|
||||
" Last Change: 2009 Aug 17
|
||||
" URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/tip/runtime/syntax/debcontrol.vim
|
||||
|
||||
" Standard syntax initialization
|
||||
if version < 600
|
||||
@ -28,7 +24,7 @@ syn match debControlComma ", *"
|
||||
syn match debControlSpace " "
|
||||
|
||||
" 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 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)"
|
||||
@ -53,7 +49,7 @@ syn match debcontrolComment "^#.*$"
|
||||
syn case ignore
|
||||
|
||||
" 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
|
||||
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
|
||||
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
|
||||
if version >= 508 || !exists("did_debcontrol_syn_inits")
|
||||
|
@ -2,8 +2,8 @@
|
||||
" Language: Debian sources.list
|
||||
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
||||
" Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
|
||||
" Last Change: 2009 Apr 17
|
||||
" URL: http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/syntax/debsources.vim;hb=debian
|
||||
" Last Change: 2010 May 06
|
||||
" URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/tip/runtime/syntax/debsources.vim
|
||||
|
||||
" Standard syntax initialization
|
||||
if version < 600
|
||||
@ -23,7 +23,7 @@ syn match debsourcesComment /#.*/ contains=@Spell
|
||||
|
||||
" Match uri's
|
||||
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
|
||||
hi def link debsourcesLine Error
|
||||
@ -33,5 +33,3 @@ hi def link debsourcesComment Comment
|
||||
hi def link debsourcesUri Constant
|
||||
|
||||
let b:current_syntax = "debsources"
|
||||
|
||||
" vim: ts=8
|
||||
|
@ -1,8 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: Java
|
||||
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||
" Vim syntax file " Language: Java
|
||||
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||
" 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.
|
||||
|
||||
@ -59,8 +58,8 @@ syn match javaTypedef "\.\s*\<class\>"ms=s+1
|
||||
syn keyword javaClassDecl enum
|
||||
syn match javaClassDecl "^class\>"
|
||||
syn match javaClassDecl "[^.]\s*\<class\>"ms=s+1
|
||||
syn match javaAnnotation "@\([_$a-zA-Z][_$a-zA-Z0-9]*\.\)*[_$a-zA-Z][_$a-zA-Z0-9]*\>"
|
||||
syn match javaClassDecl "@interface\>"
|
||||
syn match javaAnnotation "@\([_$a-zA-Z][_$a-zA-Z0-9]*\.\)*[_$a-zA-Z][_$a-zA-Z0-9]*\>"
|
||||
syn match javaClassDecl "@interface\>"
|
||||
syn keyword javaBranch break continue nextgroup=javaUserLabelRef skipwhite
|
||||
syn match javaUserLabelRef "\k\+" contained
|
||||
syn match javaVarArg "\.\.\."
|
||||
@ -69,7 +68,7 @@ syn keyword javaScopeDecl public protected private abstract
|
||||
if exists("java_highlight_java_lang_ids")
|
||||
let java_highlight_all=1
|
||||
endif
|
||||
if exists("java_highlight_all") || exists("java_highlight_java") || exists("java_highlight_java_lang")
|
||||
if exists("java_highlight_all") || exists("java_highlight_java") || exists("java_highlight_java_lang")
|
||||
" java.lang.*
|
||||
syn match javaLangClass "\<System\>"
|
||||
syn keyword javaR_JavaLang NegativeArraySizeException ArrayStoreException IllegalStateException RuntimeException IndexOutOfBoundsException UnsupportedOperationException ArrayIndexOutOfBoundsException ArithmeticException ClassCastException EnumConstantNotPresentException StringIndexOutOfBoundsException IllegalArgumentException IllegalMonitorStateException IllegalThreadStateException NumberFormatException NullPointerException TypeNotPresentException SecurityException
|
||||
@ -110,15 +109,15 @@ endif
|
||||
|
||||
if exists("java_space_errors")
|
||||
if !exists("java_no_trail_space_error")
|
||||
syn match javaSpaceError "\s\+$"
|
||||
syn match javaSpaceError "\s\+$"
|
||||
endif
|
||||
if !exists("java_no_tab_space_error")
|
||||
syn match javaSpaceError " \+\t"me=e-1
|
||||
syn match javaSpaceError " \+\t"me=e-1
|
||||
endif
|
||||
endif
|
||||
|
||||
syn region javaLabelRegion transparent matchgroup=javaLabel start="\<case\>" matchgroup=NONE end=":" contains=javaNumber,javaCharacter
|
||||
syn match javaUserLabel "^\s*[_$a-zA-Z][_$a-zA-Z0-9_]*\s*:"he=e-1 contains=javaLabel
|
||||
syn region javaLabelRegion transparent matchgroup=javaLabel start="\<case\>" matchgroup=NONE end=":" contains=javaNumber,javaCharacter
|
||||
syn match javaUserLabel "^\s*[_$a-zA-Z][_$a-zA-Z0-9_]*\s*:"he=e-1 contains=javaLabel
|
||||
syn keyword javaLabel default
|
||||
|
||||
if !exists("java_allow_cpp_keywords")
|
||||
@ -135,7 +134,7 @@ syn cluster javaTop add=javaExternal,javaError,javaError,javaBranch,javaLabelReg
|
||||
syn keyword javaTodo contained TODO FIXME XXX
|
||||
if exists("java_comment_strings")
|
||||
syn region javaCommentString contained start=+"+ end=+"+ end=+$+ end=+\*/+me=s-1,he=s-1 contains=javaSpecial,javaCommentStar,javaSpecialChar,@Spell
|
||||
syn region javaComment2String contained start=+"+ end=+$\|"+ contains=javaSpecial,javaSpecialChar,@Spell
|
||||
syn region javaComment2String contained start=+"+ end=+$\|"+ contains=javaSpecial,javaSpecialChar,@Spell
|
||||
syn match javaCommentCharacter contained "'\\[^']\{1,6\}'" contains=javaSpecialChar
|
||||
syn match javaCommentCharacter contained "'\\''" contains=javaSpecialChar
|
||||
syn match javaCommentCharacter contained "'[^\\]'"
|
||||
@ -143,9 +142,9 @@ if exists("java_comment_strings")
|
||||
syn cluster javaCommentSpecial2 add=javaComment2String,javaCommentCharacter,javaNumber
|
||||
endif
|
||||
syn region javaComment start="/\*" end="\*/" contains=@javaCommentSpecial,javaTodo,@Spell
|
||||
syn match javaCommentStar contained "^\s*\*[^/]"me=e-1
|
||||
syn match javaCommentStar contained "^\s*\*$"
|
||||
syn match javaLineComment "//.*" contains=@javaCommentSpecial2,javaTodo,@Spell
|
||||
syn match javaCommentStar contained "^\s*\*[^/]"me=e-1
|
||||
syn match javaCommentStar contained "^\s*\*$"
|
||||
syn match javaLineComment "//.*" contains=@javaCommentSpecial2,javaTodo,@Spell
|
||||
JavaHiLink javaCommentString javaString
|
||||
JavaHiLink javaComment2String javaString
|
||||
JavaHiLink javaCommentCharacter javaCharacter
|
||||
@ -162,14 +161,14 @@ if !exists("java_ignore_javadoc") && main_syntax != 'jsp'
|
||||
" here.
|
||||
syntax spell default
|
||||
|
||||
syn region javaDocComment start="/\*\*" end="\*/" keepend contains=javaCommentTitle,@javaHtml,javaDocTags,javaDocSeeTag,javaTodo,@Spell
|
||||
syn region javaCommentTitle contained matchgroup=javaDocComment start="/\*\*" matchgroup=javaCommentTitle keepend end="\.$" end="\.[ \t\r<&]"me=e-1 end="[^{]@"me=s-2,he=s-1 end="\*/"me=s-1,he=s-1 contains=@javaHtml,javaCommentStar,javaTodo,@Spell,javaDocTags,javaDocSeeTag
|
||||
syn region javaDocComment start="/\*\*" end="\*/" keepend contains=javaCommentTitle,@javaHtml,javaDocTags,javaDocSeeTag,javaTodo,@Spell
|
||||
syn region javaCommentTitle contained matchgroup=javaDocComment start="/\*\*" matchgroup=javaCommentTitle keepend end="\.$" end="\.[ \t\r<&]"me=e-1 end="[^{]@"me=s-2,he=s-1 end="\*/"me=s-1,he=s-1 contains=@javaHtml,javaCommentStar,javaTodo,@Spell,javaDocTags,javaDocSeeTag
|
||||
|
||||
syn region javaDocTags contained start="{@\(link\|linkplain\|inherit[Dd]oc\|doc[rR]oot\|value\)" end="}"
|
||||
syn match javaDocTags contained "@\(param\|exception\|throws\|since\)\s\+\S\+" contains=javaDocParam
|
||||
syn match javaDocParam contained "\s\S\+"
|
||||
syn match javaDocTags contained "@\(version\|author\|return\|deprecated\|serial\|serialField\|serialData\)\>"
|
||||
syn region javaDocSeeTag contained matchgroup=javaDocTags start="@see\s\+" matchgroup=NONE end="\_."re=e-1 contains=javaDocSeeTagParam
|
||||
syn region javaDocTags contained start="{@\(link\|linkplain\|inherit[Dd]oc\|doc[rR]oot\|value\)" end="}"
|
||||
syn match javaDocTags contained "@\(param\|exception\|throws\|since\)\s\+\S\+" contains=javaDocParam
|
||||
syn match javaDocParam contained "\s\S\+"
|
||||
syn match javaDocTags contained "@\(version\|author\|return\|deprecated\|serial\|serialField\|serialData\)\>"
|
||||
syn region javaDocSeeTag contained matchgroup=javaDocTags start="@see\s\+" matchgroup=NONE end="\_."re=e-1 contains=javaDocSeeTagParam
|
||||
syn match javaDocSeeTagParam contained @"\_[^"]\+"\|<a\s\+\_.\{-}</a>\|\(\k\|\.\)*\(#\k\+\((\_[^)]\+)\)\=\)\=@ extend
|
||||
syntax case match
|
||||
endif
|
||||
@ -178,9 +177,9 @@ endif
|
||||
syn match javaComment "/\*\*/"
|
||||
|
||||
" Strings and constants
|
||||
syn match javaSpecialError contained "\\."
|
||||
syn match javaSpecialError 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
|
||||
" next line disabled, it can cause a crash for a long line
|
||||
"syn match javaStringError +"\([^"\\]\|\\.\)*$+
|
||||
@ -193,7 +192,7 @@ syn match javaNumber "\<\d\+[eE][-+]\=\d\+[fFdD]\=\>"
|
||||
syn match javaNumber "\<\d\+\([eE][-+]\=\d\+\)\=[fFdD]\>"
|
||||
|
||||
" unicode characters
|
||||
syn match javaSpecial "\\u\+\d\{4\}"
|
||||
syn match javaSpecial "\\u\d\{4\}"
|
||||
|
||||
syn cluster javaTop add=javaString,javaCharacter,javaNumber,javaSpecial,javaStringError
|
||||
|
||||
@ -206,8 +205,8 @@ if exists("java_highlight_functions")
|
||||
else
|
||||
" This line catches method declarations at any indentation>0, but it assumes
|
||||
" two things:
|
||||
" 1. class names are always capitalized (ie: Button)
|
||||
" 2. method names are never capitalized (except constructors, of course)
|
||||
" 1. class names are always capitalized (ie: Button)
|
||||
" 2. method names are never capitalized (except constructors, of course)
|
||||
syn region javaFuncDef start=+^\s\+\(\(public\|protected\|private\|static\|abstract\|final\|native\|synchronized\)\s\+\)*\(\(void\|boolean\|char\|byte\|short\|int\|long\|float\|double\|\([A-Za-z_][A-Za-z0-9_$]*\.\)*[A-Z][A-Za-z0-9_$]*\)\(<[^>]*>\)\=\(\[\]\)*\s\+[a-z][A-Za-z0-9_$]*\|[A-Z][A-Za-z0-9_$]*\)\s*([^0-9]+ end=+)+ contains=javaScopeDecl,javaType,javaStorageClass,javaComment,javaLineComment,@javaClasses
|
||||
endif
|
||||
syn match javaBraces "[{}]"
|
||||
@ -219,7 +218,7 @@ if exists("java_highlight_debug")
|
||||
" Strings and constants
|
||||
syn match javaDebugSpecial contained "\\\d\d\d\|\\."
|
||||
syn region javaDebugString contained start=+"+ end=+"+ contains=javaDebugSpecial
|
||||
syn match javaDebugStringError +"\([^"\\]\|\\.\)*$+
|
||||
syn match javaDebugStringError +"\([^"\\]\|\\.\)*$+
|
||||
syn match javaDebugCharacter contained "'[^\\]'"
|
||||
syn match javaDebugSpecialCharacter contained "'\\.'"
|
||||
syn match javaDebugSpecialCharacter contained "'\\''"
|
||||
@ -265,17 +264,17 @@ if exists("java_mark_braces_in_parens_as_errors")
|
||||
endif
|
||||
|
||||
" catch errors caused by wrong parenthesis
|
||||
syn region javaParenT transparent matchgroup=javaParen start="(" end=")" contains=@javaTop,javaParenT1
|
||||
syn region javaParenT transparent matchgroup=javaParen start="(" end=")" contains=@javaTop,javaParenT1
|
||||
syn region javaParenT1 transparent matchgroup=javaParen1 start="(" end=")" contains=@javaTop,javaParenT2 contained
|
||||
syn region javaParenT2 transparent matchgroup=javaParen2 start="(" end=")" contains=@javaTop,javaParenT contained
|
||||
syn match javaParenError ")"
|
||||
syn match javaParenError ")"
|
||||
" catch errors caused by wrong square parenthesis
|
||||
syn region javaParenT transparent matchgroup=javaParen start="\[" end="\]" contains=@javaTop,javaParenT1
|
||||
syn region javaParenT transparent matchgroup=javaParen start="\[" end="\]" contains=@javaTop,javaParenT1
|
||||
syn region javaParenT1 transparent matchgroup=javaParen1 start="\[" end="\]" contains=@javaTop,javaParenT2 contained
|
||||
syn region javaParenT2 transparent matchgroup=javaParen2 start="\[" end="\]" contains=@javaTop,javaParenT contained
|
||||
syn match javaParenError "\]"
|
||||
syn match javaParenError "\]"
|
||||
|
||||
JavaHiLink javaParenError javaError
|
||||
JavaHiLink javaParenError javaError
|
||||
|
||||
if !exists("java_minlines")
|
||||
let java_minlines = 10
|
||||
@ -288,7 +287,7 @@ if version >= 508 || !exists("did_java_syn_inits")
|
||||
let did_java_syn_inits = 1
|
||||
endif
|
||||
JavaHiLink javaFuncDef Function
|
||||
JavaHiLink javaVarArg Function
|
||||
JavaHiLink javaVarArg Function
|
||||
JavaHiLink javaBraces Function
|
||||
JavaHiLink javaBranch Conditional
|
||||
JavaHiLink javaUserLabelRef javaUserLabel
|
||||
@ -320,7 +319,7 @@ if version >= 508 || !exists("did_java_syn_inits")
|
||||
JavaHiLink javaConstant Constant
|
||||
JavaHiLink javaTypedef Typedef
|
||||
JavaHiLink javaTodo Todo
|
||||
JavaHiLink javaAnnotation PreProc
|
||||
JavaHiLink javaAnnotation PreProc
|
||||
|
||||
JavaHiLink javaCommentTitle SpecialComment
|
||||
JavaHiLink javaDocTags Special
|
||||
|
@ -7,7 +7,7 @@
|
||||
" (ss) repaired several quoting and grouping glitches
|
||||
" (ss) fixed regex parsing issue with multiple qualifiers [gi]
|
||||
" (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 6.x: Quit when a syntax file was already loaded
|
||||
@ -28,16 +28,14 @@ if version < 600 && exists("javaScript_fold")
|
||||
unlet javaScript_fold
|
||||
endif
|
||||
|
||||
syn case ignore
|
||||
|
||||
|
||||
syn keyword javaScriptCommentTodo TODO FIXME XXX TBD contained
|
||||
syn match javaScriptLineComment "\/\/.*" contains=@Spell,javaScriptCommentTodo
|
||||
syn match javaScriptCommentSkip "^[ \t]*\*\($\|[ \t]\+\)"
|
||||
syn region javaScriptComment start="/\*" end="\*/" contains=@Spell,javaScriptCommentTodo
|
||||
syn match javaScriptSpecial "\\\d\d\d\|\\."
|
||||
syn region javaScriptStringD start=+"+ skip=+\\\\\|\\"+ end=+"\|$+ contains=javaScriptSpecial,@htmlPreproc
|
||||
syn region javaScriptStringS start=+'+ skip=+\\\\\|\\'+ end=+'\|$+ contains=javaScriptSpecial,@htmlPreproc
|
||||
syn region javaScriptStringD start=+"+ skip=+\\\\\|\\"+ end=+"\|$+ contains=javaScriptSpecial,@htmlPreproc
|
||||
syn region javaScriptStringS start=+'+ skip=+\\\\\|\\'+ end=+'\|$+ contains=javaScriptSpecial,@htmlPreproc
|
||||
|
||||
syn match javaScriptSpecialCharacter "'\\.'"
|
||||
syn match javaScriptNumber "-\=\<\d\+L\=\>\|0[xX][0-9a-fA-F]\+\>"
|
||||
@ -51,7 +49,7 @@ syn keyword javaScriptType Array Boolean Date Function Number Object String Reg
|
||||
syn keyword javaScriptStatement return with
|
||||
syn keyword javaScriptBoolean true false
|
||||
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 javaScriptException try catch finally throw
|
||||
syn keyword javaScriptMessage alert confirm prompt status
|
||||
@ -61,7 +59,7 @@ syn keyword javaScriptDeprecated escape unescape
|
||||
syn keyword javaScriptReserved abstract boolean byte char class const debugger double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile
|
||||
|
||||
if exists("javaScript_fold")
|
||||
syn match javaScriptFunction "\<function\>"
|
||||
syn match javaScriptFunction "\<function\>"
|
||||
syn region javaScriptFunctionFold start="\<function\>.*[^};]$" end="^\z1}.*$" transparent fold keepend
|
||||
|
||||
syn sync match javaScriptSync grouphere javaScriptFunctionFold "\<function\>"
|
||||
@ -70,7 +68,7 @@ if exists("javaScript_fold")
|
||||
setlocal foldmethod=syntax
|
||||
setlocal foldtext=getline(v:foldstart)
|
||||
else
|
||||
syn keyword javaScriptFunction function
|
||||
syn keyword javaScriptFunction function
|
||||
syn match javaScriptBraces "[{}\[\]]"
|
||||
syn match javaScriptParens "[()]"
|
||||
endif
|
||||
|
@ -4,7 +4,7 @@
|
||||
" \begin{code} \end{code} blocks
|
||||
" Maintainer: Haskell Cafe mailinglist <haskell-cafe@haskell.org>
|
||||
" Original Author: Arthur van Leeuwen <arthurvl@cs.uu.nl>
|
||||
" Last Change: 2009 May 08
|
||||
" Last Change: 2010 Apr 11
|
||||
" Version: 1.04
|
||||
"
|
||||
" Thanks to Ian Lynagh for thoughtful comments on initial versions and
|
||||
@ -107,13 +107,12 @@ else
|
||||
endif
|
||||
|
||||
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 beginCodeBegin "^\\begin" nextgroup=beginCodeCode contained
|
||||
syntax region beginCodeCode matchgroup=texDelimiter start="{" end="}"
|
||||
syntax cluster beginCode contains=beginCodeBegin,beginCodeCode
|
||||
|
||||
" Define the default highlighting.
|
||||
" For version 5.7 and earlier: only when not done already
|
||||
|
@ -1,8 +1,8 @@
|
||||
" Vim syntax file
|
||||
" Language: Maple V (based on release 4)
|
||||
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
|
||||
" Last Change: Sep 11, 2006
|
||||
" Version: 9
|
||||
" Last Change: Jan 05, 2010
|
||||
" Version: 10
|
||||
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
|
||||
"
|
||||
" Package Function Selection: {{{1
|
||||
@ -164,9 +164,11 @@ syn match mvError "\.\.\."
|
||||
" Split into booleans, conditionals, operators, repeat-logic, etc
|
||||
syn keyword mvBool true false FAIL
|
||||
syn keyword mvCond elif else fi if then
|
||||
syn match mvCond "end\s\+if"
|
||||
|
||||
syn keyword mvRepeat by for in to
|
||||
syn keyword mvRepeat do from od while
|
||||
syn match mvRepeat "end\s\+do"
|
||||
|
||||
syn keyword mvSpecial NULL
|
||||
syn match mvSpecial "\[\]\|{}"
|
||||
|
@ -3,13 +3,13 @@
|
||||
" Maintainer: Martin Smat <msmat@post.cz>
|
||||
" Original Author: David Pascoe <pascoedj@spamcop.net>
|
||||
" 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")
|
||||
finish
|
||||
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 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 REVISION SEQUENCE SET SIZE STATUS SYNTAX
|
||||
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 deprecated mandatory not-accessible obsolete optional
|
||||
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 DEFAULT contained
|
||||
|
||||
syn match mibOperator "::="
|
||||
syn match mibComment "\ *--.\{-}\(--\|$\)"
|
||||
syn match mibNumber "\<['0-9a-fA-FhH]*\>"
|
||||
syn region mibDescription start="\"" end="\"" contains=DEFAULT
|
||||
|
||||
hi def link mibImplicit Statement
|
||||
hi def link mibOperator Statement
|
||||
hi def link mibComment Comment
|
||||
hi def link mibConstants String
|
||||
hi def link mibNumber Number
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: mysql
|
||||
" 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
|
||||
" 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
|
||||
@ -62,7 +62,7 @@ syn match mysqlNumber "-\=\<[0-9]*\.[0-9]*e[+-]\=[0-9]*\>"
|
||||
syn match mysqlNumber "\<0x[abcdefABCDEF0-9]*\>"
|
||||
|
||||
" 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)
|
||||
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
|
||||
" 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
|
||||
" '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
|
||||
|
95
runtime/syntax/obj.vim
Normal file
95
runtime/syntax/obj.vim
Normal 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
|
@ -1,24 +1,24 @@
|
||||
" Vim syntax file
|
||||
" Language: Perl
|
||||
" Maintainer: Nick Hibma <nick@van-laarhoven.org>
|
||||
" Last Change: 2006 November 23
|
||||
" Location: http://www.van-laarhoven.org/vim/syntax/perl.vim
|
||||
" Language: Perl 5
|
||||
" Maintainer: Andy Lester <andy@petdance.com>
|
||||
" URL: http://github.com/petdance/vim-perl/tree/master
|
||||
" 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
|
||||
" 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
|
||||
" perl syntax highlighting, with defaults given:
|
||||
"
|
||||
" unlet perl_include_pod
|
||||
" unlet perl_want_scope_in_variables
|
||||
" unlet perl_extended_vars
|
||||
" unlet perl_no_scope_in_variables
|
||||
" unlet perl_no_extended_vars
|
||||
" unlet perl_string_as_statement
|
||||
" unlet perl_no_sync_on_sub
|
||||
" unlet perl_no_sync_on_global_var
|
||||
@ -28,17 +28,37 @@
|
||||
" let perl_nofold_packages = 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
|
||||
syntax clear
|
||||
echoerr ">=vim-6.0 is required to run perl.vim"
|
||||
finish
|
||||
elseif exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
" Unset perl_fold if it set but vim doesn't support it.
|
||||
if version < 600 && exists("perl_fold")
|
||||
unlet perl_fold
|
||||
"
|
||||
" Folding
|
||||
|
||||
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
|
||||
|
||||
|
||||
@ -65,64 +85,48 @@ else
|
||||
endif
|
||||
|
||||
|
||||
syn cluster perlTop contains=TOP
|
||||
syn region perlGenericBlock matchgroup=perlGenericBlock start="{" end="}" contained transparent
|
||||
|
||||
|
||||
" All keywords
|
||||
"
|
||||
if exists("perl_fold") && exists("perl_fold_blocks")
|
||||
syn match perlConditional "\<if\>"
|
||||
syn match perlConditional "\<elsif\>"
|
||||
syn match perlConditional "\<unless\>"
|
||||
syn match perlConditional "\<else\>" nextgroup=perlElseIfError skipwhite skipnl skipempty
|
||||
else
|
||||
syn keyword perlConditional if elsif unless
|
||||
syn keyword perlConditional else nextgroup=perlElseIfError skipwhite skipnl skipempty
|
||||
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 match perlConditional "\<\%(if\|elsif\|unless\|given\|when\|default\)\>"
|
||||
syn match perlConditional "\<else\>" nextgroup=perlElseIfError skipwhite skipnl skipempty
|
||||
syn match perlRepeat "\<\%(while\|for\%(each\)\=\|do\|until\|continue\)\>"
|
||||
syn match perlOperator "\<\%(defined\|undef\|eq\|ne\|[gl][et]\|cmp\|not\|and\|or\|xor\|not\|bless\|ref\|do\)\>"
|
||||
syn match perlControl "\<\%(BEGIN\|CHECK\|INIT\|END\|UNITCHECK\)\>"
|
||||
|
||||
syn keyword perlStatementStorage my local our
|
||||
syn keyword perlStatementControl goto return last next redo
|
||||
syn keyword perlStatementScalar chomp chop chr crypt index lc lcfirst length ord pack reverse rindex sprintf substr uc ucfirst
|
||||
syn keyword perlStatementRegexp pos quotemeta split study
|
||||
syn keyword 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 keyword perlStatementHash each exists keys values tie tied untie
|
||||
syn keyword perlStatementIOfunc carp confess croak dbmclose dbmopen die syscall
|
||||
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 keyword perlStatementFiledesc fcntl flock ioctl open opendir read seek seekdir sysopen sysread sysseek syswrite truncate nextgroup=perlFiledescStatementComma skipwhite
|
||||
syn keyword perlStatementVector pack vec
|
||||
syn keyword perlStatementFiles chdir chmod chown chroot glob link mkdir readlink rename rmdir symlink umask unlink utime
|
||||
syn match perlStatementFiles "-[rwxoRWXOezsfdlpSbctugkTBMAC]\>"
|
||||
syn keyword perlStatementFlow caller die dump eval exit wantarray
|
||||
syn keyword perlStatementInclude require
|
||||
syn match perlStatementInclude "\<\(use\|no\)\s\+\(\(integer\|strict\|lib\|sigtrap\|subs\|vars\|warnings\|utf8\|byte\|base\|fields\)\>\)\="
|
||||
syn keyword perlStatementScope import
|
||||
syn keyword perlStatementProc alarm exec fork getpgrp getppid getpriority kill pipe setpgrp setpriority sleep system times wait waitpid
|
||||
syn keyword perlStatementSocket accept bind connect getpeername getsockname getsockopt listen recv send setsockopt shutdown socket socketpair
|
||||
syn keyword perlStatementIPC msgctl msgget msgrcv msgsnd semctl semget semop shmctl shmget shmread shmwrite
|
||||
syn keyword perlStatementNetwork endhostent endnetent endprotoent endservent gethostbyaddr gethostbyname gethostent getnetbyaddr getnetbyname getnetent getprotobyname getprotobynumber getprotoent getservbyname getservbyport getservent sethostent setnetent setprotoent setservent
|
||||
syn keyword perlStatementPword getpwuid getpwnam getpwent setpwent endpwent getgrent getgrgid getlogin getgrnam setgrent endgrent
|
||||
syn keyword perlStatementTime gmtime localtime time times
|
||||
syn match perlStatementStorage "\<\%(my\|our\|local\|state\)\>"
|
||||
syn match perlStatementControl "\<\%(return\|last\|next\|redo\|goto\|break\)\>"
|
||||
syn match perlStatementScalar "\<\%(chom\=p\|chr\|crypt\|r\=index\|lc\%(first\)\=\|length\|ord\|pack\|sprintf\|substr\|uc\%(first\)\=\)\>"
|
||||
syn match perlStatementRegexp "\<\%(pos\|quotemeta\|split\|study\)\>"
|
||||
syn match perlStatementNumeric "\<\%(abs\|atan2\|cos\|exp\|hex\|int\|log\|oct\|rand\|sin\|sqrt\|srand\)\>"
|
||||
syn match perlStatementList "\<\%(splice\|unshift\|shift\|push\|pop\|join\|reverse\|grep\|map\|sort\|unpack\)\>"
|
||||
syn match perlStatementHash "\<\%(delete\|each\|exists\|keys\|values\)\>"
|
||||
syn match perlStatementIOfunc "\<\%(syscall\|dbmopen\|dbmclose\)\>"
|
||||
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 match perlStatementFiledesc "\<\%(fcntl\|flock\|ioctl\|open\%(dir\)\=\|read\|seek\%(dir\)\=\|sys\%(open\|read\|seek\|write\)\|truncate\)\>" nextgroup=perlFiledescStatementComma skipwhite
|
||||
syn match perlStatementVector "\<vec\>"
|
||||
syn match perlStatementFiles "\<\%(ch\%(dir\|mod\|own\|root\)\|glob\|link\|mkdir\|readlink\|rename\|rmdir\|symlink\|umask\|unlink\|utime\)\>"
|
||||
syn match perlStatementFiles "-[rwxoRWXOezsfdlpSbctugkTBMAC]\>"
|
||||
syn match perlStatementFlow "\<\%(caller\|die\|dump\|eval\|exit\|wantarray\)\>"
|
||||
syn match perlStatementInclude "\<require\>"
|
||||
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 match perlStatementProc "\<\%(alarm\|exec\|fork\|get\%(pgrp\|ppid\|priority\)\|kill\|pipe\|set\%(pgrp\|priority\)\|sleep\|system\|times\|wait\%(pid\)\=\)\>"
|
||||
syn match perlStatementSocket "\<\%(acept\|bind\|connect\|get\%(peername\|sock\%(name\|opt\)\)\|listen\|recv\|send\|setsockopt\|shutdown\|socket\%(pair\)\=\)\>"
|
||||
syn match perlStatementIPC "\<\%(msg\%(ctl\|get\|rcv\|snd\)\|sem\%(ctl\|get\|op\)\|shm\%(ctl\|get\|read\|write\)\)\>"
|
||||
syn match perlStatementNetwork "\<\%(\%(end\|[gs]et\)\%(host\|net\|proto\|serv\)ent\|get\%(\%(host\|net\)by\%(addr\|name\)\|protoby\%(name\|number\)\|servby\%(name\|port\)\)\)\>"
|
||||
syn match perlStatementPword "\<\%(get\%(pw\%(uid\|nam\)\|gr\%(gid\|nam\)\|login\)\)\|\%(end\|[gs]et\)\%(pw\|gr\)ent\>"
|
||||
syn match perlStatementTime "\<\%(gmtime\|localtime\|time\)\>"
|
||||
|
||||
syn keyword perlStatementMisc warn formline reset scalar delete prototype lock
|
||||
syn keyword perlStatementNew new
|
||||
syn match perlStatementMisc "\<\%(warn\|formline\|reset\|scalar\|prototype\|lock\|tied\=\|untie\)\>"
|
||||
|
||||
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.
|
||||
"
|
||||
@ -135,52 +139,55 @@ syn keyword perlTodo TODO TBD FIXME XXX contained
|
||||
" variable - there again, too complicated and too slow.
|
||||
|
||||
" Special variables first ($^A, ...) and ($|, $', ...)
|
||||
syn match perlVarPlain "$^[ADEFHILMOPSTWX]\="
|
||||
syn match perlVarPlain "$^[ACDEFHILMNOPRSTVWX]\="
|
||||
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)
|
||||
syn match perlVarPlain "$:[^:]"
|
||||
syn match perlVarPlain "$::\@!"
|
||||
" These variables are not recognized within matches.
|
||||
syn match perlVarNotInMatches "$[|)]"
|
||||
" This variable is not recognized within matches delimited by m//.
|
||||
syn match perlVarSlash "$/"
|
||||
|
||||
" 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,
|
||||
" pack:: is a scope, just set "perl_want_scope_in_variables"
|
||||
" If you *want* complex things like @{${"foo"}} to be processed,
|
||||
" just set the variable "perl_extended_vars"...
|
||||
" To not highlight packages in variables as a scope reference - i.e. in
|
||||
" $pack::var, pack:: is a scope, just set "perl_no_scope_in_variables"
|
||||
" If you don't want complex things like @{${"foo"}} to be processed,
|
||||
" just set the variable "perl_no_extended_vars"...
|
||||
|
||||
" FIXME value between {} should be marked as string. is treated as such by Perl.
|
||||
" At the moment it is marked as something greyish instead of read. Probably todo
|
||||
" with transparency. Or maybe we should handle the bare word in that case. or make it into
|
||||
|
||||
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
|
||||
if !exists("perl_no_scope_in_variables")
|
||||
syn match perlVarPlain "\%([@$]\|\$#\)\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)" contains=perlPackageRef nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
|
||||
syn match perlVarPlain2 "%\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)" contains=perlPackageRef
|
||||
syn match perlFunctionName "&\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)" contains=perlPackageRef nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
|
||||
else
|
||||
syn match perlVarPlain "\\\=\([@$]\|\$#\)\$*\(\I\i*\)\=\(\(::\|'\)\I\i*\)*\>" nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
|
||||
syn match perlVarPlain2 "\\\=%\$*\(\I\i*\)\=\(\(::\|'\)\I\i*\)*\>" nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
|
||||
syn match perlFunctionName "\\\=&\$*\(\I\i*\)\=\(\(::\|'\)\I\i*\)*\>" nextgroup=perlVarMember,perlVarSimpleMember
|
||||
syn match perlVarPlain "\%([@$]\|\$#\)\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)" nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
|
||||
syn match perlVarPlain2 "%\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)"
|
||||
syn match perlFunctionName "&\$*\%(\I\i*\)\=\%(\%(::\|'\)\I\i*\)*\%(::\|\i\@<=\)" nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
|
||||
endif
|
||||
|
||||
if exists("perl_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 region perlVarBlock matchgroup=perlVarPlain start="\($#\|[@%$]\)\$*{" skip="\\}" end="}" contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember
|
||||
syn region perlVarBlock matchgroup=perlVarPlain start="&\$*{" skip="\\}" end="}" contains=@perlExpr
|
||||
syn match perlVarPlain "\\\=\(\$#\|[@%&$]\)\$*{\I\i*}" nextgroup=perlVarMember,perlVarSimpleMember
|
||||
syn region perlVarMember matchgroup=perlVarPlain start="\(->\)\={" skip="\\}" end="}" contained contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember
|
||||
syn match perlVarSimpleMember "\(->\)\={\I\i*}" nextgroup=perlVarMember,perlVarSimpleMember contains=perlVarSimpleMemberName contained
|
||||
if !exists("perl_no_extended_vars")
|
||||
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 perlArrow matchgroup=perlArrow start="->\s*(" end=")" contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod contained
|
||||
syn region perlArrow matchgroup=perlArrow start="->\s*\[" end="\]" contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod contained
|
||||
syn region perlArrow matchgroup=perlArrow start="->\s*{" end="}" contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod contained
|
||||
syn match perlArrow "->\s*{\s*\I\i*\s*}" contains=perlVarSimpleMemberName nextgroup=perlVarMember,perlVarSimpleMember,perlMethod 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 region perlVarMember matchgroup=perlVarPlain start="\(->\)\=\[" skip="\\]" end="]" contained contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember
|
||||
syn match perlMethod "\(->\)\I\i*" contained
|
||||
syn region perlVarMember matchgroup=perlVarPlain start="\%(->\)\=\[" skip="\\]" end="]" contained contains=@perlExpr nextgroup=perlVarMember,perlVarSimpleMember,perlMethod
|
||||
syn match perlPackageConst "__PACKAGE__" nextgroup=perlMethod
|
||||
syn match perlMethod "->\$*\I\i*" contained nextgroup=perlVarSimpleMember,perlVarMember,perlMethod
|
||||
endif
|
||||
|
||||
" 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 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
|
||||
|
||||
" Special characters in strings and matches
|
||||
syn match perlSpecialString "\\\(\d\+\|[xX]\x\+\|c\u\|.\)" contained
|
||||
syn match perlSpecialStringU "\\['\\]" contained
|
||||
syn match perlSpecialMatch "{\d\+\(,\(\d\+\)\=\)\=}" contained
|
||||
syn match perlSpecialMatch "\[\(\]\|-\)\=[^\[\]]*\(\[\|\-\)\=\]" contained
|
||||
syn match perlSpecialString "\\\%(\o\{1,3}\|x\%({\x\+}\|\x\{1,2}\)\|c.\|[^cx]\)" contained extend
|
||||
syn match perlSpecialStringU2 "\\." extend contained transparent contains=NONE
|
||||
syn match perlSpecialStringU "\\\\" 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 "(?[imsx]\+)" contained
|
||||
" FIXME the line below does not work. It should mark end of line and
|
||||
" begin of line as perlSpecial.
|
||||
" syn match perlSpecialBEOM "^\^\|\$$" contained
|
||||
syn match perlSpecialMatch "(?[impsx]*\%(-[imsx]\+\)\=)" contained
|
||||
syn match perlSpecialMatch "(?\%([-+]\=\d\+\|R\))" contained
|
||||
syn match perlSpecialMatch "(?\%(&\|P[>=]\)\h\w*)" contained
|
||||
syn match perlSpecialMatch "(\*\%(\%(PRUNE\|SKIP\|THEN\)\%(:[^)]*\)\=\|\%(MARK\|\):[^)]*\|COMMIT\|F\%(AIL\)\=\|ACCEPT\))" contained
|
||||
|
||||
" Possible errors
|
||||
"
|
||||
@ -205,177 +216,195 @@ syn match perlSpecialMatch "(?[imsx]\+)" contained
|
||||
syn match perlNotEmptyLine "^\s\+$" contained
|
||||
" Highlight '} else if (...) {', it should be '} else { if (...) { ' or
|
||||
" '} elsif (...) {'.
|
||||
"syn keyword perlElseIfError if contained
|
||||
syn match perlElseIfError "[^[:space:]{]\+" contained
|
||||
|
||||
" Variable interpolation
|
||||
"
|
||||
" These items are interpolated inside "" strings and similar constructs.
|
||||
syn cluster perlInterpDQ contains=perlSpecialString,perlVarPlain,perlVarNotInMatches,perlVarSlash,perlVarBlock
|
||||
" 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.
|
||||
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.
|
||||
syn cluster perlInterpMatch contains=@perlInterpSlash,perlVarSlash
|
||||
|
||||
" Shell commands
|
||||
syn region perlShellCommand matchgroup=perlMatchStartEnd start="`" end="`" contains=@perlInterpDQ
|
||||
syn region perlShellCommand matchgroup=perlMatchStartEnd start="`" end="`" contains=@perlInterpDQ keepend
|
||||
|
||||
" Constants
|
||||
"
|
||||
" Numbers
|
||||
syn match perlNumber "[-+]\=\(\<\d[[:digit:]_]*L\=\>\|0[xX]\x[[:xdigit:]_]*\>\)"
|
||||
syn match perlFloat "[-+]\=\<\d[[:digit:]_]*[eE][\-+]\=\d\+"
|
||||
syn match perlFloat "[-+]\=\<\d[[:digit:]_]*\.[[:digit:]_]*\([eE][\-+]\=\d\+\)\="
|
||||
syn match perlFloat "[-+]\=\<\.[[:digit:]_]\+\([eE][\-+]\=\d\+\)\="
|
||||
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:]_]*\.[[: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
|
||||
" caters for m//, m##, m{} and m[] (and the !/ variant)
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]/+ end=+/[cgimosx]*+ contains=@perlInterpSlash
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]#+ end=+#[cgimosx]*+ contains=@perlInterpMatch
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]{+ end=+}[cgimosx]*+ contains=@perlInterpMatch
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]\[+ end=+\][cgimosx]*+ contains=@perlInterpMatch
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m\>\s*\z([^[:space:]'([{<#]\)+ end=+\z1[cgimopsx]*+ contains=@perlInterpMatch keepend
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m#+ end=+#[cgimopsx]*+ contains=@perlInterpMatch keepend
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m\s*'+ end=+'[cgimopsx]*+ contains=@perlInterpSQ keepend
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!m\s*/+ end=+/[cgimopsx]*+ contains=@perlInterpSlash keepend
|
||||
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
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]!+ end=+![cgimosx]*+ contains=@perlInterpSlash,perlComment
|
||||
" 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\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
|
||||
" 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
|
||||
" caters for s///, s### and s[][]
|
||||
" 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"+ end=+"+me=e-1 contains=@perlInterpMatch nextgroup=perlSubstitutionDQ
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<s/+ end=+/+me=e-1 contains=@perlInterpSlash nextgroup=perlSubstitutionSlash
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<s#+ end=+#+me=e-1 contains=@perlInterpMatch nextgroup=perlSubstitutionHash
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<s\[+ end=+\]+ contains=@perlInterpMatch nextgroup=perlSubstitutionBracket skipwhite skipempty skipnl
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<s{+ end=+}+ contains=@perlInterpMatch nextgroup=perlSubstitutionCurly skipwhite skipempty skipnl
|
||||
syn region perlSubstitutionSQ matchgroup=perlMatchStartEnd start=+'+ end=+'[ecgimosx]*+ contained contains=@perlInterpSQ
|
||||
syn region perlSubstitutionDQ matchgroup=perlMatchStartEnd start=+"+ end=+"[ecgimosx]*+ contained contains=@perlInterpDQ
|
||||
syn region perlSubstitutionSlash matchgroup=perlMatchStartEnd start=+/+ end=+/[ecgimosx]*+ contained contains=@perlInterpDQ
|
||||
syn region perlSubstitutionHash matchgroup=perlMatchStartEnd start=+#+ end=+#[ecgimosx]*+ contained contains=@perlInterpDQ
|
||||
syn region perlSubstitutionBracket matchgroup=perlMatchStartEnd start=+\[+ end=+\][ecgimosx]*+ contained contains=@perlInterpDQ
|
||||
syn region perlSubstitutionCurly matchgroup=perlMatchStartEnd start=+{+ end=+}[ecgimosx]*+ contained contains=@perlInterpDQ
|
||||
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\s*'+ end=+'+me=e-1 contains=@perlInterpSQ nextgroup=perlSubstitutionSQ keepend
|
||||
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=perlSubstitutionGQQ keepend
|
||||
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\s*<+ end=+>+ contains=@perlInterpMatch,perlAnglesDQ nextgroup=perlSubstitutionGQQ skipwhite skipempty skipnl keepend
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!s\s*\[+ end=+\]+ contains=@perlInterpMatch,perlBracketsDQ nextgroup=perlSubstitutionGQQ skipwhite skipempty skipnl keepend
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\%(::\|'\|->\)\@<!s\s*{+ end=+}+ contains=@perlInterpMatch,perlBracesDQ nextgroup=perlSubstitutionGQQ skipwhite skipempty skipnl keepend
|
||||
syn region perlSubstitutionGQQ matchgroup=perlMatchStartEnd start=+\z([^[:space:]'([{<]\)+ end=+\z1[ecgimopsx]*+ keepend contained contains=@perlInterpDQ
|
||||
syn region perlSubstitutionGQQ matchgroup=perlMatchStartEnd start=+(+ end=+)[ecgimopsx]*+ contained contains=@perlInterpDQ,perlParensDQ keepend
|
||||
syn region perlSubstitutionGQQ matchgroup=perlMatchStartEnd start=+\[+ end=+\][ecgimopsx]*+ contained contains=@perlInterpDQ,perlBracketsDQ keepend
|
||||
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
|
||||
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[][]
|
||||
" Translations
|
||||
" 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\)"+ end=+"+me=e-1 contains=@perlInterpSQ nextgroup=perlTranslationDQ
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\(tr\|y\)/+ end=+/+me=e-1 contains=@perlInterpSQ nextgroup=perlTranslationSlash
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\(tr\|y\)#+ end=+#+me=e-1 contains=@perlInterpSQ nextgroup=perlTranslationHash
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\(tr\|y\)\[+ end=+\]+ contains=@perlInterpSQ nextgroup=perlTranslationBracket skipwhite skipempty skipnl
|
||||
syn region perlMatch matchgroup=perlMatchStartEnd start=+\<\(tr\|y\){+ end=+}+ contains=@perlInterpSQ nextgroup=perlTranslationCurly skipwhite skipempty skipnl
|
||||
syn region perlTranslationSQ matchgroup=perlMatchStartEnd start=+'+ end=+'[cds]*+ contained
|
||||
syn region perlTranslationDQ matchgroup=perlMatchStartEnd start=+"+ end=+"[cds]*+ contained
|
||||
syn region perlTranslationSlash matchgroup=perlMatchStartEnd start=+/+ end=+/[cds]*+ contained
|
||||
syn region perlTranslationHash matchgroup=perlMatchStartEnd start=+#+ end=+#[cds]*+ contained
|
||||
syn region perlTranslationBracket matchgroup=perlMatchStartEnd start=+\[+ end=+\][cds]*+ contained
|
||||
syn region perlTranslationCurly matchgroup=perlMatchStartEnd start=+{+ end=+}[cds]*+ contained
|
||||
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=perlTranslationGQ
|
||||
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\)\s*(+ end=+)+ contains=@perlInterpSQ,perlParensSQ nextgroup=perlTranslationGQ 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\)\s*{+ end=+}+ contains=@perlInterpSQ,perlBracesSQ nextgroup=perlTranslationGQ skipwhite skipempty skipnl
|
||||
syn region perlTranslationGQ matchgroup=perlMatchStartEnd start=+\z([^[:space:]([{<]\)+ end=+\z1[cds]*+ contained
|
||||
syn region perlTranslationGQ matchgroup=perlMatchStartEnd start=+(+ end=+)[cds]*+ contains=perlParensSQ contained
|
||||
syn region perlTranslationGQ matchgroup=perlMatchStartEnd start=+\[+ end=+\][cds]*+ contains=perlBracketsSQ contained
|
||||
syn region perlTranslationGQ matchgroup=perlMatchStartEnd start=+{+ end=+}[cds]*+ contains=perlBracesSQ contained
|
||||
syn region perlTranslationGQ matchgroup=perlMatchStartEnd start=+<+ end=+>[cds]*+ contains=perlAnglesSQ 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
|
||||
|
||||
" Brackets in qq()
|
||||
syn region perlBrackets start=+(+ end=+)+ contained transparent contains=perlBrackets,@perlStringSQ
|
||||
syn region perlStringUnexpanded matchgroup=perlStringStartEnd start="'" end="'" contains=@perlInterpSQ keepend
|
||||
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 perlString matchgroup=perlStringStartEnd start=+"+ end=+"+ contains=@perlInterpDQ
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q#+ end=+#+ contains=@perlInterpSQ
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q|+ end=+|+ contains=@perlInterpSQ
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q(+ end=+)+ contains=@perlInterpSQ,perlBrackets
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q{+ end=+}+ contains=@perlInterpSQ
|
||||
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=+\<q[qx]|+ end=+|+ contains=@perlInterpDQ
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q[qx](+ end=+)+ contains=@perlInterpDQ,perlBrackets
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q[qx]{+ end=+}+ contains=@perlInterpDQ
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q[qx]/+ end=+/+ contains=@perlInterpDQ
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qw#+ end=+#+ contains=@perlInterpSQ
|
||||
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=+\<qw{+ end=+}+ contains=@perlInterpSQ
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qw/+ end=+/+ contains=@perlInterpSQ
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qr#+ end=+#[imosx]*+ contains=@perlInterpMatch
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qr|+ end=+|[imosx]*+ contains=@perlInterpMatch
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qr(+ end=+)[imosx]*+ contains=@perlInterpMatch
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qr{+ end=+}[imosx]*+ contains=@perlInterpMatch
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<qr/+ end=+/[imosx]*+ contains=@perlInterpSlash
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]\>\s*\z([^[:space:]#([{<]\)+ end=+\z1+ contains=@perlInterpDQ keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]#+ end=+#+ contains=@perlInterpDQ keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]\s*(+ end=+)+ contains=@perlInterpDQ,perlParensDQ keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]\s*\[+ end=+\]+ contains=@perlInterpDQ,perlBracketsDQ keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]\s*{+ end=+}+ contains=@perlInterpDQ,perlBracesDQ keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!q[qx]\s*<+ end=+>+ contains=@perlInterpDQ,perlAnglesDQ keepend
|
||||
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw\s*\z([^[:space:]#([{<]\)+ end=+\z1+ contains=@perlInterpSQ keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw#+ end=+#+ contains=@perlInterpSQ keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw\s*(+ end=+)+ contains=@perlInterpSQ,perlParensSQ keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw\s*\[+ end=+\]+ contains=@perlInterpSQ,perlBracketsSQ keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw\s*{+ end=+}+ contains=@perlInterpSQ,perlBracesSQ keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qw\s*<+ end=+>+ contains=@perlInterpSQ,perlAnglesSQ keepend
|
||||
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr\>\s*\z([^[:space:]#([{<'/]\)+ end=+\z1[imosx]*+ contains=@perlInterpMatch keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr\s*/+ end=+/[imosx]*+ contains=@perlInterpSlash keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr#+ end=+#[imosx]*+ contains=@perlInterpMatch keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr\s*'+ end=+'[imosx]*+ contains=@perlInterpSQ keepend
|
||||
syn region perlQQ matchgroup=perlStringStartEnd start=+\<\%(::\|'\|->\)\@<!qr\s*(+ end=+)[imosx]*+ contains=@perlInterpMatch,perlParensDQ keepend
|
||||
|
||||
" 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\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
|
||||
"
|
||||
if version >= 600
|
||||
" XXX Any statements after the identifier are in perlString colour (i.e.
|
||||
" 'if $a' in 'print <<EOF if $a').
|
||||
if exists("perl_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=@perlInterpSQ 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 perlAutoload matchgroup=perlStringStartEnd start=+<<['"]\z(END_\(SUB\|OF_FUNC\|OF_AUTOLOAD\)\)['"]+ end=+^\z1$+ contains=ALL fold
|
||||
else
|
||||
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=@perlInterpSQ
|
||||
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*""+ end=+^$+ contains=@perlInterpDQ,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
|
||||
endif
|
||||
" XXX Any statements after the identifier are in perlString colour (i.e.
|
||||
" '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")
|
||||
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=@perlInterpSQ 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 perlAutoload matchgroup=perlStringStartEnd start=+<<\s*\(['"]\=\)\z(END_\%(SUB\|OF_FUNC\|OF_AUTOLOAD\)\)\1+ end=+^\z1$+ contains=ALL fold
|
||||
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
|
||||
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=@perlInterpSQ
|
||||
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*""+ end=+^$+ contains=@perlInterpDQ,perlNotEmptyLine
|
||||
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*''+ end=+^$+ contains=@perlInterpSQ,perlNotEmptyLine
|
||||
syn region perlAutoload matchgroup=perlStringStartEnd start=+<<\s*\(['"]\=\)\z(END_\%(SUB\|OF_FUNC\|OF_AUTOLOAD\)\)\1+ end=+^\z1$+ contains=ALL
|
||||
endif
|
||||
|
||||
|
||||
" 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
|
||||
|
||||
" Functions
|
||||
" sub [name] [(prototype)] {
|
||||
"
|
||||
syn region perlFunction start="\s*\<sub\>" end="[;{]"he=e-1 contains=perlStatementSub,perlFunctionPrototype,perlFunctionPRef,perlFunctionName,perlComment
|
||||
syn keyword perlStatementSub sub contained
|
||||
syn match perlSubError "[^[:space:];{#]" 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
|
||||
if exists("perl_want_scope_in_variables")
|
||||
syn match perlFunction +\<sub\>\_s*+ nextgroup=perlSubName
|
||||
|
||||
if !exists("perl_no_scope_in_variables")
|
||||
syn match perlFunctionPRef "\h\w*::" contained
|
||||
syn match perlFunctionName "\h\w*[^:]" contained
|
||||
else
|
||||
syn match perlFunctionName "\h[[:alnum:]_:]*" contained
|
||||
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 ^#!
|
||||
syn match perlComment "#.*" contains=perlTodo
|
||||
syn match perlComment "#.*" contains=perlTodo,@Spell
|
||||
syn match perlSharpBang "^#!.*"
|
||||
|
||||
" 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 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 "@[^A-Za-z_|<>~#*]"me=e-1 contained
|
||||
@ -383,161 +412,113 @@ syn match perlFormatField "@$" contained
|
||||
|
||||
" __END__ and __DATA__ clauses
|
||||
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
|
||||
syntax region perlDATA start="^__\(DATA\|END\)__$" skip="." end="." contains=perlPOD,@perlDATA
|
||||
syntax region perlDATA start="^__\%(DATA\|END\)__$" skip="." end="." contains=perlPOD,@perlDATA
|
||||
endif
|
||||
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
|
||||
"
|
||||
" 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
|
||||
" The default highlighting.
|
||||
HiLink perlSharpBang PreProc
|
||||
HiLink perlControl PreProc
|
||||
HiLink perlInclude Include
|
||||
HiLink perlSpecial Special
|
||||
HiLink perlString String
|
||||
HiLink perlCharacter Character
|
||||
HiLink perlNumber Number
|
||||
HiLink perlFloat Float
|
||||
HiLink perlType Type
|
||||
HiLink perlIdentifier Identifier
|
||||
HiLink perlLabel Label
|
||||
HiLink perlStatement Statement
|
||||
HiLink perlConditional Conditional
|
||||
HiLink perlRepeat Repeat
|
||||
HiLink perlOperator Operator
|
||||
HiLink perlFunction Keyword
|
||||
HiLink perlSubName Function
|
||||
HiLink perlSubPrototype Type
|
||||
HiLink perlSubAttributes PreProc
|
||||
HiLink perlSubAttributesCont perlSubAttributes
|
||||
HiLink perlComment Comment
|
||||
HiLink perlTodo Todo
|
||||
if exists("perl_string_as_statement")
|
||||
HiLink perlStringStartEnd perlStatement
|
||||
else
|
||||
" fromstart above seems to set minlines even if perl_fold is not set.
|
||||
syn sync minlines=0
|
||||
HiLink perlStringStartEnd perlString
|
||||
endif
|
||||
HiLink perlVStringV perlStringStartEnd
|
||||
HiLink perlList perlStatement
|
||||
HiLink perlMisc perlStatement
|
||||
HiLink perlVarPlain perlIdentifier
|
||||
HiLink perlVarPlain2 perlIdentifier
|
||||
HiLink perlArrow perlIdentifier
|
||||
HiLink perlFiledescRead perlIdentifier
|
||||
HiLink perlFiledescStatement perlIdentifier
|
||||
HiLink perlVarSimpleMember perlIdentifier
|
||||
HiLink perlVarSimpleMemberName perlString
|
||||
HiLink perlVarNotInMatches perlIdentifier
|
||||
HiLink perlVarSlash perlIdentifier
|
||||
HiLink perlQQ perlString
|
||||
HiLink perlHereDoc perlString
|
||||
HiLink perlStringUnexpanded perlString
|
||||
HiLink perlSubstitutionSQ perlString
|
||||
HiLink perlSubstitutionGQQ perlString
|
||||
HiLink perlTranslationGQ perlString
|
||||
HiLink perlMatch perlString
|
||||
HiLink perlMatchStartEnd perlStatement
|
||||
HiLink perlFormatName perlIdentifier
|
||||
HiLink perlFormatField perlString
|
||||
HiLink perlPackageDecl perlType
|
||||
HiLink perlStorageClass perlType
|
||||
HiLink perlPackageRef perlType
|
||||
HiLink perlStatementPackage perlStatement
|
||||
HiLink perlStatementStorage perlStatement
|
||||
HiLink perlStatementControl perlStatement
|
||||
HiLink perlStatementScalar perlStatement
|
||||
HiLink perlStatementRegexp perlStatement
|
||||
HiLink perlStatementNumeric perlStatement
|
||||
HiLink perlStatementList perlStatement
|
||||
HiLink perlStatementHash perlStatement
|
||||
HiLink perlStatementIOfunc perlStatement
|
||||
HiLink perlStatementFiledesc perlStatement
|
||||
HiLink perlStatementVector perlStatement
|
||||
HiLink perlStatementFiles perlStatement
|
||||
HiLink perlStatementFlow perlStatement
|
||||
HiLink perlStatementInclude perlStatement
|
||||
HiLink perlStatementProc perlStatement
|
||||
HiLink perlStatementSocket perlStatement
|
||||
HiLink perlStatementIPC perlStatement
|
||||
HiLink perlStatementNetwork perlStatement
|
||||
HiLink perlStatementPword perlStatement
|
||||
HiLink perlStatementTime perlStatement
|
||||
HiLink perlStatementMisc perlStatement
|
||||
HiLink perlStatementIndirObj perlStatement
|
||||
HiLink perlFunctionName perlIdentifier
|
||||
HiLink perlMethod perlIdentifier
|
||||
HiLink perlFunctionPRef perlType
|
||||
HiLink perlPOD perlComment
|
||||
HiLink perlShellCommand perlString
|
||||
HiLink perlSpecialAscii perlSpecial
|
||||
HiLink perlSpecialDollar perlSpecial
|
||||
HiLink perlSpecialString perlSpecial
|
||||
HiLink perlSpecialStringU perlSpecial
|
||||
HiLink perlSpecialMatch perlSpecial
|
||||
HiLink perlDATA perlComment
|
||||
|
||||
" Possible errors
|
||||
HiLink perlNotEmptyLine Error
|
||||
HiLink perlElseIfError Error
|
||||
HiLink perlSubPrototypeError Error
|
||||
HiLink perlSubError Error
|
||||
|
||||
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>
|
||||
endif
|
||||
|
||||
" The default highlighting.
|
||||
HiLink perlSharpBang PreProc
|
||||
HiLink perlControl PreProc
|
||||
HiLink perlInclude Include
|
||||
HiLink perlSpecial Special
|
||||
HiLink perlString String
|
||||
HiLink perlCharacter Character
|
||||
HiLink perlNumber Number
|
||||
HiLink perlFloat Float
|
||||
HiLink perlType Type
|
||||
HiLink perlIdentifier Identifier
|
||||
HiLink perlLabel Label
|
||||
HiLink perlStatement Statement
|
||||
HiLink perlConditional Conditional
|
||||
HiLink perlRepeat Repeat
|
||||
HiLink perlOperator Operator
|
||||
HiLink perlFunction Function
|
||||
HiLink perlFunctionPrototype perlFunction
|
||||
HiLink perlComment Comment
|
||||
HiLink perlTodo Todo
|
||||
if exists("perl_string_as_statement")
|
||||
HiLink perlStringStartEnd perlStatement
|
||||
else
|
||||
HiLink perlStringStartEnd perlString
|
||||
endif
|
||||
HiLink perlList perlStatement
|
||||
HiLink perlMisc perlStatement
|
||||
HiLink perlVarPlain perlIdentifier
|
||||
HiLink perlVarPlain2 perlIdentifier
|
||||
HiLink perlFiledescRead perlIdentifier
|
||||
HiLink perlFiledescStatement perlIdentifier
|
||||
HiLink perlVarSimpleMember perlIdentifier
|
||||
HiLink perlVarSimpleMemberName perlString
|
||||
HiLink perlVarNotInMatches perlIdentifier
|
||||
HiLink perlVarSlash perlIdentifier
|
||||
HiLink perlQQ perlString
|
||||
if version >= 600
|
||||
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 perlSubstitutionSQ perlString
|
||||
HiLink perlSubstitutionDQ perlString
|
||||
HiLink perlSubstitutionSlash 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 perlMatchStartEnd perlStatement
|
||||
HiLink perlFormatName perlIdentifier
|
||||
HiLink perlFormatField perlString
|
||||
HiLink perlPackageDecl perlType
|
||||
HiLink perlStorageClass perlType
|
||||
HiLink perlPackageRef perlType
|
||||
HiLink perlStatementPackage perlStatement
|
||||
HiLink perlStatementSub perlStatement
|
||||
HiLink perlStatementStorage perlStatement
|
||||
HiLink perlStatementControl perlStatement
|
||||
HiLink perlStatementScalar perlStatement
|
||||
HiLink perlStatementRegexp perlStatement
|
||||
HiLink perlStatementNumeric perlStatement
|
||||
HiLink perlStatementList perlStatement
|
||||
HiLink perlStatementHash perlStatement
|
||||
HiLink perlStatementIOfunc perlStatement
|
||||
HiLink perlStatementFiledesc perlStatement
|
||||
HiLink perlStatementVector perlStatement
|
||||
HiLink perlStatementFiles perlStatement
|
||||
HiLink perlStatementFlow perlStatement
|
||||
HiLink perlStatementScope perlStatement
|
||||
HiLink perlStatementInclude perlStatement
|
||||
HiLink perlStatementProc perlStatement
|
||||
HiLink perlStatementSocket perlStatement
|
||||
HiLink perlStatementIPC perlStatement
|
||||
HiLink perlStatementNetwork perlStatement
|
||||
HiLink perlStatementPword perlStatement
|
||||
HiLink perlStatementTime perlStatement
|
||||
HiLink perlStatementMisc perlStatement
|
||||
HiLink perlStatementNew perlStatement
|
||||
HiLink perlFunctionName perlIdentifier
|
||||
HiLink perlMethod perlIdentifier
|
||||
HiLink perlFunctionPRef perlType
|
||||
HiLink perlPOD perlComment
|
||||
HiLink perlShellCommand perlString
|
||||
HiLink perlSpecialAscii perlSpecial
|
||||
HiLink perlSpecialDollar perlSpecial
|
||||
HiLink perlSpecialString perlSpecial
|
||||
HiLink perlSpecialStringU perlSpecial
|
||||
HiLink perlSpecialMatch perlSpecial
|
||||
HiLink perlSpecialBEOM perlSpecial
|
||||
HiLink perlDATA perlComment
|
||||
|
||||
HiLink perlBrackets Error
|
||||
|
||||
" Possible errors
|
||||
HiLink perlNotEmptyLine Error
|
||||
HiLink perlElseIfError Error
|
||||
|
||||
delcommand HiLink
|
||||
endif
|
||||
delcommand HiLink
|
||||
|
||||
" Syncing to speed up processing
|
||||
"
|
||||
if !exists("perl_no_sync_on_sub")
|
||||
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 "^}"
|
||||
endif
|
||||
|
||||
@ -559,4 +540,5 @@ syn sync match perlSyncPOD grouphere NONE "^=cut"
|
||||
|
||||
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
2249
runtime/syntax/perl6.vim
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,14 +1,17 @@
|
||||
" Vim syntax file
|
||||
" Language: R Help File
|
||||
" Maintainer: Johannes Ranke <jranke@uni-bremen.de>
|
||||
" Last Change: 2009 Mai 12
|
||||
" Version: 0.7.2
|
||||
" SVN: $Id: rhelp.vim 86 2009-05-12 19:23:47Z ranke $
|
||||
" Last Change: 2010 Apr 22
|
||||
" Version: 0.7.3
|
||||
" SVN: $Id: rhelp.vim 88 2010-04-22 19:37:09Z ranke $
|
||||
" Remarks: - Now includes R syntax highlighting in the appropriate
|
||||
" sections if an r.vim file is in the same directory or in the
|
||||
" default debian location.
|
||||
" - There is no Latex markup in equations
|
||||
" - 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
|
||||
" 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="\\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 rhelpSexpr matchgroup=Delimiter start="\\Sexpr{" matchgroup=Delimiter transparent end=/}/ contains=@R
|
||||
|
||||
" Strings {{{1
|
||||
syn region rhelpString start=/"/ end=/"/
|
||||
@ -55,6 +59,56 @@ 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
|
||||
syn region rhelpLink matchgroup=rhelpSection start="\\link{" end="}" contained keepend
|
||||
@ -112,6 +166,7 @@ syn match rhelpSection "\\donttest\>"
|
||||
|
||||
" Freely named Sections {{{1
|
||||
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
|
||||
syn match rhelpComment /%.*$/ contained
|
||||
|
@ -2,8 +2,8 @@
|
||||
" Language: shell (sh) Korn shell (ksh) bash (sh)
|
||||
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
|
||||
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
||||
" Last Change: Nov 17, 2009
|
||||
" Version: 110
|
||||
" Last Change: Apr 12, 2010
|
||||
" Version: 111
|
||||
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
|
||||
" For options and settings, please use: :help ft-sh-syntax
|
||||
" This file includes many ideas from <20>ric Brunet (eric.brunet@ens.fr)
|
||||
@ -59,7 +59,7 @@ if !exists("s:sh_fold_ifdofor")
|
||||
let s:sh_fold_ifdofor = 4
|
||||
endif
|
||||
if g:sh_fold_enabled && &fdm == "manual"
|
||||
set fdm=syntax
|
||||
setlocal fdm=syntax
|
||||
endif
|
||||
|
||||
" sh syntax is case sensitive {{{1
|
||||
@ -157,7 +157,7 @@ syn region shSubSh transparent matchgroup=shSubShRegion start="(" end=")" contai
|
||||
|
||||
" 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 match shTestOpr contained "<=\|>=\|!=\|==\|-.\>\|-\(nt\|ot\|ef\|eq\|ne\|lt\|le\|gt\|ge\)\>\|[!<>]"
|
||||
syn match shTestOpr contained '=' skipwhite nextgroup=shTestDoubleQuote,shTestSingleQuote,shTestPattern
|
||||
|
@ -1,6 +1,6 @@
|
||||
"SiSU Vim syntax file
|
||||
"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)
|
||||
|
||||
if version < 600
|
||||
@ -16,25 +16,26 @@ syn match sisu_error contains=sisu_link,sisu_error_wspace "<![^ei]\S\+!>"
|
||||
" Markers Identifiers:
|
||||
if !exists("sisu_no_identifiers")
|
||||
syn match sisu_mark_endnote "\~^"
|
||||
syn match sisu_contain contains=@NoSpell "</\?sub>"
|
||||
syn match sisu_break contains=@NoSpell "<br>\|<br />"
|
||||
syn match sisu_control contains=@NoSpell "<p>\|</p>\|<p />\|<:p[bn]>"
|
||||
syn match sisu_html "<center>\|</center>"
|
||||
syn match sisu_control contains=@NoSpell "<:p[bn]>"
|
||||
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_underline "\(^\| \)_[a-zA-Z0-9]\+_\([ .,]\|$\)"
|
||||
syn match sisu_number contains=@NoSpell "[0-9a-f]\{32\}\|[0-9a-f]\{64\}"
|
||||
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_action "^<:insert\d\+>"
|
||||
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_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_block "\([a-z][a-z._]*\|\):{\|}:[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
|
||||
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
|
||||
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_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_title matchgroup=sisu_header start="^[@]title:[+-]\?\(\s\|\n\)"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
|
||||
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
|
||||
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_error matchgroup=sisu_contain start="^code{" end="^}code"
|
||||
"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 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
|
||||
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
|
||||
@ -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_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_comment matchgroup=sisu_comment start="^%\{1,2\} " end="$"
|
||||
"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_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
|
||||
"misc
|
||||
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:
|
||||
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.*$"
|
||||
|
||||
"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*$"
|
||||
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,sisu_error_wspace "\([^ (][_\\]\||[^ (}]\)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 "^[\~]{[^{]\{-}\n\n"
|
||||
syn match sisu_error contains=sisu_error "\([!*/_\+,^]\){\([^(\}\1)]\)\{-}\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 "^[0-9]\~\s*$"
|
||||
syn match sisu_error contains=sisu_error "^[0-9]\~\S\+\s*$"
|
||||
syn match sisu_error contains=sisu_error "^0\~.*"
|
||||
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 "\~\^\s\+\.\s*"
|
||||
syn match sisu_error contains=sisu_error "{\~^\S\+"
|
||||
@ -140,55 +138,67 @@ syn match sisu_error contains=sisu_error "[^ (\"'(\[][_/\*!]{\|}[_/\*!][a-zA-Z0-
|
||||
syn match sisu_error contains=sisu_error "<dir>"
|
||||
"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 "/\?<\([biu]\)>[^(</\1>)]\{-}\n\n"
|
||||
syn match sisu_error "/\?<\([biu]\)>[^(</\1>)]\{-}\n$"
|
||||
|
||||
"Error Exceptions:
|
||||
syn match sisu_control "\n\n" "contains=ALL
|
||||
syn match sisu_control "\n$" "contains=ALL
|
||||
syn match sisu_control " //"
|
||||
syn match sisu_error "%{"
|
||||
syn match sisu_error "<br>_\?https\?:\S\+\|_\?https\?:\S\+<br>"
|
||||
syn match sisu_error "[><]_\?https\?:\S\+\|_\?https\?:\S\+[><]"
|
||||
syn match sisu_error "%{"
|
||||
syn match sisu_error "<br>_\?https\?:\S\+\|_\?https\?:\S\+<br>"
|
||||
syn match sisu_error "[><]_\?https\?:\S\+\|_\?https\?:\S\+[><]"
|
||||
syn match sisu_comment "^%\{1,2\}.\+"
|
||||
|
||||
"Definitions Default Highlighting:
|
||||
hi def link sisu_normal Normal
|
||||
hi def link sisu_header PreProc
|
||||
hi def link sisu_header_content Statement
|
||||
hi def link sisu_heading Title
|
||||
hi def link sisu_structure Operator
|
||||
hi def link sisu_contain Include
|
||||
hi def link sisu_mark_endnote Include
|
||||
hi def link sisu_require NonText
|
||||
hi def link sisu_link NonText
|
||||
hi def link sisu_linked String
|
||||
hi def link sisu_fontface Include
|
||||
hi def link sisu_strikeout DiffDelete
|
||||
hi def link sisu_content_alt Special
|
||||
hi def link sisu_sem_content SpecialKey
|
||||
hi def link sisu_sem_block Special
|
||||
hi def link sisu_sem_marker Visual
|
||||
"hi def link sisu_sem_marker Structure
|
||||
hi def link sisu_sem_marker_block MatchParen
|
||||
hi def link sisu_sem_ex_marker FoldColumn
|
||||
hi def link sisu_sem_ex_marker_block Folded
|
||||
hi def link sisu_sem_ex_content Comment
|
||||
"hi def link sisu_sem_ex_content SpecialKey
|
||||
hi def link sisu_sem_ex_block Comment
|
||||
hi def link sisu_index SpecialKey
|
||||
hi def link sisu_index_block Visual
|
||||
hi def link sisu_content_endnote Special
|
||||
hi def link sisu_control Define
|
||||
hi def link sisu_ocn Include
|
||||
hi def link sisu_number Number
|
||||
hi def link sisu_identifier Function
|
||||
hi def link sisu_underline Underlined
|
||||
hi def link sisu_markpara Include
|
||||
hi def link sisu_marktail Include
|
||||
hi def link sisu_mark Identifier
|
||||
hi def link sisu_break Structure
|
||||
hi def link sisu_html Type
|
||||
hi def link sisu_action Identifier
|
||||
hi def link sisu_comment Comment
|
||||
hi def link sisu_error_sem_marker Error
|
||||
hi def link sisu_error_wspace Error
|
||||
hi def link sisu_error Error
|
||||
hi def link sisu_normal Normal
|
||||
hi def link sisu_header PreProc
|
||||
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_structure Operator
|
||||
hi def link sisu_contain Include
|
||||
hi def link sisu_mark_endnote Include
|
||||
hi def link sisu_require NonText
|
||||
hi def link sisu_link NonText
|
||||
hi def link sisu_linked String
|
||||
hi def link sisu_fontface Include
|
||||
hi def link sisu_strikeout DiffDelete
|
||||
hi def link sisu_content_alt Special
|
||||
hi def link sisu_sem_content SpecialKey
|
||||
hi def link sisu_sem_block Special
|
||||
hi def link sisu_sem_marker Visual
|
||||
"hi def link sisu_sem_marker Structure
|
||||
hi def link sisu_sem_marker_block MatchParen
|
||||
hi def link sisu_sem_ex_marker FoldColumn
|
||||
hi def link sisu_sem_ex_marker_block Folded
|
||||
hi def link sisu_sem_ex_content Comment
|
||||
"hi def link sisu_sem_ex_content SpecialKey
|
||||
hi def link sisu_sem_ex_block Comment
|
||||
hi def link sisu_index SpecialKey
|
||||
hi def link sisu_index_block Visual
|
||||
hi def link sisu_content_endnote Special
|
||||
hi def link sisu_control Define
|
||||
hi def link sisu_ocn Include
|
||||
hi def link sisu_number Number
|
||||
hi def link sisu_identifier Function
|
||||
hi def link sisu_underline Underlined
|
||||
hi def link sisu_markpara Include
|
||||
hi def link sisu_marktail Include
|
||||
hi def link sisu_mark Identifier
|
||||
hi def link sisu_break Structure
|
||||
hi def link sisu_html Type
|
||||
hi def link sisu_action Identifier
|
||||
hi def link sisu_comment Comment
|
||||
hi def link sisu_error_sem_marker Error
|
||||
hi def link sisu_error_wspace Error
|
||||
hi def link sisu_error Error
|
||||
let b:current_syntax = "sisu"
|
||||
|
15
runtime/syntax/svg.vim
Normal file
15
runtime/syntax/svg.vim
Normal 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"
|
@ -1,8 +1,8 @@
|
||||
" Vim syntax file
|
||||
" Language: TeX
|
||||
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM>
|
||||
" Last Change: Dec 28, 2009
|
||||
" Version: 46
|
||||
" Last Change: Apr 14, 2010
|
||||
" Version: 47
|
||||
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
|
||||
"
|
||||
" 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"
|
||||
endif
|
||||
if g:tex_fold_enabled && &fdm == "manual"
|
||||
set fdm=syntax
|
||||
setl fdm=syntax
|
||||
endif
|
||||
|
||||
" (La)TeX keywords: only use the letters a-zA-Z {{{1
|
||||
|
@ -1,53 +1,38 @@
|
||||
" Vim syntax file
|
||||
" Language: XS (Perl extension interface language)
|
||||
" Maintainer: Michael W. Dodge <sarge@pobox.com>
|
||||
" Last Change: 2001 May 09
|
||||
" Language: XS (Perl extension interface language)
|
||||
" Maintainer: Andy Lester <andy@petdance.com>
|
||||
" URL: http://github.com/petdance/vim-perl
|
||||
" Last Change: 2009-08-14
|
||||
|
||||
" 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
|
||||
" Quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
" Read the C syntax to start with
|
||||
if version < 600
|
||||
source <sfile>:p:h/c.vim
|
||||
else
|
||||
runtime! syntax/c.vim
|
||||
endif
|
||||
runtime! syntax/c.vim
|
||||
|
||||
" XS extentions
|
||||
" TODO: Figure out how to look for trailing '='.
|
||||
syn keyword xsKeyword MODULE PACKAGE PREFIX
|
||||
syn keyword xsKeyword OUTPUT: CODE: INIT: PREINIT: INPUT:
|
||||
syn keyword xsKeyword PPCODE: REQUIRE: CLEANUP: BOOT:
|
||||
syn keyword xsKeyword VERSIONCHECK: PROTOTYPES: PROTOTYPE:
|
||||
syn keyword xsKeyword ALIAS: INCLUDE: CASE:
|
||||
syn keyword xsKeyword MODULE PACKAGE PREFIX
|
||||
syn keyword xsKeyword OUTPUT: CODE: INIT: PREINIT: INPUT:
|
||||
syn keyword xsKeyword PPCODE: REQUIRE: CLEANUP: BOOT:
|
||||
syn keyword xsKeyword VERSIONCHECK: PROTOTYPES: PROTOTYPE:
|
||||
syn keyword xsKeyword ALIAS: INCLUDE: CASE:
|
||||
" TODO: Figure out how to look for trailing '('.
|
||||
syn keyword xsMacro SV EXTEND PUSHs
|
||||
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*$"
|
||||
syn keyword xsMacro SV EXTEND PUSHs
|
||||
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*$"
|
||||
|
||||
" 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_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>
|
||||
endif
|
||||
" Define the default highlighting, but only when an item doesn't have highlighting yet
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
|
||||
HiLink xsKeyword Keyword
|
||||
HiLink xsMacro Macro
|
||||
HiLink xsVariable Identifier
|
||||
HiLink xsKeyword Keyword
|
||||
HiLink xsMacro Macro
|
||||
HiLink xsVariable Identifier
|
||||
|
||||
delcommand HiLink
|
||||
endif
|
||||
delcommand HiLink
|
||||
|
||||
let b:current_syntax = "xs"
|
||||
|
||||
|
Reference in New Issue
Block a user