Update runtime files.

This commit is contained in:
Bram Moolenaar
2019-04-04 13:11:03 +02:00
parent 7a66627cf4
commit 723dd946f9
25 changed files with 504 additions and 181 deletions

View File

@ -21,9 +21,9 @@ maillist is also fine.
Please use the GitHub issues only for actual issues. If you are not 100% sure
that your problem is a Vim issue, please first discuss this on the Vim user
maillist. Try reproducing the problem without any plugins or settings:
maillist. Try reproducing the problem without any of your plugins or settings:
vim -N -u NONE
vim --clean
If you report an issue, please describe exactly how to reproduce it.
For example, don't say "insert some text" but say what you did exactly:

View File

@ -1,4 +1,4 @@
*eval.txt* For Vim version 8.1. Last change: 2019 Mar 30
*eval.txt* For Vim version 8.1. Last change: 2019 Apr 04
VIM REFERENCE MANUAL by Bram Moolenaar
@ -3556,7 +3556,7 @@ complete_info([{what}])
completion. See |ins-completion|.
The items are:
mode Current completion mode name string.
See |completion_info_mode| for the values.
See |complete_info_mode| for the values.
pum_visible |TRUE| if popup menu is visible.
See |pumvisible()|.
items List of completion matches. Each item is a
@ -10433,7 +10433,7 @@ syntax_items There are active syntax highlighting items for the
system Compiled to use system() instead of fork()/exec().
tag_binary Compiled with binary searching in tags files
|tag-binary-search|.
tag_old_static Compiled with support for old static tags
tag_old_static Support for old static tags was removed, see
|tag-old-static|.
tcl Compiled with Tcl interface.
termguicolors Compiled with true color in terminal support.

View File

@ -1,4 +1,4 @@
*insert.txt* For Vim version 8.1. Last change: 2019 Mar 26
*insert.txt* For Vim version 8.1. Last change: 2019 Mar 30
VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*syntax.txt* For Vim version 8.1. Last change: 2018 Dec 27
*syntax.txt* For Vim version 8.1. Last change: 2019 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
@ -1962,7 +1962,7 @@ The g:lisp_rainbow option provides 10 levels of individual colorization for
the parentheses and backquoted parentheses. Because of the quantity of
colorization levels, unlike non-rainbow highlighting, the rainbow mode
specifies its highlighting using ctermfg and guifg, thereby bypassing the
usual colorscheme control using standard highlighting groups. The actual
usual color scheme control using standard highlighting groups. The actual
highlighting used depends on the dark/bright setting (see |'bg'|).
@ -4694,9 +4694,9 @@ in their own color.
Doesn't work recursively, thus you can't use
":colorscheme" in a color scheme script.
To customize a colorscheme use another name, e.g.
To customize a color scheme use another name, e.g.
"~/.vim/colors/mine.vim", and use `:runtime` to load
the original colorscheme: >
the original color scheme: >
runtime colors/evening.vim
hi Statement ctermfg=Blue guifg=Blue
@ -4704,7 +4704,7 @@ in their own color.
|ColorSchemePre| autocommand event is triggered.
After the color scheme has been loaded the
|ColorScheme| autocommand event is triggered.
For info about writing a colorscheme file: >
For info about writing a color scheme file: >
:edit $VIMRUNTIME/colors/README.txt
:hi[ghlight] List all the current highlight groups that have
@ -4901,7 +4901,7 @@ ctermbg={color-nr} *highlight-ctermbg*
explicitly. This causes the highlight groups that depend on
'background' to change! This means you should set the colors for
Normal first, before setting other colors.
When a colorscheme is being used, changing 'background' causes it to
When a color scheme is being used, changing 'background' causes it to
be reloaded, which may reset all colors (including Normal). First
delete the "g:colors_name" variable when you don't want this.

View File

@ -5677,6 +5677,8 @@ complete_CTRL-E insert.txt /*complete_CTRL-E*
complete_CTRL-Y insert.txt /*complete_CTRL-Y*
complete_add() eval.txt /*complete_add()*
complete_check() eval.txt /*complete_check()*
complete_info() eval.txt /*complete_info()*
complete_info_mode eval.txt /*complete_info_mode*
completed_item-variable eval.txt /*completed_item-variable*
completion-functions usr_41.txt /*completion-functions*
complex-change change.txt /*complex-change*
@ -8386,6 +8388,7 @@ ruby-dynamic if_ruby.txt /*ruby-dynamic*
ruby-evaluate if_ruby.txt /*ruby-evaluate*
ruby-globals if_ruby.txt /*ruby-globals*
ruby-message if_ruby.txt /*ruby-message*
ruby-rubyeval if_ruby.txt /*ruby-rubyeval*
ruby-set_option if_ruby.txt /*ruby-set_option*
ruby-vim if_ruby.txt /*ruby-vim*
ruby-window if_ruby.txt /*ruby-window*
@ -8397,6 +8400,7 @@ ruby_no_expensive syntax.txt /*ruby_no_expensive*
ruby_operators syntax.txt /*ruby_operators*
ruby_space_errors syntax.txt /*ruby_space_errors*
ruby_spellcheck_strings syntax.txt /*ruby_spellcheck_strings*
rubyeval() eval.txt /*rubyeval()*
russian russian.txt /*russian*
russian-intro russian.txt /*russian-intro*
russian-issues russian.txt /*russian-issues*
@ -8445,8 +8449,10 @@ scheme.vim syntax.txt /*scheme.vim*
scp pi_netrw.txt /*scp*
screenattr() eval.txt /*screenattr()*
screenchar() eval.txt /*screenchar()*
screenchars() eval.txt /*screenchars()*
screencol() eval.txt /*screencol()*
screenrow() eval.txt /*screenrow()*
screenstring() eval.txt /*screenstring()*
script usr_41.txt /*script*
script-here if_perl.txt /*script-here*
script-local map.txt /*script-local*

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 8.1. Last change: 2019 Mar 23
*todo.txt* For Vim version 8.1. Last change: 2019 Apr 04
VIM REFERENCE MANUAL by Bram Moolenaar
@ -108,29 +108,19 @@ Support for popup widows:
- Use text properties to define highlighting.
- Proposal on issue #4063
Notifications for text changes, could be used for LSP.
- New event, similar to TextChanged, but guaranteed to provide sequential
information of all text changes.
Possibly build on undo info (but undo itself is also a change).
How to deal with ":%s/this/that" ?
Adding "10" to 'spellsuggest' causes spell suggestions to become very slow.
(#4087)
Patch to add complete_info() Shougo - #3866. Ready to include. Now #4106
Problem with Visual yank when 'linebreak' and 'showbreak' are set.
Patch with tests, but it's not clear how it is supposed to work. (tommm, 2018
Nov 17) Asked about this, Dec 22. Christian will have a look.
Does not build with MinGW out of the box:
- _stat64 is not defined, need to use "struct stat" in vim.h
- WINVER conflict, should use 0x0600 by default?
Patch for 'listchars' when there is a composing character on a space.
How about when there is a double-width composing character on a space?
(Yasuhiro Matsumoto, #4046)
Test doesn't fail without patch?
Patch to add ruby cflags. (#4050, fixes #1081)
Needs modification.
Patch to add src/README.md. (WenxuanHuang, #4141) Replace README.txt?
Crash when mixing matchadd and substitute()? (Max Christian Pohle, 2018 May
13, #2910) Can't reproduce?
@ -159,23 +149,9 @@ Bug: script written with "-W scriptout" contains Key codes, while the script
read with "-s scriptin" expects escape codes. Probably "scriptout" needs to
be adjusted. (Daniel Steinberg, 2019 Feb 24, #4041)
Patch to move insert-expand code to insexpand.c. (Yegappan Lakshmanan, #4044)
Patch for larger icons in installer. (#978) Still not good.
Patch on issue #3964 to let sign column stop at the last buffer line.
(Christian Brabandt, 2019 Feb 24)
Patch to use wide font functions. (Ken Takata, 2019 Feb 18, #4000)
Patch on #4073, Andy Massimino. Is this a real problem?
Bug: "vipgw" does not put cursor back where it belongs. (Jason Franklin, 2019
Mar 5)
Patch to add blob2str() and str2blob(). (Yasuhiro Matsumoto, #4049)
Make docs clearer. Is it symmetric?
When using a timer callback vgetc_busy is reset, allowing for using input().
But in a channel callback this does not happen. We need to do something
similar to check_due_timer(). Also see #3809.
@ -196,7 +172,10 @@ Support setting the character displayed below the last line? Neovim uses
Check: __attribute__((format(printf, on semsg() and siemsg(). Where was this
added?
Patch to remove some unneeded {}. (Hirohito Higashi, #3982)
This modeline throws unexpected errors: (#4165)
vim: syn=nosyntax
Patch for listchars with multi-byte chars. #4197, discussion on #4046.
Make balloon_show() work outside of 'balloonexpr'? Users expect it to work:
#2948. (related to #1512?)
@ -209,51 +188,39 @@ balloonexpr() on MS-Windows GUI doesn't handle accented chars? (nivaemail,
2018 Sep 14)
Another request: #3811.
Patch for autoconf to add -fPIC for Fedora. (#4047)
Height of quickfix window is not retained with vertical splits. (Lifepillar,
2018 Aug 24, #2998)
Patch on the issue by Hongbo Liu, 2019 Feb 19 #4013
More warnings from static analysis:
https://lgtm.com/projects/g/vim/vim/alerts/?mode=list
Drop FEAT_TAG_OLDSTATIC? Anybody using this format should be able to get a
newer version of ctags.
Still a E315 error when using terminal. (Masato Nishihata, #3959)
When using 'k' in 'guioptions' gvim may open with a tiny window. (#3808)
Suggested patch on the issue.
Running test_gui and test_gui_init with Motif sometimes kills the window
manager. Problem with Motif? Now test_gui crashes in submenu_change().
Athena is OK.
Motif: Build on Ubuntu can't enter any text in dialog text fields.
nvo-mode mapping works on Windows, not on Linux. (#3678)
Patch to have tutor check $LC_MESSAGES. (#4112)
Patch to add isinf(). (Ozaki Kiichi, #3787)
Patch to fix modify_fname() does not work well with some 'encoding's.
(Ken Takata, #4007)
Patch to de-duplicate code and add error message. (Yegappan, #4207)
Patch to add more info to OptionSet. Should mention what triggered the change
":set", ":setlocal", ":setglobal", "modeline"; and the old global value.
#4118
Patch to make vim_getenv() work with wide API. (Ken Takata, #4008)
How to make (async) complete function depending on completion type?
Patch on #4083 to do this with an autocommand. Probably want something else,
like 'ominfunc'.
Patch to add equal field to complete items. (#3887)
No test for NULL after allocating memory: #4174
src/crypt.c line 256;
src/crypt_zip.c line 93;
src/gui_gtk_f.c line 132;
src/gui_gtk_x11 line 1578;
src/libvterm/src/state.c line 332;
src/libvterm/src/state.c line 255;
src/libvterm/src/state.c line 1618;
src/libvterm/src/state.c line 1643
src/libvterm/src/termscreen.c line 83;
src/ops.c line 6185;
src/option.c line 12980;
src/popupmnu.c line 1090;
When using exclusive selection and vi" that fails, cursor moves to the left.
Cursor should not move. (#4024)
Patch to fix handling long line in tags file. #4051, #4084 (Andy Massimino)
Patch to fix that executable() may fail on very long filename in MS-Windows.
(Ken Takata, 2016 Feb 1, update 2018 Oct 7, update 2019 Feb 19)
Now in pull request #4015.
Patch to be able to separately map CTRL-H and BS on Windows.
(Linwei, 2017 Jul 11, #1833)
@ -275,9 +242,6 @@ Patch to improve readability of complicated if(). (ichizok, 2019 Jan 29,
Patch to include ARM64 support. (Leendert van Doorn, 2019 Feb 9)
Patch to fix hang when opening file where an intermediate directory is not
readable on MS-Windows. (link on #3923)
Pasting foo} causes Vim to behave weird. (John Little, 2018 Jun 17)
Related to bracketed paste. I cannot reproduce it.
@ -295,6 +259,44 @@ For "silent! q" it should not prompt and just fail.
Patch to add readdir(). (Yasuhiro Matsumoto, #2439)
Patch to add list2str() and str2list(). #4190. Can be done with split/join
and map(), but not for composing characters.
Patch to add equal field to complete items. (#3887)
Needs to sync to latest version, merge conflicts.
Summary: no way to avoid filtering for autocomlete function
Problem: No way to avoid filtering for autocomlete function, causing
flickering of the popup menu.
Solution: Add the "equal" field to complete items. (closes #3887)
Patch to add CompleteChanged event: triggered when the complete popup menu
changes. #4176
Problem with Visual yank when 'linebreak' and 'showbreak' are set.
Patch with tests, but it's not clear how it is supposed to work. (tommm, 2018
Nov 17) Asked about this, Dec 22. Christian will have a look.
Patch to add ruby cflags. (#4050, fixes #1081)
Needs modification.
Patch for larger icons in installer. (#978) Still not good.
Some xterm responses are not properly handled: (Markus Gömmel, 2019 Apr 1)
DCS 0 $ r Pt ST should be ignored.
DCS 0 + r/Pt/ ST already ignored?
Patch to add blob_encode() and blob_decode(). (Yasuhiro Matsumoto, #4049)
What do we need these for?
Patch to add more info to OptionSet. Should mention what triggered the change
":set", ":setlocal", ":setglobal", "modeline"; and the old global value.
#4118. Proposed implementation: 2019 Mar 27. Tests fail, help update
missing.
How to make (async) complete function depending on completion type?
Patch on #4083 to do this with an autocommand. Probably want something else,
like 'omnifunc'.
Using CTRL-L to add a character to the search string doesn't work for the last
character in the file. (Smylers, 2018 Nov 17, #3620)
Suggested patch by Hirohito Higashi, 2018 Nov 18.
@ -331,9 +333,6 @@ When splitting a window with few text lines, the relative cursor position is
kept, which means part of the text isn't displayed. Better show all the text
when possible. (Dylan Lloyd, #3973)
Tag stack is incorrect after CTRL-T and then :tag. (Andy Massimino, 2019 Feb
12, #3944) With Patch for a solution (Feb 23). Needs a test.
Patch to implement 'diffref' option. (#3535)
Easier to use a 'diffmaster' option, is the extra complexity needed?
@ -841,9 +840,6 @@ Use gvimext.dll from the nightly build? (Issue #249)
Problem with using :cd when remotely editing a file. (Gerd Wachsmuth, 2017 May
8, #1690)
Running test_gui and test_gui_init with Motif sometimes kills the window
manager. Problem with Motif?
Bogus characters inserted when triggering indent while changing text.
(Vitor Antunes, 2016 Nov 22, #1269)
@ -2230,8 +2226,6 @@ for GTK, how about others? (Ron Aaron, 2010 Apr 10)
Patch for GTK buttons X1Mouse and X2Mouse. (Christian J. Robinson, 2010 Aug 9)
Motif: Build on Ubuntu can't enter any text in dialog text fields.
":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.
@ -3104,6 +3098,10 @@ Awaiting updated patches:
and GTK by degreneir (nov 10 and nov 18).
- Patch for "paranoid mode" by Kevin Collins, March 7. Needs much more work.
Better 'rightleft' or BIDI support:
- Minimal Vi with bidi support: https://github.com/aligrudi/neatvi
By Ali Gholami Rudi, also worked on arabic.c
Quickfix/Location List:
- Window size is wrong when using quickfix window. (Lifepillar, 2018 Aug 24,
#2999)

View File

@ -1,4 +1,4 @@
*usr_41.txt* For Vim version 8.1. Last change: 2019 Jan 29
*usr_41.txt* For Vim version 8.1. Last change: 2019 Mar 29
VIM USER MANUAL - by Bram Moolenaar

View File

@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2019 Mar 19
" Last Change: 2019 Mar 26
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
@ -42,6 +42,8 @@ endif
" Function used for patterns that end in a star: don't set the filetype if the
" file name matches ft_ignore_pat.
" When using this, the entry should probably be further down below with the
" other StarSetf() calls.
func! s:StarSetf(ft)
if expand("<amatch>") !~ g:ft_ignore_pat
exe 'setf ' . a:ft
@ -95,9 +97,6 @@ au BufNewFile,BufRead build.xml setf ant
" Arduino
au BufNewFile,BufRead *.ino,*.pde setf arduino
" Apache style config file
au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle')
" Apache config file
au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache
au BufNewFile,BufRead */etc/apache2/sites-*/*.com setf apache
@ -655,7 +654,6 @@ au BufNewFile,BufRead gnashrc,.gnashrc,gnashpluginrc,.gnashpluginrc setf gnash
" Gitolite
au BufNewFile,BufRead gitolite.conf setf gitolite
au BufNewFile,BufRead */gitolite-admin/conf/* call s:StarSetf('gitolite')
au BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc setf perl
" Gnuplot scripts
@ -804,7 +802,6 @@ au BufNewFile,BufRead *.jsp setf jsp
" Java Properties resource file (note: doesn't catch font.properties.pl)
au BufNewFile,BufRead *.properties,*.properties_??,*.properties_??_?? setf jproperties
au BufNewFile,BufRead *.properties_??_??_* call s:StarSetf('jproperties')
" Jess
au BufNewFile,BufRead *.clp setf jess
@ -1462,7 +1459,6 @@ au BufNewFile,BufRead *.decl,*.dcl,*.dec
" SGML catalog file
au BufNewFile,BufRead catalog setf catalog
au BufNewFile,BufRead sgml.catalog* call s:StarSetf('catalog')
" Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc.
" Gentoo ebuilds and Arch Linux PKGBUILDs are actually bash scripts
@ -1743,7 +1739,6 @@ au BufNewFile,BufRead *.sv,*.svh setf systemverilog
" VHDL
au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst setf vhdl
au BufNewFile,BufRead *.vhdl_[0-9]* call s:StarSetf('vhdl')
" Vim script
au BufNewFile,BufRead *.vim,*.vba,.exrc,_exrc setf vim
@ -1956,6 +1951,7 @@ au StdinReadPost * if !did_filetype() | runtime! scripts.vim | endif
" More Apache style config files
au BufNewFile,BufRead */etc/proftpd/*.conf*,*/etc/proftpd/conf.*/* call s:StarSetf('apachestyle')
au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle')
" More Apache config files
au BufNewFile,BufRead access.conf*,apache.conf*,apache2.conf*,httpd.conf*,srm.conf* call s:StarSetf('apache')
@ -2012,6 +2008,12 @@ au BufNewFile,BufRead *fvwm2rc*
" Gedcom
au BufNewFile,BufRead */tmp/lltmp* call s:StarSetf('gedcom')
" Git
au BufNewFile,BufRead */.gitconfig.d/*,/etc/gitconfig.d/* call s:StarSetf('gitconfig')
" Gitolite
au BufNewFile,BufRead */gitolite-admin/conf/* call s:StarSetf('gitolite')
" GTK RC
au BufNewFile,BufRead .gtkrc*,gtkrc* call s:StarSetf('gtkrc')
@ -2024,6 +2026,9 @@ au! BufNewFile,BufRead *jarg*
\| call s:StarSetf('jargon')
\|endif
" Java Properties resource file (note: doesn't catch font.properties.pl)
au BufNewFile,BufRead *.properties_??_??_* call s:StarSetf('jproperties')
" Kconfig
au BufNewFile,BufRead Kconfig.* call s:StarSetf('kconfig')
@ -2085,6 +2090,9 @@ au BufRead,BufNewFile *.rdf call dist#ft#Redif()
" Remind
au BufNewFile,BufRead .reminders* call s:StarSetf('remind')
" SGML catalog file
au BufNewFile,BufRead sgml.catalog* call s:StarSetf('catalog')
" Shell scripts ending in a star
au BufNewFile,BufRead .bashrc*,.bash[_-]profile*,.bash[_-]logout*,.bash[_-]aliases*,bash-fc[-.]*,,PKGBUILD* call dist#ft#SetFileTypeSH("bash")
au BufNewFile,BufRead .kshrc* call dist#ft#SetFileTypeSH("ksh")
@ -2096,6 +2104,9 @@ au BufNewFile,BufRead .tcshrc* call dist#ft#SetFileTypeShell("tcsh")
" csh scripts ending in a star
au BufNewFile,BufRead .login*,.cshrc* call dist#ft#CSH()
" VHDL
au BufNewFile,BufRead *.vhdl_[0-9]* call s:StarSetf('vhdl')
" Vim script
au BufNewFile,BufRead *vimrc* call s:StarSetf('vim')

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: Make
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2013 Apr 22
" Last Change: 2019 Apr 02
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@ -27,7 +27,7 @@ setlocal commentstring=#\ %s
" Including files.
let &l:include = '^\s*include'
" For matchit.vim, suggested by Albert Netymk.
" For matchit.vim, suggested by Albert Netymk and Ken Takata.
if exists("loaded_matchit")
let b:match_words = '\<if\(n\)\=\(eq\|def\)\>:\<else\>:\<endif\>,\<define\>:\<endef\>'
let b:match_words = '^ *ifn\=\(eq\|def\)\>:^ *else\(\s\+ifn\=\(eq\|def\)\)\=\>:^ *endif\>,\<define\>:\<endef\>,^!\s*if\(n\=def\)\=\>:^!\s*else\(if\(n\=def\)\=\)\=\>:^!\s*endif\>'
endif

View File

@ -6,6 +6,7 @@ GenericName[de]=Texteditor
GenericName[eo]=Tekstoredaktilo
GenericName[fr]=Éditeur de texte
GenericName[pl]=Edytor tekstu
GenericName[is}=Ritvinnsluforrit
Comment=Edit text files
Comment[af]=Redigeer tekslêers
Comment[am]=የጽሑፍ ፋይሎች ያስተካክሉ
@ -37,6 +38,7 @@ Comment[hi]=पाठ फ़ाइलें संपादित करें
Comment[hr]=Uređivanje tekstualne datoteke
Comment[hu]=Szövegfájlok szerkesztése
Comment[id]=Edit file teks
Comment[is]=Vinna með textaskrár
Comment[it]=Modifica file di testo
Comment[ja]=テキストファイルを編集します
Comment[kn]=ಪಠ್ಯ ಕಡತಗಳನ್ನು ಸಂಪಾದಿಸು

View File

@ -3,13 +3,10 @@
" Maintainer: Christian Brabandt <cb@256bit.org>
" Original Author: Nikolai Weibull <now@bitwi.se>
" Previous Maintainer: Peter Aronoff <telemachus@arpinum.org>
" Latest Revision: 2019-02-02
" Latest Revision: 2018-03-26
" License: Vim (see :h license)
" Repository: https://github.com/chrisbra/vim-sh-indent
" Changelog:
" 20190316 - Make use of searchpairpos for nested if sections
" fixes #11
" 20190201 - Better check for closing if sections
" 20180724 - make check for zsh syntax more rigid (needs word-boundaries)
" 20180326 - better support for line continuation
" 20180325 - better detection of function definitions
@ -62,7 +59,6 @@ function! s:indent_value(option)
endfunction
function! GetShIndent()
let curline = getline(v:lnum)
let lnum = prevnonblank(v:lnum - 1)
if lnum == 0
return 0
@ -76,7 +72,7 @@ function! GetShIndent()
" Check contents of previous lines
if line =~ '^\s*\%(if\|then\|do\|else\|elif\|case\|while\|until\|for\|select\|foreach\)\>' ||
\ (&ft is# 'zsh' && line =~ '\<\%(if\|then\|do\|else\|elif\|case\|while\|until\|for\|select\|foreach\)\>')
if !s:is_end_expression(line)
if line !~ '\<\%(fi\|esac\|done\|end\)\>\s*\%(#.*\)\=$'
let ind += s:indent_value('default')
endif
elseif s:is_case_label(line, pnum)
@ -94,10 +90,7 @@ function! GetShIndent()
endif
elseif s:end_block(line) && !s:start_block(line)
let ind -= s:indent_value('default')
elseif pnum != 0 &&
\ s:is_continuation_line(pline) &&
\ !s:end_block(curline) &&
\ !s:is_end_expression(curline)
elseif pnum != 0 && s:is_continuation_line(pline) && !s:end_block(getline(v:lnum))
" only add indent, if line and pline is in the same block
let i = v:lnum
let ind2 = indent(s:find_continued_lnum(pnum))
@ -113,15 +106,8 @@ function! GetShIndent()
let pine = line
" Check content of current line
let line = curline
" Current line is a endif line, so get indent from start of "if condition" line
" TODO: should we do the same for other "end" lines?
if curline =~ '^\s*\%(fi\)\s*\%(#.*\)\=$'
let previous_line = searchpair('\<if\>', '', '\<fi\>', 'bnW')
if previous_line > 0
let ind = indent(previous_line)
endif
elseif line =~ '^\s*\%(then\|do\|else\|elif\|done\|end\)\>' || s:end_block(line)
let line = getline(v:lnum)
if line =~ '^\s*\%(then\|do\|else\|elif\|fi\|done\|end\)\>' || s:end_block(line)
let ind -= s:indent_value('default')
elseif line =~ '^\s*esac\>' && s:is_case_empty(getline(v:lnum - 1))
let ind -= s:indent_value('default')
@ -224,8 +210,8 @@ endfunction
function! s:is_here_doc(line)
if a:line =~ '^\w\+$'
let here_pat = '<<-\?'. s:escape(a:line). '\$'
return search(here_pat, 'bnW') > 0
let here_pat = '<<-\?'. s:escape(a:line). '\$'
return search(here_pat, 'bnW') > 0
endif
return 0
endfunction
@ -270,9 +256,5 @@ function! s:is_comment(line)
return a:line =~ '^\s*#'
endfunction
function! s:is_end_expression(line)
return a:line =~ '\<\%(fi\|esac\|done\|end\)\>\s*\%(#.*\)\=$'
endfunction
let &cpo = s:cpo_save
unlet s:cpo_save

View File

@ -1,8 +1,9 @@
" Menu Translations: German / Deutsch
" Maintainer: Georg Dahn <gorgyd@yahoo.co.uk>
" Originally By: Marcin Dalecki <dalecki@cs.net.pl>
" Johannes Zellner <johannes@zellner.org>
" Last Change: Sat, 11 Mar 2006 22:40:00 CEST
" Maintainer: J<EFBFBD>n Arnar Briem <jonbriem@gmail.com>
" Originally By: Georg Dahn <gorgyd@yahoo.co.uk>
" Marcin Dalecki <dalecki@cs.net.pl>
" Johannes Zellner <johannes@zellner.org>
" Last Change: Mon, 1 April 2019
" vim:set foldmethod=marker tabstop=8:
" Quit when menu translations have already been done.
@ -60,8 +61,8 @@ menutrans &Global\ Settings &Globale\ Einstellungen
menutrans Startup\ &Settings &Starteinstellungen
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! &Hervorhebungen\ ein-\ und\ ausschalten<Tab>:set\ hls!
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Gro<EFBFBD>schreibung\ &ignorieren\ oder\ benutzen<Tab>:set\ ic!
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Anzeige\ des\ passenden\ &Symbols\ ein-\ und\ ausschalten<Tab>:set\ sm!
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! Gro<EFBFBD>schreibung\ &ignorieren\ oder\ benutzen<Tab>:set\ ic!
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Anzeige\ des\ passenden\ &Symbols\ ein-\ und\ ausschalten<Tab>:set\ sm!
menutrans &Context\ lines &Zusammenhang
@ -87,13 +88,13 @@ menutrans F&ile\ Settings &Datei-Einstellungen
" Boolean options
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Anzeige\ der\ Zeilen&nummer\ ein-\ und\ ausschalten<Tab>:set\ nu!
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Anzeige\ der\ relati&ven\ Zeilennummer\ ein-\ und\ ausschalten<Tab>:set\ rnu!
menutrans Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu! Anzeige\ der\ relati&ven\ Zeilennummer\ ein-\ und\ ausschalten<Tab>:set\ rnu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! &List-Modus\ ein-\ und\ ausschalten<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! &Zeilenumbruch\ ein-\ und\ ausschalten<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Umbruch\ an\ &Wortgrenzen\ ein-\ und\ ausschalten<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! &Erweiterung\ von\ Tabulatoren\ ein-\ und\ ausschalten<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! &Automatische\ Einr<EFBFBD>ckung\ ein-\ und\ ausschalten<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &C-Einr<EFBFBD>ckung\ ein-\ und\ ausschalten<Tab>:set\ cin!
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! &Zeilenumbruch\ ein-\ und\ ausschalten<Tab>:set\ wrap!
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! Umbruch\ an\ &Wortgrenzen\ ein-\ und\ ausschalten<Tab>:set\ lbr!
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! &Erweiterung\ von\ Tabulatoren\ ein-\ und\ ausschalten<Tab>:set\ et!
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! &Automatische\ Einr<EFBFBD>ckung\ ein-\ und\ ausschalten<Tab>:set\ ai!
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! &C-Einr<EFBFBD>ckung\ ein-\ und\ ausschalten<Tab>:set\ cin!
" other options
menutrans &Shiftwidth &Schiebeweite
@ -146,7 +147,7 @@ if has("folding")
menutrans &Delete\ Fold<Tab>zd Faltung\ l<EFBFBD>schen<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Alle\ Faltungen\ l<EFBFBD>schen<Tab>zD
" moving around in folds
menutrans Fold\ column\ &width &Breite\ der\ Faltungsspalte
menutrans Fold\ col&umn\ width &Breite\ der\ Faltungsspalte
endif " has folding
if has("diff")
@ -236,6 +237,7 @@ menutrans &How-to\ links How-to\ &Index
menutrans &GUI &Graphische\ Oberfl<EFBFBD>che
menutrans &Credits &Autoren
menutrans Co&pying &Urheberrecht
menutrans &Sponsor/Register Sponsern/&Registrieren
menutrans O&rphans &Waisen
menutrans &Find\.\.\. &Suchen\.\.\. " conflicts with Edit.Find
menutrans &Version &Version

View File

@ -0,0 +1,3 @@
" Menu Translations: Icelandic for iso-8859-1 encoding
source <sfile>:p:h/menu_is_is.latin1.vim

View File

@ -0,0 +1,3 @@
" Menu Translations: Icelandic for UTF-8 encoding
source <sfile>:p:h/menu_is_is.latin1.vim

View File

@ -0,0 +1,305 @@
" Menu Translations: Icelandic / <20>slenska
" Maintainer: J<>n Arnar Briem <jonbriem@gmail.com>
" Originally By: J<>n Arnar Briem <jonbriem@gmail.com>
" Last Change: Sun, 24 Mar 2019 22:40:00 CEST
" vim:set foldmethod=marker tabstop=8:
" Quit when menu translations have already been done.
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
let s:keepcpo= &cpo
set cpo&vim
" The translations below are in latin1, but they work for cp1252 and
" iso-8859-15 without conversion as well.
if &enc != "cp1252" && &enc != "iso-8859-15"
scriptencoding latin1
endif
" {{{ FILE / SKR<4B>
menutrans &File Skr<EFBFBD>
menutrans &Open\.\.\.<Tab>:e Opna\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp Splitt\ opna\.\.\.<Tab>:sp
menutrans Open\ Tab\.\.\.<Tab>:tabnew Opna\ flipa\.\.\.<Tab>:tabnew
menutrans &New<Tab>:enew N<EFBFBD>\ Skr<EFBFBD><Tab>:enew
menutrans &Close<Tab>:close Loka<Tab>:close
menutrans &Save<Tab>:w Vista<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav Vista\ sem\.\.\.<Tab>:sav
menutrans &Print Prenta
menutrans Sa&ve-Exit<Tab>:wqa Vista\ og\ Loka<Tab>:wqa
menutrans E&xit<Tab>:qa Loka<Tab>:qa
if has("diff")
menutrans Split\ &Diff\ with\.\.\. Splitt\ opna\ mismun\ vi<EFBFBD>\.\.\.
menutrans Split\ Patched\ &By\.\.\. Splitt\ opna\ pl<EFBFBD>stra<EFBFBD>\ af\.\.\.
endif
" }}} FILE / SKR<4B>
" {{{ EDIT / BREYTA
menutrans &Edit Breyta
menutrans &Undo<Tab>u Afturkalla<Tab>u
menutrans &Redo<Tab>^R Endurkalla<Tab>^R
menutrans Rep&eat<Tab>\. Endurtaka<Tab>\.
menutrans Cu&t<Tab>"+x Klippa<Tab>"+x
menutrans &Copy<Tab>"+y Afrita<Tab>"+y
menutrans &Paste<Tab>"+gP L<>ma<Tab>"+gP
menutrans Put\ &Before<Tab>[p L<EFBFBD>ma\ Fyrir<Tab>[p
menutrans Put\ &After<Tab>]p L<EFBFBD>ma\ Eftir<Tab>]p
menutrans &Delete<Tab>x Ey<EFBFBD>a<Tab>x
menutrans &Select\ All<Tab>ggVG Velja\ Allt<Tab>ggVG
menutrans &Find\.\.\. Finna\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. Finna\ og\ Skipta\.\.\.
" [-- SETTINGS --]
menutrans Settings\ &Window Stillingar\ Glugga
menutrans &Global\ Settings V<EFBFBD><EFBFBD>v<EFBFBD>rar\ Stillingar
menutrans Startup\ &Settings R<EFBFBD>sistillingar
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Munsturau<EFBFBD>kenning\ <20>\/af<Tab>:set\ hls!
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! Hunsa\ h<EFBFBD>-l<EFBFBD>gstafi\ <20>\/af<Tab>:set\ ic!
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! S<EFBFBD>na\ P<EFBFBD>run <20>\/af<Tab>:set\ sm!
menutrans &Context\ lines Samhengisl<EFBFBD>nur
menutrans &Virtual\ Edit Skinbreytihamur
menutrans Never Aldrei
menutrans Block\ Selection B<EFBFBD>lkval
menutrans Insert\ mode Innskotshamur
menutrans Block\ and\ Insert B<EFBFBD>lkval\ og\ Innskotshamur
menutrans Always Alltaf
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Innskotshamur\ <20>\/af<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Vi\ Samh<EFBFBD>fanleiki <20>\/af<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. Leita\ <20>\ Sl<EFBFBD><EFBFBD>\.\.\.
menutrans Ta&g\ Files\.\.\. Merkja\ Skr<EFBFBD>r\.\.\.
menutrans Toggle\ &Toolbar T<EFBFBD>labor<EFBFBD>\ <20>\/af
menutrans Toggle\ &Bottom\ Scrollbar Ne<EFBFBD>ri\ Skrunbor<EFBFBD>i\ <20>\/af
menutrans Toggle\ &Left\ Scrollbar Vinstri\ Skrunbor<EFBFBD>i\ <20>\/af
menutrans Toggle\ &Right\ Scrollbar H<EFBFBD>gri\ Skrunbor<EFBFBD>i\ <20>\/af
" Edit/File Settings
menutrans F&ile\ Settings Skr<EFBFBD>ar-Stilingar
" Boolean options
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! L<EFBFBD>nun<EFBFBD>mering\ <20>\/af<Tab>:set\ nu!
menutrans Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu! Afst<EFBFBD><EFBFBD>\ L<EFBFBD>nun<EFBFBD>mering\ <20>\/af<Tab>:set\ rnu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Listahamur\ <20>\/af<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! L<EFBFBD>nuhlaup\ <20>\/af<Tab>:set\ wrap!
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! L<EFBFBD>nuhlaup\ <20>\ or<EFBFBD>i\ <20>\/af<Tab>:set\ lbr!
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! Tab-v<EFBFBD>kkun\ <20>\/af<Tab>:set\ et!
menutrans Toggle\ &Auto Indenting<Tab>:set\ ai! Sj<EFBFBD>lfvirkur\ Inndr<EFBFBD>ttur\ <20>\/af<Tab>:set\ ai!
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! C-Inndr<EFBFBD>ttur\ <20>\/af<Tab>:set\ cin!
" other options
menutrans &Shiftwidth Shiftbreidd
menutrans Soft\ &Tabstop Mj<EFBFBD>k\ Tabstopp
menutrans Te&xt\ Width\.\.\. Textabreidd\.\.\.
menutrans &File\ Format\.\.\. Skr<EFBFBD>arform\.\.\.
menutrans C&olor\ Scheme Lita<EFBFBD>ema\.\.\.
menutrans &Keymap Lyklaskipan
" }}} EDIT / BREYTA
" {{{ TOOLS / T<>l
if has("spell")
menutrans &Spelling Stafsetning
menutrans &Spell\ Check\ On Villuleit\ <20>
menutrans Spell\ Check\ &Off Villuleit\ af
menutrans To\ &Next\ error<Tab>]s N<EFBFBD>sta\ Villa<Tab>]s
menutrans To\ &Previous\ error<Tab>[s Fyrri\ Villa<Tab>[s
menutrans Suggest\ &Corrections<Tab>z= Leggja\ til\ Lei<EFBFBD>r<EFBFBD>ttingar<Tab>z=
menutrans &Repeat\ correction<Tab>:spellrepall Endurtaka\ Lei<EFBFBD>r<EFBFBD>ttingu<Tab>:spellrepall
menutrans Set\ language\ to\ "en" Stilla\ Or<EFBFBD>ab<EFBFBD>k\ <20> "en"
menutrans Set\ language\ to\ "en_au" Stilla\ Or<EFBFBD>ab<EFBFBD>k\ <20> "en_au"
menutrans Set\ language\ to\ "en_ca" Stilla\ Or<EFBFBD>ab<EFBFBD>k\ <20> "en_ca"
menutrans Set\ language\ to\ "en_gb" Stilla\ Or<EFBFBD>ab<EFBFBD>k\ <20> "en_gb"
menutrans Set\ language\ to\ "en_nz" Stilla\ Or<EFBFBD>ab<EFBFBD>k\ <20> "en_nz"
menutrans Set\ language\ to\ "en_us" Stilla\ Or<EFBFBD>ab<EFBFBD>k\ <20> "en_us"
menutrans &Find\ More\ Languages Finna\ fleiri\ Or<EFBFBD>ab<EFBFBD>kur
endif
if has("folding")
menutrans &Folding F<EFBFBD>ldun
" open close folds
menutrans &Enable/Disable\ folds<Tab>zi F<>ldun\ <20>\/af<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv Sj<EFBFBD>\ L<EFBFBD>nu\ Bendils<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Sj<EFBFBD>\ Eing<EFBFBD>ngu\ L<EFBFBD>nu\ Bendils<Tab>zMzx
menutrans C&lose\ more\ folds<Tab>zm Loka\ Fleiri\ F<EFBFBD>ldunum<Tab>zm
menutrans &Close\ all\ folds<Tab>zM Loka\ <20>llum\ F<EFBFBD>ldunum<Tab>zM
menutrans O&pen\ more\ folds<Tab>zr Opna\ Fleiri\ Faldanir<Tab>zr
menutrans &Open\ all\ folds<Tab>zR Opna\ Allar\ Faldanir<Tab>zR
" fold method
menutrans Fold\ Met&hod F<EFBFBD>ldunar-h<EFBFBD>ttur
menutrans M&anual Handvirkur
menutrans I&ndent Inndr<EFBFBD>ttur
menutrans E&xpression Seg<EFBFBD>
menutrans S&yntax M<EFBFBD>lskipan
menutrans &Diff Mismunur
menutrans Ma&rker Merking
" create and delete folds
menutrans Create\ &Fold<Tab>zf B<EFBFBD>a\ til\ F<EFBFBD>ldun<Tab>zf
menutrans &Delete\ Fold<Tab>zd Ey<EFBFBD>a\ F<EFBFBD>ldun<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Ey<EFBFBD>a\ <20>llum\ F<EFBFBD>ldunum<Tab>zD
" moving around in folds
menutrans Fold\ Col&umn\ Width Breidd\ F<EFBFBD>ldunar
endif " has folding
if has("diff")
menutrans &Diff Mismunur
menutrans &Update Uppf<EFBFBD>ra
menutrans &Get\ Block S<EFBFBD>kja\ B<EFBFBD>lk
menutrans &Put\ Block Setja\ B<EFBFBD>lk
endif
menutrans &Tools T<EFBFBD>l
menutrans &Jump\ to\ this\ tag<Tab>g^] St<EFBFBD>kkva\ <20>\ Merki<Tab>g^]
menutrans Jump\ &back<Tab>^T St<EFBFBD>kkva\ til\ baka<Tab>^T
menutrans Build\ &Tags\ File B<EFBFBD>a\ til\ Merkjaskr<EFBFBD>
menutrans &Make<Tab>:make Sm<EFBFBD><EFBFBD>a<Tab>:make
menutrans &List\ Errors<Tab>:cl Birta\ Villur<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Birta\ Skilabo<EFBFBD><Tab>:cl!
menutrans &Next\ Error<Tab>:cn N<EFBFBD>sta\ Villa<Tab>:cn
menutrans &Previous\ Error<Tab>:cp Fyrri\ Villa<Tab>:cp
menutrans &Older\ List<Tab>:cold Eldri\ Listi<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew N<EFBFBD>rri\ Listi<Tab>:cnew
menutrans Error\ &Window Villugluggi
menutrans Se&t\ Compiler Smi<EFBFBD>ur
menutrans &Update<Tab>:cwin Uppf<EFBFBD>ra<Tab>:cwin
menutrans &Open<Tab>:copen Opna<Tab>:copen
menutrans &Close<Tab>:cclose Loka<Tab>:cclose
menutrans &Convert\ to\ HEX<Tab>:%!xxd Breyta\ <20>\ HEX<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Breyta\ til\ baka<Tab>:%!xxd\ -r
" }}} TOOLS / T<>L
" {{{ SYNTAX / M<>LSKIPAN
menutrans &Syntax M<EFBFBD>lskipan
menutrans &Show\ filetypes\ in\ menu S<EFBFBD>na\ Skr<EFBFBD>artegundir
menutrans Set\ '&syntax'\ only Stilla\ a<EFBFBD>eins\ 'm<>lskipan'\
menutrans Set\ '&filetype'\ too Stilla\ einnig\ 'skr<6B>artegund'\
menutrans &Off Af
menutrans &Manual Handvirkt
menutrans A&utomatic Sj<EFBFBD>lfvirkt
menutrans on/off\ for\ &This\ file <20>/af\ fyrir\ <20>essa\ skr<EFBFBD>
menutrans Co&lor\ test Litapr<EFBFBD>fun
menutrans &Highlight\ test Au<EFBFBD>kenningarpr<EFBFBD>fun
menutrans &Convert\ to\ HTML Breyta\ <20>\ HTML
" }}} SYNTAX / M<>LSKIPAN
" {{{ BUFFERS / BI<42>MINNI
menutrans &Buffers Bi<EFBFBD>minni
menutrans &Refresh\ menu Uppf<EFBFBD>ra\ valmynd
menutrans Delete Ey<EFBFBD>a
menutrans &Alternate Skipta
menutrans &Next N<EFBFBD>sta
menutrans &Previous Fyrra
" }}} BUFFERS / BI<42>MINNI
" {{{ WINDOW / GLUGGI
menutrans &Window Gluggi
menutrans &New<Tab>^Wn N<EFBFBD>r<Tab>^Wn
menutrans S&plit<Tab>^Ws Splitta<Tab>^Ws
menutrans Split\ &Vertically<Tab>^Wv Splitta\ L<EFBFBD><EFBFBD>r<EFBFBD>tt<Tab>^Wv
menutrans Split\ File\ E&xplorer Splitta\ Skr<EFBFBD>arvafra
menutrans Sp&lit\ To\ #<Tab>^W^^ Splitta\ <20>\ Flipa\ #<Tab>^W^^
menutrans &Close<Tab>^Wc Loka\ Flipa<Tab>^Wc
menutrans Close\ &Other(s)<Tab>^Wo Loka\ <20><>rum\ Flipum<Tab>^Wo
menutrans Ne&xt<Tab>^Ww N<EFBFBD>sti<Tab>^Ww
menutrans P&revious<Tab>^WW Fyrri<Tab>^WW
menutrans &Equal\ Size<Tab>^W= Jafn\ St<EFBFBD>r<Tab>^W=
menutrans &Max\ Height<Tab>^W_ H<EFBFBD>marksh<EFBFBD><EFBFBD><Tab>^W_
menutrans M&in\ Height<Tab>^W1_ L<EFBFBD>gmarksh<EFBFBD><EFBFBD><Tab>^W1_
menutrans Max\ &Width<Tab>^W\| H<EFBFBD>marksbreidd<Tab>^W\|
menutrans Min\ Widt&h<Tab>^W1\| L<EFBFBD>gmarksbreidd<Tab>^W1\|
menutrans Move\ &To F<EFBFBD>ra
menutrans &Top<Tab>^WK Upp<Tab>^WK
menutrans &Bottom<Tab>^WJ Ni<EFBFBD>ur<Tab>^WJ
menutrans &Left\ side<Tab>^WH Til\ Vinstri<Tab>^WH
menutrans &Right\ side<Tab>^WL Til\ H<EFBFBD>gri<Tab>^WL
menutrans Rotate\ &Up<Tab>^WR R<EFBFBD>lla\ upp<Tab>^WR
menutrans Rotate\ &Down<Tab>^Wr R<EFBFBD>lla\ ni<EFBFBD>ur<Tab>^Wr
menutrans Select\ Fo&nt\.\.\. Velja\ Leturger<EFBFBD>\.\.\.
" }}} WINDOW / GLUGGI
" {{{ HELP / HJ<48>LP
menutrans &Help Hj<EFBFBD>lp
menutrans &Overview<Tab><F1> Yfirlit<Tab><F1>
menutrans &User\ Manual Notendahandb<EFBFBD>k
menutrans &How-to\ links Hj<EFBFBD>lparhlekkir
menutrans &GUI Myndr<EFBFBD>nt\ Vi<EFBFBD>m<EFBFBD>t
menutrans &Credits H<EFBFBD>fundar
menutrans Co&pying Afritun
menutrans &Sponsor/Register Styrkja/Skr<EFBFBD>ning
menutrans O&rphans G<EFBFBD><EFBFBD>ger<EFBFBD>arstarf
menutrans &Find\.\.\. Leit\.\.\. " conflicts with Edit.Find
menutrans &Version <20>tg<EFBFBD>fa
menutrans &About Um\ Forriti<EFBFBD>
" }}} HELP / HJ<48>LP
" {{{ POPUP
menutrans &Undo Til\ Baka
menutrans Cu&t Klippa
menutrans &Copy Afrita
menutrans &Paste L<EFBFBD>ma
menutrans &Delete Ey<EFBFBD>a
menutrans Select\ Blockwise Velja\ B<EFBFBD>lkv<EFBFBD>st
menutrans Select\ &Word Velja\ Or<EFBFBD>
menutrans Select\ &Sentence Velja\ Setningu
menutrans Select\ Pa&ragraph Velja\ Efnisgrein
menutrans Select\ &Line Velja\ L<EFBFBD>nu
menutrans Select\ &Block Velja\ B<EFBFBD>lk
menutrans Select\ &All Velja\ Allt
" }}} POPUP
" {{{ TOOLBAR
if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
fun Do_toolbar_tmenu()
tmenu ToolBar.Open Opna Skr<EFBFBD>
tmenu ToolBar.Save Vista Skr<EFBFBD>
tmenu ToolBar.SaveAll Vista Allar Skr<EFBFBD>r
tmenu ToolBar.Print Prenta
tmenu ToolBar.Undo Afturkalla
tmenu ToolBar.Redo Endurkalla
tmenu ToolBar.Cut Klippa
tmenu ToolBar.Copy Afrita
tmenu ToolBar.Paste L<EFBFBD>ma
tmenu ToolBar.Find Finna...
tmenu ToolBar.FindNext Finna N<EFBFBD>sta
tmenu ToolBar.FindPrev Finna fyrri
tmenu ToolBar.Replace Finna og Skipta...
if 0 " disabled; These are in the Windows menu
tmenu ToolBar.New N<EFBFBD>r
tmenu ToolBar.WinSplit Splitta Glugga
tmenu ToolBar.WinMax H<EFBFBD>marksst<EFBFBD>r<EFBFBD> Glugga
tmenu ToolBar.WinMin L<EFBFBD>gmarksst<EFBFBD>r<EFBFBD> Glugga
tmenu ToolBar.WinClose Loka Glugga
endif
tmenu ToolBar.LoadSesn Hla<EFBFBD>a Setu
tmenu ToolBar.SaveSesn Vista Setu
tmenu ToolBar.RunScript Keyra Skriptu
tmenu ToolBar.Make Sm<EFBFBD><EFBFBD>a
tmenu ToolBar.Shell Opna Skel
tmenu ToolBar.RunCtags Sm<EFBFBD><EFBFBD>a Merki
tmenu ToolBar.TagJump Hoppa <20> Merki
tmenu ToolBar.Help Hj<EFBFBD>lp
tmenu ToolBar.FindHelp Finna Hj<EFBFBD>lp...
endfun
endif
" }}} TOOLBAR
" {{{ DIALOG TEXTS
let g:menutrans_no_file = "[Engin Skr<6B>]"
let g:menutrans_help_dialog = "Sl<53>i<EFBFBD> inn skipun e<>a or<6F>a til a<> leita uppl<70>singa um:\n\nForskeyti<74> i_ fyrir <20>lagshamsskipanir (t.d. i_CTRL-X)\nForskeyti<74> c_ fyrir skipanal<61>nuskipanir (t.d. c_<Del>)\nForskeyti<74> ' fyrir nafn <20> valm<6C>guleika (t.d. 'shiftbreidd')"
let g:menutrans_path_dialog = "Sl<53>i<EFBFBD> inn leitarsl<73><6C> fyrir skr<6B>r.\nA<6E>skilji<6A> m<>ppur me<6D> kommu"
let g:menutrans_tags_dialog = "Sl<53>i<EFBFBD> inn nafn Merkjaskr<6B>a.\nA<6E>skilji<6A> n<>fnin me<6D> kommu"
let g:menutrans_textwidth_dialog = "Sl<53>i<EFBFBD> inn n<>ja textabreidd (0 til a<> <20>virkja sni<6E>m<EFBFBD>tun): "
let g:menutrans_fileformat_dialog = "Velji<6A> Skr<6B>arsni<6E>"
" }}}
let &cpo = s:keepcpo
unlet s:keepcpo

View File

@ -0,0 +1,3 @@
" Menu Translations: Icelandic for UTF-8 encoding
source <sfile>:p:h/menu_is_is.latin1.vim

View File

@ -1,8 +1,8 @@
" Vim syntax file
" Language: DCL (Digital Command Language - vms)
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
" Last Change: Aug 31, 2016
" Version: 11
" Last Change: Mar 26, 2019
" Version: 12
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_DCL
" quit when a syntax file was already loaded
@ -10,10 +10,10 @@ if exists("b:current_syntax")
finish
endif
if !has("patch-7.4.1142")
setlocal iskeyword=$,@,48-57,_
else
if (v:version == 704 && has("patch-7.4.1142")) || v:version > 704
syn iskeyword $,@,48-57,_
else
setlocal iskeyword=$,@,48-57,_
endif
syn case ignore

View File

@ -1,8 +1,8 @@
" Vim syntax file
" Language: Lisp
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
" Last Change: Feb 15, 2018
" Version: 27
" Last Change: Mar 26, 2019
" Version: 28
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_LISP
"
" Thanks to F Xavier Noria for a list of 978 Common Lisp symbols taken from HyperSpec
@ -16,10 +16,10 @@ endif
if exists("g:lisp_isk")
exe "setl isk=".g:lisp_isk
elseif !has("patch-7.4.1142")
setl isk=38,42,43,45,47-58,60-62,64-90,97-122,_
else
elseif (v:version == 704 && has("patch-7.4.1142")) || v:version > 704
syn iskeyword 38,42,43,45,47-58,60-62,64-90,97-122,_
else
setl isk=38,42,43,45,47-58,60-62,64-90,97-122,_
endif
if exists("g:lispsyntax_ignorecase") || exists("g:lispsyntax_clisp")

View File

@ -3,7 +3,7 @@
" Maintainer: Roland Hieber <rohieb+vim-iR0jGdkV@rohieb.name>
" Previous Maintainer: Claudio Fleiner <claudio@fleiner.com>
" URL: https://github.com/vim/vim/syntax/make.vim
" Last Change: 2019 Feb 08
" Last Change: 2019 Apr 02
" quit when a syntax file was already loaded
if exists("b:current_syntax")
@ -19,7 +19,7 @@ syn match makeSpecial "^\s*[@+-]\+"
syn match makeNextLine "\\\n\s*"
" some directives
syn match makePreCondit "^ *\(ifeq\>\|else\>\|endif\>\|ifneq\>\|ifdef\>\|ifndef\>\)"
syn match makePreCondit "^ *\(ifn\=\(eq\|def\)\>\|else\(\s\+ifn\=\(eq\|def\)\)\=\>\|endif\>\)"
syn match makeInclude "^ *[-s]\=include"
syn match makeStatement "^ *vpath"
syn match makeExport "^ *\(export\|unexport\)\>"
@ -32,8 +32,8 @@ syn region makeDefine start="^\s*define\s" end="^\s*endef\s*\(#.*\)\?$" contains
" Microsoft Makefile specials
syn case ignore
syn match makeInclude "^! *include"
syn match makePreCondit "! *\(cmdswitches\|error\|message\|include\|if\|ifdef\|ifndef\|else\|elseif\|else if\|else\s*ifdef\|else\s*ifndef\|endif\|undef\)\>"
syn match makeInclude "^!\s*include"
syn match makePreCondit "^!\s*\(cmdswitches\|error\|message\|include\|if\|ifdef\|ifndef\|else\|else\s*if\|else\s*ifdef\|else\s*ifndef\|endif\|undef\)\>"
syn case match
" identifiers
@ -101,17 +101,17 @@ syn sync match makeCommandSync groupthere makeCommands "^[A-Za-z0-9_./$()%-][A-Z
" Define the default highlighting.
" Only when an item doesn't have highlighting yet
hi def link makeNextLine makeSpecial
hi def link makeNextLine makeSpecial
hi def link makeCmdNextLine makeSpecial
hi def link makeSpecTarget Statement
hi def link makeSpecTarget Statement
if !exists("make_no_commands")
hi def link makeCommands Number
hi def link makeCommands Number
endif
hi def link makeImplicit Function
hi def link makeImplicit Function
hi def link makeTarget Function
hi def link makeInclude Include
hi def link makePreCondit PreCondit
hi def link makeStatement Statement
hi def link makePreCondit PreCondit
hi def link makeStatement Statement
hi def link makeIdent Identifier
hi def link makeSpecial Special
hi def link makeComment Comment

View File

@ -1,8 +1,8 @@
" Vim syntax file
" Language: Maple V (based on release 4)
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
" Last Change: Aug 31, 2016
" Version: 15
" Last Change: Mar 26, 2019
" Version: 16
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_MAPLE
"
" Package Function Selection: {{{1
@ -27,10 +27,10 @@ if exists("b:current_syntax")
endif
" Iskeyword Effects: {{{1
if !has("patch-7.4.1142")
setl isk=$,48-57,_,a-z,@-Z
else
if (v:version == 704 && has("patch-7.4.1142")) || v:version > 704
syn iskeyword $,48-57,_,a-z,@-Z
else
setl isk=$,48-57,_,a-z,@-Z
endif
" Package Selection: {{{1

View File

@ -2,8 +2,8 @@
" Language: shell (sh) Korn shell (ksh) bash (sh)
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
" Last Change: Nov 23, 2018
" Version: 185
" Last Change: Mar 26, 2019
" Version: 186
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
" For options and settings, please use: :help ft-sh-syntax
" This file includes many ideas from Eric Brunet (eric.brunet@ens.fr)
@ -89,7 +89,7 @@ if g:sh_fold_enabled && &fdm == "manual"
endif
" set up the syntax-highlighting iskeyword
if has("patch-7.4.1142")
if (v:version == 704 && has("patch-7.4.1142")) || v:version > 704
if exists("b:is_bash")
exe "syn iskeyword ".&iskeyword.",-,:"
else

View File

@ -1,8 +1,8 @@
" Vim syntax file
" Language: TeX
" Maintainer: Charles E. Campbell <NdrchipO@ScampbellPfamily.AbizM>
" Last Change: Nov 02, 2018
" Version: 111
" Last Change: Apr 01, 2019
" Version: 113
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX
"
" Notes: {{{1
@ -127,7 +127,7 @@ elseif b:tex_stylish
else
let b:tex_isk="48-57,a-z,A-Z,192-255"
endif
if v:version > 704 || (v:version == 704 && has("patch-7.4.1142"))
if (v:version == 704 && has("patch-7.4.1142")) || v:version > 704
exe "syn iskeyword ".b:tex_isk
else
exe "setl isk=".b:tex_isk
@ -155,9 +155,9 @@ if !s:tex_no_error
syn cluster texCmdGroup add=texMathError
endif
syn cluster texEnvGroup contains=texMatcher,texMathDelim,texSpecialChar,texStatement
syn cluster texFoldGroup contains=texAccent,texBadMath,texComment,texDefCmd,texDelimiter,texDocType,texInput,texInputFile,texLength,texLigature,texMatcher,texMathZoneV,texMathZoneW,texMathZoneX,texMathZoneY,texMathZoneZ,texNewCmd,texNewEnv,texOnlyMath,texOption,texParen,texRefZone,texSection,texBeginEnd,texSectionZone,texSpaceCode,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texZone,@texMathZones,texTitle,texAbstract,texBoldStyle,texItalStyle,texNoSpell
syn cluster texFoldGroup contains=texAccent,texBadMath,texComment,texDefCmd,texDelimiter,texDocType,texInput,texInputFile,texLength,texLigature,texMatcher,texMathZoneV,texMathZoneW,texMathZoneX,texMathZoneY,texMathZoneZ,texNewCmd,texNewEnv,texOnlyMath,texOption,texParen,texRefZone,texSection,texBeginEnd,texSectionZone,texSpaceCode,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texZone,@texMathZones,texTitle,texAbstract,texBoldStyle,texItalStyle,texEmphStyle,texNoSpell
syn cluster texBoldGroup contains=texAccent,texBadMath,texComment,texDefCmd,texDelimiter,texDocType,texInput,texInputFile,texLength,texLigature,texMatcher,texMathZoneV,texMathZoneW,texMathZoneX,texMathZoneY,texMathZoneZ,texNewCmd,texNewEnv,texOnlyMath,texOption,texParen,texRefZone,texSection,texBeginEnd,texSectionZone,texSpaceCode,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texZone,@texMathZones,texTitle,texAbstract,texBoldStyle,texBoldItalStyle,texNoSpell
syn cluster texItalGroup contains=texAccent,texBadMath,texComment,texDefCmd,texDelimiter,texDocType,texInput,texInputFile,texLength,texLigature,texMatcher,texMathZoneV,texMathZoneW,texMathZoneX,texMathZoneY,texMathZoneZ,texNewCmd,texNewEnv,texOnlyMath,texOption,texParen,texRefZone,texSection,texBeginEnd,texSectionZone,texSpaceCode,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texZone,@texMathZones,texTitle,texAbstract,texItalStyle,texItalBoldStyle,texNoSpell
syn cluster texItalGroup contains=texAccent,texBadMath,texComment,texDefCmd,texDelimiter,texDocType,texInput,texInputFile,texLength,texLigature,texMatcher,texMathZoneV,texMathZoneW,texMathZoneX,texMathZoneY,texMathZoneZ,texNewCmd,texNewEnv,texOnlyMath,texOption,texParen,texRefZone,texSection,texBeginEnd,texSectionZone,texSpaceCode,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texZone,@texMathZones,texTitle,texAbstract,texItalStyle,texEmphStyle,texItalBoldStyle,texNoSpell
if !s:tex_nospell
syn cluster texMatchGroup contains=texAccent,texBadMath,texComment,texDefCmd,texDelimiter,texDocType,texInput,texLength,texLigature,texMatcher,texNewCmd,texNewEnv,texOnlyMath,texParen,texRefZone,texSection,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texBoldStyle,texBoldItalStyle,texItalStyle,texItalBoldStyle,texZone,texInputFile,texOption,@Spell
syn cluster texMatchNMGroup contains=texAccent,texBadMath,texComment,texDefCmd,texDelimiter,texDocType,texInput,texLength,texLigature,texMatcherNM,texNewCmd,texNewEnv,texOnlyMath,texParen,texRefZone,texSection,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texBoldStyle,texBoldItalStyle,texItalStyle,texItalBoldStyle,texZone,texInputFile,texOption,@Spell
@ -301,6 +301,7 @@ syn match texTypeStyle "\\tt\>"
if s:tex_conceal !~# 'b'
syn match texTypeStyle "\\textbf\>"
syn match texTypeStyle "\\textit\>"
syn match texTypeStyle "\\emph\>"
endif
syn match texTypeStyle "\\textmd\>"
syn match texTypeStyle "\\textrm\>"
@ -309,7 +310,6 @@ syn match texTypeStyle "\\textsf\>"
syn match texTypeStyle "\\textsl\>"
syn match texTypeStyle "\\texttt\>"
syn match texTypeStyle "\\textup\>"
syn match texTypeStyle "\\emph\>"
syn match texTypeStyle "\\mathbb\>"
syn match texTypeStyle "\\mathbf\>"
@ -385,11 +385,13 @@ if s:tex_fast =~# 'b'
syn region texBoldItalStyle matchgroup=texTypeStyle start="\\textit\s*{" matchgroup=texTypeStyle end="}" concealends contains=@texItalGroup,@Spell
syn region texItalStyle matchgroup=texTypeStyle start="\\textit\s*{" matchgroup=texTypeStyle end="}" concealends contains=@texItalGroup,@Spell
syn region texItalBoldStyle matchgroup=texTypeStyle start="\\textbf\s*{" matchgroup=texTypeStyle end="}" concealends contains=@texBoldGroup,@Spell
syn region texEmphStyle matchgroup=texTypeStyle start="\\emph\s*{" matchgroup=texTypeStyle end="}" concealends contains=@texItalGroup,@Spell
else
syn region texBoldStyle matchgroup=texTypeStyle start="\\textbf\s*{" matchgroup=texTypeStyle end="}" concealends contains=@texBoldGroup
syn region texBoldItalStyle matchgroup=texTypeStyle start="\\textit\s*{" matchgroup=texTypeStyle end="}" concealends contains=@texItalGroup
syn region texItalStyle matchgroup=texTypeStyle start="\\textit\s*{" matchgroup=texTypeStyle end="}" concealends contains=@texItalGroup
syn region texItalBoldStyle matchgroup=texTypeStyle start="\\textbf\s*{" matchgroup=texTypeStyle end="}" concealends contains=@texBoldGroup
syn region texEmphStyle matchgroup=texTypeStyle start="\\emph\s*{" matchgroup=texTypeStyle end="}" concealends contains=@texItalGroup
endif
endif
endif
@ -790,6 +792,8 @@ if has("conceal") && &enc == 'utf-8'
\ ['propto' , '∝'],
\ ['rceil' , '⌉'],
\ ['Re' , ''],
\ ['quad' , ' '],
\ ['qquad' , ''],
\ ['rfloor' , '⌋'],
\ ['right)' , ')'],
\ ['right]' , ']'],
@ -1228,6 +1232,7 @@ if !exists("skip_tex_syntax_inits")
hi texItalStyle gui=italic cterm=italic
hi texBoldItalStyle gui=bold,italic cterm=bold,italic
hi texItalBoldStyle gui=bold,italic cterm=bold,italic
hi def link texEmphStyle texItalStyle
hi def link texCite texRefZone
hi def link texDefCmd texDef
hi def link texDefName texDef

View File

@ -1,8 +1,8 @@
" Vim syntax file
" Language: Vim 8.0 script
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
" Last Change: Sep 26, 2018
" Version: 8.0-20
" Last Change: Mar 08, 2019
" Version: 8.0-21
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
" Automatically generated keyword lists: {{{1
@ -217,7 +217,7 @@ syn keyword vimAugroupKey contained aug[roup]
" =========
syn cluster vimOperGroup contains=vimEnvvar,vimFunc,vimFuncVar,vimOper,vimOperParen,vimNumber,vimString,vimRegister,vimContinue
syn match vimOper "\%#=1\(==\|!=\|>=\|<=\|=\~\|!\~\|>\|<\|=\)[?#]\{0,2}" skipwhite nextgroup=vimString,vimSpecFile
syn match vimOper "\(\<is\>\|\<isnot\>\)[?#]\{0,2}" skipwhite nextgroup=vimString,vimSpecFile
syn match vimOper "\(\<is\|\<isnot\)[?#]\{0,2}\>" skipwhite nextgroup=vimString,vimSpecFile
syn match vimOper "||\|&&\|[-+.]" skipwhite nextgroup=vimString,vimSpecFile
syn region vimOperParen matchgroup=vimParenSep start="(" end=")" contains=@vimOperGroup
syn region vimOperParen matchgroup=vimSep start="{" end="}" contains=@vimOperGroup nextgroup=vimVar,vimFuncVar

View File

@ -1,8 +1,8 @@
" Vim syntax file
" Language: Yacc
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
" Last Change: Aug 31, 2016
" Version: 15
" Last Change: Mar 25, 2019
" Version: 16
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_YACC
"
" Options: {{{1
@ -43,12 +43,12 @@ syn cluster yaccRulesCluster contains=yaccNonterminal,yaccString,yaccComment
" ---------------------------------------------------------------------
" Yacc Sections: {{{1
SynFold syn region yaccInit start='.'ms=s-1,rs=s-1 matchgroup=yaccSectionSep end='^%%$'me=e-2,re=e-2 contains=@yaccInitCluster nextgroup=yaccRules skipwhite skipempty contained
SynFold syn region yaccInit2 start='\%^.'ms=s-1,rs=s-1 matchgroup=yaccSectionSep end='^%%$'me=e-2,re=e-2 contains=@yaccInitCluster nextgroup=yaccRules skipwhite skipempty
SynFold syn region yaccHeader2 matchgroup=yaccSep start="^\s*\zs%{" end="^\s*%}" contains=@yaccCode nextgroup=yaccInit skipwhite skipempty contained
SynFold syn region yaccHeader matchgroup=yaccSep start="^\s*\zs%{" end="^\s*%}" contains=@yaccCode nextgroup=yaccInit skipwhite skipempty
SynFold syn region yaccRules matchgroup=yaccSectionSep start='^%%$' end='^%%$'me=e-2,re=e-2 contains=@yaccRulesCluster nextgroup=yaccEndCode skipwhite skipempty contained
SynFold syn region yaccEndCode matchgroup=yaccSectionSep start='^%%$' end='\%$' contains=@yaccCode contained
SynFold syn region yaccInit start='.'ms=s-1,rs=s-1 matchgroup=yaccSectionSep end='^%%\ze\(\s*/[*/].*\)\=$'me=e-2,re=e-2 contains=@yaccInitCluster nextgroup=yaccRules skipwhite skipempty contained
SynFold syn region yaccInit2 start='\%^.'ms=s-1,rs=s-1 matchgroup=yaccSectionSep end='^%%\ze\(\s*/[*/].*\)\=$'me=e-2,re=e-2 contains=@yaccInitCluster nextgroup=yaccRules skipwhite skipempty
SynFold syn region yaccHeader2 matchgroup=yaccSep start="^\s*\zs%{" end="^\s*%}" contains=@yaccCode nextgroup=yaccInit skipwhite skipempty contained
SynFold syn region yaccHeader matchgroup=yaccSep start="^\s*\zs%{" end="^\s*%}" contains=@yaccCode nextgroup=yaccInit skipwhite skipempty
SynFold syn region yaccRules matchgroup=yaccSectionSep start='^%%\ze\(\s*/[*/].*\)\=$' end='^%%\ze\(\s*/[*/].*\)\=$'me=e-2,re=e-2 contains=@yaccRulesCluster nextgroup=yaccEndCode skipwhite skipempty contained
SynFold syn region yaccEndCode matchgroup=yaccSectionSep start='^%%\ze\(\s*/[*/].*\)\=$' end='\%$' contains=@yaccCode contained
" ---------------------------------------------------------------------
" Yacc Commands: {{{1
@ -72,6 +72,7 @@ syn match yaccType "<[a-zA-Z_][a-zA-Z0-9_]*>" contains=yaccBrkt contained
SynFold syn region yaccNonterminal start="^\s*\a\w*\ze\_s*\(/\*\_.\{-}\*/\)\=\_s*:" matchgroup=yaccDelim end=";" matchgroup=yaccSectionSep end='^%%$'me=e-2,re=e-2 contains=yaccAction,yaccDelim,yaccString,yaccComment contained
syn region yaccComment start="/\*" end="\*/"
syn region yaccComment start="//" end="$"
syn match yaccString "'[^']*'" contained

View File

@ -4,6 +4,7 @@ GenericName=Text Editor
GenericName[da]=Teksteditor
GenericName[de]=Texteditor
GenericName[pl]=Edytor tekstu
GenericName[is]=Ritvinnsluforrit
Comment=Edit text files
Comment[af]=Redigeer tekslêers
Comment[am]=የጽሑፍ ፋይሎች ያስተካክሉ
@ -34,6 +35,7 @@ Comment[hi]=पाठ फ़ाइलें संपादित करें
Comment[hr]=Uređivanje tekstualne datoteke
Comment[hu]=Szövegfájlok szerkesztése
Comment[id]=Edit file teks
Comment[is]=Vinna með textaskrár
Comment[it]=Modifica file di testo
Comment[ja]=テキストファイルを編集します
Comment[kn]=ಪಠ್ಯ ಕಡತಗಳನ್ನು ಸಂಪಾದಿಸು