0
0
mirror of https://github.com/vim/vim.git synced 2025-08-23 19:34:27 -04:00

Updated runtime files.

This commit is contained in:
Bram Moolenaar 2018-05-17 13:15:23 +02:00
parent 0b39464f69
commit 7c63fbc46e
8 changed files with 657 additions and 354 deletions

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 8.0. Last change: 2018 May 15 *todo.txt* For Vim version 8.0. Last change: 2018 May 17
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -36,9 +36,9 @@ entered there will not be repeated below, unless there is extra information.
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------
Terminal emulator window: Terminal emulator window:
- Duplicated lines when making terminal only window. (Dominique, #2909)
- Still some stuff to implement and bugs to fix, see src/terminal.c - Still some stuff to implement and bugs to fix, see src/terminal.c
- Add more functionality for terminal API? (Ozaki Kiichi 2018 May 13, #2907)
Patch to refactor efm_to_regpat(). (Yegappan Lakshmanan, 2018 May 16, #2924)
Crash when mixing matchadd and substitute()? (Max Christian Pohle, 2018 May Crash when mixing matchadd and substitute()? (Max Christian Pohle, 2018 May
13, #2910) Can't reproduce? 13, #2910) Can't reproduce?
@ -104,6 +104,12 @@ CreateFile() returns ERROR_SHARING_VIOLATION (Linwei, 2018 May 5)
Should add a test for every command line argument. Check coverage for what is Should add a test for every command line argument. Check coverage for what is
missing: --nofork, -A , -b, -h, etc. missing: --nofork, -A , -b, -h, etc.
Completing a command sometimes results in duplicates, since 7.4.672.
(Yegappan Lakshmanan, 2018 May 16)
Duplication of completion suggestions for ":!hom". Issue #539.
Patch by Christian, 2016 Jan 29
Another patch in #2733.
Improve the installer for MS-Windows. There are a few alternatives: Improve the installer for MS-Windows. There are a few alternatives:
- Add silent install option. (Shane Lee, #751) - Add silent install option. (Shane Lee, #751)
- Installer from Cream (Steve Hall). - Installer from Cream (Steve Hall).
@ -306,10 +312,6 @@ Start with filetype detection: testdir/test_filetype.vim
Window not closed when deleting buffer. (Harm te Hennepe, 2017 Aug 27, #2029) Window not closed when deleting buffer. (Harm te Hennepe, 2017 Aug 27, #2029)
Duplication of completion suggestions for ":!hom". Issue #539.
Patch by Christian, 2016 Jan 29
Another patch in #2733.
>
Add options_default() / options_restore() to set several options to Vim Add options_default() / options_restore() to set several options to Vim
defaults for a plugin. Comments from Zyx, 2017 May 10. defaults for a plugin. Comments from Zyx, 2017 May 10.
Perhaps use a vimcontext / endvimcontext command block. Perhaps use a vimcontext / endvimcontext command block.

View File

@ -1,4 +1,4 @@
*version8.txt* For Vim version 8.0. Last change: 2018 May 13 *version8.txt* For Vim version 8.0. Last change: 2018 May 17
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -25533,5 +25533,130 @@ Problem: Compiler warning for signed/unsigned char pointers. (Cesar Romani)
Solution: Change the type of jv_argv. Solution: Change the type of jv_argv.
Files: src/channel.c, src/structs.h Files: src/channel.c, src/structs.h
Patch 8.0.1828
Problem: Get no clue why :gui does not fork.
Solution: Add a channel log message.
Files: src/channel.c
Patch 8.0.1829
Problem: MS-Windows: script for vimdiff can't handle ! chars.
Solution: Escape the ! chars. (Hans Ginzel, closes #2896)
Files: src/dosinst.c
Patch 8.0.1830
Problem: Switching to Terminal-Normal mode does not redraw. (Dominique
Pelle)
Solution: Also redraw when not updating the snapshot. (closes #2904)
Files: src/terminal.c
Patch 8.0.1831
Problem: Sometimes the quickfix title is incorrectly prefixed with ':'.
Solution: Prepend the colon in another way. (Yegappan Lakshmanan, closes
#2905)
Files: src/evalfunc.c, src/quickfix.c, src/testdir/test_quickfix.vim
Patch 8.0.1832
Problem: Cannot use :unlet for an environment variable.
Solution: Make it work. Use unsetenv() if available. (Yasuhiro Matsumoto,
closes #2855)
Files: runtime/doc/eval.txt, src/config.h.in, src/configure.ac,
src/auto/configure, src/eval.c, src/misc1.c, src/proto/misc1.pro,
src/testdir/test_unlet.vim
Patch 8.0.1833
Problem: X11: ":echo 3.14" gives E806.
Solution: set LC_NUMERIC to "C". (Dominique Pelle, closes #2368)
Files: src/gui_x11.c
Patch 8.0.1834
Problem: GUI: find/replace dialog does not handle some chars properly.
Solution: Escape '?' when needed. Always escape backslash. (closes #2418,
closes #2435)
Files: src/gui.c
Patch 8.0.1835
Problem: Print document name does not support multi-byte.
Solution: Use StartDocW() if needed. (Yasuhiro Matsumoto, closes #2478)
Files: src/os_mswin.c
Patch 8.0.1836
Problem: Buffer-local window options may not be recent if the buffer is
still open in another window.
Solution: Copy the options from the window instead of the outdated window
options. (Bjorn Linse, closes #2336)
Files: src/buffer.c, src/testdir/test_options.vim
Patch 8.0.1837
Problem: One character cmdline abbreviation not triggered after '<,'>.
Solution: Skip over the special range. (Christian Brabandt, closes #2320)
Files: src/ex_getln.c, src/testdir/test_mapping.vim
Patch 8.0.1838
Problem: Cursor in wrong position when switching to Terminal-Normal mode.
(Dominique Pelle)
Solution: Move to the end of the line if coladvance() fails. Do not take a
snapshot a second time.
Files: src/terminal.c
Patch 8.0.1839
Problem: Script to check .po file doesn't check for plural header.
Solution: Add a check that the plural header is present when needed.
Files: src/po/check.vim
Patch 8.0.1840
Problem: getwinpos() is not tested.
Solution: Add a test. (Dominique Pelle, closes #2911)
Files: src/testdir/test_gui.vim
Patch 8.0.1841
Problem: HP-UX does not have setenv().
Solution: Use vim_setenv(). (John Marriott)
Files: src/misc1.c
Patch 8.0.1842
Problem: Popup menu inside terminal window isn't cleared.
Solution: Use NOT_VALID in pum_undisplay(). (suggested by Christian
Brabandt, closes #2908)
Files: src/popupmnu.c
Patch 8.0.1843
Problem: Entry for 'wrap' in options window is wrong. (John Little)
Solution: Make the change apply locally.
Files: runtime/optwin.vim
Patch 8.0.1844
Problem: Superfluous quickfix code, missing examples.
Solution: Remove unneeded code. Add a few examples. Add a bit more
testing. (Yegappan Lakshmanan, closes #2916)
Files: runtime/doc/quickfix.txt, src/quickfix.c,
src/testdir/test_quickfix.vim
Patch 8.0.1845
Problem: Various comment updates needed, missing white space.
Solution: Update comments, add white space.
Files: src/getchar.c, src/testdir/test_cscope.vim, src/gui_mac.c
Patch 8.0.1846
Problem: Python interface is incompatible with lldb.
Solution: For OutputType set the base to be PyFile_Type. (Boxu Zhang)
Partly disabled to avoid a crash.
Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
Patch 8.0.1847
Problem: Some build options don't have an example.
Solution: Add a couple more examples and compiler flags.
Files: src/Makefile
Patch 8.0.1848
Problem: 'termwinscroll' does not work properly. (Dominique Pelle)
Solution: Subtract removed scrollback from the scrollback count. Add a test
for 'termwinscroll'. (closes #2909)
Files: src/terminal.c, src/testdir/test_terminal.vim
Patch 8.0.1849
Problem: Compiler warning for unused arguments and missing prototype.
Solution: Add UNUSED. Add static.
Files: src/mbyte.c, src/if_ruby.c
vim:tw=78:ts=8:ft=help:norl: vim:tw=78:ts=8:ft=help:norl:

View File

@ -2,7 +2,7 @@
" Maintainer: Antonio Colombo <azc100@gmail.com> " Maintainer: Antonio Colombo <azc100@gmail.com>
" Vlad Sandrini <vlad.gently@gmail.com> " Vlad Sandrini <vlad.gently@gmail.com>
" Luciano Montanaro <mikelima@cirulla.net> " Luciano Montanaro <mikelima@cirulla.net>
" Last Change: 2012 May 01 " Last Change: 2018 May 16
" Quit when menu translations have already been done. " Quit when menu translations have already been done.
if exists("did_menu_trans") if exists("did_menu_trans")
@ -16,87 +16,92 @@ scriptencoding iso-8859-1
" Help / Aiuto " Help / Aiuto
menut &Help &Aiuto menut &Help &Aiuto
menut &Overview<Tab><F1> &Panoramica<Tab><F1> menut &Overview<Tab><F1> &Panoramica<Tab><F1>
menut &User\ Manual Manuale\ &Utente menut &User\ Manual Manuale\ &Utente
menut &How-to\ links Co&Me\.\.\. menut &How-to\ links Co&Me\.\.\.
"menut &GUI &GUI menut &Find\.\.\. &Cerca\.\.\.
" -SEP1-
menut &Credits Cr&Editi menut &Credits Cr&Editi
menut Co&pying C&Opie menut Co&pying C&Opie
menut &Sponsor/Register &Sponsor/registrazione menut &Sponsor/Register &Sponsor/Registrazione
menut O&rphans O&Rfani menut O&rphans O&Rfani
"menut &Find\.\.\. &Cerca\.\.\. " -SEP2-
"NOTA: fa conflitto con 'cerca' nel menu 'modifica'
menut &Version &Versione menut &Version &Versione
menut &About &Intro menut &About &Intro
let g:menutrans_help_dialog = "Batti un comando o una parola per cercare aiuto:\n\nPremetti i_ per comandi in modo Input (ad.es.: i_CTRL-X)\nPremetti c_ per comandi che editano la linea-comandi (ad.es.: c_<Del>)\nPremetti ' per un nome di opzione (ad.es.: 'shiftwidth')" let g:menutrans_help_dialog = "Batti un comando o una parola per cercare aiuto:\n\nPremetti i_ per comandi in modo Input (ad.es.: i_CTRL-X)\nPremetti c_ per comandi che editano la linea-comandi (ad.es.: c_<Del>)\nPremetti ' per un nome di opzione (ad.es.: 'shiftwidth')"
" File menu " File / File
"menut &File &File menut &File &File
"
menut &Open\.\.\.<Tab>:e &Apri\.\.\.<Tab>:e menut &Open\.\.\.<Tab>:e &Apri\.\.\.<Tab>:e
menut Sp&lit-Open\.\.\.<Tab>:sp A&Pri\ nuova\ finestra\.\.\.<Tab>:sp menut Sp&lit-Open\.\.\.<Tab>:sp A&Pri\ nuova\ finestra\.\.\.<Tab>:sp
menut Open\ Tab\.\.\.<Tab>:tabnew Apri\ nuova\ &Linguetta\.\.\.<Tab>:tabnew menut Open\ Tab\.\.\.<Tab>:tabnew Apri\ nuova\ &Linguetta\.\.\.<Tab>:tabnew
menut &New<Tab>:enew &Nuovo<Tab>:enew menut &New<Tab>:enew &Nuovo<Tab>:enew
menut &Close<Tab>:close &Chiudi<Tab>:close menut &Close<Tab>:close &Chiudi<Tab>:close
" -SEP1-
menut &Save<Tab>:w &Salva<Tab>:w menut &Save<Tab>:w &Salva<Tab>:w
menut Save\ &As\.\.\.<Tab>:sav Salva\ &Con\ nome\.\.\.<Tab>:sav menut Save\ &As\.\.\.<Tab>:sav Salva\ &Con\ nome\.\.\.<Tab>:sav
" -SEP2-
if has("diff") menut Split\ &Diff\ with\.\.\. &Differenza\ con\.\.\.
menut Split\ &Diff\ with\.\.\. Finestra\ &Differenza\ con\.\.\. menut Split\ Patched\ &By\.\.\. Patc&H\ da\.\.\.
menut Split\ Patched\ &By\.\.\. Finestra\ patc&H\ da\.\.\. " -SEP3-
endif menut &Print S&tampa
" -SEP4-
menut &Print S&tampa
menut Sa&ve-Exit<Tab>:wqa Sa&Lva\ ed\ esci<Tab>:wqa menut Sa&ve-Exit<Tab>:wqa Sa&Lva\ ed\ esci<Tab>:wqa
menut E&xit<Tab>:qa &Esci<Tab>:qa menut E&xit<Tab>:qa &Esci<Tab>:qa
" Edit / Modifica " Edit / Modifica
menut &Edit &Modifica menut &Edit &Modifica
menut &Undo<Tab>u &Annulla<Tab>u menut &Undo<Tab>u &Annulla<Tab>u
menut &Redo<Tab>^R &Ripristina<Tab>^R menut &Redo<Tab>^R &Ripristina<Tab>^R
menut Rep&eat<Tab>\. Ri&Peti<Tab>\. menut Rep&eat<Tab>\. Ri&Peti<Tab>\.
" -SEP1-
menut Cu&t<Tab>"+x &Taglia<Tab>"+x menut Cu&t<Tab>"+x &Taglia<Tab>"+x
menut &Copy<Tab>"+y &Copia<Tab>"+y menut &Copy<Tab>"+y &Copia<Tab>"+y
menut &Paste<Tab>"+gP &Incolla<Tab>"+gP menut &Paste<Tab>"+gP &Incolla<Tab>"+gP
menut Put\ &Before<Tab>[p &Metti\ davanti<Tab>[p menut Put\ &Before<Tab>[p &Metti\ davanti<Tab>[p
menut Put\ &After<Tab>]p M&Etti\ dietro<Tab>]p menut Put\ &After<Tab>]p M&Etti\ dietro<Tab>]p
menut &Delete<Tab>x Cance&Lla<Tab>x menut &Delete<Tab>x Cance&Lla<Tab>x
menut &Select\ all<Tab>ggVG Seleziona\ &Tutto<Tab>ggVG menut &Select\ all<Tab>ggVG Seleziona\ &Tutto<Tab>ggVG
menut &Select\ All<Tab>ggVG Seleziona\ &Tutto<Tab>ggVG " -SEP2-
menut &Find\.\.\. &Cerca\.\.\. menut &Find\.\.\. &Cerca\.\.\.
menut Find\ and\ Rep&lace\.\.\. &Sostituisci\.\.\. menut &Find\.\.\.<Tab>/ &Cerca\.\.\.<Tab>/
menut Settings\ &Window &Finestra\ impostazioni menut Find\ and\ Rep&lace\.\.\. &Sostituisci\.\.\.
menut Startup\ &Settings Impostazioni\ di\ &Avvio menut Find\ and\ Rep&lace\.\.\.<Tab>:%s &Sostituisci\.\.\.<Tab>:%s
menut &Global\ Settings Impostazioni\ &Globali menut Find\ and\ Rep&lace\.\.\.<Tab>:s &Sostituisci\.\.\.<Tab>:s
menut Question Domanda " -SEP3-
menut Settings\ &Window &Finestra\ Impostazioni
menut Startup\ &Settings Impostazioni\ di\ &Avvio
menut &Global\ Settings Impostazioni\ &Globali
menut Question Domanda
" Edit / Modifica / Impostazioni Globali
" Edit / Modifica Impostazioni Globali
menut &Global\ Settings Impostazioni\ &Globali
menut Toggle\ Pattern\ &Highlight<Tab>:set\ hls! &Evidenzia\ ricerche\ /No<Tab>:set\ hls! menut Toggle\ Pattern\ &Highlight<Tab>:set\ hls! &Evidenzia\ ricerche\ /No<Tab>:set\ hls!
menut Toggle\ &Ignore-case<Tab>:set\ ic! &Ignora\ maiusc\.-minusc\.\ /No<Tab>:set\ ic! menut Toggle\ &Ignoring\ Case<Tab>:set\ ic! &Ignora\ maiusc\.-minusc\.\ /No<Tab>:set\ ic!
menut Toggle\ &Showmatch<Tab>:set\ sm! Indica\ &Corrispondente\ /No<Tab>:set\ sm! menut Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Indica\ &Corrispondenze\ /No<Tab>:set\ sm!
menut &Context\ lines &Linee\ di\ contesto
menut &Context\ lines &Linee\ di\ contesto
menut &Virtual\ Edit &Edit\ virtuale menut &Virtual\ Edit &Edit\ virtuale
menut Never Mai
menut Block\ Selection Selezione\ Blocco
menut Insert\ mode Modo\ Insert
menut Block\ and\ Insert Selezione\ Blocco\ e\ Inserimento
menut Always Sempre
menut Never Mai menut Toggle\ Insert\ &Mode<Tab>:set\ im! &Modo\ Insert\ /No<Tab>:set\ im!
menut Block\ Selection Selezione\ blocco menut Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! C&Ompatibilità\ VI\ /No<Tab>:set\ cp!
menut Insert\ mode Modo\ insert
menut Block\ and\ Insert Selezione\ blocco+inserimento
menut Always Sempre
menut Toggle\ Insert\ &Mode<Tab>:set\ im! &Modo\ insert\ /No<Tab>:set\ im!
menut Toggle\ Vi\ C&ompatible<Tab>:set\ cp! C&Ompatibile\ VI\ /No<Tab>:set\ cp!
menut Search\ &Path\.\.\. &Percorso\ di\ ricerca\.\.\. menut Search\ &Path\.\.\. &Percorso\ di\ ricerca\.\.\.
menut Ta&g\ Files\.\.\. File\ ta&G\.\.\. menut Ta&g\ Files\.\.\. File\ ta&G\.\.\.
" " -SEP1-
" Opzioni GUI menut Toggle\ &Toolbar Barra\ s&Trumenti\ /No
menut Toggle\ &Toolbar Barra\ s&Trumenti\ /No
menut Toggle\ &Bottom\ Scrollbar Barra\ scorrimento\ in\ &Fondo\ /No menut Toggle\ &Bottom\ Scrollbar Barra\ scorrimento\ in\ &Fondo\ /No
menut Toggle\ &Left\ Scrollbar Barra\ scorrimento\ a\ &Sinistra\ /No menut Toggle\ &Left\ Scrollbar Barra\ scorrimento\ a\ &Sinistra\ /No
menut Toggle\ &Right\ Scrollbar Barra\ scorrimento\ a\ &Destra\ /No menut Toggle\ &Right\ Scrollbar Barra\ scorrimento\ a\ &Destra\ /No
let g:menutrans_path_dialog = "Batti percorso di ricerca per i file.\nSepara fra loro i nomi di directory con una virgola." let g:menutrans_path_dialog = "Batti percorso di ricerca per i file.\nSepara fra loro i nomi di directory con una virgola."
let g:menutrans_tags_dialog = "Batti nome dei file di tag.\nSepara fra loro i nomi di directory con una virgola." let g:menutrans_tags_dialog = "Batti nome dei file di tag.\nSepara fra loro i nomi di directory con una virgola."
@ -105,67 +110,103 @@ let g:menutrans_tags_dialog = "Batti nome dei file di tag.\nSepara fra loro i no
menut F&ile\ Settings &Impostazioni\ file menut F&ile\ Settings &Impostazioni\ file
" Boolean options " Boolean options
menut Toggle\ Line\ &Numbering<Tab>:set\ nu! &Numerazione\ \ /No<Tab>:set\ nu! menut Toggle\ Line\ &Numbering<Tab>:set\ nu! &Numerazione\ /No<Tab>:set\ nu!
menut Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Numerazione\ relati&Va\ /No<Tab>:set\ rnu! menut Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu! Numerazione\ relati&Va\ /No<Tab>:set\ rnu!
menut Toggle\ &List\ Mode<Tab>:set\ list! Modo\ &List\ /No<Tab>:set\ list! menut Toggle\ &List\ Mode<Tab>:set\ list! Modo\ &List\ /No<Tab>:set\ list!
menut Toggle\ Line\ &Wrap<Tab>:set\ wrap! Linee\ &Continuate\ /No<Tab>:set\ wrap! menut Toggle\ Line\ &Wrapping<Tab>:set\ wrap! Linee\ &Continuate\ /No<Tab>:set\ wrap!
menut Toggle\ W&rap\ at\ word<Tab>:set\ lbr! A\ capo\ alla\ &Parola\ /No<Tab>:set\ lbr! menut Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! A\ capo\ alla\ &Parola\ /No<Tab>:set\ lbr!
menut Toggle\ &expand-tab<Tab>:set\ et! &Espandi\ tabulazione\ /No<Tab>:set\ et! menut Toggle\ Tab\ &expanding<Tab>:set\ et! &Espandi\ Tabulazione\ /No<Tab>:set\ et!
menut Toggle\ &auto-indent<Tab>:set\ ai! Indentazione\ &Automatica\ /No<Tab>:set ai! menut Toggle\ &Auto\ Indenting<Tab>:set\ ai! Indentazione\ &Automatica\ /No<Tab>:set ai!
menut Toggle\ &C-indenting<Tab>:set\ cin! Indentazione\ stile\ &C\ /No<Tab>:set cin! menut Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Indentazione\ stile\ &C\ /No<Tab>:set cin!
" -SEP2-
" altre opzioni menut &Shiftwidth &Spazi\ rientranza
menut &Shiftwidth &Spazi\ rientranza "menut &Shiftwidth.2<Tab>:set\ sw=2\ sw?<CR> &Spazi\ rientranza.2<Tab>:set\ sw=2\ sw?<CR>
menut Soft\ &Tabstop &Tabulazione\ software "menut &Shiftwidth.3<Tab>:set\ sw=3\ sw?<CR> &Spazi\ rientranza.3<Tab>:set\ sw=3\ sw?<CR>
menut Te&xt\ Width\.\.\. Lunghe&Zza\ riga\.\.\. "menut &Shiftwidth.4<Tab>:set\ sw=4\ sw?<CR> &Spazi\ rientranza.4<Tab>:set\ sw=4\ sw?<CR>
menut &File\ Format\.\.\. Formato\ &File\.\.\. "menut &Shiftwidth.5<Tab>:set\ sw=5\ sw?<CR> &Spazi\ rientranza.5<Tab>:set\ sw=5\ sw?<CR>
"menut &Shiftwidth.6<Tab>:set\ sw=6\ sw?<CR> &Spazi\ rientranza.6<Tab>:set\ sw=6\ sw?<CR>
"menut &Shiftwidth.8<Tab>:set\ sw=8\ sw?<CR> &Spazi\ rientranza.8<Tab>:set\ sw=8\ sw?<CR>
menut Soft\ &Tabstop &Tabulazione\ software
"menut Soft\ &Tabstop.2<Tab>:set\ sts=2\ sts? &Tabulazione\ software.2<Tab>:set\ sts=2\ sts?
"menut Soft\ &Tabstop.3<Tab>:set\ sts=3\ sts? &Tabulazione\ software.3<Tab>:set\ sts=3\ sts?
"menut Soft\ &Tabstop.4<Tab>:set\ sts=4\ sts? &Tabulazione\ software.4<Tab>:set\ sts=4\ sts?
"menut Soft\ &Tabstop.5<Tab>:set\ sts=5\ sts? &Tabulazione\ software.5<Tab>:set\ sts=5\ sts?
"menut Soft\ &Tabstop.6<Tab>:set\ sts=6\ sts? &Tabulazione\ software.6<Tab>:set\ sts=6\ sts?
"menut Soft\ &Tabstop.8<Tab>:set\ sts=8\ sts? &Tabulazione\ software.8<Tab>:set\ sts=8\ sts?
menut Te&xt\ Width\.\.\. Lunghe&Zza\ riga\.\.\.
menut &File\ Format\.\.\. Formato\ &File\.\.\.
let g:menutrans_textwidth_dialog = "Batti nuova lunghezza linea (0 per inibire la formattazione): " let g:menutrans_textwidth_dialog = "Batti nuova lunghezza linea (0 per inibire la formattazione): "
let g:menutrans_fileformat_dialog = "Scegli formato con cui scrivere il file" let g:menutrans_fileformat_dialog = "Scegli formato con cui scrivere il file"
let g:menutrans_fileformat_choices = " &Unix \n &Dos \n &Mac \n &Annullare "
menut Show\ C&olor\ Schemes\ in\ Menu Mostra\ Schemi\ C&olore\ in\ Menù
menut C&olor\ Scheme Schema\ c&Olori menut C&olor\ Scheme Schema\ c&Olori
menut default normale menut blue blù
menut DEFAULT NORMALE menut darkblue blù\ scuro
menut evening notturno menut desert deserto
menut EVENING NOTTURNO menut elflord signore\ degli\ elfi
menut morning diurno menut evening sera
menut MORNING DIURNO menut industry industria
menut shine brillante menut morning mattino
menut SHINE BRILLANTE
menut peachpuff pesca menut peachpuff pesca
menut PEACHPUF PESCA menut shine brillante
menut slate ardesia
menut BLUE BLÙ
menut DARKBLUE BLÙ\ SCURO
menut DESERT DESERTO
menut ELFLORD SIGNORE\ DEGLI\ ELFI
menut EVENING SERA
menut INDUSTRY INDUSTRIA
menut MORNING MATTINO
menut PEACHPUFF PESCA
menut SHINE BRILLANTE
menut SLATE ARDESIA
menut &Keymap &Mappa\ tastiera menut Show\ &Keymaps\ in\ Menu Mostra\ Ma&ppe\ tastiera\ in\ Menù
menut &Keymap Ma&ppa\ tastiera
menut None nessuna menut None nessuna
menut accents accenti menut accents accenti
menut ACCENTS ACCENTI menut arabic arabo
menut hebrew ebraico menut armenian-eastern armeno-orientale
menut HEBREW EBRAICO menut armenian-western armeno-occidentale
menut hebrew_iso-8859-8 ebraico_iso-8859-8 menut belarusian-jcuken bielorusso-jcuken
menut hebrew_cp1255 ebraico_cp1255 menut czech ceco
menut hebrew_utf-8 ebraico_utf-8 menut greek greco
menut hebrewp_iso-8859-8 ebraico_p_iso-8859-8 menut hebrew ebraico
menut HEBREW- EBRAICO+ menut hebrewp ebraicop
menut hebrewp EBRAICOP menut magyar ungherese
menut HEBREWP EBRAICOP menut persian persiano
menut russian-jcuken cirillico-jcuken menut serbian serbo
menut russian-jcukenwin cirillico-jcuken-win menut serbian-latin serbo-latino
menut RUSSIAN CIRILLICO menut slovak slovacco
menut RUSSIAN- CIRILLICO- menut ACCENTS ACCENTI
menut ARABIC ARABO
menut ARMENIAN-EASTERN ARMENO-ORIENTALE
menut ARMENIAN-WESTERN ARMENO-OCCIDENTALE
menut BELARUSIAN-JCUKEN BIELORUSSO-JCUKEN
menut CZECH CECO
menut GREEK GRECO
menut HEBREW EBRAICO
menut HEBREWP EBRAICOP
menut MAGYAR UNGHERESE
menut PERSIAN PERSIANO
menut SERBIAN SERBO
menut SERBIAN-LATIN SERBO-LATINO
menut SLOVAK SLOVACCO
menut Select\ Fo&nt\.\.\. Scegli\ &Font\.\.\. menut Select\ Fo&nt\.\.\. Scegli\ &Font\.\.\.
" Menu strumenti programmazione " Menù strumenti programmazione
menut &Tools &Strumenti menut &Tools &Strumenti
menut &Jump\ to\ this\ tag<Tab>g^] &Vai\ a\ questa\ tag<Tab>g^] menut &Jump\ to\ this\ tag<Tab>g^] &Vai\ a\ questa\ tag<Tab>g^]
menut Jump\ &back<Tab>^T Torna\ &Indietro<Tab>^T menut Jump\ &back<Tab>^T Torna\ &Indietro<Tab>^T
menut Build\ &Tags\ File Costruisci\ file\ &Tags\ menut Build\ &Tags\ File Costruisci\ file\ &Tags\
" -SEP1-
" Menu ortografia / Spelling " Menù ortografia / Spelling
menut &Spelling &Ortografia menut &Spelling &Ortografia
menut &Spell\ Check\ On Attiva\ &Controllo\ ortografico menut &Spell\ Check\ On Attiva\ &Controllo\ ortografico
@ -180,46 +221,43 @@ menut Set\ language\ to\ "en_ca" Imposta\ lingua\ a\ "en_ca"
menut Set\ language\ to\ "en_gb" Imposta\ lingua\ a\ "en_gb" menut Set\ language\ to\ "en_gb" Imposta\ lingua\ a\ "en_gb"
menut Set\ language\ to\ "en_nz" Imposta\ lingua\ a\ "en_nz" menut Set\ language\ to\ "en_nz" Imposta\ lingua\ a\ "en_nz"
menut Set\ language\ to\ "en_us" Imposta\ lingua\ a\ "en_us" menut Set\ language\ to\ "en_us" Imposta\ lingua\ a\ "en_us"
menut Set\ language\ to\ "it" Imposta\ lingua\ a\ "it"
menut Set\ language\ to\ "it_it" Imposta\ lingua\ a\ "it_it"
menut Set\ language\ to\ "it_ch" Imposta\ lingua\ a\ "it_ch"
menut &Find\ More\ Languages &Trova\ altre\ lingue menut &Find\ More\ Languages &Trova\ altre\ lingue
" Menu piegature / Fold " Menù piegature / Fold
if has("folding") menut &Folding &Piegature
menut &Folding &Piegature " apri e chiudi piegature
" apri e chiudi piegature menut &Enable/Disable\ folds<Tab>zi Pi&egature\ Sì/No<Tab>zi
menut &Enable/Disable\ folds<Tab>zi Pi&egature\ Sì/No<Tab>zi menut &View\ Cursor\ Line<Tab>zv &Vedi\ linea\ col\ Cursore<Tab>zv
menut &View\ Cursor\ Line<Tab>zv &Vedi\ linea\ col\ Cursore<Tab>zv menut Vie&w\ Cursor\ Line\ only<Tab>zMzx Vedi\ &Solo\ linea\ col\ Cursore<Tab>zMzx
menut Vie&w\ Cursor\ Line\ only<Tab>zMzx Vedi\ &Solo\ linea\ col\ Cursore<Tab>zMzx menut C&lose\ more\ folds<Tab>zm C&Hiudi\ più\ piegature<Tab>zm
menut C&lose\ more\ folds<Tab>zm C&Hiudi\ più\ piegature<Tab>zm menut &Close\ all\ folds<Tab>zM &Chiudi\ tutte\ le\ piegature<Tab>zM
menut &Close\ all\ folds<Tab>zM &Chiudi\ tutte\ le\ piegature<Tab>zM menut O&pen\ more\ folds<Tab>zr A&Pri\ più\ piegature<Tab>zr
menut O&pen\ more\ folds<Tab>zr A&Pri\ più\ piegature<Tab>zr menut &Open\ all\ folds<Tab>zR &Apri\ tutte\ le\ piegature<Tab>zR
menut &Open\ all\ folds<Tab>zR &Apri\ tutte\ le\ piegature<Tab>zR " -SEP1-
" metodo piegatura " metodo piegatura
menut Fold\ Met&hod Meto&Do\ piegatura menut Fold\ Met&hod Meto&Do\ piegatura
menut M&anual &Manuale menut M&anual &Manuale
menut I&ndent &Nidificazione menut I&ndent &Nidificazione
menut E&xpression &Espressione\ Reg\. menut E&xpression &Espressione\ Reg\.
menut S&yntax &Sintassi menut S&yntax &Sintassi
menut &Diff &Differenza menut &Diff &Differenza
menut Ma&rker Mar&Catura menut Ma&rker Mar&Catura
" crea e cancella piegature
menut Create\ &Fold<Tab>zf Crea\ &Piegatura<Tab>zf
menut &Delete\ Fold<Tab>zd &Leva\ piegatura<Tab>zd
menut Delete\ &All\ Folds<Tab>zD Leva\ &Tutte\ le\ piegature<Tab>zD
" movimenti all'interno delle piegature
menut Fold\ col&umn\ width Larghezza\ piegat&Ure\ in\ colonne
endif " has folding
if has("diff") " crea e cancella piegature
menut &Diff &Differenza menut Create\ &Fold<Tab>zf Crea\ &Piegatura<Tab>zf
" menut &Delete\ Fold<Tab>zd &Leva\ piegatura<Tab>zd
menut &Update &Aggiorna menut Delete\ &All\ Folds<Tab>zD Leva\ &Tutte\ le\ piegature<Tab>zD
menut &Get\ Block &Importa\ differenze " -SEP2-
menut &Put\ Block &Esporta\ differenze " movimenti all'interno delle piegature
endif " has diff menut Fold\ col&umn\ width Larghezza\ piegat&Ure\ in\ colonne
menut &Diff &Differenza
"
menut &Update &Aggiorna
menut &Get\ Block &Importa\ differenze
menut &Put\ Block &Esporta\ differenze
" -SEP2-
menut &Make<Tab>:make Esegui\ &Make<Tab>:make menut &Make<Tab>:make Esegui\ &Make<Tab>:make
menut &List\ Errors<Tab>:cl Lista\ &Errori<Tab>:cl menut &List\ Errors<Tab>:cl Lista\ &Errori<Tab>:cl
@ -235,56 +273,59 @@ menut &Update<Tab>:cwin A&Ggiorna<Tab>:cwin
menut &Open<Tab>:copen &Apri<Tab>:copen menut &Open<Tab>:copen &Apri<Tab>:copen
menut &Close<Tab>:cclose &Chiudi<Tab>:cclose menut &Close<Tab>:cclose &Chiudi<Tab>:cclose
" -SEP3-
menut &Convert\ to\ HEX<Tab>:%!xxd &Converti\ a\ esadecimale<Tab>:%!xxd menut &Convert\ to\ HEX<Tab>:%!xxd &Converti\ a\ esadecimale<Tab>:%!xxd
menut Conve&rt\ back<Tab>:%!xxd\ -r Conve&rti\ da\ esadecimale<Tab>:%!xxd\ -r menut Conve&rt\ back<Tab>:%!xxd\ -r Conve&rti\ da\ esadecimale<Tab>:%!xxd\ -r
menut Se&T\ Compiler Impo&Sta\ Compilatore menut Se&T\ Compiler Impo&Sta\ Compilatore
" Buffers / Buffer " Buffers / Buffer
menut &Buffers &Buffer menut &Buffers &Buffer
menut &Refresh\ menu A&ggiorna\ menu menut &Refresh\ menu A&ggiorna\ menù
menut &Delete &Elimina menut &Delete &Elimina
menut &Alternate &Alternato menut &Alternate &Alternato
menut &Next &Successivo menut &Next &Successivo
menut &Previous &Precedente menut &Previous &Precedente
menut [No\ File] [Nessun\ File] menut [No\ File] [Nessun\ File]
" Syntax / Sintassi " Syntax / Sintassi
menut &Syntax &Sintassi menut &Syntax &Sintassi
menut &Show\ filetypes\ in\ menu Mo&Stra\ tipi\ di\ file\ nel\ menu
menut Set\ '&syntax'\ only &S\ Attiva\ solo\ \ 'syntax' menut &Show\ File\ Types\ in\ menu Mo&Stra\ tipi\ di\ file\ nel\ menù
menut Set\ '&filetype'\ too &F\ Attiva\ anche\ 'filetype' menut Set\ '&syntax'\ only &S\ Attiva\ solo\ \ 'syntax'
menut &Off &Disattiva menut Set\ '&filetype'\ too &F\ Attiva\ anche\ 'filetype'
menut &Manual &Manuale menut &Off &Disattiva
menut A&utomatic A&Utomatico menut &Manual &Manuale
menut on/off\ for\ &This\ file Attiva\ Sì/No\ su\ ques&To\ file menut A&utomatic A&Utomatico
menut Co&lor\ test Test\ &Colori menut on/off\ for\ &This\ file Attiva\ Sì/No\ su\ ques&To\ file
menut &Highlight\ test Test\ &Evidenziamento menut Co&lor\ test Test\ &Colori
menut &Convert\ to\ HTML Converti\ ad\ &HTML menut &Highlight\ test Test\ &Evidenziamento
menut &Convert\ to\ HTML Converti\ ad\ &HTML
let g:menutrans_no_file = "[Senza nome]" let g:menutrans_no_file = "[Senza nome]"
" Window / Finestra " Window / Finestra
menut &Window &Finestra menut &Window &Finestra
menut &New<Tab>^Wn &Nuova<Tab>^Wn menut &New<Tab>^Wn &Nuova<Tab>^Wn
menut S&plit<Tab>^Ws &Dividi\ lo\ schermo<Tab>^Ws menut S&plit<Tab>^Ws &Dividi\ lo\ schermo<Tab>^Ws
menut Sp&lit\ To\ #<Tab>^W^^ D&Ividi\ verso\ #<Tab>^W^^ menut Sp&lit\ To\ #<Tab>^W^^ D&Ividi\ verso\ #<Tab>^W^^
menut Split\ &Vertically<Tab>^Wv Di&Vidi\ verticalmente<Tab>^Wv menut Split\ &Vertically<Tab>^Wv Di&Vidi\ verticalmente<Tab>^Wv
menut Split\ File\ E&xplorer Aggiungi\ finestra\ e&Xplorer menut Split\ File\ E&xplorer Aggiungi\ finestra\ e&Xplorer
" -SEP1-
menut &Close<Tab>^Wc &Chiudi<Tab>^Wc menut &Close<Tab>^Wc &Chiudi<Tab>^Wc
menut Close\ &Other(s)<Tab>^Wo C&Hiudi\ altra(e)<Tab>^Wo menut Close\ &Other(s)<Tab>^Wo C&Hiudi\ altra(e)<Tab>^Wo
" -SEP2-
menut Move\ &To &Muovi\ verso menut Move\ &To &Muovi\ verso
menut &Top<Tab>^WK &Cima<Tab>^WK menut &Top<Tab>^WK &Cima<Tab>^WK
menut &Bottom<Tab>^WJ &Fondo<Tab>^WJ menut &Bottom<Tab>^WJ &Fondo<Tab>^WJ
menut &Left\ side<Tab>^WH Lato\ &Sinistro<Tab>^WH menut &Left\ side<Tab>^WH Lato\ &Sinistro<Tab>^WH
menut &Right\ side<Tab>^WL Lato\ &Destro<Tab>^WL menut &Right\ side<Tab>^WL Lato\ &Destro<Tab>^WL
menut Rotate\ &Up<Tab>^WR Ruota\ verso\ l'&Alto<Tab>^WR menut Rotate\ &Up<Tab>^WR Ruota\ verso\ l'&Alto<Tab>^WR
menut Rotate\ &Down<Tab>^Wr Ruota\ verso\ il\ &Basso<Tab>^Wr menut Rotate\ &Down<Tab>^Wr Ruota\ verso\ il\ &Basso<Tab>^Wr
" -SEP3-
menut &Equal\ Size<Tab>^W= &Uguale\ ampiezza<Tab>^W= menut &Equal\ Size<Tab>^W= &Uguale\ ampiezza<Tab>^W=
menut &Max\ Height<Tab>^W_ &Altezza\ massima<Tab>^W_ menut &Max\ Height<Tab>^W_ &Altezza\ massima<Tab>^W_
menut M&in\ Height<Tab>^W1_ A&Ltezza\ minima<Tab>^W1_ menut M&in\ Height<Tab>^W1_ A&Ltezza\ minima<Tab>^W1_
@ -292,63 +333,57 @@ menut Max\ &Width<Tab>^W\| Larghezza\ massima<Tab>^W\|
menut Min\ Widt&h<Tab>^W1\| Larghezza\ minima<Tab>^W1\| menut Min\ Widt&h<Tab>^W1\| Larghezza\ minima<Tab>^W1\|
" The popup menu " The popup menu
menut &Undo &Annulla menut &Undo &Annulla
menut Cu&t &Taglia " -SEP1-
menut &Copy &Copia menut Cu&t &Taglia
menut &Copy &Copia
menut &Paste &Incolla menut &Paste &Incolla
menut &Delete &Elimina menut &Delete &Elimina
" -SEP2-
menut Select\ Blockwise Seleziona\ in\ blocco menut Select\ Blockwise Seleziona\ in\ blocco
menut Select\ &Word Seleziona\ &Parola menut Select\ &Word Seleziona\ &Parola
menut Select\ &Line Seleziona\ &Linea menut Select\ &Line Seleziona\ &Linea
menut Select\ &Block Seleziona\ &Blocco menut Select\ &Block Seleziona\ &Blocco
menut Select\ &All Seleziona\ t&Utto menut Select\ &All Seleziona\ t&Utto
" The GUI Toolbar / Barra Strumenti " The GUI Toolbar / Barra Strumenti
if has("toolbar") menut Open Apri
if exists("*Do_toolbar_tmenu") menut Save Salva
delfun Do_toolbar_tmenu menut SaveAll Salva\ Tutto
endif menut Print Stampa
fun Do_toolbar_tmenu() " -SEP1-
tmenu ToolBar.Open Apri menut Undo Annulla
tmenu ToolBar.Save Salva menut Redo Ripristina
tmenu ToolBar.SaveAll Salva Tutto " -SEP2-
tmenu ToolBar.Print Stampa menut Cut Taglia
tmenu ToolBar.Undo Annulla menut Copy Copia
tmenu ToolBar.Redo Ripristina menut Paste Incolla
tmenu ToolBar.Cut Taglia " -sep3-
tmenu ToolBar.Copy Copia menut Find Cerca
tmenu ToolBar.Paste Incolla menut FindNext Cerca Successivo
menut FindPrev Cerca Precedente
if !has("gui_athena") menut Replace Sostituisci
tmenu ToolBar.Find Cerca " -sep4-
tmenu ToolBar.FindNext Cerca Successivo menut New Nuova\ finestra
tmenu ToolBar.FindPrev Cerca Precedente menut WinSplit Dividi\ finestra
tmenu ToolBar.Replace Sostituisci menut WinMax Massima\ ampiezza
endif menut WinMin Minima\ ampiezza
menut WinVSplit Dividi\ verticalmente
if 0 " disabled; These are in the Windows menu menut WinMaxWidth Massima\ larghezza
tmenu ToolBar.New Nuova finestra menut WinMinWidth Minima\ larghezza
tmenu ToolBar.WinSplit Dividi finestra menut WinClose Chiudi\ finestra
tmenu ToolBar.WinMax Massima ampiezza " -SEP5-
tmenu ToolBar.WinMin Minima ampiezza menut LoadSesn Carica\ Sessione
tmenu ToolBar.WinVSplit Dividi verticalmente menut SaveSesn Salva\ Sessione
tmenu ToolBar.WinMaxWidth Massima larghezza menut RunScript Esegui\ Script
tmenu ToolBar.WinMinWidth Minima larghezza " -SEP6-
tmenu ToolBar.WinClose Chiudi finestra menut Make Make
endif menut Shell Shell
menut RunCtags Esegui\ Ctags
tmenu ToolBar.LoadSesn Carica Sessione menut TagJump Vai\ a\ Tag
tmenu ToolBar.SaveSesn Salva Sessione " -SEP7-
tmenu ToolBar.RunScript Esegui Script menut Help Aiuto
tmenu ToolBar.Make Make menut FindHelp Cerca\ in\ Aiuto
tmenu ToolBar.Shell Shell
tmenu ToolBar.RunCtags Esegui Ctags
tmenu ToolBar.TagJump Vai a Tag
tmenu ToolBar.Help Aiuto
tmenu ToolBar.FindHelp Cerca in Aiuto
endfun
endif
let &cpo = s:keepcpo let &cpo = s:keepcpo
unlet s:keepcpo unlet s:keepcpo

View File

@ -1,7 +1,7 @@
" Menu Translations: Russian " Menu Translations: Russian
" Maintainer: Sergey Alyoshin <alyoshin.s@gmail.com> " Maintainer: Sergey Alyoshin <alyoshin.s@gmail.com>
" Previous Maintainer: vassily ragosin <vrr[at]users.sourceforge.net> " Previous Maintainer: Vassily Ragosin <vrr[at]users.sourceforge.net>
" Last Change: 29 May 2013 " Last Change: 16 May 2018
" URL: cvs://cvs.sf.net:/cvsroot/ruvim/extras/menu/menu_ru_ru.vim " URL: cvs://cvs.sf.net:/cvsroot/ruvim/extras/menu/menu_ru_ru.vim
" "
" $Id: menu_ru_ru.vim,v 1.1 2004/06/13 16:09:10 vimboss Exp $ " $Id: menu_ru_ru.vim,v 1.1 2004/06/13 16:09:10 vimboss Exp $
@ -36,7 +36,7 @@ menutrans &Help С&правка
" Help menu " Help menu
menutrans &Overview<Tab><F1> &Обзор<Tab><F1> menutrans &Overview<Tab><F1> &Обзор<Tab><F1>
menutrans &User\ Manual Руково&дство\ пользователя menutrans &User\ Manual Руково&дство\ пользователя
menutrans &How-to\ links &Как\ это\ сделать\.\.\. menutrans &How-To\ Links &Как\ это\ сделать\.\.\.
menutrans &Find\.\.\. &Поиск menutrans &Find\.\.\. &Поиск
"-------------------- "--------------------
menutrans &Credits &Благодарности menutrans &Credits &Благодарности
@ -58,7 +58,7 @@ menutrans &Close<Tab>:close &Закрыть<Tab>:close
menutrans &Save<Tab>:w &Сохранить<Tab>:w menutrans &Save<Tab>:w &Сохранить<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav Сохранить\ &как\.\.\.<Tab>:sav menutrans Save\ &As\.\.\.<Tab>:sav Сохранить\ &как\.\.\.<Tab>:sav
"-------------------- "--------------------
menutrans Split\ &Diff\ with\.\.\. Ср&авнить\ с\.\.\. menutrans Split\ &Diff\ With\.\.\. Ср&авнить\ с\.\.\.
menutrans Split\ Patched\ &By\.\.\. Сравнить\ с\ применением\ зап&латки\.\.\. menutrans Split\ Patched\ &By\.\.\. Сравнить\ с\ применением\ зап&латки\.\.\.
"-------------------- "--------------------
menutrans &Print На&печатать menutrans &Print На&печатать
@ -97,12 +97,12 @@ menutrans &Keymap Раскладка\ кл&авиатуры
menutrans Select\ Fo&nt\.\.\. Выбор\ &шрифта\.\.\. menutrans Select\ Fo&nt\.\.\. Выбор\ &шрифта\.\.\.
">>>----------------- Edit/Global settings ">>>----------------- Edit/Global settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Подсветка\ &найденных\ соответствий<Tab>:set\ hls! menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Подсветка\ &найденных\ соответствий<Tab>:set\ hls!
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! &Регистронезависимый\ поиск<Tab>:set\ ic! menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! &Регистронезависимый\ поиск<Tab>:set\ ic!
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Показывать\ парные\ &элементы<Tab>:set\ sm! menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Показывать\ парные\ &элементы<Tab>:set\ sm!
menutrans &Context\ lines Стр&ок\ вокруг\ курсора menutrans &Context\ Lines Стр&ок\ вокруг\ курсора
menutrans &Virtual\ Edit Вир&туальное\ редактирование menutrans &Virtual\ Edit Вир&туальное\ редактирование
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Режим\ &Вставки<Tab>:set\ im! menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Режим\ &Вставки<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! &Совместимость\ с\ Vi<Tab>:set\ cp! menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! &Совместимость\ с\ Vi<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. &Путь\ для\ поиска\ файлов\.\.\. menutrans Search\ &Path\.\.\. &Путь\ для\ поиска\ файлов\.\.\.
menutrans Ta&g\ Files\.\.\. Файлы\ &меток\.\.\. menutrans Ta&g\ Files\.\.\. Файлы\ &меток\.\.\.
" "
@ -113,18 +113,18 @@ menutrans Toggle\ &Right\ Scrollbar Полоса\ прокрутки\ спр&
">>>->>>------------- Edit/Global settings/Virtual edit ">>>->>>------------- Edit/Global settings/Virtual edit
menutrans Never Выключено menutrans Never Выключено
menutrans Block\ Selection При\ выделении\ блока menutrans Block\ Selection При\ выделении\ блока
menutrans Insert\ mode В\ режиме\ Вставки menutrans Insert\ Mode В\ режиме\ Вставки
menutrans Block\ and\ Insert При\ выделении\ блока\ и\ в\ режиме\ Вставки menutrans Block\ and\ Insert При\ выделении\ блока\ и\ в\ режиме\ Вставки
menutrans Always Включено\ всегда menutrans Always Включено\ всегда
">>>----------------- Edit/File settings ">>>----------------- Edit/File settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! &Нумерация\ строк<Tab>:set\ nu! menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! &Нумерация\ строк<Tab>:set\ nu!
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Относите&льная\ нумерация\ строк<Tab>:set\ nru! menutrans Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu! Относите&льная\ нумерация\ строк<Tab>:set\ nru!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Отобра&жение\ невидимых\ символов<Tab>:set\ list! menutrans Toggle\ &List\ Mode<Tab>:set\ list! Отобра&жение\ невидимых\ символов<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! &Перенос\ длинных\ строк<Tab>:set\ wrap! menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! &Перенос\ длинных\ строк<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Перенос\ &целых\ слов<Tab>:set\ lbr! menutrans Toggle\ W&rapping\ at\ Word<Tab>:set\ lbr! Перенос\ &целых\ слов<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! Про&белы\ вместо\ табуляции<Tab>:set\ et! menutrans Toggle\ Tab\ &Expanding-tab<Tab>:set\ et! Про&белы\ вместо\ табуляции<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! Автоматическое\ форматирование\ &отступов<Tab>:set\ ai! menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Автоматическое\ форматирование\ &отступов<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! Форматирование\ отступов\ в\ &стиле\ C<Tab>:set\ cin! menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Форматирование\ отступов\ в\ &стиле\ C<Tab>:set\ cin!
">>>--- ">>>---
menutrans &Shiftwidth Вели&чина\ отступа menutrans &Shiftwidth Вели&чина\ отступа
menutrans Soft\ &Tabstop Ширина\ &табуляции menutrans Soft\ &Tabstop Ширина\ &табуляции
@ -134,55 +134,64 @@ menutrans &File\ Format\.\.\. &Формат\ файла\.\.\.
" "
" "
" Tools menu " Tools menu
menutrans &Jump\ to\ this\ tag<Tab>g^] &Переход\ к\ метке<Tab>g^] menutrans &Jump\ to\ This\ Tag<Tab>g^] &Перейти\ к\ метке<Tab>g^]
menutrans Jump\ &back<Tab>^T &Вернуться\ назад<Tab>^T menutrans Jump\ &Back<Tab>^T &Вернуться\ назад<Tab>^T
menutrans Build\ &Tags\ File Создать\ &файл\ меток menutrans Build\ &Tags\ File Создать\ файл\ ме&ток
"------------------- "-------------------
menutrans &Folding Работа\ со\ &складками menutrans &Folding &Складки
menutrans &Spelling Пр&авописание menutrans &Spelling Пр&авописание
menutrans &Diff &Отличия\ (diff) menutrans &Diff &Отличия\ (diff)
"------------------- "-------------------
menutrans &Make<Tab>:make Ко&мпиляция<Tab>:make menutrans &Make<Tab>:make Ко&мпилировать<Tab>:make
menutrans &List\ Errors<Tab>:cl Список\ о&шибок<Tab>:cl menutrans &List\ Errors<Tab>:cl Список\ о&шибок<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Список\ все&х\ ошибок\ и\ предупреждений<Tab>:cl! menutrans L&ist\ Messages<Tab>:cl! Список\ соо&бщений<Tab>:cl!
menutrans &Next\ Error<Tab>:cn Следу&ющая\ ошибка<Tab>:cn menutrans &Next\ Error<Tab>:cn Следу&ющая\ ошибка<Tab>:cn
menutrans &Previous\ Error<Tab>:cp П&редыдущая\ ошибка<Tab>:cp menutrans &Previous\ Error<Tab>:cp П&редыдущая\ ошибка<Tab>:cp
menutrans &Older\ List<Tab>:cold Более\ стар&ый\ список\ ошибок<Tab>:cold menutrans &Older\ List<Tab>:cold Более\ стар&ый\ список\ ошибок<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew Более\ све&жий\ список\ ошибок<Tab>:cnew menutrans N&ewer\ List<Tab>:cnew Более\ све&жий\ список\ ошибок<Tab>:cnew
menutrans Error\ &Window Ок&но\ ошибок menutrans Error\ &Window Ок&но\ ошибок
menutrans Se&T\ Compiler Выбор\ &компилятора menutrans Se&t\ Compiler Выбор\ &компилятора
menutrans Show\ Compiler\ Se&ttings\ in\ Menu Пока&зать\ настройки\ компи&лятора\ в\ меню
"------------------- "-------------------
menutrans &Convert\ to\ HEX<Tab>:%!xxd П&еревести\ в\ HEX<Tab>:%!xxd menutrans &Convert\ to\ HEX<Tab>:%!xxd П&еревести\ в\ HEX<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Перевести\ и&з\ HEX<Tab>:%!xxd\ -r menutrans Conve&rt\ Back<Tab>:%!xxd\ -r Перевести\ и&з\ HEX<Tab>:%!xxd\ -r
">>>---------------- Tools/Spelling ">>>---------------- Tools/Spelling
menutrans &Spell\ Check\ On &Вкл\ проверку\ правописания menutrans &Spell\ Check\ On &Вкл\ проверку\ правописания
menutrans Spell\ Check\ &Off Вы&кл\ проверку\ правописания menutrans Spell\ Check\ &Off Вы&кл\ проверку\ правописания
menutrans To\ &Next\ error<Tab>]s &Следующая\ ошибка menutrans To\ &Next\ Error<Tab>]s &Следующая\ ошибка<Tab>]s
menutrans To\ &Previous\ error<Tab>[s &Предыдущая\ ошибка menutrans To\ &Previous\ Error<Tab>[s &Предыдущая\ ошибка<Tab>[s
menutrans Suggest\ &Corrections<Tab>z= Предложить\ исп&равления menutrans Suggest\ &Corrections<Tab>z= Предложить\ исп&равления<Tab>z=
menutrans &Repeat\ correction<Tab>:spellrepall Пов&торить\ исправление\ для\ всех menutrans &Repeat\ Correction<Tab>:spellrepall Пов&торить\ исправление\ для\ всех<Tab>spellrepall
"------------------- "-------------------
menutrans Set\ language\ to\ "en" Установить\ язык\ "en" menutrans Set\ Language\ to\ "en" Установить\ язык\ "en"
menutrans Set\ language\ to\ "en_au" Установить\ язык\ "en_au" menutrans Set\ Language\ to\ "en_au" Установить\ язык\ "en_au"
menutrans Set\ language\ to\ "en_ca" Установить\ язык\ "en_ca" menutrans Set\ Language\ to\ "en_ca" Установить\ язык\ "en_ca"
menutrans Set\ language\ to\ "en_gb" Установить\ язык\ "en_gb" menutrans Set\ Language\ to\ "en_gb" Установить\ язык\ "en_gb"
menutrans Set\ language\ to\ "en_nz" Установить\ язык\ "en_nz" menutrans Set\ Language\ to\ "en_nz" Установить\ язык\ "en_nz"
menutrans Set\ language\ to\ "en_us" Установить\ язык\ "en_us" menutrans Set\ Language\ to\ "en_us" Установить\ язык\ "en_us"
menutrans &Find\ More\ Languages &Найти\ больше\ языков menutrans &Find\ More\ Languages &Найти\ больше\ языков
let g:menutrans_set_lang_to = 'Установить язык' let g:menutrans_set_lang_to = 'Установить язык'
"
"
" The Spelling popup menu
"
"
let g:menutrans_spell_change_ARG_to = 'Исправить\ "%s"\ на'
let g:menutrans_spell_add_ARG_to_word_list = 'Добавить\ "%s"\ в\ словарь'
let g:menutrans_spell_ignore_ARG = 'Пропустить\ "%s"'
">>>---------------- Folds ">>>---------------- Folds
menutrans &Enable/Disable\ folds<Tab>zi Вкл/выкл\ &складки<Tab>zi menutrans &Enable/Disable\ Folds<Tab>zi Вкл/выкл\ &складки<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv Открыть\ строку\ с\ &курсором<Tab>zv menutrans &View\ Cursor\ Line<Tab>zv Открыть\ строку\ с\ &курсором<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Открыть\ &только\ строку\ с\ курсором<Tab>zMzx menutrans Vie&w\ Cursor\ Line\ Only<Tab>zMzx Открыть\ &только\ строку\ с\ курсором<Tab>zMzx
menutrans C&lose\ more\ folds<Tab>zm Закрыть\ &больше\ складок<Tab>zm menutrans C&lose\ More\ Folds<Tab>zm Закрыть\ &больше\ складок<Tab>zm
menutrans &Close\ all\ folds<Tab>zM Закрыть\ &все\ складки<Tab>zM menutrans &Close\ All\ Folds<Tab>zM Закрыть\ &все\ складки<Tab>zM
menutrans &Open\ all\ folds<Tab>zR Откр&ыть\ все\ складки<Tab>zR menutrans &Open\ All\ Folds<Tab>zR Откр&ыть\ все\ складки<Tab>zR
menutrans O&pen\ more\ folds<Tab>zr Отк&рыть\ больше\ складок<Tab>zr menutrans O&pen\ More\ Folds<Tab>zr Отк&рыть\ больше\ складок<Tab>zr
menutrans Fold\ Met&hod &Метод\ складок menutrans Fold\ Met&hod &Метод\ складок
menutrans Create\ &Fold<Tab>zf Со&здать\ складку<Tab>zf menutrans Create\ &Fold<Tab>zf Со&здать\ складку<Tab>zf
menutrans &Delete\ Fold<Tab>zd У&далить\ складку<Tab>zd menutrans &Delete\ Fold<Tab>zd У&далить\ складку<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Удалить\ вс&е\ складки<Tab>zD menutrans Delete\ &All\ Folds<Tab>zD Удалить\ вс&е\ складки<Tab>zD
menutrans Fold\ col&umn\ width &Ширина\ колонки\ складок menutrans Fold\ col&umn\ Width &Ширина\ колонки\ складок
">>>->>>----------- Tools/Folds/Fold Method ">>>->>>----------- Tools/Folds/Fold Method
menutrans M&anual Вру&чную menutrans M&anual Вру&чную
menutrans I&ndent О&тступ menutrans I&ndent О&тступ
@ -201,15 +210,15 @@ menutrans &Open<Tab>:copen &Открыть<Tab>:copen
" "
" Syntax menu " Syntax menu
" "
menutrans &Show\ filetypes\ in\ menu Показать\ меню\ для\ выбора\ типа\ &файла menutrans &Show\ File\ Types\ in\ Menu Показать\ меню\ выбора\ типа\ &файла
menutrans Set\ '&syntax'\ only &Изменять\ только\ значение\ 'syntax' menutrans Set\ '&syntax'\ only &Изменять\ только\ значение\ 'syntax'
menutrans Set\ '&filetype'\ too Изменять\ &также\ значение\ 'filetype' menutrans Set\ '&filetype'\ too Изменять\ &также\ значение\ 'filetype'
menutrans &Off &Отключить menutrans &Off &Отключить
menutrans &Manual Вру&чную menutrans &Manual Вру&чную
menutrans A&utomatic &Автоматически menutrans A&utomatic &Автоматически
menutrans on/off\ for\ &This\ file Вкл/выкл\ для\ &этого\ файла menutrans On/Off\ for\ &This\ File Вкл/выкл\ для\ &этого\ файла
menutrans Co&lor\ test Проверка\ &цветов menutrans Co&lor\ Test Проверка\ &цветов
menutrans &Highlight\ test Проверка\ под&светки menutrans &Highlight\ Test Проверка\ под&светки
menutrans &Convert\ to\ HTML С&делать\ HTML\ с\ подсветкой menutrans &Convert\ to\ HTML С&делать\ HTML\ с\ подсветкой
" "
" "
@ -246,8 +255,8 @@ menutrans Min\ Widt&h<Tab>^W1\| Минимал&ьная\ ширина<Tab>^W1
">>>----------------- Window/Move To ">>>----------------- Window/Move To
menutrans &Top<Tab>^WK В&верх<Tab>^WK menutrans &Top<Tab>^WK В&верх<Tab>^WK
menutrans &Bottom<Tab>^WJ В&низ<Tab>^WJ menutrans &Bottom<Tab>^WJ В&низ<Tab>^WJ
menutrans &Left\ side<Tab>^WH В&лево<Tab>^WH menutrans &Left\ Side<Tab>^WH В&лево<Tab>^WH
menutrans &Right\ side<Tab>^WL В&право<Tab>^WL menutrans &Right\ Side<Tab>^WL В&право<Tab>^WL
" "
" "
" The popup menu " The popup menu
@ -260,9 +269,11 @@ menutrans &Paste Вк&леить
menutrans &Delete &Удалить menutrans &Delete &Удалить
menutrans Select\ Blockwise Блоковое\ выделение menutrans Select\ Blockwise Блоковое\ выделение
menutrans Select\ &Word Выделить\ &слово menutrans Select\ &Word Выделить\ &слово
menutrans Select\ &Sentence Выделить\ &предложение
menutrans Select\ Pa&ragraph Выделить\ пара&граф
menutrans Select\ &Line Выделить\ ст&року menutrans Select\ &Line Выделить\ ст&року
menutrans Select\ &Block Выделить\ &блок menutrans Select\ &Block Выделить\ &блок
menutrans Select\ &All В&ыделить\ &всё menutrans Select\ &All Выделить\ &всё
" "
" The GUI toolbar " The GUI toolbar
" "
@ -280,10 +291,9 @@ if has("toolbar")
tmenu ToolBar.Cut Вырезать tmenu ToolBar.Cut Вырезать
tmenu ToolBar.Copy Копировать tmenu ToolBar.Copy Копировать
tmenu ToolBar.Paste Вклеить tmenu ToolBar.Paste Вклеить
tmenu ToolBar.Find Поиск... tmenu ToolBar.FindNext Найти следующее
tmenu ToolBar.FindNext Поиск следующего соответствия tmenu ToolBar.FindPrev Найти предыдущее
tmenu ToolBar.FindPrev Поиск предыдущего соответствия tmenu ToolBar.Replace Найти или заменить...
tmenu ToolBar.Replace Заменить...
tmenu ToolBar.LoadSesn Загрузить сеанс редактирования tmenu ToolBar.LoadSesn Загрузить сеанс редактирования
tmenu ToolBar.SaveSesn Сохранить сеанс редактирования tmenu ToolBar.SaveSesn Сохранить сеанс редактирования
tmenu ToolBar.RunScript Выполнить сценарий Vim tmenu ToolBar.RunScript Выполнить сценарий Vim

View File

@ -2,7 +2,7 @@
" You can also use this as a start for your own set of menus. " You can also use this as a start for your own set of menus.
" "
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2017 Nov 09 " Last Change: 2018 May 17
" Note that ":an" (short for ":anoremenu") is often used to make a menu work " Note that ":an" (short for ":anoremenu") is often used to make a menu work
" in all modes and avoid side effects from mappings defined by the user. " in all modes and avoid side effects from mappings defined by the user.
@ -946,7 +946,10 @@ if has("spell")
let s:suglist = spellsuggest(w, 10) let s:suglist = spellsuggest(w, 10)
endif endif
if len(s:suglist) > 0 if len(s:suglist) > 0
let s:changeitem = 'Change\ "' . escape(w, ' .'). '"\ to' if !exists("g:menutrans_spell_change_ARG_to")
let g:menutrans_spell_change_ARG_to = 'Change\ "%s"\ to'
endif
let s:changeitem = printf(g:menutrans_spell_change_ARG_to, escape(w, ' .'))
let s:fromword = w let s:fromword = w
let pri = 1 let pri = 1
" set 'cpo' to include the <CR> " set 'cpo' to include the <CR>
@ -958,10 +961,16 @@ if has("spell")
let pri += 1 let pri += 1
endfor endfor
let s:additem = 'Add\ "' . escape(w, ' .') . '"\ to\ Word\ List' if !exists("g:menutrans_spell_add_ARG_to_word_list")
let g:menutrans_spell_add_ARG_to_word_list = 'Add\ "%s"\ to\ Word\ List'
endif
let s:additem = printf(g:menutrans_spell_add_ARG_to_word_list, escape(w, ' .'))
exe 'anoremenu 1.6 PopUp.' . s:additem . ' :spellgood ' . w . '<CR>' exe 'anoremenu 1.6 PopUp.' . s:additem . ' :spellgood ' . w . '<CR>'
let s:ignoreitem = 'Ignore\ "' . escape(w, ' .') . '"' if !exists("g:menutrans_spell_ignore_ARG")
let g:menutrans_spell_ignore_ARG = 'Ignore\ "%s"'
endif
let s:ignoreitem = printf(g:menutrans_spell_ignore_ARG, escape(w, ' .'))
exe 'anoremenu 1.7 PopUp.' . s:ignoreitem . ' :spellgood! ' . w . '<CR>' exe 'anoremenu 1.7 PopUp.' . s:ignoreitem . ' :spellgood! ' . w . '<CR>'
anoremenu 1.8 PopUp.-SpellSep- : anoremenu 1.8 PopUp.-SpellSep- :

View File

@ -1,8 +1,22 @@
" Vim syntax file " Vim syntax file
" Language: Haskell Cabal Build file " Language: Haskell Cabal Build file
" Maintainer: Vincent Berthoux <twinside@gmail.com> " Author: Vincent Berthoux <twinside@gmail.com>
" File Types: .cabal " Maintainer: Marcin Szamotulski <profunctor@pm.me>
" Last Change: 2010 May 18 " Previous Maintainer: Vincent Berthoux <twinside@gmail.com>
" File Types: .cabal
" Last Change: 15 May 2018
" v1.5: Incorporated changes from
" https://github.com/sdiehl/haskell-vim-proto/blob/master/vim/syntax/cabal.vim
" Use `syn keyword` instead of `syn match`.
" Added cabalStatementRegion to limit matches of keywords, which fixes
" the highlighting of description's value.
" Added cabalVersionRegion to limit the scope of cabalVersionOperator
" and cabalVersion matches.
" Added cabalLanguage keyword.
" Added calbalTitle, cabalAuthor and cabalMaintainer syntax groups.
" Added ! and ^>= operators (calbal 2.0)
" Added build-type keywords
" v1.4: Add benchmark support, thanks to Simon Meier
" v1.3: Updated to the last version of cabal " v1.3: Updated to the last version of cabal
" Added more highlighting for cabal function, true/false " Added more highlighting for cabal function, true/false
" and version number. Also added missing comment highlighting. " and version number. Also added missing comment highlighting.
@ -23,97 +37,205 @@ if exists("b:current_syntax")
finish finish
endif endif
syn keyword cabalCategory Library library Executable executable Flag flag " this file uses line continuation
syn keyword cabalCategory source-repository Source-Repository let s:cpo_save = &cpo
set cpo&vim
syn keyword cabalConditional if else " set iskeyword for this syntax script
syn match cabalOperator "&&\|||\|!\|==\|>=\|<=" syn iskeyword @,48-57,192-255,-
syn keyword cabalFunction os arche impl flag
syn match cabalComment /--.*$/
syn match cabalVersion "\d\+\(.\(\d\)\+\)\+"
syn match cabalTruth "\ctrue" " Case sensitive matches
syn match cabalTruth "\cfalse" syn case match
syn match cabalCompiler "\cghc" syn keyword cabalConditional if else
syn match cabalCompiler "\cnhc" syn keyword cabalFunction os arche impl flag
syn match cabalCompiler "\cyhc" syn match cabalComment /--.*$/
syn match cabalCompiler "\chugs"
syn match cabalCompiler "\chbc"
syn match cabalCompiler "\chelium"
syn match cabalCompiler "\cjhc"
syn match cabalCompiler "\clhc"
" Case insensitive matches
syn case ignore
syn match cabalStatement "\cauthor" syn keyword cabalCategory contained
syn match cabalStatement "\cbranch" \ executable
syn match cabalStatement "\cbug-reports" \ library
syn match cabalStatement "\cbuild-depends" \ benchmark
syn match cabalStatement "\cbuild-tools" \ test-suite
syn match cabalStatement "\cbuild-type" \ source-repository
syn match cabalStatement "\cbuildable" \ flag
syn match cabalStatement "\cc-sources" \ custom-setup
syn match cabalStatement "\ccabal-version" syn match cabalCategoryTitle contained /[^{]*\ze{\?/
syn match cabalStatement "\ccategory" syn match cabalCategoryRegion
syn match cabalStatement "\ccc-options" \ contains=cabalCategory,cabalCategoryTitle
syn match cabalStatement "\ccopyright" \ nextgroup=cabalCategory skipwhite
syn match cabalStatement "\ccpp-options" \ /^\c\s*\(contained\|executable\|library\|benchmark\|test-suite\|source-repository\|flag\|custom-setup\)\+\s*\%(.*$\|$\)/
syn match cabalStatement "\cdata-dir" syn keyword cabalTruth true false
syn match cabalStatement "\cdata-files"
syn match cabalStatement "\cdefault" " cabalStatementRegion which limits the scope of cabalStatement keywords, this
syn match cabalStatement "\cdescription" " way they are not highlighted in description.
syn match cabalStatement "\cexecutable" syn region cabalStatementRegion start=+^\s*\(--\)\@<!\k\+\s*:+ end=+:+
syn match cabalStatement "\cexposed-modules" syn keyword cabalStatement contained containedin=cabalStatementRegion
syn match cabalStatement "\cexposed" \ default-language
syn match cabalStatement "\cextensions" \ default-extensions
syn match cabalStatement "\cextra-lib-dirs" \ author
syn match cabalStatement "\cextra-libraries" \ branch
syn match cabalStatement "\cextra-source-files" \ bug-reports
syn match cabalStatement "\cextra-tmp-files" \ build-depends
syn match cabalStatement "\cfor example" \ build-tools
syn match cabalStatement "\cframeworks" \ build-type
syn match cabalStatement "\cghc-options" \ buildable
syn match cabalStatement "\cghc-prof-options" \ c-sources
syn match cabalStatement "\cghc-shared-options" \ cabal-version
syn match cabalStatement "\chomepage" \ category
syn match cabalStatement "\chs-source-dirs" \ cc-options
syn match cabalStatement "\chugs-options" \ copyright
syn match cabalStatement "\cinclude-dirs" \ cpp-options
syn match cabalStatement "\cincludes" \ data-dir
syn match cabalStatement "\cinstall-includes" \ data-files
syn match cabalStatement "\cld-options" \ default
syn match cabalStatement "\clicense-file" \ description
syn match cabalStatement "\clicense" \ executable
syn match cabalStatement "\clocation" \ exposed-modules
syn match cabalStatement "\cmain-is" \ exposed
syn match cabalStatement "\cmaintainer" \ extensions
syn match cabalStatement "\cmodule" \ extra-tmp-files
syn match cabalStatement "\cname" \ extra-doc-files
syn match cabalStatement "\cnhc98-options" \ extra-lib-dirs
syn match cabalStatement "\cother-modules" \ extra-libraries
syn match cabalStatement "\cpackage-url" \ extra-source-files
syn match cabalStatement "\cpkgconfig-depends" \ exta-tmp-files
syn match cabalStatement "\cstability" \ for example
syn match cabalStatement "\csubdir" \ frameworks
syn match cabalStatement "\csynopsis" \ ghc-options
syn match cabalStatement "\ctag" \ ghc-prof-options
syn match cabalStatement "\ctested-with" \ ghc-shared-options
syn match cabalStatement "\ctype" \ homepage
syn match cabalStatement "\cversion" \ hs-source-dirs
\ hugs-options
\ include-dirs
\ includes
\ install-includes
\ ld-options
\ license
\ license-file
\ location
\ main-is
\ maintainer
\ manual
\ module
\ name
\ nhc98-options
\ other-extensions
\ other-modules
\ package-url
\ pkgconfig-depends
\ setup-depends
\ stability
\ subdir
\ synopsis
\ tag
\ tested-with
\ type
\ version
\ virtual-modules
" operators and version operators
syn match cabalOperator /&&\|||\|!/
syn match cabalVersionOperator contained
\ /!\|==\|\^\?>=\|<=\|<\|>/
" match version: `[%]\@<!` is to exclude `%20` in http addresses.
syn match cabalVersion contained
\ /[%$_-]\@<!\<\d\+\%(\.\d\+\)*\%(\.\*\)\?\>/
" cabalVersionRegion which limits the scope of cabalVersion pattern.
syn match cabalVersionRegionA
\ contains=cabalVersionOperator,cabalVersion
\ keepend
\ /\%(==\|\^\?>=\|<=\|<\|>\)\s*\d\+\%(\.\d\+\)*\%(\.\*\)\?\>/
" version inside `version: ...`
syn match cabalVersionRegionB
\ contains=cabalStatementRegion,cabalVersionOperator,cabalVersion
\ /^\s*\%(cabal-\)\?version\s*:.*$/
syn keyword cabalLanguage Haskell98 Haskell2010
" title region
syn match cabalName contained /:\@<=.*/
syn match cabalNameRegion
\ contains=cabalStatementRegion,cabalName
\ nextgroup=cabalStatementRegion
\ oneline
\ /^\c\s*name\s*:.*$/
" author region
syn match cabalAuthor contained /:\@<=.*/
syn match cabalAuthorRegion
\ contains=cabalStatementRegion,cabalStatement,cabalAuthor
\ nextgroup=cabalStatementRegion
\ oneline
\ /^\c\s*author\s*:.*$/
" maintainer region
syn match cabalMaintainer contained /:\@<=.*/
syn match cabalMaintainerRegion
\ contains=cabalStatementRegion,cabalStatement,cabalMaintainer
\ nextgroup=cabalStatementRegion
\ oneline
\ /^\c\s*maintainer\s*:.*$/
" license region
syn match cabalLicense contained /:\@<=.*/
syn match cabalLicenseRegion
\ contains=cabalStatementRegion,cabalStatement,cabalLicense
\ nextgroup=cabalStatementRegion
\ oneline
\ /^\c\s*license\s*:.*$/
" license-file region
syn match cabalLicenseFile contained /:\@<=.*/
syn match cabalLicenseFileRegion
\ contains=cabalStatementRegion,cabalStatement,cabalLicenseFile
\ nextgroup=cabalStatementRegion
\ oneline
\ /^\c\s*license-file\s*:.*$/
" tested-with region with compilers and versions
syn keyword cabalCompiler contained ghc nhc yhc hugs hbc helium jhc lhc
syn match cabalTestedWithRegion
\ contains=cabalStatementRegion,cabalStatement,cabalCompiler,cabalVersionRegionA
\ nextgroup=cabalStatementRegion
\ oneline
\ /^\c\s*tested-with\s*:.*$/
" build type keywords
syn keyword cabalBuildType contained
\ simple custom configure
syn match cabalBuildTypeRegion
\ contains=cabalStatementRegion,cabalStatement,cabalBuildType
\ nextgroup=cabalStatementRegion
\ /^\c\s*build-type\s*:.*$/
" Define the default highlighting. " Define the default highlighting.
" Only when an item doesn't have highlighting yet " Only when an item doesn't have highlighting yet
hi def link cabalName Title
hi def link cabalVersion Number hi def link cabalAuthor Normal
hi def link cabalTruth Boolean hi def link cabalMaintainer Normal
hi def link cabalComment Comment hi def link cabalCategoryTitle Title
hi def link cabalStatement Statement hi def link cabalLicense Normal
hi def link cabalCategory Type hi def link cabalLicenseFile Normal
hi def link cabalFunction Function hi def link cabalBuildType Keyword
hi def link cabalConditional Conditional hi def link cabalVersion Number
hi def link cabalOperator Operator hi def link cabalTruth Boolean
hi def link cabalCompiler Constant hi def link cabalComment Comment
hi def link cabalStatement Statement
hi def link cabalLanguage Type
hi def link cabalCategory Type
hi def link cabalFunction Function
hi def link cabalConditional Conditional
hi def link cabalOperator Operator
hi def link cabalVersionOperator Operator
hi def link cabalCompiler Constant
let b:current_syntax = "cabal" let b:current_syntax = "cabal"
let &cpo = s:cpo_save
unlet! s:cpo_save
" vim: ts=8 " vim: ts=8

View File

@ -2213,7 +2213,7 @@ msgid "No"
msgstr "Íåò" msgstr "Íåò"
msgid "Input _Methods" msgid "Input _Methods"
msgstr "_<>ועמה<D79E> <EFBFBD>גמהא" msgstr "_<>ועמה<D79E> גגמהא"
msgid "VIM - Search and Replace..." msgid "VIM - Search and Replace..."
msgstr "VIM — Ïîèñê è çàìåíà..." msgstr "VIM — Ïîèñê è çàìåíà..."

View File

@ -2213,7 +2213,7 @@ msgid "No"
msgstr "Нет" msgstr "Нет"
msgid "Input _Methods" msgid "Input _Methods"
msgstr "_Методы Ввода" msgstr "_Методы ввода"
msgid "VIM - Search and Replace..." msgid "VIM - Search and Replace..."
msgstr "VIM — Поиск и замена..." msgstr "VIM — Поиск и замена..."