Compare commits
79 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
887a38cee7 | ||
|
|
ce2ad9ffd7 | ||
|
|
1b53172901 | ||
|
|
d5c8c0920e | ||
|
|
cb3691811b | ||
|
|
9937d8b619 | ||
|
|
c7a8eb5ff2 | ||
|
|
6a4ea471d2 | ||
|
|
b8ecedce79 | ||
|
|
3ac83c7141 | ||
|
|
1e34b95e44 | ||
|
|
fb745756db | ||
|
|
b4757e627e | ||
|
|
c5def6561d | ||
|
|
4e9adfa3d1 | ||
|
|
8d8cb45756 | ||
|
|
53753f6a49 | ||
|
|
c3e6e393cb | ||
|
|
7edde3f39e | ||
|
|
ad4881cb3c | ||
|
|
5715a72628 | ||
|
|
c8330b8fff | ||
|
|
5bf7446ba2 | ||
|
|
75c3161f8f | ||
|
|
dfbf6f3ae5 | ||
|
|
d88a39e0d6 | ||
|
|
c3016a8bf0 | ||
|
|
f2211cb1ca | ||
|
|
247dbd0e7b | ||
|
|
5ba554011e | ||
|
|
e0d0ad675e | ||
|
|
f1d3913a80 | ||
|
|
a01968448a | ||
|
|
54e79157c5 | ||
|
|
2ffdae7948 | ||
|
|
da9d345b3d | ||
|
|
3ca2ae180a | ||
|
|
2d919d2744 | ||
|
|
94a05d5545 | ||
|
|
370e36829b | ||
|
|
b2e42b9be0 | ||
|
|
ca4b81a7ae | ||
|
|
83d3b3b8a4 | ||
|
|
e35478bc9d | ||
|
|
5cbc9a69e5 | ||
|
|
652c821366 | ||
|
|
c4d0c8c812 | ||
|
|
04e1aaa94e | ||
|
|
dc5c905541 | ||
|
|
2e9b9e9a9e | ||
|
|
32d701f51b | ||
|
|
f351fd8292 | ||
|
|
75a73551a1 | ||
|
|
fe55c31752 | ||
|
|
1125051040 | ||
|
|
86ef815959 | ||
|
|
92917069b1 | ||
|
|
ac7731895c | ||
|
|
340643e977 | ||
|
|
93df2285a0 | ||
|
|
79952b9c67 | ||
|
|
9525f62136 | ||
|
|
5400a5d426 | ||
|
|
00ae5c5cba | ||
|
|
eb80b8304e | ||
|
|
4b9fc8247a | ||
|
|
fe1e2b5e2d | ||
|
|
98b12ede31 | ||
|
|
38b9f45253 | ||
|
|
f68517c167 | ||
|
|
f6c1fb20e3 | ||
|
|
e679a37e17 | ||
|
|
ec67ee09d2 | ||
|
|
addf9ed620 | ||
|
|
a4c085a3e6 | ||
|
|
3f821d6de2 | ||
|
|
04e8943556 | ||
|
|
dc5cd1cac1 | ||
|
|
a16f251333 |
7
.github/CODEOWNERS → .github/MAINTAINERS
vendored
7
.github/CODEOWNERS → .github/MAINTAINERS
vendored
@@ -70,6 +70,7 @@ runtime/compiler/jest.vim @dkearns
|
||||
runtime/compiler/jjs.vim @dkearns
|
||||
runtime/compiler/jshint.vim @dkearns
|
||||
runtime/compiler/jsonlint.vim @dkearns
|
||||
runtime/compiler/jq.vim @vito-c
|
||||
runtime/compiler/lazbuild.vim @dkearns
|
||||
runtime/compiler/perl.vim @petdance @heptite
|
||||
runtime/compiler/perlcritic.vim @petdance @dkearns
|
||||
@@ -160,10 +161,12 @@ runtime/ftplugin/j.vim @glts
|
||||
runtime/ftplugin/java.vim @zzzyxwvut
|
||||
runtime/ftplugin/javascript.vim @dkearns
|
||||
runtime/ftplugin/javascriptreact.vim @dkearns
|
||||
runtime/ftplugin/jj.vim @gpanders
|
||||
runtime/ftplugin/json.vim @dbarnett
|
||||
runtime/ftplugin/json5.vim @dkearns
|
||||
runtime/ftplugin/jsonc.vim @izhakjakov
|
||||
runtime/ftplugin/julia.vim @carlobaldassi
|
||||
runtime/ftplugin/jq.vim @vito-c
|
||||
runtime/ftplugin/kconfig.vim @chrisbra
|
||||
runtime/ftplugin/kotlin.vim @udalov
|
||||
runtime/ftplugin/less.vim @genoma
|
||||
@@ -316,6 +319,7 @@ runtime/lang/menu_ru_ru.cp1251.vim @RestorerZ
|
||||
runtime/lang/menu_ru_ru.koi8-r.vim @RestorerZ
|
||||
runtime/lang/menu_ru_ru.utf-8.vim @RestorerZ
|
||||
runtime/pack/dist/opt/cfilter/plugin/cfilter.vim @yegappan
|
||||
runtime/pack/dist/opt/comment/ @habamax
|
||||
runtime/pack/dist/opt/matchit/ @chrisbra
|
||||
runtime/plugin/manpager.vim @Konfekt
|
||||
runtime/syntax/shared/hgcommitDiff.vim @vegerot
|
||||
@@ -403,8 +407,11 @@ runtime/syntax/j.vim @glts
|
||||
runtime/syntax/jargon.vim @h3xx
|
||||
runtime/syntax/java.vim @zzzyxwvut
|
||||
runtime/syntax/javascript.vim @fleiner
|
||||
runtime/syntax/jj.vim @gpanders
|
||||
runtime/syntax/json.vim @vito-c
|
||||
runtime/syntax/jsonc.vim @izhakjakov
|
||||
runtime/syntax/julia.vim @carlobaldassi
|
||||
runtime/syntax/jq.vim @vito-c
|
||||
runtime/syntax/kconfig.vim @chrisbra
|
||||
runtime/syntax/kotlin.vim @udalov
|
||||
runtime/syntax/krl.vim @KnoP-01
|
||||
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -96,6 +96,8 @@ jobs:
|
||||
|
||||
- name: Install packages
|
||||
run: |
|
||||
# This is added by default, and it is often broken, but we don't need anything from it
|
||||
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
|
||||
PKGS=( \
|
||||
gettext \
|
||||
libgtk2.0-dev:${{ matrix.architecture }} \
|
||||
@@ -129,6 +131,9 @@ jobs:
|
||||
- name: Install gcc-${{ env.GCC_VER }}
|
||||
if: matrix.compiler == 'gcc'
|
||||
run: |
|
||||
# ubuntu-toolchain-r/test PPA for gcc-13 compiler
|
||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y gcc-${{ env.GCC_VER }}:${{ matrix.architecture }}
|
||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ env.GCC_VER }} 100
|
||||
sudo update-alternatives --set gcc /usr/bin/gcc-${{ env.GCC_VER }}
|
||||
@@ -325,8 +330,16 @@ jobs:
|
||||
brew install lua libtool
|
||||
echo "LUA_PREFIX=$(brew --prefix)" >> $GITHUB_ENV
|
||||
|
||||
- name: Install blackhole-2ch for macos-12
|
||||
if: matrix.features == 'huge' && matrix.runner == 'macos-12'
|
||||
run: |
|
||||
# Install audio device for playing sound since some of macos-12 machines have no audio device installed.
|
||||
if system_profiler -json SPAudioDataType | jq -er '.SPAudioDataType[]._items == []'; then
|
||||
brew install blackhole-2ch
|
||||
fi
|
||||
|
||||
- name: Grant microphone access for macos-14
|
||||
if: matrix.runner == 'macos-14'
|
||||
if: matrix.features == 'huge' && matrix.runner == 'macos-14'
|
||||
run: |
|
||||
# Temporary fix to fix microphone permission issues for macos-14 when playing sound.
|
||||
sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159,NULL,NULL,'UNUSED',1687786159);"
|
||||
|
||||
@@ -46,17 +46,30 @@ Or open [the todo file][todo list] on GitHub to see the latest version.
|
||||
# Syntax, indent and other runtime files
|
||||
|
||||
The latest version of these files can be obtained from the repository.
|
||||
They are usually not updated with numbered patches.
|
||||
They are usually not updated with numbered patches. However, they may
|
||||
or may not work with older Vim releases (since they may contain new features).
|
||||
|
||||
If you find a problem with one of these files or have a suggestion for
|
||||
improvement, please first try to contact the maintainer directly.
|
||||
Look in the header of the file for the name and email address.
|
||||
Look in the header of the file for the name, email address, github handle and/or
|
||||
upstream repository. You may also check the [MAINTAINERS][11] file.
|
||||
|
||||
The maintainer will take care of issues and send updates to the Vim project for
|
||||
distribution with Vim.
|
||||
|
||||
If the maintainer does not respond, contact the [vim-dev][0] mailing list.
|
||||
|
||||
## Contributing new runtime files
|
||||
|
||||
If you want to contribute new runtime files for Vim or Neovim, please create a
|
||||
PR with your changes against this repository here. For new filetypes, do not forget:
|
||||
* to add a new [filetype test][12] (keep it similar to the other filetype tests).
|
||||
* all configuration switches should be documented
|
||||
(check [filetype.txt][13] and/or [syntax.txt][14] for filetype and syntax plugins)
|
||||
* add yourself as Maintainer to the top of file (again, keep the header similar to
|
||||
other runtime files)
|
||||
* add yourself to the [MAINTAINERS][11] file.
|
||||
|
||||
# Translations
|
||||
|
||||
Translating messages and runtime files is very much appreciated! These things
|
||||
@@ -96,3 +109,7 @@ mailing list. For other questions please use the [Vi Stack Exchange][8] website,
|
||||
[8]: https://vi.stackexchange.com
|
||||
[9]: http://www.vim.org/maillist.php#vim-use
|
||||
[10]: https://github.com/vim/vim/discussions
|
||||
[11]: https://github.com/vim/vim/blob/master/.github/MAINTAINERS
|
||||
[12]: https://github.com/vim/vim/blob/master/src/testdir/test_filetype.vim
|
||||
[13]: https://github.com/vim/vim/blob/master/runtime/doc/filetype.txt
|
||||
[14]: https://github.com/vim/vim/blob/master/runtime/doc/syntax.txt
|
||||
|
||||
6
Filelist
6
Filelist
@@ -5,7 +5,7 @@
|
||||
SRC_ALL = \
|
||||
.cirrus.yml \
|
||||
.gitattributes \
|
||||
.github/CODEOWNERS \
|
||||
.github/MAINTAINERS \
|
||||
.github/ISSUE_TEMPLATE/bug_report.yml \
|
||||
.github/ISSUE_TEMPLATE/feature_request.md \
|
||||
.github/workflows/ci.yml \
|
||||
@@ -755,6 +755,10 @@ RT_ALL = \
|
||||
runtime/tutor/tutor.vim \
|
||||
runtime/vimrc_example.vim \
|
||||
runtime/pack/dist/opt/cfilter/plugin/cfilter.vim \
|
||||
runtime/pack/dist/opt/comment/plugin/comment.vim \
|
||||
runtime/pack/dist/opt/comment/doc/comment.txt \
|
||||
runtime/pack/dist/opt/comment/doc/tags \
|
||||
runtime/pack/dist/opt/comment/autoload/comment.vim \
|
||||
runtime/pack/dist/opt/dvorak/plugin/dvorak.vim \
|
||||
runtime/pack/dist/opt/dvorak/dvorak/enable.vim \
|
||||
runtime/pack/dist/opt/dvorak/dvorak/disable.vim \
|
||||
|
||||
@@ -18,7 +18,7 @@ or one of the [Maillists](https://www.vim.org/community.php).
|
||||
## What is Vim?
|
||||
|
||||
Vim is a greatly improved version of the good old UNIX editor
|
||||
[Vi](https://en.wikipedia.org/wiki/Vi). Many new
|
||||
[Vi](https://en.wikipedia.org/wiki/Vi_(text_editor)). Many new
|
||||
features have been added: multi-level undo, syntax highlighting, command line
|
||||
history, on-line help, spell checking, filename completion, block operations,
|
||||
script language, etc. There is also a Graphical User Interface (GUI)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
The Python project that creates `vimlogo.svg` can be found at
|
||||
`https://github.com/ShayHill/vimlogo`. The Vim license applies.
|
||||
|
||||
`vimlogo.svg` is an effort to remove errors and inadvertant inconsistencies
|
||||
from the original vim logo while maintaing the original design. `vimlogo.svg`
|
||||
`vimlogo.svg` is an effort to remove errors and inadvertent inconsistencies
|
||||
from the original vim logo while maintaining the original design. `vimlogo.svg`
|
||||
is based on the `vimlogo.svg` file (previously?) found at
|
||||
`https://www.vim.org/logos.php`
|
||||
|
||||
|
||||
@@ -225,7 +225,7 @@ Page custom SetCustom ValidateCustom
|
||||
# Version resources
|
||||
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "Vim"
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "Vim Developers"
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "The Vim Project"
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" "Vim"
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright (C) 1996"
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Vi Improved - A Text Editor"
|
||||
|
||||
8
runtime/autoload/dist/ft.vim
vendored
8
runtime/autoload/dist/ft.vim
vendored
@@ -406,14 +406,18 @@ export def FTidl()
|
||||
setf idl
|
||||
enddef
|
||||
|
||||
# Distinguish between "default", Prolog and Cproto prototype file.
|
||||
# Distinguish between "default", Prolog, zsh module's C and Cproto prototype file.
|
||||
export def ProtoCheck(default: string)
|
||||
# zsh modules use '#include "*.pro"'
|
||||
# https://github.com/zsh-users/zsh/blob/63f086d167960a27ecdbcb762179e2c2bf8a29f5/Src/Modules/example.c#L31
|
||||
if getline(1) =~ '/* Generated automatically */'
|
||||
setf c
|
||||
# Cproto files have a comment in the first line and a function prototype in
|
||||
# the second line, it always ends in ";". Indent files may also have
|
||||
# comments, thus we can't match comments to see the difference.
|
||||
# IDL files can have a single ';' in the second line, require at least one
|
||||
# chacter before the ';'.
|
||||
if getline(2) =~ '.;$'
|
||||
elseif getline(2) =~ '.;$'
|
||||
setf cpp
|
||||
else
|
||||
# recognize Prolog by specific text in the first non-empty line
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
" 2024 Feb 19 by Vim Project: (announce adoption)
|
||||
" 2024 Feb 29 by Vim Project: handle symlinks in tree mode correctly
|
||||
" 2024 Apr 03 by Vim Project: detect filetypes for remote edited files
|
||||
" 2024 May 08 by Vim Project: cleanup legacy Win9X checks
|
||||
" 2024 May 09 by Vim Project: remove hard-coded private.ppk
|
||||
" Former Maintainer: Charles E Campbell
|
||||
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
||||
" Copyright: Copyright (C) 2016 Charles E. Campbell {{{1
|
||||
@@ -280,14 +282,8 @@ call s:NetrwInit("g:netrw_rcp_cmd" , "rcp")
|
||||
call s:NetrwInit("g:netrw_rsync_cmd", "rsync")
|
||||
call s:NetrwInit("g:netrw_rsync_sep", "/")
|
||||
if !exists("g:netrw_scp_cmd")
|
||||
if executable("scp")
|
||||
call s:NetrwInit("g:netrw_scp_cmd" , "scp -q")
|
||||
elseif executable("pscp")
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16")) && filereadable('c:\private.ppk')
|
||||
call s:NetrwInit("g:netrw_scp_cmd", 'pscp -i c:\private.ppk')
|
||||
else
|
||||
call s:NetrwInit("g:netrw_scp_cmd", 'pscp -q')
|
||||
endif
|
||||
if executable("pscp")
|
||||
call s:NetrwInit("g:netrw_scp_cmd", 'pscp -q')
|
||||
else
|
||||
call s:NetrwInit("g:netrw_scp_cmd" , "scp -q")
|
||||
endif
|
||||
@@ -296,7 +292,7 @@ endif
|
||||
call s:NetrwInit("g:netrw_sftp_cmd" , "sftp")
|
||||
call s:NetrwInit("g:netrw_ssh_cmd" , "ssh")
|
||||
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if has("win32")
|
||||
\ && exists("g:netrw_use_nt_rcp")
|
||||
\ && g:netrw_use_nt_rcp
|
||||
\ && executable( $SystemRoot .'/system32/rcp.exe')
|
||||
@@ -311,12 +307,8 @@ endif
|
||||
" Default values for netrw's global variables {{{2
|
||||
" Cygwin Detection ------- {{{3
|
||||
if !exists("g:netrw_cygwin")
|
||||
if has("win32") || has("win95") || has("win64") || has("win16")
|
||||
if has("win32unix") && &shell =~ '\%(\<bash\>\|\<zsh\>\)\%(\.exe\)\=$'
|
||||
let g:netrw_cygwin= 1
|
||||
else
|
||||
let g:netrw_cygwin= 0
|
||||
endif
|
||||
if has("win32unix") && &shell =~ '\%(\<bash\>\|\<zsh\>\)\%(\.exe\)\=$'
|
||||
let g:netrw_cygwin= 1
|
||||
else
|
||||
let g:netrw_cygwin= 0
|
||||
endif
|
||||
@@ -372,10 +364,6 @@ endif
|
||||
call s:NetrwInit("g:netrw_keepdir",1)
|
||||
if !exists("g:netrw_list_cmd")
|
||||
if g:netrw_scp_cmd =~ '^pscp' && executable("pscp")
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16")) && filereadable("c:\\private.ppk")
|
||||
" provide a pscp-based listing command
|
||||
let g:netrw_scp_cmd ="pscp -i C:\\private.ppk"
|
||||
endif
|
||||
if exists("g:netrw_list_cmd_options")
|
||||
let g:netrw_list_cmd= g:netrw_scp_cmd." -ls USEPORT HOSTNAME: ".g:netrw_list_cmd_options
|
||||
else
|
||||
@@ -403,7 +391,7 @@ if !exists("g:netrw_localcmdshell")
|
||||
let g:netrw_localcmdshell= ""
|
||||
endif
|
||||
if !exists("g:netrw_localcopycmd")
|
||||
if has("win32") || has("win95") || has("win64") || has("win16")
|
||||
if has("win32")
|
||||
if g:netrw_cygwin
|
||||
let g:netrw_localcopycmd= "cp"
|
||||
else
|
||||
@@ -417,7 +405,7 @@ if !exists("g:netrw_localcopycmd")
|
||||
endif
|
||||
endif
|
||||
if !exists("g:netrw_localcopydircmd")
|
||||
if has("win32") || has("win95") || has("win64") || has("win16")
|
||||
if has("win32")
|
||||
if g:netrw_cygwin
|
||||
let g:netrw_localcopydircmd = "cp"
|
||||
let g:netrw_localcopydircmdopt= " -R"
|
||||
@@ -439,7 +427,7 @@ if exists("g:netrw_local_mkdir")
|
||||
let g:netrw_localmkdir= g:netrw_local_mkdir
|
||||
call netrw#ErrorMsg(s:NOTE,"g:netrw_local_mkdir is deprecated in favor of g:netrw_localmkdir",87)
|
||||
endif
|
||||
if has("win32") || has("win95") || has("win64") || has("win16")
|
||||
if has("win32")
|
||||
if g:netrw_cygwin
|
||||
call s:NetrwInit("g:netrw_localmkdir","mkdir")
|
||||
else
|
||||
@@ -455,7 +443,7 @@ if exists("g:netrw_local_movecmd")
|
||||
call netrw#ErrorMsg(s:NOTE,"g:netrw_local_movecmd is deprecated in favor of g:netrw_localmovecmd",88)
|
||||
endif
|
||||
if !exists("g:netrw_localmovecmd")
|
||||
if has("win32") || has("win95") || has("win64") || has("win16")
|
||||
if has("win32")
|
||||
if g:netrw_cygwin
|
||||
let g:netrw_localmovecmd= "mv"
|
||||
else
|
||||
@@ -488,7 +476,7 @@ call s:NetrwInit("g:netrw_mousemaps" , (exists("+mouse") && &mouse =~# '[anh
|
||||
call s:NetrwInit("g:netrw_retmap" , 0)
|
||||
if has("unix") || (exists("g:netrw_cygwin") && g:netrw_cygwin)
|
||||
call s:NetrwInit("g:netrw_chgperm" , "chmod PERM FILENAME")
|
||||
elseif has("win32") || has("win95") || has("win64") || has("win16")
|
||||
elseif has("win32")
|
||||
call s:NetrwInit("g:netrw_chgperm" , "cacls FILENAME /e /p PERM")
|
||||
else
|
||||
call s:NetrwInit("g:netrw_chgperm" , "chmod PERM FILENAME")
|
||||
@@ -547,14 +535,13 @@ if !exists("g:netrw_xstrlen")
|
||||
endif
|
||||
endif
|
||||
call s:NetrwInit("g:NetrwTopLvlMenu","Netrw.")
|
||||
call s:NetrwInit("g:netrw_win95ftp",1)
|
||||
call s:NetrwInit("g:netrw_winsize",50)
|
||||
call s:NetrwInit("g:netrw_wiw",1)
|
||||
if g:netrw_winsize > 100|let g:netrw_winsize= 100|endif
|
||||
" ---------------------------------------------------------------------
|
||||
" Default values for netrw's script variables: {{{2
|
||||
call s:NetrwInit("g:netrw_fname_escape",' ?&;%')
|
||||
if has("win32") || has("win95") || has("win64") || has("win16")
|
||||
if has("win32")
|
||||
call s:NetrwInit("g:netrw_glob_escape",'*?`{[]$')
|
||||
else
|
||||
call s:NetrwInit("g:netrw_glob_escape",'*[]?`{~$\')
|
||||
@@ -686,7 +673,7 @@ fun! netrw#Explore(indx,dosplit,style,...)
|
||||
" record current directory
|
||||
let curdir = simplify(b:netrw_curdir)
|
||||
let curfiledir = substitute(expand("%:p"),'^\(.*[/\\]\)[^/\\]*$','\1','e')
|
||||
if !exists("g:netrw_cygwin") && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if !exists("g:netrw_cygwin") && has("win32")
|
||||
let curdir= substitute(curdir,'\','/','g')
|
||||
endif
|
||||
" call Decho("curdir<".curdir."> curfiledir<".curfiledir.">",'~'.expand("<slnum>"))
|
||||
@@ -844,7 +831,7 @@ fun! netrw#Explore(indx,dosplit,style,...)
|
||||
" handle .../**/.../filepat
|
||||
" call Decho("case starpat=4: Explore .../**/.../filepat",'~'.expand("<slnum>"))
|
||||
let prefixdir= substitute(dirname,'^\(.\{-}\)\*\*.*$','\1','')
|
||||
if prefixdir =~ '^/' || (prefixdir =~ '^\a:/' && (has("win32") || has("win95") || has("win64") || has("win16")))
|
||||
if prefixdir =~ '^/' || (prefixdir =~ '^\a:/' && has("win32"))
|
||||
let b:netrw_curdir = prefixdir
|
||||
else
|
||||
let b:netrw_curdir= getcwd().'/'.prefixdir
|
||||
@@ -881,7 +868,7 @@ fun! netrw#Explore(indx,dosplit,style,...)
|
||||
else
|
||||
if dirname == ""
|
||||
let dirname= getcwd()
|
||||
elseif (has("win32") || has("win95") || has("win64") || has("win16")) && !g:netrw_cygwin
|
||||
elseif has("win32") && !g:netrw_cygwin
|
||||
" Windows : check for a drive specifier, or else for a remote share name ('\\Foo' or '//Foo',
|
||||
" depending on whether backslashes have been converted to forward slashes by earlier code).
|
||||
if dirname !~ '^[a-zA-Z]:' && dirname !~ '^\\\\\w\+' && dirname !~ '^//\w\+'
|
||||
@@ -1420,7 +1407,7 @@ fun! netrw#Obtain(islocal,fname,...)
|
||||
" call Decho("obtain a file from local ".b:netrw_curdir." to ".tgtdir,'~'.expand("<slnum>"))
|
||||
if exists("b:netrw_curdir") && getcwd() != b:netrw_curdir
|
||||
let topath= s:ComposePath(tgtdir,"")
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if has("win32")
|
||||
" transfer files one at time
|
||||
" call Decho("transfer files one at a time",'~'.expand("<slnum>"))
|
||||
for fname in fnamelist
|
||||
@@ -2301,7 +2288,7 @@ fun! netrw#NetRead(mode,...)
|
||||
endif
|
||||
" 'C' in 'C:\path\to\file' is handled as hostname on windows.
|
||||
" This is workaround to avoid mis-handle windows local-path:
|
||||
if g:netrw_scp_cmd =~ '^scp' && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if g:netrw_scp_cmd =~ '^scp' && has("win32")
|
||||
let tmpfile_get = substitute(tr(tmpfile, '\', '/'), '^\(\a\):[/\\]\(.*\)$', '/\1/\2', '')
|
||||
else
|
||||
let tmpfile_get = tmpfile
|
||||
@@ -3221,7 +3208,7 @@ fun! s:NetrwMethod(choice)
|
||||
if exists("s:netrw_hup[host]")
|
||||
call NetUserPass("ftp:".host)
|
||||
|
||||
elseif (has("win32") || has("win95") || has("win64") || has("win16")) && s:netrw_ftp_cmd =~# '-[sS]:'
|
||||
elseif has("win32") && s:netrw_ftp_cmd =~# '-[sS]:'
|
||||
" call Decho("has -s: : s:netrw_ftp_cmd<".s:netrw_ftp_cmd.">",'~'.expand("<slnum>"))
|
||||
" call Decho(" g:netrw_ftp_cmd<".g:netrw_ftp_cmd.">",'~'.expand("<slnum>"))
|
||||
if g:netrw_ftp_cmd =~# '-[sS]:\S*MACHINE\>'
|
||||
@@ -3336,38 +3323,6 @@ fun! s:NetrwMethod(choice)
|
||||
" call Dret("s:NetrwMethod : b:netrw_method=".b:netrw_method." g:netrw_port=".g:netrw_port)
|
||||
endfun
|
||||
|
||||
" ------------------------------------------------------------------------
|
||||
" NetReadFixup: this sort of function is typically written by the user {{{2
|
||||
" to handle extra junk that their system's ftp dumps
|
||||
" into the transfer. This function is provided as an
|
||||
" example and as a fix for a Windows 95 problem: in my
|
||||
" experience, win95's ftp always dumped four blank lines
|
||||
" at the end of the transfer.
|
||||
if has("win95") && exists("g:netrw_win95ftp") && g:netrw_win95ftp
|
||||
fun! NetReadFixup(method, line1, line2)
|
||||
" call Dfunc("NetReadFixup(method<".a:method."> line1=".a:line1." line2=".a:line2.")")
|
||||
|
||||
" sanity checks -- attempt to convert inputs to integers
|
||||
let method = a:method + 0
|
||||
let line1 = a:line1 + 0
|
||||
let line2 = a:line2 + 0
|
||||
if type(method) != 0 || type(line1) != 0 || type(line2) != 0 || method < 0 || line1 <= 0 || line2 <= 0
|
||||
" call Dret("NetReadFixup")
|
||||
return
|
||||
endif
|
||||
|
||||
if method == 3 " ftp (no <.netrc>)
|
||||
let fourblanklines= line2 - 3
|
||||
if fourblanklines >= line1
|
||||
exe "sil NetrwKeepj ".fourblanklines.",".line2."g/^\s*$/d"
|
||||
call histdel("/",-1)
|
||||
endif
|
||||
endif
|
||||
|
||||
" call Dret("NetReadFixup")
|
||||
endfun
|
||||
endif
|
||||
|
||||
" ---------------------------------------------------------------------
|
||||
" NetUserPass: set username and password for subsequent ftp transfer {{{2
|
||||
" Usage: :call NetUserPass() -- will prompt for userid and password
|
||||
@@ -3990,7 +3945,7 @@ fun! s:NetrwBrowse(islocal,dirname)
|
||||
if b:netrw_curdir =~ '[/\\]$'
|
||||
let b:netrw_curdir= substitute(b:netrw_curdir,'[/\\]$','','e')
|
||||
endif
|
||||
if b:netrw_curdir =~ '\a:$' && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if b:netrw_curdir =~ '\a:$' && has("win32")
|
||||
let b:netrw_curdir= b:netrw_curdir."/"
|
||||
endif
|
||||
if b:netrw_curdir == ''
|
||||
@@ -4144,7 +4099,7 @@ fun! s:NetrwFile(fname)
|
||||
let b:netrw_curdir= getcwd()
|
||||
endif
|
||||
|
||||
if !exists("g:netrw_cygwin") && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if !exists("g:netrw_cygwin") && has("win32")
|
||||
if fname =~ '^\' || fname =~ '^\a:\'
|
||||
" windows, but full path given
|
||||
let ret= fname
|
||||
@@ -4864,7 +4819,7 @@ fun! s:NetrwBrowseChgDir(islocal,newdir,...)
|
||||
call s:SavePosn(s:netrw_posn)
|
||||
NetrwKeepj call s:NetrwOptionsSave("s:")
|
||||
NetrwKeepj call s:NetrwOptionsSafe(a:islocal)
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if has("win32")
|
||||
let dirname = substitute(b:netrw_curdir,'\\','/','ge')
|
||||
else
|
||||
let dirname = b:netrw_curdir
|
||||
@@ -5111,7 +5066,7 @@ fun! s:NetrwBrowseChgDir(islocal,newdir,...)
|
||||
endif
|
||||
" call Decho("go-up: amiga: dirname<".dirname."> (go up one dir)",'~'.expand("<slnum>"))
|
||||
|
||||
elseif !g:netrw_cygwin && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
elseif !g:netrw_cygwin && has("win32")
|
||||
" windows
|
||||
if a:islocal
|
||||
let dirname= substitute(dirname,'^\(.*\)/\([^/]\+\)/$','\1','')
|
||||
@@ -5396,7 +5351,7 @@ fun! netrw#BrowseX(fname,remote)
|
||||
" set up the filename
|
||||
" (lower case the extension, make a local copy of a remote file)
|
||||
let exten= substitute(a:fname,'.*\.\(.\{-}\)','\1','e')
|
||||
if has("win32") || has("win95") || has("win64") || has("win16")
|
||||
if has("win32")
|
||||
let exten= substitute(exten,'^.*$','\L&\E','')
|
||||
endif
|
||||
if exten =~ "[\\/]"
|
||||
@@ -5443,12 +5398,12 @@ fun! netrw#BrowseX(fname,remote)
|
||||
" by default, g:netrw_suppress_gx_mesg is true
|
||||
if g:netrw_suppress_gx_mesg
|
||||
if &srr =~ "%s"
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if has("win32")
|
||||
let redir= substitute(&srr,"%s","nul","")
|
||||
else
|
||||
let redir= substitute(&srr,"%s","/dev/null","")
|
||||
endif
|
||||
elseif (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
elseif has("win32")
|
||||
let redir= &srr . "nul"
|
||||
else
|
||||
let redir= &srr . "/dev/null"
|
||||
@@ -5491,7 +5446,7 @@ fun! netrw#BrowseX(fname,remote)
|
||||
call s:NetrwExe("sil !".viewer." ".viewopt.s:ShellEscape(fname,1).redir)
|
||||
let ret= v:shell_error
|
||||
|
||||
elseif has("win32") || has("win64")
|
||||
elseif has("win32")
|
||||
" call Decho("(netrw#BrowseX) win".(has("win32")? "32" : "64"),'~'.expand("<slnum>"))
|
||||
if executable("start")
|
||||
call s:NetrwExe('sil! !start rundll32 url.dll,FileProtocolHandler '.s:ShellEscape(fname,1))
|
||||
@@ -6006,7 +5961,7 @@ fun! s:NetrwHome()
|
||||
" just pick the first directory
|
||||
let home= substitute(&rtp,',.*$','','')
|
||||
endif
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if has("win32")
|
||||
let home= substitute(home,'/','\\','g')
|
||||
endif
|
||||
endif
|
||||
@@ -7227,7 +7182,7 @@ fun! s:NetrwMarkFileCopy(islocal,...)
|
||||
let args= join(map(deepcopy(s:netrwmarkfilelist_{bufnr('%')}),"s:ShellEscape(b:netrw_curdir.\"/\".v:val)"))
|
||||
let tgt = s:ShellEscape(s:netrwmftgt)
|
||||
endif
|
||||
if !g:netrw_cygwin && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if !g:netrw_cygwin && has("win32")
|
||||
let args= substitute(args,'/','\\','g')
|
||||
let tgt = substitute(tgt, '/','\\','g')
|
||||
endif
|
||||
@@ -7241,7 +7196,7 @@ fun! s:NetrwMarkFileCopy(islocal,...)
|
||||
" call Decho("args<".args."> is a directory",'~'.expand("<slnum>"))
|
||||
let copycmd= g:netrw_localcopydircmd
|
||||
" call Decho("using copydircmd<".copycmd.">",'~'.expand("<slnum>"))
|
||||
if !g:netrw_cygwin && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if !g:netrw_cygwin && has("win32")
|
||||
" window's xcopy doesn't copy a directory to a target properly. Instead, it copies a directory's
|
||||
" contents to a target. One must append the source directory name to the target to get xcopy to
|
||||
" do the right thing.
|
||||
@@ -7859,7 +7814,7 @@ fun! s:NetrwMarkFileMove(islocal)
|
||||
endif
|
||||
let tgt = s:ShellEscape(s:netrwmftgt)
|
||||
" call Decho("tgt<".tgt.">",'~'.expand("<slnum>"))
|
||||
if !g:netrw_cygwin && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if !g:netrw_cygwin && has("win32")
|
||||
let tgt= substitute(tgt, '/','\\','g')
|
||||
" call Decho("windows exception: tgt<".tgt.">",'~'.expand("<slnum>"))
|
||||
if g:netrw_localmovecmd =~ '\s'
|
||||
@@ -7880,7 +7835,7 @@ fun! s:NetrwMarkFileMove(islocal)
|
||||
" Jul 19, 2022: fixing file move when g:netrw_keepdir is 1
|
||||
let fname= b:netrw_curdir."/".fname
|
||||
endif
|
||||
if !g:netrw_cygwin && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if !g:netrw_cygwin && has("win32")
|
||||
let fname= substitute(fname,'/','\\','g')
|
||||
endif
|
||||
" call Decho("system(".movecmd." ".s:ShellEscape(fname)." ".tgt.")",'~'.expand("<slnum>"))
|
||||
@@ -10349,7 +10304,7 @@ fun! s:NetrwRemoteFtpCmd(path,listcmd)
|
||||
endif
|
||||
|
||||
" cleanup for Windows " {{{3
|
||||
if has("win32") || has("win95") || has("win64") || has("win16")
|
||||
if has("win32")
|
||||
sil! NetrwKeepj %s/\r$//e
|
||||
NetrwKeepj call histdel("/",-1)
|
||||
endif
|
||||
@@ -10857,7 +10812,7 @@ fun! netrw#FileUrlEdit(fname)
|
||||
let fname= substitute(fname,'^file://localhost/','file:///','')
|
||||
" call Decho("fname<".fname.">",'~'.expand("<slnum>"))
|
||||
endif
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if has("win32")
|
||||
if fname =~ '^file:///\=\a[|:]/'
|
||||
" call Decho('converting file:///\a|/ -to- file://\a:/','~'.expand("<slnum>"))
|
||||
let fname = substitute(fname,'^file:///\=\(\a\)[|:]/','file://\1:/','')
|
||||
@@ -10867,7 +10822,7 @@ fun! netrw#FileUrlEdit(fname)
|
||||
let fname2396 = netrw#RFC2396(fname)
|
||||
let fname2396e= fnameescape(fname2396)
|
||||
let plainfname= substitute(fname2396,'file://\(.*\)','\1',"")
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if has("win32")
|
||||
" call Decho("windows exception for plainfname",'~'.expand("<slnum>"))
|
||||
if plainfname =~ '^/\+\a:'
|
||||
" call Decho('removing leading "/"s','~'.expand("<slnum>"))
|
||||
@@ -11079,7 +11034,7 @@ fun! s:LocalFastBrowser()
|
||||
let s:netrw_events= 1
|
||||
augroup AuNetrwEvent
|
||||
au!
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if has("win32")
|
||||
" call Decho("installing autocmd: ShellCmdPost",'~'.expand("<slnum>"))
|
||||
au ShellCmdPost * call s:LocalBrowseRefresh()
|
||||
else
|
||||
@@ -11121,7 +11076,7 @@ fun! s:LocalListing()
|
||||
let filelist = filelist + s:NetrwGlob(dirname,".*",0)
|
||||
" call Decho("filelist=".string(filelist),'~'.expand("<slnum>"))
|
||||
|
||||
if g:netrw_cygwin == 0 && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if g:netrw_cygwin == 0 && has("win32")
|
||||
" call Decho("filelist=".string(filelist),'~'.expand("<slnum>"))
|
||||
elseif index(filelist,'..') == -1 && b:netrw_curdir !~ '/'
|
||||
" include ../ in the glob() entry if its missing
|
||||
@@ -11167,7 +11122,7 @@ fun! s:LocalListing()
|
||||
let pfile= filename."/"
|
||||
|
||||
elseif exists("b:netrw_curdir") && b:netrw_curdir !~ '^.*://' && !isdirectory(s:NetrwFile(filename))
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if has("win32")
|
||||
if filename =~ '\.[eE][xX][eE]$' || filename =~ '\.[cC][oO][mM]$' || filename =~ '\.[bB][aA][tT]$'
|
||||
" indicate an executable
|
||||
" call Decho("indicate <".filename."> is executable with trailing *",'~'.expand("<slnum>"))
|
||||
@@ -11644,7 +11599,7 @@ endfun
|
||||
" netrw#WinPath: tries to insure that the path is windows-acceptable, whether cygwin is used or not {{{2
|
||||
fun! netrw#WinPath(path)
|
||||
" call Dfunc("netrw#WinPath(path<".a:path.">)")
|
||||
if (!g:netrw_cygwin || &shell !~ '\%(\<bash\>\|\<zsh\>\)\%(\.exe\)\=$') && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if (!g:netrw_cygwin || &shell !~ '\%(\<bash\>\|\<zsh\>\)\%(\.exe\)\=$') && has("win32")
|
||||
" remove cygdrive prefix, if present
|
||||
let path = substitute(a:path,g:netrw_cygdrive.'/\(.\)','\1:','')
|
||||
" remove trailing slash (Win95)
|
||||
@@ -11704,11 +11659,11 @@ fun! s:ComposePath(base,subdir)
|
||||
endif
|
||||
|
||||
" COMBAK: test on windows with changing to root directory: :e C:/
|
||||
elseif a:subdir =~ '^\a:[/\\]\([^/\\]\|$\)' && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
elseif a:subdir =~ '^\a:[/\\]\([^/\\]\|$\)' && has("win32")
|
||||
" call Decho("windows",'~'.expand("<slnum>"))
|
||||
let ret= a:subdir
|
||||
|
||||
elseif a:base =~ '^\a:[/\\]\([^/\\]\|$\)' && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
elseif a:base =~ '^\a:[/\\]\([^/\\]\|$\)' && has("win32")
|
||||
" call Decho("windows",'~'.expand("<slnum>"))
|
||||
if a:base =~ '[/\\]$'
|
||||
let ret= a:base.a:subdir
|
||||
@@ -11820,7 +11775,7 @@ fun! s:GetTempfile(fname)
|
||||
" o/s dependencies
|
||||
if g:netrw_cygwin != 0
|
||||
let tmpfile = substitute(tmpfile,'^\(\a\):',g:netrw_cygdrive.'/\1','e')
|
||||
elseif has("win32") || has("win95") || has("win64") || has("win16")
|
||||
elseif has("win32")
|
||||
if !exists("+shellslash") || !&ssl
|
||||
let tmpfile = substitute(tmpfile,'/','\','g')
|
||||
endif
|
||||
@@ -12036,7 +11991,7 @@ fun! s:NetrwDelete(path)
|
||||
" call Dfunc("s:NetrwDelete(path<".a:path.">)")
|
||||
|
||||
let path = netrw#WinPath(a:path)
|
||||
if !g:netrw_cygwin && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
if !g:netrw_cygwin && has("win32")
|
||||
if exists("+shellslash")
|
||||
let sskeep= &shellslash
|
||||
setl noshellslash
|
||||
@@ -12227,7 +12182,7 @@ fun! s:NetrwLcd(newdir)
|
||||
" 'root' (ie. '\'). The share name may start with either backslashes ('\\Foo') or
|
||||
" forward slashes ('//Foo'), depending on whether backslashes have been converted to
|
||||
" forward slashes by earlier code; so check for both.
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16")) && !g:netrw_cygwin
|
||||
if has("win32") && !g:netrw_cygwin
|
||||
if a:newdir =~ '^\\\\\w\+' || a:newdir =~ '^//\w\+'
|
||||
let dirname = '\'
|
||||
exe 'NetrwKeepj sil lcd '.fnameescape(dirname)
|
||||
@@ -12700,7 +12655,7 @@ endfun
|
||||
" ---------------------------------------------------------------------
|
||||
" s:ShellEscape: shellescape(), or special windows handling {{{2
|
||||
fun! s:ShellEscape(s, ...)
|
||||
if (has('win32') || has('win64')) && $SHELL == '' && &shellslash
|
||||
if has('win32') && $SHELL == '' && &shellslash
|
||||
return printf('"%s"', substitute(a:s, '"', '""', 'g'))
|
||||
endif
|
||||
let f = a:0 > 0 ? a:1 : 0
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
" Maintainer: This runtime file is looking for a new maintainer.
|
||||
" Former Maintainer: Charles E Campbell
|
||||
" Version: 18
|
||||
" Last Change:
|
||||
" 2024 May 08 by Vim Project: cleanup legacy Win9X checks
|
||||
" Copyright: Copyright (C) 1999-2007 Charles E. Campbell {{{1
|
||||
" Permission is hereby granted to use and distribute this code,
|
||||
" with or without modifications, provided that this copyright
|
||||
@@ -91,7 +93,6 @@ fun! netrwSettings#NetrwSettings()
|
||||
put = 'let g:netrw_sshport = '.g:netrw_sshport
|
||||
put = 'let g:netrw_silent = '.g:netrw_silent
|
||||
put = 'let g:netrw_use_nt_rcp = '.g:netrw_use_nt_rcp
|
||||
put = 'let g:netrw_win95ftp = '.g:netrw_win95ftp
|
||||
let s:netrw_xfer_stop= line(".")
|
||||
put =''
|
||||
put ='+ Netrw Messages'
|
||||
|
||||
25
runtime/compiler/jq.vim
Normal file
25
runtime/compiler/jq.vim
Normal file
@@ -0,0 +1,25 @@
|
||||
" Vim compiler file
|
||||
" Compiler: jq
|
||||
" Maintainer: Vito <vito.blog@gmail.com>
|
||||
" Last Change: 2024 Apr 17
|
||||
" Upstream: https://github.com/vito-c/jq.vim
|
||||
|
||||
if exists('b:current_compiler')
|
||||
finish
|
||||
endif
|
||||
let b:current_compiler = 'jq'
|
||||
|
||||
let s:save_cpoptions = &cpoptions
|
||||
set cpoptions&vim
|
||||
|
||||
if has('unix')
|
||||
CompilerSet makeprg=jq\ -f\ %:S\ /dev/null
|
||||
else
|
||||
CompilerSet makeprg=jq\ -f\ %:S\ nul
|
||||
endif
|
||||
CompilerSet errorformat=%E%m\ at\ \\<%o\\>\\,\ line\ %l:,
|
||||
\%Z,
|
||||
\%-G%.%#
|
||||
|
||||
let &cpoptions = s:save_cpoptions
|
||||
unlet s:save_cpoptions
|
||||
@@ -1,4 +1,4 @@
|
||||
*autocmd.txt* For Vim version 9.1. Last change: 2024 Mar 26
|
||||
*autocmd.txt* For Vim version 9.1. Last change: 2024 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -428,8 +428,8 @@ Name triggered by ~
|
||||
|
||||
|SessionLoadPost| after loading a session file
|
||||
|
||||
|SessionWritePost| After writing the session file using
|
||||
the |:mksession| command.
|
||||
|SessionWritePost| after writing the session file using
|
||||
the |:mksession| command
|
||||
|
||||
|MenuPopup| just before showing the popup menu
|
||||
|CompleteChanged| after Insert mode completion menu changed
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*builtin.txt* For Vim version 9.1. Last change: 2024 Apr 07
|
||||
*builtin.txt* For Vim version 9.1. Last change: 2024 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -265,6 +265,8 @@ getreg([{regname} [, 1 [, {list}]]])
|
||||
getreginfo([{regname}]) Dict information about a register
|
||||
getregion({pos1}, {pos2} [, {opts}])
|
||||
List get the text from {pos1} to {pos2}
|
||||
getregionpos({pos1}, {pos2} [, {opts}])
|
||||
List get a list of positions for a region
|
||||
getregtype([{regname}]) String type of a register
|
||||
getscriptinfo([{opts}]) List list of sourced scripts
|
||||
gettabinfo([{expr}]) List list of tab pages
|
||||
@@ -2544,7 +2546,7 @@ expand({string} [, {nosuf} [, {list}]]) *expand()*
|
||||
not start with '%', '#' or '<', see below.
|
||||
|
||||
For a |:terminal| window '%' expands to a '!' followed by
|
||||
the command or shell that is run |terminal-bufname|
|
||||
the command or shell that is run. |terminal-bufname|
|
||||
|
||||
When {string} starts with '%', '#' or '<', the expansion is
|
||||
done like for the |cmdline-special| variables with their
|
||||
@@ -4327,6 +4329,26 @@ getregion({pos1}, {pos2} [, {opts}]) *getregion()*
|
||||
Can also be used as a |method|: >
|
||||
getpos('.')->getregion(getpos("'a"))
|
||||
<
|
||||
getregionpos({pos1}, {pos2} [, {opts}]) *getregionpos()*
|
||||
Same as |getregion()|, but returns a list of positions
|
||||
describing the buffer text segments bound by {pos1} and
|
||||
{pos2}.
|
||||
The segments are a pair of positions for every line: >
|
||||
[[{start_pos}, {end_pos}], ...]
|
||||
<
|
||||
The position is a |List| with four numbers:
|
||||
[bufnum, lnum, col, off]
|
||||
"bufnum" is the buffer number.
|
||||
"lnum" and "col" are the position in the buffer. The first
|
||||
column is 1.
|
||||
The "off" number is zero, unless 'virtualedit' is used. Then
|
||||
it is the offset in screen columns from the start of the
|
||||
character. E.g., a position within a <Tab> or after the last
|
||||
character.
|
||||
|
||||
Can also be used as a |method|: >
|
||||
getpos('.')->getregionpos(getpos("'a"))
|
||||
<
|
||||
getregtype([{regname}]) *getregtype()*
|
||||
The result is a String, which is type of register {regname}.
|
||||
The value will be one of:
|
||||
@@ -4382,7 +4404,7 @@ getscriptinfo([{opts}]) *getscriptinfo()*
|
||||
|
||||
Examples: >
|
||||
:echo getscriptinfo({'name': 'myscript'})
|
||||
:echo getscriptinfo({'sid': 15}).variables
|
||||
:echo getscriptinfo({'sid': 15})[0].variables
|
||||
<
|
||||
gettabinfo([{tabnr}]) *gettabinfo()*
|
||||
If {tabnr} is not specified, then information about all the
|
||||
@@ -9980,6 +10002,10 @@ synconcealed({lnum}, {col}) *synconcealed()*
|
||||
synconcealed(lnum, 5) [1, 'X', 2]
|
||||
synconcealed(lnum, 6) [0, '', 0]
|
||||
|
||||
Note: Doesn't consider |matchadd()| highlighting items,
|
||||
since syntax and matching highlighting are two different
|
||||
mechanisms |syntax-vs-match|.
|
||||
|
||||
|
||||
synstack({lnum}, {col}) *synstack()*
|
||||
Return a |List|, which is the stack of syntax items at the
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*change.txt* For Vim version 9.1. Last change: 2024 Apr 14
|
||||
*change.txt* For Vim version 9.1. Last change: 2024 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1346,7 +1346,7 @@ The expression must evaluate to a String. A Number is always automatically
|
||||
converted to a String. For the "p" and ":put" command, if the result is a
|
||||
Float it's converted into a String. If the result is a List each element is
|
||||
turned into a String and used as a line. A Dictionary is converted into a
|
||||
String. A FuncRef results in an error message (use string() to convert).
|
||||
String. A Funcref results in an error message (use string() to convert).
|
||||
|
||||
If the "= register is used for the "p" command, the String is split up at <NL>
|
||||
characters. If the String ends in a <NL>, it is regarded as a linewise
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*cmdline.txt* For Vim version 9.1. Last change: 2023 Dec 09
|
||||
*cmdline.txt* For Vim version 9.1. Last change: 2024 Apr 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -650,6 +650,12 @@ followed by another Vim command:
|
||||
:[range]!
|
||||
a user defined command without the "-bar" argument |:command|
|
||||
|
||||
and the following |Vim9-script| keywords:
|
||||
:abstract
|
||||
:class
|
||||
:enum
|
||||
:interface
|
||||
|
||||
Note that this is confusing (inherited from Vi): With ":g" the '|' is included
|
||||
in the command, with ":s" it is not.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 9.1. Last change: 2024 Mar 28
|
||||
*eval.txt* For Vim version 9.1. Last change: 2024 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -3099,7 +3099,7 @@ text...
|
||||
:cons[t] {var-name} = {expr1}
|
||||
:cons[t] [{name1}, {name2}, ...] = {expr1}
|
||||
:cons[t] [{name}, ..., ; {lastname}] = {expr1}
|
||||
:cons[t] {var-name} =<< [trim] {marker}
|
||||
:cons[t] {var-name} =<< [trim] [eval] {marker}
|
||||
text...
|
||||
text...
|
||||
{marker}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*gui.txt* For Vim version 9.1. Last change: 2024 Apr 17
|
||||
*gui.txt* For Vim version 9.1. Last change: 2024 May 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -498,14 +498,14 @@ Starting off with the default set is a good idea. You can add more items, or,
|
||||
if you don't like the defaults at all, start with removing all menus
|
||||
|:unmenu-all|. You can also avoid the default menus being loaded by adding
|
||||
this line to your .vimrc file (NOT your .gvimrc file!): >
|
||||
:let did_install_default_menus = 1
|
||||
:let g:did_install_default_menus = 1
|
||||
If you also want to avoid the Syntax menu: >
|
||||
:let did_install_syntax_menu = 1
|
||||
:let g:did_install_syntax_menu = 1
|
||||
The first item in the Syntax menu can be used to show all available filetypes
|
||||
in the menu (which can take a bit of time to load). If you want to have all
|
||||
filetypes already present at startup, add: >
|
||||
:let do_syntax_sel_menu = 1
|
||||
|
||||
:let g:do_syntax_sel_menu = 1
|
||||
< *menu-lazyload* *g:do_no_lazyload_menus*
|
||||
The following menuitems show all available color schemes, keymaps and compiler
|
||||
settings:
|
||||
Edit > Color Scheme ~
|
||||
@@ -515,7 +515,7 @@ However, they can also take a bit of time to load, because they search all
|
||||
related files from the directories in 'runtimepath'. Therefore they are
|
||||
loaded lazily (by the |CursorHold| event), or you can also load them manually.
|
||||
If you want to have all these items already present at startup, add: >
|
||||
:let do_no_lazyload_menus = 1
|
||||
:let g:do_no_lazyload_menus = 1
|
||||
|
||||
Note that the menu.vim is sourced when `:syntax on` or `:filetype on` is
|
||||
executed or after your .vimrc file is sourced. This means that the 'encoding'
|
||||
|
||||
@@ -1261,5 +1261,5 @@ By default, the yaml indent script does not try to detect multiline scalars.
|
||||
If you want to enable this, set the following variable: >
|
||||
|
||||
let g:yaml_indent_multiline_scalar = 1
|
||||
|
||||
<
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*map.txt* For Vim version 9.1. Last change: 2024 Jan 25
|
||||
*map.txt* For Vim version 9.1. Last change: 2024 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -986,11 +986,11 @@ For the Meta modifier the "T" character is used. For example, to map Meta-b
|
||||
in Insert mode: >
|
||||
:imap <T-b> terrible
|
||||
|
||||
1.12 MAPPING SUPER-KEYS or COMMAND-KEYS *:map-super-keys* *:map-cmd-key*
|
||||
1.12 MAPPING SUPER-KEYS or COMMAND-KEYS *:map-super-keys* *:map-cmd-key*
|
||||
|
||||
The Super modifier is available in GUI mode (when |gui_running| is 1) for
|
||||
GVim on Linux and MacVim on Mac OS. If you're on a Mac, this represents the
|
||||
Command key, on Linux with the GTK GUI it represents the Super key.
|
||||
The Super modifier is available in GUI mode (when |gui_running| is 1) for gVim
|
||||
on Linux and MacVim on Mac OS. If you're on a Mac, this represents the Command
|
||||
key, on Linux with the GTK GUI it represents the Super key.
|
||||
The character "D" is used for the Super / Command modifier.
|
||||
|
||||
For example, to map Command-b in Insert mode: >
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 9.1. Last change: 2024 Mar 29
|
||||
*options.txt* For Vim version 9.1. Last change: 2024 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -4271,7 +4271,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
x:PmenuSbar,X:PmenuThumb,*:TabLine,
|
||||
#:TabLineSel,_:TabLineFill,!:CursorColumn,
|
||||
.:CursorLine,o:ColorColumn,q:QuickFixLine,
|
||||
z:StatusLineTerm,Z:StatusLineTermNC")
|
||||
z:StatusLineTerm,Z:StatusLineTermNC,
|
||||
g:MsgArea")
|
||||
global
|
||||
This option can be used to set highlighting mode for various
|
||||
occasions. It is a comma-separated list of character pairs. The
|
||||
@@ -4290,6 +4291,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|hl-Search| l last search pattern highlighting (see 'hlsearch')
|
||||
|hl-MoreMsg| m |more-prompt|
|
||||
|hl-ModeMsg| M Mode (e.g., "-- INSERT --")
|
||||
|hl-MsgArea| g |Command-line| and message area
|
||||
|hl-LineNr| n line number for ":number" and ":#" commands, and
|
||||
when 'number' or 'relativenumber' option is set.
|
||||
|hl-LineNrAbove| a line number above the cursor for when the
|
||||
@@ -6683,7 +6685,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
<
|
||||
*'runtimepath'* *'rtp'* *vimfiles*
|
||||
'runtimepath' 'rtp' string (default:
|
||||
Unix: "$HOME/.vim,
|
||||
Unix: "$HOME/.vim or
|
||||
$XDG_CONFIG_HOME/vim,
|
||||
$VIM/vimfiles,
|
||||
$VIMRUNTIME,
|
||||
$VIM/vimfiles/after,
|
||||
@@ -6735,6 +6738,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
And any other file searched for with the |:runtime| command.
|
||||
|
||||
For $XDG_CONFIG_HOME see |xdg-base-dir|.
|
||||
|
||||
The defaults for most systems are setup to search five locations:
|
||||
1. In your home directory, for your personal preferences.
|
||||
2. In a system-wide Vim directory, for preferences from the system
|
||||
@@ -8986,13 +8991,15 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'viewdir'* *'vdir'*
|
||||
'viewdir' 'vdir' string (default for Amiga: "home:vimfiles/view",
|
||||
for Win32: "$HOME/vimfiles/view",
|
||||
for Unix: "$HOME/.vim/view",
|
||||
for Unix: "$HOME/.vim/view" or
|
||||
"$XDG_CONFIG_HOME/vim/view"
|
||||
for macOS: "$VIM/vimfiles/view",
|
||||
for VMS: "sys$login:vimfiles/view")
|
||||
global
|
||||
{not available when compiled without the |+mksession|
|
||||
feature}
|
||||
Name of the directory where to store files for |:mkview|.
|
||||
For $XDG_CONFIG_HOME see |xdg-base-dir|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*os_dos.txt* For Vim version 9.1. Last change: 2006 Mar 30
|
||||
*os_dos.txt* For Vim version 9.1. Last change: 2024 Apr 25
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -330,6 +330,11 @@ following values:
|
||||
'shellpipe' >%s 2>&1
|
||||
'shellredir' >%s 2>&1
|
||||
|
||||
Note: those options are only set after reading the |.vimrc| file, in
|
||||
particular setting the 'shell' option via |-c| is too late to take effect for
|
||||
the other shell related settings. Consider using |--cmd| to override this
|
||||
option via the command line.
|
||||
|
||||
If you find that PowerShell commands are taking a long time to run then try
|
||||
with "-NoProfile" at the beginning of the 'shellcmdflag'. Note this will
|
||||
prevent any PowerShell environment setup by the profile from taking place.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pattern.txt* For Vim version 9.1. Last change: 2023 Oct 23
|
||||
*pattern.txt* For Vim version 9.1. Last change: 2024 Apr 26
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1394,6 +1394,19 @@ Finally, these constructs are unique to Perl:
|
||||
==============================================================================
|
||||
10. Highlighting matches *match-highlight*
|
||||
|
||||
*syntax-vs-match*
|
||||
Note that the match highlight mechanism is independent
|
||||
of |syntax-highlighting|, which is (usually) a buffer-local
|
||||
highlighting, while matching is window-local, both methods
|
||||
can be freely mixed. Match highlighting functions give you
|
||||
a bit more flexibility in when and how to apply, but are
|
||||
typically only used for temporary highlighting, without strict
|
||||
rules. Both methods can be used to conceal text.
|
||||
|
||||
Thus the matching functions like |matchadd()| won't consider
|
||||
syntax rules and functions like |synconcealed()| and the
|
||||
other way around.
|
||||
|
||||
*:mat* *:match*
|
||||
:mat[ch] {group} /{pattern}/
|
||||
Define a pattern to highlight in the current window. It will
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pi_netrw.txt* For Vim version 9.1. Last change: 2023 Jun 19
|
||||
*pi_netrw.txt* For Vim version 9.1. Last change: 2024 May 08
|
||||
|
||||
------------------------------------------------
|
||||
NETRW REFERENCE MANUAL by Charles E. Campbell
|
||||
@@ -449,10 +449,6 @@ settings are described below, in |netrw-browser-options|, and in
|
||||
messages don't always seem to show up this
|
||||
way, but one doesn't have to quit the window.
|
||||
|
||||
*g:netrw_win95ftp* =1 if using Win95, will remove four trailing blank
|
||||
lines that o/s's ftp "provides" on transfers
|
||||
=0 force normal ftp behavior (no trailing line removal)
|
||||
|
||||
*g:netrw_cygwin* =1 assume scp under windows is from cygwin. Also
|
||||
permits network browsing to use ls with time and
|
||||
size sorting (default if windows)
|
||||
@@ -828,8 +824,6 @@ set in the user's <.vimrc> file: (see also |netrw-settings| |netrw-protocol|)
|
||||
g:netrw_uid Holds current user-id for ftp.
|
||||
g:netrw_use_nt_rcp =0 don't use WinNT/2K/XP's rcp (default)
|
||||
=1 use WinNT/2K/XP's rcp, binary mode
|
||||
g:netrw_win95ftp =0 use unix-style ftp even if win95/98/ME/etc
|
||||
=1 use default method to do ftp >
|
||||
-----------------------------------------------------------------------
|
||||
<
|
||||
*netrw-internal-variables*
|
||||
@@ -958,21 +952,8 @@ messages) you may write a NetReadFixup() function:
|
||||
endfunction
|
||||
>
|
||||
The NetReadFixup() function will be called if it exists and thus allows you to
|
||||
customize your reading process. As a further example, <netrw.vim> contains
|
||||
just such a function to handle Windows 95 ftp. For whatever reason, Windows
|
||||
95's ftp dumps four blank lines at the end of a transfer, and so it is
|
||||
desirable to automate their removal. Here's some code taken from <netrw.vim>
|
||||
itself:
|
||||
>
|
||||
if has("win95") && g:netrw_win95ftp
|
||||
fun! NetReadFixup(method, line1, line2)
|
||||
if method == 3 " ftp (no <.netrc>)
|
||||
let fourblanklines= line2 - 3
|
||||
silent fourblanklines .. "," .. line2 .. "g/^\s*/d"
|
||||
endif
|
||||
endfunction
|
||||
endif
|
||||
>
|
||||
customize your reading process.
|
||||
|
||||
(Related topics: |ftp| |netrw-userpass| |netrw-start|)
|
||||
|
||||
==============================================================================
|
||||
@@ -3412,16 +3393,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
(This section is likely to grow as I get feedback)
|
||||
(also see |netrw-debug|)
|
||||
*netrw-p1*
|
||||
P1. I use windows 95, and my ftp dumps four blank lines at the {{{2
|
||||
end of every read.
|
||||
|
||||
See |netrw-fixup|, and put the following into your
|
||||
<.vimrc> file:
|
||||
|
||||
let g:netrw_win95ftp= 1
|
||||
|
||||
*netrw-p2*
|
||||
P2. I use Windows, and my network browsing with ftp doesn't sort by {{{2
|
||||
P1. I use Windows, and my network browsing with ftp doesn't sort by {{{2
|
||||
time or size! -or- The remote system is a Windows server; why
|
||||
don't I get sorts by time or size?
|
||||
|
||||
@@ -3447,8 +3419,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
modify its listing behavior.
|
||||
|
||||
|
||||
*netrw-p3*
|
||||
P3. I tried rcp://user@host/ (or protocol other than ftp) and netrw {{{2
|
||||
*netrw-p2*
|
||||
P2. I tried rcp://user@host/ (or protocol other than ftp) and netrw {{{2
|
||||
used ssh! That wasn't what I asked for...
|
||||
|
||||
Netrw has two methods for browsing remote directories: ssh
|
||||
@@ -3456,8 +3428,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
When it comes time to do download a file (not just a directory
|
||||
listing), netrw will use the given protocol to do so.
|
||||
|
||||
*netrw-p4*
|
||||
P4. I would like long listings to be the default. {{{2
|
||||
*netrw-p3*
|
||||
P3. I would like long listings to be the default. {{{2
|
||||
|
||||
Put the following statement into your |.vimrc|: >
|
||||
|
||||
@@ -3466,8 +3438,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
Check out |netrw-browser-var| for more customizations that
|
||||
you can set.
|
||||
|
||||
*netrw-p5*
|
||||
P5. My times come up oddly in local browsing {{{2
|
||||
*netrw-p4*
|
||||
P4. My times come up oddly in local browsing {{{2
|
||||
|
||||
Does your system's strftime() accept the "%c" to yield dates
|
||||
such as "Sun Apr 27 11:49:23 1997"? If not, do a
|
||||
@@ -3476,16 +3448,16 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
|
||||
let g:netrw_timefmt= "%X" (where X is the option)
|
||||
<
|
||||
*netrw-p6*
|
||||
P6. I want my current directory to track my browsing. {{{2
|
||||
*netrw-p5*
|
||||
P5. I want my current directory to track my browsing. {{{2
|
||||
How do I do that?
|
||||
|
||||
Put the following line in your |.vimrc|:
|
||||
>
|
||||
let g:netrw_keepdir= 0
|
||||
<
|
||||
*netrw-p7*
|
||||
P7. I use Chinese (or other non-ascii) characters in my filenames, {{{2
|
||||
*netrw-p6*
|
||||
P6. I use Chinese (or other non-ascii) characters in my filenames, {{{2
|
||||
and netrw (Explore, Sexplore, Hexplore, etc) doesn't display them!
|
||||
|
||||
(taken from an answer provided by Wu Yongwei on the vim
|
||||
@@ -3499,8 +3471,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
|
||||
(...it is one more reason to recommend that people use utf-8!)
|
||||
|
||||
*netrw-p8*
|
||||
P8. I'm getting "ssh is not executable on your system" -- what do I {{{2
|
||||
*netrw-p7*
|
||||
P7. I'm getting "ssh is not executable on your system" -- what do I {{{2
|
||||
do?
|
||||
|
||||
(Dudley Fox) Most people I know use putty for windows ssh. It
|
||||
@@ -3582,8 +3554,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
of the others will use the string in g:netrw_ssh_cmd by
|
||||
default.
|
||||
|
||||
*netrw-p9* *netrw-ml_get*
|
||||
P9. I'm browsing, changing directory, and bang! ml_get errors {{{2
|
||||
*netrw-p8* *netrw-ml_get*
|
||||
P8. I'm browsing, changing directory, and bang! ml_get errors {{{2
|
||||
appear and I have to kill vim. Any way around this?
|
||||
|
||||
Normally netrw attempts to avoid writing swapfiles for
|
||||
@@ -3593,8 +3565,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
in your <.vimrc>: >
|
||||
let g:netrw_use_noswf= 0
|
||||
<
|
||||
*netrw-p10*
|
||||
P10. I'm being pestered with "[something] is a directory" and {{{2
|
||||
*netrw-p9*
|
||||
P9. I'm being pestered with "[something] is a directory" and {{{2
|
||||
"Press ENTER or type command to continue" prompts...
|
||||
|
||||
The "[something] is a directory" prompt is issued by Vim,
|
||||
@@ -3604,8 +3576,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
I also suggest that you set your |'cmdheight'| to 2 (or more) in
|
||||
your <.vimrc> file.
|
||||
|
||||
*netrw-p11*
|
||||
P11. I want to have two windows; a thin one on the left and my {{{2
|
||||
*netrw-p10*
|
||||
P10. I want to have two windows; a thin one on the left and my {{{2
|
||||
editing window on the right. How may I accomplish this?
|
||||
|
||||
You probably want netrw running as in a side window. If so, you
|
||||
@@ -3630,8 +3602,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
<middlemouse> to select the file.
|
||||
|
||||
|
||||
*netrw-p12*
|
||||
P12. My directory isn't sorting correctly, or unwanted letters are {{{2
|
||||
*netrw-p11*
|
||||
P11. My directory isn't sorting correctly, or unwanted letters are {{{2
|
||||
appearing in the listed filenames, or things aren't lining
|
||||
up properly in the wide listing, ...
|
||||
|
||||
@@ -3640,8 +3612,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
Multibyte encodings use two (or more) bytes per character.
|
||||
You may need to change |g:netrw_sepchr| and/or |g:netrw_xstrlen|.
|
||||
|
||||
*netrw-p13*
|
||||
P13. I'm a Windows + putty + ssh user, and when I attempt to {{{2
|
||||
*netrw-p12*
|
||||
P12. I'm a Windows + putty + ssh user, and when I attempt to {{{2
|
||||
browse, the directories are missing trailing "/"s so netrw treats
|
||||
them as file transfers instead of as attempts to browse
|
||||
subdirectories. How may I fix this?
|
||||
@@ -3661,8 +3633,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
"let g:netrw_sftp_cmd = "d:\\dev\\putty\\PSFTP.exe"
|
||||
"let g:netrw_scp_cmd = "d:\\dev\\putty\\PSCP.exe"
|
||||
<
|
||||
*netrw-p14*
|
||||
P14. I would like to speed up writes using Nwrite and scp/ssh {{{2
|
||||
*netrw-p13*
|
||||
P13. I would like to speed up writes using Nwrite and scp/ssh {{{2
|
||||
style connections. How? (Thomer M. Gil)
|
||||
|
||||
Try using ssh's ControlMaster and ControlPath (see the ssh_config
|
||||
@@ -3688,8 +3660,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
|
||||
vim scp://host.domain.com//home/user/.bashrc
|
||||
<
|
||||
*netrw-p15*
|
||||
P15. How may I use a double-click instead of netrw's usual single {{{2
|
||||
*netrw-p14*
|
||||
P14. How may I use a double-click instead of netrw's usual single {{{2
|
||||
click to open a file or directory? (Ben Fritz)
|
||||
|
||||
First, disable netrw's mapping with >
|
||||
@@ -3701,8 +3673,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
all netrw's mouse mappings, not just the <leftmouse> one.
|
||||
(see |g:netrw_mousemaps|)
|
||||
|
||||
*netrw-p16*
|
||||
P16. When editing remote files (ex. :e ftp://hostname/path/file), {{{2
|
||||
*netrw-p15*
|
||||
P15. When editing remote files (ex. :e ftp://hostname/path/file), {{{2
|
||||
under Windows I get an |E303| message complaining that its unable
|
||||
to open a swap file.
|
||||
|
||||
@@ -3710,8 +3682,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
directory. Start netrw from your $HOME or other writable
|
||||
directory.
|
||||
|
||||
*netrw-p17*
|
||||
P17. Netrw is closing buffers on its own. {{{2
|
||||
*netrw-p16*
|
||||
P16. Netrw is closing buffers on its own. {{{2
|
||||
What steps will reproduce the problem?
|
||||
1. :Explore, navigate directories, open a file
|
||||
2. :Explore, open another file
|
||||
@@ -3724,15 +3696,15 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
It appears that the buffers are not exactly closed;
|
||||
a ":ls!" will show them (although ":ls" does not).
|
||||
|
||||
*netrw-P18*
|
||||
P18. How to locally edit a file that's only available via {{{2
|
||||
*netrw-P17*
|
||||
P17. How to locally edit a file that's only available via {{{2
|
||||
another server accessible via ssh?
|
||||
See http://stackoverflow.com/questions/12469645/
|
||||
"Using Vim to Remotely Edit A File on ServerB Only
|
||||
Accessible From ServerA"
|
||||
|
||||
*netrw-P19*
|
||||
P19. How do I get numbering on in directory listings? {{{2
|
||||
*netrw-P18*
|
||||
P18. How do I get numbering on in directory listings? {{{2
|
||||
With |g:netrw_bufsettings|, you can control netrw's buffer
|
||||
settings; try putting >
|
||||
let g:netrw_bufsettings="noma nomod nu nobl nowrap ro nornu"
|
||||
@@ -3740,8 +3712,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
instead, try >
|
||||
let g:netrw_bufsettings="noma nomod nonu nobl nowrap ro rnu"
|
||||
<
|
||||
*netrw-P20*
|
||||
P20. How may I have gvim start up showing a directory listing? {{{2
|
||||
*netrw-P19*
|
||||
P19. How may I have gvim start up showing a directory listing? {{{2
|
||||
Try putting the following code snippet into your .vimrc: >
|
||||
augroup VimStartup
|
||||
au!
|
||||
@@ -3753,8 +3725,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
This snippet assumes that you have client-server enabled
|
||||
(ie. a "huge" vim version).
|
||||
|
||||
*netrw-P21*
|
||||
P21. I've made a directory (or file) with an accented character, {{{2
|
||||
*netrw-P20*
|
||||
P20. I've made a directory (or file) with an accented character, {{{2
|
||||
but netrw isn't letting me enter that directory/read that file:
|
||||
|
||||
Its likely that the shell or o/s is using a different encoding
|
||||
@@ -3764,8 +3736,8 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
|
||||
au FileType netrw set enc=latin1
|
||||
<
|
||||
*netrw-P22*
|
||||
P22. I get an error message when I try to copy or move a file: {{{2
|
||||
*netrw-P21*
|
||||
P21. I get an error message when I try to copy or move a file: {{{2
|
||||
|
||||
**error** (netrw) tried using g:netrw_localcopycmd<cp>; it doesn't work!
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*quickfix.txt* For Vim version 9.1. Last change: 2023 Apr 15
|
||||
*quickfix.txt* For Vim version 9.1. Last change: 2024 Apr 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -287,7 +287,8 @@ processing a quickfix or location list command, it will be aborted.
|
||||
current window is used instead of the quickfix list.
|
||||
|
||||
*:cb* *:cbuffer* *E681*
|
||||
:cb[uffer][!] [bufnr] Read the error list from the current buffer.
|
||||
:[range]cb[uffer][!] [bufnr]
|
||||
Read the error list from the current buffer.
|
||||
When [bufnr] is given it must be the number of a
|
||||
loaded buffer. That buffer will then be used instead
|
||||
of the current buffer.
|
||||
@@ -296,26 +297,31 @@ processing a quickfix or location list command, it will be aborted.
|
||||
See |:cc| for [!].
|
||||
|
||||
*:lb* *:lbuffer*
|
||||
:lb[uffer][!] [bufnr] Same as ":cbuffer", except the location list for the
|
||||
:[range]lb[uffer][!] [bufnr]
|
||||
Same as ":cbuffer", except the location list for the
|
||||
current window is used instead of the quickfix list.
|
||||
|
||||
*:cgetb* *:cgetbuffer*
|
||||
:cgetb[uffer] [bufnr] Read the error list from the current buffer. Just
|
||||
:[range]cgetb[uffer] [bufnr]
|
||||
Read the error list from the current buffer. Just
|
||||
like ":cbuffer" but don't jump to the first error.
|
||||
|
||||
*:lgetb* *:lgetbuffer*
|
||||
:lgetb[uffer] [bufnr] Same as ":cgetbuffer", except the location list for
|
||||
:[range]lgetb[uffer] [bufnr]
|
||||
Same as ":cgetbuffer", except the location list for
|
||||
the current window is used instead of the quickfix
|
||||
list.
|
||||
|
||||
*:cad* *:cadd* *:caddbuffer*
|
||||
:cad[dbuffer] [bufnr] Read the error list from the current buffer and add
|
||||
:[range]cad[dbuffer] [bufnr]
|
||||
Read the error list from the current buffer and add
|
||||
the errors to the current quickfix list. If a
|
||||
quickfix list is not present, then a new list is
|
||||
created. Otherwise, same as ":cbuffer".
|
||||
|
||||
*:laddb* *:laddbuffer*
|
||||
:laddb[uffer] [bufnr] Same as ":caddbuffer", except the location list for
|
||||
:[range]laddb[uffer] [bufnr]
|
||||
Same as ":caddbuffer", except the location list for
|
||||
the current window is used instead of the quickfix
|
||||
list.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*starting.txt* For Vim version 9.1. Last change: 2024 Apr 21
|
||||
*starting.txt* For Vim version 9.1. Last change: 2024 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -104,9 +104,9 @@ rvim vim -Z Like "vim", but in restricted mode (see |-Z|) *rvim*
|
||||
rview vim -RZ Like "view", but in restricted mode. *rview*
|
||||
rgvim vim -gZ Like "gvim", but in restricted mode. *rgvim*
|
||||
rgview vim -RgZ Like "gview", but in restricted mode. *rgview*
|
||||
evim vim -y Easy Vim: set 'insertmode' (see |-y|) *evim*
|
||||
eview vim -yR Like "evim" in read-only mode *eview*
|
||||
vimdiff vim -d Start in diff mode |diff-mode|
|
||||
evim vim -y Easy Vim: set 'insertmode' (see |-y|) *evim*
|
||||
eview vim -yR Like "evim" in read-only mode *eview*
|
||||
vimdiff vim -d Start in diff mode |diff-mode|
|
||||
gvimdiff vim -gd Start in diff mode |diff-mode|
|
||||
|
||||
Additional characters may follow, they are ignored. For example, you can have
|
||||
@@ -812,7 +812,7 @@ accordingly. Vim proceeds in this order:
|
||||
|
||||
Places for your personal initializations:
|
||||
Unix $HOME/.vimrc, $HOME/.vim/vimrc
|
||||
or $XDG_CONFIG_HOME/vim/vimrc
|
||||
or $XDG_CONFIG_HOME/vim/vimrc
|
||||
MS-Windows $HOME/_vimrc, $HOME/vimfiles/vimrc
|
||||
or $VIM/_vimrc
|
||||
Amiga s:.vimrc, home:.vimrc, home:vimfiles:vimrc
|
||||
@@ -1119,8 +1119,8 @@ feature backward compatible). However, if you want to migrate to use
|
||||
and `~/.vim/vimrc` file.
|
||||
|
||||
*xdg-runtime*
|
||||
When the |xdg-vimrc| is used the |'runtimepath'| will be modified accordingly
|
||||
to respect the |xdg-base-dir|: >
|
||||
When the |xdg-vimrc| is used the 'runtimepath' and 'packpath' options will be
|
||||
modified accordingly to respect the |xdg-base-dir|: >
|
||||
|
||||
"$XDG_CONFIG_HOME/vim,$VIMRUNTIME,/after,$XDG_CONFIG_HOME/vim/after"
|
||||
<
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 9.1. Last change: 2024 Apr 22
|
||||
*syntax.txt* For Vim version 9.1. Last change: 2024 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -946,7 +946,8 @@ Enables Stylus for ".astro" files. Default Value: "disable"
|
||||
NOTE: You need to install an external plugin to support stylus in astro files.
|
||||
|
||||
|
||||
ASPPERL and ASPVBS *ft-aspperl-syntax* *ft-aspvbs-syntax*
|
||||
ASPPERL *ft-aspperl-syntax*
|
||||
ASPVBS *ft-aspvbs-syntax*
|
||||
|
||||
*.asp and *.asa files could be either Perl or Visual Basic script. Since it's
|
||||
hard to detect this you can set two global variables to tell Vim what you are
|
||||
@@ -2014,15 +2015,25 @@ Function names are not highlighted, as the way to find functions depends on
|
||||
how you write Java code. The syntax file knows two possible ways to highlight
|
||||
functions:
|
||||
|
||||
If you write function declarations that are always indented by either
|
||||
a tab, 8 spaces or 2 spaces you may want to set >
|
||||
If you write function declarations that are consistently indented by either
|
||||
a tab, or a space . . . or eight space character(s), you may want to set >
|
||||
:let java_highlight_functions="indent"
|
||||
:let java_highlight_functions="indent1"
|
||||
:let java_highlight_functions="indent2"
|
||||
:let java_highlight_functions="indent3"
|
||||
:let java_highlight_functions="indent4"
|
||||
:let java_highlight_functions="indent5"
|
||||
:let java_highlight_functions="indent6"
|
||||
:let java_highlight_functions="indent7"
|
||||
:let java_highlight_functions="indent8"
|
||||
Note that in terms of 'shiftwidth', this is the leftmost step of indentation.
|
||||
However, if you follow the Java guidelines about how functions and classes are
|
||||
supposed to be named (with respect to upper and lowercase), use >
|
||||
supposed to be named (with respect to upper- and lowercase) and there is any
|
||||
amount of indentation, you may want to set >
|
||||
:let java_highlight_functions="style"
|
||||
If both options do not work for you, but you would still want function
|
||||
declarations to be highlighted create your own definitions by changing the
|
||||
definitions in java.vim or by creating your own java.vim which includes the
|
||||
If neither setting does work for you, but you would still want function
|
||||
declarations to be highlighted, create your own definitions by changing the
|
||||
definitions in java.vim or by creating your own java.vim that includes the
|
||||
original one and then adds the code to highlight functions.
|
||||
|
||||
In Java 1.1 the functions System.out.println() and System.err.println() should
|
||||
@@ -2086,6 +2097,15 @@ To disable syntax highlighting of errors: >
|
||||
let g:vim_json_warnings = 0
|
||||
|
||||
|
||||
JQ *jq.vim* *jq_quote_highlight* *ft-jq-syntax*
|
||||
|
||||
To disable numbers having their own color add the following to your vimrc: >
|
||||
hi link jqNumber Normal
|
||||
|
||||
If you want quotes to have different highlighting than strings >
|
||||
let g:jq_quote_highlight = 1
|
||||
|
||||
|
||||
LACE *lace.vim* *ft-lace-syntax*
|
||||
|
||||
Lace (Language for Assembly of Classes in Eiffel) is case insensitive, but the
|
||||
@@ -4314,7 +4334,9 @@ Whether or not it is actually concealed depends on the value of the
|
||||
'conceallevel' option. The 'concealcursor' option is used to decide whether
|
||||
concealable items in the current line are displayed unconcealed to be able to
|
||||
edit the line.
|
||||
Another way to conceal text is with |matchadd()|.
|
||||
|
||||
Another way to conceal text is with |matchadd()|, but internally this works a
|
||||
bit differently |syntax-vs-match|.
|
||||
|
||||
concealends *:syn-concealends*
|
||||
|
||||
@@ -4322,7 +4344,9 @@ When the "concealends" argument is given, the start and end matches of
|
||||
the region, but not the contents of the region, are marked as concealable.
|
||||
Whether or not they are actually concealed depends on the setting on the
|
||||
'conceallevel' option. The ends of a region can only be concealed separately
|
||||
in this way when they have their own highlighting via "matchgroup"
|
||||
in this way when they have their own highlighting via "matchgroup". The
|
||||
|synconcealed()| function can be used to retrieve information about conealed
|
||||
items.
|
||||
|
||||
cchar *:syn-cchar*
|
||||
*E844*
|
||||
|
||||
@@ -6515,6 +6515,7 @@ command-block vim9.txt /*command-block*
|
||||
command-line-functions usr_41.txt /*command-line-functions*
|
||||
command-line-window cmdline.txt /*command-line-window*
|
||||
command-mode intro.txt /*command-mode*
|
||||
comment-install usr_05.txt /*comment-install*
|
||||
compatible-default starting.txt /*compatible-default*
|
||||
compile-changes-5 version5.txt /*compile-changes-5*
|
||||
compile-changes-6 version6.txt /*compile-changes-6*
|
||||
@@ -7291,6 +7292,7 @@ ft-inform-syntax syntax.txt /*ft-inform-syntax*
|
||||
ft-java-plugin filetype.txt /*ft-java-plugin*
|
||||
ft-java-syntax syntax.txt /*ft-java-syntax*
|
||||
ft-javascript-omni insert.txt /*ft-javascript-omni*
|
||||
ft-jq-syntax syntax.txt /*ft-jq-syntax*
|
||||
ft-json-plugin filetype.txt /*ft-json-plugin*
|
||||
ft-json-syntax syntax.txt /*ft-json-syntax*
|
||||
ft-ksh-syntax syntax.txt /*ft-ksh-syntax*
|
||||
@@ -7488,6 +7490,7 @@ g:decada.Error_Format ft_ada.txt /*g:decada.Error_Format*
|
||||
g:decada.Make() ft_ada.txt /*g:decada.Make()*
|
||||
g:decada.Make_Command ft_ada.txt /*g:decada.Make_Command*
|
||||
g:decada.Unit_Name() ft_ada.txt /*g:decada.Unit_Name()*
|
||||
g:do_no_lazyload_menus gui.txt /*g:do_no_lazyload_menus*
|
||||
g:filetype_csh syntax.txt /*g:filetype_csh*
|
||||
g:filetype_r syntax.txt /*g:filetype_r*
|
||||
g:ftplugin_rust_source_path ft_rust.txt /*g:ftplugin_rust_source_path*
|
||||
@@ -7628,7 +7631,6 @@ g:netrw_use_errorwindow pi_netrw.txt /*g:netrw_use_errorwindow*
|
||||
g:netrw_use_noswf pi_netrw.txt /*g:netrw_use_noswf*
|
||||
g:netrw_use_nt_rcp pi_netrw.txt /*g:netrw_use_nt_rcp*
|
||||
g:netrw_usetab pi_netrw.txt /*g:netrw_usetab*
|
||||
g:netrw_win95ftp pi_netrw.txt /*g:netrw_win95ftp*
|
||||
g:netrw_winsize pi_netrw.txt /*g:netrw_winsize*
|
||||
g:netrw_wiw pi_netrw.txt /*g:netrw_wiw*
|
||||
g:netrw_xstrlen pi_netrw.txt /*g:netrw_xstrlen*
|
||||
@@ -7796,6 +7798,7 @@ getreg() builtin.txt /*getreg()*
|
||||
getreginfo() builtin.txt /*getreginfo()*
|
||||
getregion() builtin.txt /*getregion()*
|
||||
getregion-notes builtin.txt /*getregion-notes*
|
||||
getregionpos() builtin.txt /*getregionpos()*
|
||||
getregtype() builtin.txt /*getregtype()*
|
||||
getscript pi_getscript.txt /*getscript*
|
||||
getscript-autoinstall pi_getscript.txt /*getscript-autoinstall*
|
||||
@@ -8408,6 +8411,8 @@ job_start() channel.txt /*job_start()*
|
||||
job_status() channel.txt /*job_status()*
|
||||
job_stop() channel.txt /*job_stop()*
|
||||
join() builtin.txt /*join()*
|
||||
jq.vim syntax.txt /*jq.vim*
|
||||
jq_quote_highlight syntax.txt /*jq_quote_highlight*
|
||||
js_decode() builtin.txt /*js_decode()*
|
||||
js_encode() builtin.txt /*js_encode()*
|
||||
jsbterm-mouse options.txt /*jsbterm-mouse*
|
||||
@@ -8688,6 +8693,7 @@ mbyte-utf8 mbyte.txt /*mbyte-utf8*
|
||||
mbyte.txt mbyte.txt /*mbyte.txt*
|
||||
menu-changes-5.4 version5.txt /*menu-changes-5.4*
|
||||
menu-examples gui.txt /*menu-examples*
|
||||
menu-lazyload gui.txt /*menu-lazyload*
|
||||
menu-priority gui.txt /*menu-priority*
|
||||
menu-separator gui.txt /*menu-separator*
|
||||
menu-shortcut gui.txt /*menu-shortcut*
|
||||
@@ -8832,11 +8838,11 @@ netrw-D pi_netrw.txt /*netrw-D*
|
||||
netrw-I pi_netrw.txt /*netrw-I*
|
||||
netrw-O pi_netrw.txt /*netrw-O*
|
||||
netrw-P pi_netrw.txt /*netrw-P*
|
||||
netrw-P17 pi_netrw.txt /*netrw-P17*
|
||||
netrw-P18 pi_netrw.txt /*netrw-P18*
|
||||
netrw-P19 pi_netrw.txt /*netrw-P19*
|
||||
netrw-P20 pi_netrw.txt /*netrw-P20*
|
||||
netrw-P21 pi_netrw.txt /*netrw-P21*
|
||||
netrw-P22 pi_netrw.txt /*netrw-P22*
|
||||
netrw-R pi_netrw.txt /*netrw-R*
|
||||
netrw-S pi_netrw.txt /*netrw-S*
|
||||
netrw-Tb pi_netrw.txt /*netrw-Tb*
|
||||
@@ -8966,7 +8972,6 @@ netrw-p13 pi_netrw.txt /*netrw-p13*
|
||||
netrw-p14 pi_netrw.txt /*netrw-p14*
|
||||
netrw-p15 pi_netrw.txt /*netrw-p15*
|
||||
netrw-p16 pi_netrw.txt /*netrw-p16*
|
||||
netrw-p17 pi_netrw.txt /*netrw-p17*
|
||||
netrw-p2 pi_netrw.txt /*netrw-p2*
|
||||
netrw-p3 pi_netrw.txt /*netrw-p3*
|
||||
netrw-p4 pi_netrw.txt /*netrw-p4*
|
||||
@@ -10186,6 +10191,7 @@ syntax-latex syntax.txt /*syntax-latex*
|
||||
syntax-loading syntax.txt /*syntax-loading*
|
||||
syntax-printing usr_06.txt /*syntax-printing*
|
||||
syntax-tex syntax.txt /*syntax-tex*
|
||||
syntax-vs-match pattern.txt /*syntax-vs-match*
|
||||
syntax.txt syntax.txt /*syntax.txt*
|
||||
syntax_cmd syntax.txt /*syntax_cmd*
|
||||
sys-file-list help.txt /*sys-file-list*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*term.txt* For Vim version 9.1. Last change: 2024 Apr 14
|
||||
*term.txt* For Vim version 9.1. Last change: 2024 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -382,8 +382,8 @@ The options are listed below. The associated termcap code is always equal to
|
||||
the last two characters of the option name. Only one termcap code is
|
||||
required: Cursor motion, 't_cm'.
|
||||
|
||||
The options 't_da', 't_db', 't_ms', 't_xs', 't_xn', 't_xo' represent flags in the
|
||||
termcap. When the termcap flag is present, the option will be set to "y".
|
||||
The options 't_da', 't_db', 't_ms', 't_xs', 't_xn', 't_xo' represent flags in
|
||||
the termcap. When the termcap flag is present, the option will be set to "y".
|
||||
But any non-empty string means that the flag is set. An empty string means
|
||||
that the flag is not set. 't_CS' works like this too, but it isn't a termcap
|
||||
flag.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*testing.txt* For Vim version 9.1. Last change: 2024 Apr 07
|
||||
*testing.txt* For Vim version 9.1. Last change: 2024 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -365,29 +365,32 @@ test_override({name}, {val}) *test_override()*
|
||||
{name} effect when {val} is non-zero ~
|
||||
alloc_lines make a copy of every buffer line into allocated
|
||||
memory, so that memory access errors can be found
|
||||
by valgrind
|
||||
by valgrind.
|
||||
autoload `import autoload` will load the script right
|
||||
away, not postponed until an item is used
|
||||
char_avail disable the char_avail() function
|
||||
away, not postponed until an item is used.
|
||||
char_avail disable the char_avail() function.
|
||||
defcompile all the |:def| functions in a sourced script are
|
||||
compiled when defined. This is similar to using
|
||||
the |:defcompile| command in a script.
|
||||
nfa_fail makes the NFA regexp engine fail to force a
|
||||
fallback to the old engine
|
||||
fallback to the old engine.
|
||||
no_query_mouse do not query the mouse position for "dec"
|
||||
terminals
|
||||
terminals.
|
||||
no_wait_return set the "no_wait_return" flag. Not restored
|
||||
with "ALL".
|
||||
redraw disable the redrawing() function
|
||||
redraw_flag ignore the RedrawingDisabled flag
|
||||
starting reset the "starting" variable, see below
|
||||
redraw disable the redrawing() function.
|
||||
redraw_flag ignore the RedrawingDisabled flag.
|
||||
starting reset the "starting" variable, see below.
|
||||
term_props reset all terminal properties when the version
|
||||
string is detected
|
||||
string is detected.
|
||||
ui_delay time in msec to use in ui_delay(); overrules a
|
||||
wait time of up to 3 seconds for messages
|
||||
unreachable no error for code after `:throw` and `:return`
|
||||
uptime overrules sysinfo.uptime
|
||||
wait time of up to 3 seconds for messages.
|
||||
unreachable no error for code after `:throw` and `:return`.
|
||||
uptime overrules sysinfo.uptime.
|
||||
vterm_title setting the window title by a job running in a
|
||||
terminal window
|
||||
terminal window.
|
||||
ALL clear all overrides, except alloc_lines ({val} is
|
||||
not used)
|
||||
not used).
|
||||
|
||||
"starting" is to be used when a test should behave like
|
||||
startup was done. Since the tests are run by sourcing a
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_05.txt* For Vim version 9.1. Last change: 2023 Sep 12
|
||||
*usr_05.txt* For Vim version 9.1. Last change: 2024 Apr 26
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@@ -436,6 +436,18 @@ when Vim starts, add the following line to your vimrc file: >
|
||||
After restarting your Vim, the plugin is active and you can read about it at: >
|
||||
:h editorconfig.txt
|
||||
|
||||
|
||||
Adding comment package *comment-install*
|
||||
|
||||
Load the plugin with this command: >
|
||||
packadd comment
|
||||
<
|
||||
This way you can use the plugin with the default key bindings `gc` and similar
|
||||
for commenting (which is a well-established mapping in the Vim community).
|
||||
|
||||
After restarting your Vim, the plugin is active and you can read about it at: >
|
||||
:h comment.txt
|
||||
|
||||
More information about packages can be found here: |packages|.
|
||||
|
||||
==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_30.txt* For Vim version 9.1. Last change: 2007 Nov 10
|
||||
*usr_30.txt* For Vim version 9.1. Last change: 2024 Apr 29
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@@ -246,7 +246,7 @@ code block the cursor is in: >
|
||||
|
||||
=a{
|
||||
|
||||
I you have really badly indented code, you can re-indent the whole file with:
|
||||
If you have really badly indented code, you can re-indent the whole file with:
|
||||
>
|
||||
gg=G
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_41.txt* For Vim version 9.1. Last change: 2024 Feb 25
|
||||
*usr_41.txt* For Vim version 9.1. Last change: 2024 May 07
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@@ -930,6 +930,7 @@ Cursor and mark position: *cursor-functions* *mark-functions*
|
||||
Working with text in the current buffer: *text-functions*
|
||||
getline() get a line or list of lines from the buffer
|
||||
getregion() get a region of text from the buffer
|
||||
getregionpos() get a list of positions for a region
|
||||
setline() replace a line in the buffer
|
||||
append() append line or list of lines in the buffer
|
||||
indent() indent of a specific line
|
||||
@@ -1096,7 +1097,7 @@ Syntax and highlighting: *syntax-functions* *highlighting-functions*
|
||||
synIDattr() get a specific attribute of a syntax ID
|
||||
synIDtrans() get translated syntax ID
|
||||
synstack() get list of syntax IDs at a specific position
|
||||
synconcealed() get info about concealing
|
||||
synconcealed() get info about (syntax) concealing
|
||||
diff_hlID() get highlight ID for diff mode at a position
|
||||
matchadd() define a pattern to highlight (a "match")
|
||||
matchaddpos() define a list of positions to highlight
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*version9.txt* For Vim version 9.1. Last change: 2024 Apr 14
|
||||
*version9.txt* For Vim version 9.1. Last change: 2024 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -32090,7 +32090,7 @@ Solution: Store the text column when drawing text.
|
||||
|
||||
Patch 9.0.0049
|
||||
Problem: Csv and tsv files are not recognized.
|
||||
Solution: Add patterns fo csv and tsv files. (Leandro Lourenci,
|
||||
Solution: Add patterns for csv and tsv files. (Leandro Lourenci,
|
||||
closes #10680)
|
||||
|
||||
Patch 9.0.0050
|
||||
@@ -40641,7 +40641,7 @@ Solution: Use the class-related grow array for storing the
|
||||
|
||||
Patch 9.0.1989
|
||||
Problem: Vim9: double error message given
|
||||
Solution: Only give second error message, if ther
|
||||
Solution: Only give second error message, if there
|
||||
wasn't one given before
|
||||
|
||||
Patch 9.0.1990
|
||||
@@ -40687,7 +40687,7 @@ Solution: Mention the defining class for variable access error message
|
||||
|
||||
Patch 9.0.2000
|
||||
Problem: Vim9: use-after-free in deep call stack
|
||||
Solution: Get the objct pointer from execution stack
|
||||
Solution: Get the object pointer from execution stack
|
||||
|
||||
Patch 9.0.2001
|
||||
Problem: Vim9: segfault with islocked()
|
||||
@@ -41554,6 +41554,7 @@ Enum support for Vim9 script |:enum|
|
||||
|
||||
Other improvements *new-other-9.2*
|
||||
------------------
|
||||
The comment plugin |comment-install| is included.
|
||||
|
||||
Changed *changed-9.2*
|
||||
-------
|
||||
@@ -41573,6 +41574,7 @@ Functions: ~
|
||||
|matchbufline()| all the matches of a pattern in a buffer
|
||||
|matchstrlist()| all the matches of a pattern in a List of strings
|
||||
|getregion()| get a region of text from a buffer
|
||||
|getregionpos()| get a list of positions for a region
|
||||
|
||||
|
||||
Autocommands: ~
|
||||
|
||||
@@ -1072,7 +1072,7 @@ au BufNewFile,BufRead */.icewm/menu setf icemenu
|
||||
au BufNewFile,BufRead .indent.pro setf indent
|
||||
au BufNewFile,BufRead indent.pro call dist#ft#ProtoCheck('indent')
|
||||
|
||||
" IDL (Interactive Data Language)
|
||||
" IDL (Interactive Data Language), Prolog, Cproto or zsh module C
|
||||
au BufNewFile,BufRead *.pro call dist#ft#ProtoCheck('idlang')
|
||||
|
||||
" Indent RC
|
||||
@@ -1103,6 +1103,9 @@ au BufNewFile,BufRead *.ini,*.INI setf dosini
|
||||
" SysV Inittab
|
||||
au BufNewFile,BufRead inittab setf inittab
|
||||
|
||||
" Inko
|
||||
au BufNewFile,BufRead *.inko setf inko
|
||||
|
||||
" Inno Setup
|
||||
au BufNewFile,BufRead *.iss setf iss
|
||||
|
||||
@@ -1145,6 +1148,9 @@ au BufNewFile,BufRead *.clp setf jess
|
||||
" Jgraph
|
||||
au BufNewFile,BufRead *.jgr setf jgraph
|
||||
|
||||
" Jujutsu
|
||||
au BufNewFile,BufRead *.jjdescription setf jj
|
||||
|
||||
" Jovial
|
||||
au BufNewFile,BufRead *.jov,*.j73,*.jovial setf jovial
|
||||
|
||||
@@ -1356,6 +1362,7 @@ au BufNewFile,BufRead .mailcap,mailcap setf mailcap
|
||||
|
||||
" Makefile
|
||||
au BufNewFile,BufRead *[mM]akefile,*.mk,*.mak,*.dsp setf make
|
||||
au BufNewFile,BufRead Kbuild setf make
|
||||
|
||||
" MakeIndex
|
||||
au BufNewFile,BufRead *.ist,*.mst setf ist
|
||||
@@ -2382,6 +2389,9 @@ au BufNewFile,BufRead *.tcl,*.tm,*.tk,*.itcl,*.itk,*.jacl,.tclshrc,.wishrc,.tcls
|
||||
" Xilinx's xsct and xsdb use tcl
|
||||
au BufNewFile,BufRead .xsctcmdhistory,.xsdbcmdhistory setf tcl
|
||||
|
||||
" templ
|
||||
au BufNewFile,BufRead *.templ setf templ
|
||||
|
||||
" Teal
|
||||
au BufRead,BufNewFile *.tl setf teal
|
||||
|
||||
@@ -2413,7 +2423,7 @@ au BufNewFile,BufRead texdoc.cnf setf conf
|
||||
" LaTeX packages will generate some medium LaTeX files during compiling
|
||||
" They should be ignored by .gitignore https://github.com/github/gitignore/blob/main/TeX.gitignore
|
||||
" Sometime we need to view its content for debugging
|
||||
au BufNewFile,BufRead *.{pgf,nlo,nls,out,thm,eps_tex,pygtex,pygstyle,clo,aux,brf,ind,lof,loe,nav,vrb,ins,tikz,bbx,cbx,beamer} setf tex
|
||||
au BufNewFile,BufRead *.{pgf,nlo,nls,thm,eps_tex,pygtex,pygstyle,clo,aux,brf,ind,lof,loe,nav,vrb,ins,tikz,bbx,cbx,beamer} setf tex
|
||||
|
||||
" ConTeXt
|
||||
au BufNewFile,BufRead *.mkii,*.mkiv,*.mkvi,*.mkxl,*.mklx setf context
|
||||
@@ -2839,6 +2849,10 @@ au StdinReadPost * if !did_filetype() | runtime! scripts.vim | endif
|
||||
" But before patterns matching everything in a directory.
|
||||
au BufNewFile,BufRead *.text,README,LICENSE,COPYING,AUTHORS setf text
|
||||
|
||||
" What should *.out files be? Text?
|
||||
" Disabled until it is clear, to what this should be set
|
||||
"au BufNewFile,BufRead *.out setf text
|
||||
|
||||
|
||||
" Extra checks for when no filetype has been detected now. Mostly used for
|
||||
" patterns that end in "*". E.g., "zsh*" matches "zsh.vim", but that's a Vim
|
||||
@@ -3010,6 +3024,9 @@ au BufNewFile,BufRead .reminders* call s:StarSetf('remind')
|
||||
" SGML catalog file
|
||||
au BufNewFile,BufRead sgml.catalog* call s:StarSetf('catalog')
|
||||
|
||||
" Stylus
|
||||
au BufNewFile,BufReadPost *.styl,*.stylus setf stylus
|
||||
|
||||
" avoid doc files being recognized a shell files
|
||||
au BufNewFile,BufRead */doc/{,.}bash[_-]completion{,.d,.sh}{,/*} setf text
|
||||
|
||||
@@ -3076,6 +3093,13 @@ au BufNewFile,BufRead */etc/yum.repos.d/* call s:StarSetf('dosini')
|
||||
au BufNewFile,BufRead .zsh*,.zlog*,.zcompdump* call s:StarSetf('zsh')
|
||||
au BufNewFile,BufRead zsh*,zlog* call s:StarSetf('zsh')
|
||||
|
||||
" Zsh module
|
||||
" *.mdd will generate *.mdh, *.pro and *.epro.
|
||||
" module's *.c will #include *.mdh containing module dependency information and
|
||||
" *.pro containing all static declarations of *.c
|
||||
" *.epro contains all external declarations of *.c
|
||||
au BufNewFile,BufRead *.mdh,*.epro setf c
|
||||
au BufNewFile,BufRead *.mdd setf zsh
|
||||
|
||||
" Help files match *.txt but should have a last line that is a modeline.
|
||||
au BufNewFile,BufRead *.txt
|
||||
|
||||
19
runtime/ftplugin/jj.vim
Normal file
19
runtime/ftplugin/jj.vim
Normal file
@@ -0,0 +1,19 @@
|
||||
" Vim filetype plugin
|
||||
" Language: jj description
|
||||
" Maintainer: Gregory Anders <greg@gpanders.com>
|
||||
" Last Change: 2024 May 8
|
||||
|
||||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
" Use the same formatoptions and textwidth as the gitcommit ftplugin
|
||||
setlocal nomodeline formatoptions+=tl textwidth=72
|
||||
setlocal formatoptions-=c formatoptions-=r formatoptions-=o formatoptions-=q formatoptions+=n
|
||||
setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}]\\s\\+\\\|^\\s*[-*+]\\s\\+
|
||||
|
||||
setlocal comments=b:JJ:
|
||||
setlocal commentstring=JJ:\ %s
|
||||
|
||||
let b:undo_ftplugin = 'setl modeline< formatoptions< textwidth< formatlistpat< comments< commentstring<'
|
||||
16
runtime/ftplugin/jq.vim
Normal file
16
runtime/ftplugin/jq.vim
Normal file
@@ -0,0 +1,16 @@
|
||||
" Vim compiler file
|
||||
" Language: jq
|
||||
" Maintainer: Vito <vito.blog@gmail.com>
|
||||
" Last Change: 2024 Apr 29
|
||||
" Upstream: https://github.com/vito-c/jq.vim
|
||||
|
||||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setlocal include=^\\s*\\%(import\\\|include\\)
|
||||
setlocal commentstring=#%s
|
||||
compiler jq
|
||||
|
||||
let b:undo_ftplugin = 'setl commentstring< include<'
|
||||
@@ -4,7 +4,7 @@
|
||||
" Previous Maintainer: Dan Sharp
|
||||
" Contributor: Enno Nagel <ennonagel+vim@gmail.com>
|
||||
" Eisuke Kawashima
|
||||
" Last Change: 2024 Feb 27
|
||||
" Last Change: 2024 May 06 by Vim Project (MANPAGER=)
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
@@ -46,11 +46,11 @@ endif
|
||||
|
||||
if get(b:, "is_bash", 0)
|
||||
if !has("gui_running") && executable("less")
|
||||
command! -buffer -nargs=1 ShKeywordPrg silent exe '!bash -c "{ help "<args>" 2>/dev/null || man "<args>"; } | LESS= less"' | redraw!
|
||||
command! -buffer -nargs=1 ShKeywordPrg silent exe '!bash -c "{ help "<args>" 2>/dev/null || MANPAGER= man "<args>"; } | LESS= less"' | redraw!
|
||||
elseif has("terminal")
|
||||
command! -buffer -nargs=1 ShKeywordPrg silent exe ':term bash -c "help "<args>" 2>/dev/null || man "<args>""'
|
||||
else
|
||||
command! -buffer -nargs=1 ShKeywordPrg echo system('bash -c "help <args>" 2>/dev/null || man "<args>"')
|
||||
command! -buffer -nargs=1 ShKeywordPrg echo system('bash -c "help <args>" 2>/dev/null || MANPAGER= man "<args>"')
|
||||
endif
|
||||
setlocal keywordprg=:ShKeywordPrg
|
||||
let b:undo_ftplugin ..= " | setl kp< | sil! delc -buffer ShKeywordPrg"
|
||||
|
||||
54
runtime/ftplugin/stylus.vim
Normal file
54
runtime/ftplugin/stylus.vim
Normal file
@@ -0,0 +1,54 @@
|
||||
" Vim filetype plugin
|
||||
" Language: Stylus
|
||||
" Maintainer: Marc Harter
|
||||
" Credits: Tim Pope
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
|
||||
let s:save_cpo = &cpo
|
||||
set cpo-=C
|
||||
|
||||
" Define some defaults in case the included ftplugins don't set them.
|
||||
let s:undo_ftplugin = ""
|
||||
let s:browsefilter = "All Files (*.*)\t*.*\n"
|
||||
|
||||
runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
|
||||
unlet! b:did_ftplugin
|
||||
|
||||
" Override our defaults if these were set by an included ftplugin.
|
||||
if exists("b:undo_ftplugin")
|
||||
let s:undo_ftplugin = b:undo_ftplugin
|
||||
unlet b:undo_ftplugin
|
||||
endif
|
||||
if exists("b:browsefilter")
|
||||
let s:browsefilter = b:browsefilter
|
||||
unlet b:browsefilter
|
||||
endif
|
||||
|
||||
" Change the browse dialog on Win32 to show mainly Styl-related files
|
||||
if has("gui_win32")
|
||||
let b:browsefilter="Stylus Files (*.styl)\t*.styl\n" . s:browsefilter
|
||||
endif
|
||||
|
||||
setlocal comments= commentstring=//\ %s
|
||||
setlocal suffixesadd=.styl
|
||||
setlocal formatoptions+=r
|
||||
|
||||
" Add '-' and '#' to the what makes up a keyword.
|
||||
" This means that 'e' and 'w' work properly now, for properties
|
||||
" and valid variable names.
|
||||
setl iskeyword+=#,-
|
||||
|
||||
" Add a Stylus command (to see if it's valid)
|
||||
command -buffer Stylus !clear; cat % |stylus
|
||||
|
||||
|
||||
let b:undo_ftplugin = "setl sua< isk< cms< com< fo< "
|
||||
\ " | unlet! b:browsefilter b:match_words | " . s:undo_ftplugin
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
|
||||
" vim:set sw=2:
|
||||
@@ -2,7 +2,7 @@
|
||||
" Language: Zsh shell script
|
||||
" Maintainer: Christian Brabandt <cb@256bit.org>
|
||||
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||
" Latest Revision: 2023-10-07
|
||||
" Latest Revision: 2024 May 06 by Vim Project (MANPAGER=)
|
||||
" License: Vim (see :h license)
|
||||
" Repository: https://github.com/chrisbra/vim-zsh
|
||||
|
||||
@@ -24,7 +24,7 @@ if executable('zsh') && &shell !~# '/\%(nologin\|false\)$'
|
||||
elseif has('terminal')
|
||||
command! -buffer -nargs=1 ZshKeywordPrg silent exe ':term zsh -c "autoload -Uz run-help; run-help <args>"'
|
||||
else
|
||||
command! -buffer -nargs=1 ZshKeywordPrg echo system('zsh -c "autoload -Uz run-help; run-help <args> 2>/dev/null"')
|
||||
command! -buffer -nargs=1 ZshKeywordPrg echo system('MANPAGER= zsh -c "autoload -Uz run-help; run-help <args> 2>/dev/null"')
|
||||
endif
|
||||
if !exists('current_compiler')
|
||||
compiler zsh
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
" Vim indent file
|
||||
" Language: asm
|
||||
" Maintainer: Philip Jones <philj56@gmail.com>
|
||||
" Upstream: https://github.com/philj56/vim-asm-indent
|
||||
" Latest Revision: 2017-07-01
|
||||
" Language: asm
|
||||
" Maintainer: Philip Jones <philj56@gmail.com>
|
||||
" Upstream: https://github.com/philj56/vim-asm-indent
|
||||
" Last Change: 2017-Jul-01
|
||||
" 2024 Apr 25 by Vim Project (undo_indent)
|
||||
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
@@ -12,7 +13,7 @@ let b:did_indent = 1
|
||||
setlocal indentexpr=s:getAsmIndent()
|
||||
setlocal indentkeys=<:>,!^F,o,O
|
||||
|
||||
let b:undo_ftplugin .= "indentexpr< indentkeys<"
|
||||
let b:undo_indent = "setlocal indentexpr< indentkeys<"
|
||||
|
||||
function! s:getAsmIndent()
|
||||
let line = getline(v:lnum)
|
||||
|
||||
121
runtime/indent/stylus.vim
Normal file
121
runtime/indent/stylus.vim
Normal file
@@ -0,0 +1,121 @@
|
||||
" Vim indent file
|
||||
" Language: Stylus
|
||||
" Maintainer: Marc Harter
|
||||
" Last Change: 2010 May 21
|
||||
" Based On: sass.vim from Tim Pope
|
||||
"
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
endif
|
||||
let b:did_indent = 1
|
||||
|
||||
setlocal indentexpr=GetStylusIndent()
|
||||
setlocal indentkeys=o,O,*<Return>,},],0),!^F
|
||||
let b:undo_indent = "setl indentexpr< indentkeys<"
|
||||
|
||||
if exists("*GetStylusIndent") " only define once
|
||||
finish
|
||||
endif
|
||||
|
||||
function s:prevnonblanknoncomment(lnum)
|
||||
let lnum = a:lnum
|
||||
while lnum > 1
|
||||
let lnum = prevnonblank(lnum)
|
||||
let line = getline(lnum)
|
||||
if line =~ '\*/'
|
||||
while lnum > 1 && line !~ '/\*'
|
||||
let lnum -= 1
|
||||
endwhile
|
||||
if line =~ '^\s*/\*'
|
||||
let lnum -= 1
|
||||
else
|
||||
break
|
||||
endif
|
||||
else
|
||||
break
|
||||
endif
|
||||
endwhile
|
||||
return lnum
|
||||
endfunction
|
||||
|
||||
function s:count_braces(lnum, count_open)
|
||||
let n_open = 0
|
||||
let n_close = 0
|
||||
let line = getline(a:lnum)
|
||||
let pattern = '[{}]'
|
||||
let i = match(line, pattern)
|
||||
while i != -1
|
||||
if synIDattr(synID(a:lnum, i + 1, 0), 'name') !~ 'css\%(Comment\|StringQ\{1,2}\)'
|
||||
if line[i] == '{'
|
||||
let n_open += 1
|
||||
elseif line[i] == '}'
|
||||
if n_open > 0
|
||||
let n_open -= 1
|
||||
else
|
||||
let n_close += 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
let i = match(line, pattern, i + 1)
|
||||
endwhile
|
||||
return a:count_open ? n_open : n_close
|
||||
endfunction
|
||||
|
||||
" function CheckCSSIndent()
|
||||
" let line = getline(v:lnum)
|
||||
" if line =~ '^\s*\*'
|
||||
" return cindent(v:lnum)
|
||||
" endif
|
||||
"
|
||||
" let pnum = s:prevnonblanknoncomment(v:lnum - 1)
|
||||
" if pnum == 0
|
||||
" return 0
|
||||
" endif
|
||||
|
||||
function! GetStylusIndent()
|
||||
let line = getline(v:lnum)
|
||||
if line =~ '^\s*\*'
|
||||
return cindent(v:lnum)
|
||||
endif
|
||||
|
||||
let pnum = s:prevnonblanknoncomment(v:lnum - 1)
|
||||
if pnum == 0
|
||||
return 0
|
||||
endif
|
||||
|
||||
let lnum = prevnonblank(v:lnum-1)
|
||||
if lnum == 0
|
||||
return 0
|
||||
endif
|
||||
|
||||
let pline = getline(pnum)
|
||||
|
||||
if pline =~ '[}{]'
|
||||
return indent(pnum) + s:count_braces(pnum, 1) * &sw - s:count_braces(v:lnum, 0) * &sw
|
||||
endif
|
||||
|
||||
let line = substitute(getline(lnum),'[\s()]\+$','','') " get last line strip ending whitespace
|
||||
let cline = substitute(substitute(getline(v:lnum),'\s\+$','',''),'^\s\+','','') " get current line, trimmed
|
||||
let lastcol = strlen(line) " get last col in prev line
|
||||
let line = substitute(line,'^\s\+','','') " then remove preceeding whitespace
|
||||
let indent = indent(lnum) " get indent on prev line
|
||||
let cindent = indent(v:lnum) " get indent on current line
|
||||
let increase = indent + &sw " increase indent by the shift width
|
||||
if indent == indent(lnum)
|
||||
let indent = cindent <= indent ? indent : increase
|
||||
endif
|
||||
|
||||
let group = synIDattr(synID(lnum,lastcol,1),'name')
|
||||
|
||||
" if group !~? 'css.*' && line =~? ')\s*$' " match user functions
|
||||
" return increase
|
||||
if group =~? '\v^%(cssTagName|cssClassName|cssIdentifier|cssSelectorOp|cssSelectorOp2|cssBraces|cssAttributeSelector|cssPseudo|stylusId|stylusClass)$'
|
||||
return increase
|
||||
elseif (group == 'stylusUserFunction') && (indent(lnum) == '0') " mixin definition
|
||||
return increase
|
||||
else
|
||||
return indent
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" vim:set sw=2;
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Afrikaas
|
||||
" Maintainer: Danie Roux <droux@tuks.co.za>
|
||||
" Last Change: 2012 May 01
|
||||
" Last Change: 2024 May 2
|
||||
" Original translations
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
@@ -31,12 +31,13 @@ menutrans &About &Inleiding\ skerm
|
||||
|
||||
" File menu
|
||||
menutrans &File &Lêer
|
||||
menutrans &Open\.\.\.<Tab>:e &Open\.\.\.<Tab>:e
|
||||
menutrans &Open\.\.\.<Tab>:e Maak\ oop\.\.\.<Tab>:e
|
||||
menutrans Sp&lit-Open\.\.\.<Tab>:sp Maak\ oop\ in\ nuwe\ &venster\.\.\.<Tab>:sp
|
||||
menutrans Open\ &Tab\.\.\.<Tab>:tabnew Maak\ oortjie\ oop\.\.\.<Tab>:tabnew
|
||||
menutrans &New<Tab>:enew &Nuut<Tab>:enew
|
||||
menutrans &Close<Tab>:close Maak\ &Toe<Tab>:close
|
||||
menutrans &Save<Tab>:w &Skryf<Tab>:w
|
||||
menutrans Save\ &As\.\.\.<Tab>:w Skryf\ &as\.\.\.<Tab>:w
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav Skryf\ &as\.\.\.<Tab>:sav
|
||||
menutrans &Print &Druk
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Skryf\ en\ verlaat<Tab>:wqa
|
||||
menutrans E&xit<Tab>:qa &Verlaat<Tab>:qa
|
||||
@@ -68,16 +69,18 @@ menutrans &Next\ Error<Tab>:cn Volgende\ Fout<Tab>:cn
|
||||
menutrans &Previous\ Error<Tab>:cp Vorige\ Fout<Tab>:cp
|
||||
menutrans &Older\ List<Tab>:cold &Ouer\ Lys<Tab>:cold
|
||||
menutrans N&ewer\ List<Tab>:cnew &Nuwer\ Lys<Tab>:cnew
|
||||
menutrans Error\ &Window<Tab>:cwin Foute\ Venster<Tab>:cwin
|
||||
menutrans Convert\ to\ HEX<Tab>:%!xxd Verwissel\ na\ HEX<Tab>:%!xxd
|
||||
menutrans Convert\ back<Tab>:%!xxd\ -r Verwissel\ terug<Tab>:%!xxd\ -r
|
||||
menutrans Error\ &Window Foute\ Venster<Tab>:cwin
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd Verwissel\ na\ HEX<Tab>:%!xxd
|
||||
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Verwissel\ terug<Tab>:%!xxd\ -r
|
||||
|
||||
" Names for buffer menu.
|
||||
menutrans &Buffers &Buffers
|
||||
menutrans Refresh Verfris
|
||||
menutrans &Refresh\ menu Verfris
|
||||
menutrans Delete Verwyder
|
||||
menutrans Alternate Vorige
|
||||
menutrans [No\ File] [Geen\ Leêr]
|
||||
menutrans [No\ Name] [Geen\ Leêr]
|
||||
menutrans &Next Volgende
|
||||
menutrans &Previous Vorige
|
||||
|
||||
" Window menu
|
||||
menutrans &Window &Venster
|
||||
@@ -92,8 +95,8 @@ menutrans P&revious<Tab>^WW &Vorige<Tab>^WW
|
||||
menutrans &Equal\ Size<Tab>^W= &Gelyke\ hoogte<Tab>^W=
|
||||
menutrans &Max\ Height<Tab>^W_ &Maksimale\ hoogte<Tab>^W_
|
||||
menutrans M&in\ Height<Tab>^W1_ Mi&nimale\ hoogte<Tab>^W1_
|
||||
menutrans Max\ Width<Tab>^W\| Maksimale\ breedte<Tab>^W\|
|
||||
menutrans Min\ Width<Tab>^W1\| Minimale\ breedte<Tab>^W1\|
|
||||
menutrans Max\ &Width<Tab>^W\| Maksimale\ breedte<Tab>^W\|
|
||||
menutrans Min\ Widt&h<Tab>^W1\| Minimale\ breedte<Tab>^W1\|
|
||||
menutrans Rotate\ &Up<Tab>^WR Roteer\ na\ &bo<Tab>^WR
|
||||
menutrans Rotate\ &Down<Tab>^Wr Roteer\ na\ &onder<Tab>^Wr
|
||||
menutrans Select\ Fo&nt\.\.\. Kies\ font\.\.\.
|
||||
@@ -153,6 +156,107 @@ menutrans o&ff\ (this\ file) &Af\ (die\ le
|
||||
menutrans Co&lor\ test Toets\ die\ &kleure
|
||||
menutrans &Highlight\ test Toets\ die\ verligting
|
||||
menutrans &Convert\ to\ HTML Verwissel\ na\ HTML
|
||||
menutrans Split\ &Diff\ with\.\.\. Verdeel\ ewenaar\ met\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. Verdeel\ gelap\ deur\.\.\.
|
||||
menutrans Settings\ &Window Instellings\ venster\.\.\.
|
||||
menutrans Startup\ &Settings Opstart\ instellings
|
||||
menutrans &Global\ Settings Globale\ instellings
|
||||
menutrans F&ile\ Settings Lêer\ instellings
|
||||
menutrans C&olor\ Scheme Kleurskema
|
||||
menutrans &Keymap Sleutelkaart
|
||||
">>>----------------- Edit/Global settings
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Wissel\ patroon\ hoogtepunt<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! Wissel\ geval\ ignoreer<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Wissel\ wat\ ooreenstemmende\ pare\ wys<Tab>:set\ sm!
|
||||
menutrans &Context\ lines Kontekslyne
|
||||
menutrans &Virtual\ Edit Virtuele\ wysiging
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Wissel\ invoegmodus<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Wissel\ Vi\ verenigbaarheid<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. Soek\ pad\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Merk\ lêers\.\.\.
|
||||
"
|
||||
menutrans Toggle\ &Toolbar Wissel\ nutsbalk
|
||||
menutrans Toggle\ &Bottom\ Scrollbar Wissel\ onderste\ skuifbalk
|
||||
menutrans Toggle\ &Left\ Scrollbar Wissel\ linker\ skuifbalk
|
||||
menutrans Toggle\ &Right\ Scrollbar Wissel\ regs\ skuifbalk
|
||||
">>>->>>------------- Edit/Global settings/Virtual edit
|
||||
menutrans Never Nooit\ nie
|
||||
menutrans Block\ Selection Blokkeuse
|
||||
menutrans Insert\ mode Invoegmodus
|
||||
menutrans Block\ and\ Insert Blokkeer\ en\ plaas
|
||||
menutrans Always Altyd
|
||||
">>>----------------- Edit/File settings
|
||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Wissel\ lynnommering<Tab>:set\ nu!
|
||||
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Wissel\ relatiewe\ lynnommering<Tab>:set\ nru!
|
||||
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Wissel\ lys\ modus<Tab>:set\ list!
|
||||
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! Wissel\ lyn\ wikkel<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! Wissel\ omvou\ by\ woord<Tab>:set\ lbr!
|
||||
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! Wissel\ oortjie\ wat\ uitbrei<Tab>:set\ et!
|
||||
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Wissel\ outomatiese\ inkeping<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Wissel\ C-styl\ inkeping<Tab>:set\ cin!
|
||||
">>>---
|
||||
menutrans &Shiftwidth Skuifwydte
|
||||
menutrans Soft\ &Tabstop Sagte\ tabstop
|
||||
menutrans Te&xt\ Width\.\.\. Teks\ breedte\.\.\.
|
||||
menutrans &File\ Format\.\.\. Lêerformaat\.\.\.
|
||||
">>>---------------- Tools/Spelling
|
||||
menutrans &Spell\ Check\ On Speltoets\ aan
|
||||
menutrans Spell\ Check\ &Off Spelmerk\ af
|
||||
menutrans To\ &Next\ error<Tab>]s Na\ die\ volgende\ fout<Tab>]s
|
||||
menutrans To\ &Previous\ error<Tab>[s Om\ vorige\ fout<Tab>[s
|
||||
menutrans Suggest\ &Corrections<Tab>z= Stel\ regstellings\ voor<Tab>z=
|
||||
menutrans &Repeat\ correction<Tab>:spellrepall Herhaal\ regstelling<Tab>:spellrepall
|
||||
"-------------------
|
||||
menutrans Set\ language\ to\ "en" Stel\ taal\ op\ "en"
|
||||
menutrans Set\ language\ to\ "en_au" Stel\ taal\ op\ "en_au"
|
||||
menutrans Set\ language\ to\ "en_ca" Stel\ taal\ op\ "en_ca"
|
||||
menutrans Set\ language\ to\ "en_gb" Stel\ taal\ op\ "en_gb"
|
||||
menutrans Set\ language\ to\ "en_nz" Stel\ taal\ op\ "en_nz"
|
||||
menutrans Set\ language\ to\ "en_us" Stel\ taal\ op\ "en_us"
|
||||
menutrans &Find\ More\ Languages Vind\ meer\ tale
|
||||
let g:menutrans_set_lang_to = 'Stel taal op'
|
||||
">>>---------------- Folds
|
||||
menutrans &Enable/Disable\ folds<Tab>zi Aktiveer/deaktiveer\ voue<Tab>zi
|
||||
menutrans &View\ Cursor\ Line<Tab>zv Bekyk\ wyserlyn<Tab>zv
|
||||
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Bekyk\ slegs\ wyserlyn<Tab>z\ Shift+M\ zx
|
||||
menutrans C&lose\ more\ folds<Tab>zm Maak\ nog\ voue\ toe<Tab>zm
|
||||
menutrans &Close\ all\ folds<Tab>zM Maak\ alle\ voue\ toe<Tab>z\ Shift+M
|
||||
menutrans &Open\ all\ folds<Tab>zR Maak\ alle\ voue\ oop<Tab>z\ Shift+R
|
||||
menutrans O&pen\ more\ folds<Tab>zr Maak\ meer\ voue\ oop<Tab>zr
|
||||
menutrans Fold\ Met&hod Vou\ metode
|
||||
menutrans Create\ &Fold<Tab>zf Skep\ vou<Tab>zf
|
||||
menutrans &Delete\ Fold<Tab>zd Vee\ vou\ uit<Tab>zd
|
||||
menutrans Delete\ &All\ Folds<Tab>zD Vee\ alle\ voue\ uit<Tab>z\ Shift+D
|
||||
menutrans Fold\ col&umn\ width Vou\ kolomwydte
|
||||
">>>->>>----------- Tools/Folds/Fold Method
|
||||
menutrans M&anual Handleiding
|
||||
menutrans I&ndent Inkeep
|
||||
menutrans E&xpression Uitdrukking
|
||||
menutrans S&yntax Sintaksis
|
||||
menutrans &Diff Verskil
|
||||
menutrans Ma&rker Merker
|
||||
">>>--------------- Sub of Tools/Diff
|
||||
menutrans &Update Opdateer
|
||||
menutrans &Get\ Block Kry\ blok
|
||||
menutrans &Put\ Block Sit\ blok
|
||||
">>>--------------- Tools/Error window
|
||||
menutrans &Update<Tab>:cwin Opdateer<Tab>:cwin
|
||||
menutrans &Close<Tab>:cclose Naby<Tab>:cclose
|
||||
menutrans &Open<Tab>:copen Maak\ oop<Tab>:copen
|
||||
menutrans Se&T\ Compiler Stel\ samesteller
|
||||
menutrans &Show\ File\ Types\ in\ menu Wys\ lêertipes\ in\ kieslys
|
||||
menutrans on/off\ for\ &This\ file Aan/af\ vir\ hierdie\ lêer
|
||||
menutrans Split\ File\ E&xplorer Verdeel\ lêerverkenner
|
||||
menutrans Move\ &To Skuif\ na
|
||||
">>>----------------- Submenu of Window/Move To
|
||||
menutrans &Top<Tab>^WK Top<Tab>Ctrl+W\ Shift+K
|
||||
menutrans &Bottom<Tab>^WJ Onderkant<Tab>Ctrl+W\ Shift+J
|
||||
menutrans &Left\ side<Tab>^WH Linkerkant<Tab>Ctrl+W\ Shift+H
|
||||
menutrans &Right\ side<Tab>^WL Regter\ kant<Tab>Ctrl+W\ Shift+L
|
||||
menutrans &User\ Manual Gebruikers\ gids
|
||||
menutrans &Sponsor/Register Borg/registreer
|
||||
menutrans &Folding Vou
|
||||
menutrans &Spelling &Spelling
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Menu translations for Catalan
|
||||
"
|
||||
" Maintainer: Ernest Adrogué <eadrogue@gmx.net>
|
||||
" Last Change: 26 Jul 2017
|
||||
" Last Change: 2024 May 2
|
||||
" Original translations
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
@@ -71,8 +71,8 @@ menutrans Startup\ &Settings Opcions\ i&nicials
|
||||
menutrans &Global\ Settings Opcions\ &globals
|
||||
" submenú Edita/Opcions Globals
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Ressaltat\ de\ &patrons<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Sensibilitat\ a\ les\ ma&júscules<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! &Ressaltat\ de\ coincidències<Tab>:set\ sm!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! Sensibilitat\ a\ les\ ma&júscules<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! &Ressaltat\ de\ coincidències<Tab>:set\ sm!
|
||||
menutrans &Context\ lines Línies\ de\ co&ntext
|
||||
menutrans &Virtual\ Edit Edició\ &virtual
|
||||
" submenú Edita/Opcions Globals/Edició virtual
|
||||
@@ -82,7 +82,7 @@ menutrans &Global\ Settings Opcions\ &globals
|
||||
menutrans Block\ and\ Insert &Blocs\ i\ inserció
|
||||
menutrans Always S&empre
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Mode\ d'&inserció<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Co&mpatible\ amb\ Vi<Tab>:set\ cp!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Co&mpatible\ amb\ Vi<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. &Ubicacions\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Fitxers\ d'&etiquetes\.\.\.
|
||||
menutrans Toggle\ &Toolbar &Barra\ d'eines
|
||||
@@ -312,5 +312,12 @@ menutrans Config Configuraci
|
||||
menutrans Set\ '&syntax'\ only Només\ el\ ressaltat\ de\ sintaxi
|
||||
menutrans Set\ '&filetype'\ too Carrega\ també\ els\ plugins
|
||||
|
||||
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Commuta\ numeració\ relativa\ de\ línies<Tab>:set\ nru!
|
||||
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! Commuta\ embolcall\ de\ línia<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! Commuta\ embolicant\ la\ paraula<Tab>:set\ lbr!
|
||||
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! Commuta\ pestanya\ en\ expansió<Tab>:set\ et!
|
||||
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Commuta\ sagnat\ automàtic<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Commuta\ Sagnat\ d'estil\ C<Tab>:set\ cin!
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
" Maintainer: Jiri Sedlak <jiri_sedlak@users.sourceforge.net>
|
||||
" Previous maintainer: Jiri Brezina
|
||||
" Based on: menu.vim (2012-10-21)
|
||||
" Last Change: 2024 May 2
|
||||
" Original translations
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
@@ -63,8 +64,8 @@ menutrans Settings\ &Window Nastav&ení\ okna
|
||||
menutrans Startup\ &Settings Počáteční\ &nastavení
|
||||
menutrans &Global\ Settings &Globální\ nastavení
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! &Přepnout\ zvýraznění\ vzoru<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Přepnout\ ignorování\ &VERZÁLEK<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Přepnout\ &Showmatch\ \{\(\[\])\}<Tab>:set\ sm!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! Přepnout\ ignorování\ &VERZÁLEK<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Přepnout\ &Showmatch\ \{\(\[\])\}<Tab>:set\ sm!
|
||||
menutrans &Context\ lines Zobrazit\ konte&xt\ kurzoru
|
||||
menutrans &Virtual\ Edit Virtuální\ p&ozice\ kurzoru
|
||||
menutrans Never Nikdy
|
||||
@@ -73,7 +74,7 @@ menutrans Insert\ mode Insert\ mód
|
||||
menutrans Block\ and\ Insert Blok\ a\ Insert
|
||||
menutrans Always Vždycky
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Přepnout\ Insert\ mó&d<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Přepnout\ kompatibilní\ režim\ s\ 'vi'<Tab>:set\ cp!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Přepnout\ kompatibilní\ režim\ s\ 'vi'<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. Nastavit\ &cestu\ k\ prohledávání\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Ta&g\ soubory\.\.\.
|
||||
menutrans Toggle\ &Toolbar Přepnout\ &Toolbar
|
||||
@@ -85,11 +86,11 @@ menutrans F&ile\ Settings Nastavení\ so&uboru
|
||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Přepnout\ číslování\ řá&dků<Tab>:set\ nu!
|
||||
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Přepnout\ relativní\ číslování\ řá&dků<Tab>:set\ rnu!
|
||||
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Přepnout\ &List\ mód<Tab>:set\ list!
|
||||
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Přepnout\ zala&mování\ řádků<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Přepnout\ zl&om\ ve\ slově<Tab>:set\ lbr!
|
||||
menutrans Toggle\ &expand-tab<Tab>:set\ et! Přepnout\ &expand-tab<Tab>:set\ et!
|
||||
menutrans Toggle\ &auto-indent<Tab>:set\ ai! Přepnout\ &auto-indent<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-indenting<Tab>:set\ cin! Přepnout\ &C-indenting<Tab>:set\ cin!
|
||||
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! Přepnout\ zala&mování\ řádků<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! Přepnout\ zl&om\ ve\ slově<Tab>:set\ lbr!
|
||||
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! Přepnout\ &expand-tab<Tab>:set\ et!
|
||||
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Přepnout\ &auto-indent<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Přepnout\ &C-indenting<Tab>:set\ cin!
|
||||
menutrans &Shiftwidth Nastav&it\ šířku\ od&sazení
|
||||
menutrans Soft\ &Tabstop Nastavit\ Soft\ &Tabstop
|
||||
menutrans Te&xt\ Width\.\.\. Šířka\ te&xtu\.\.\.
|
||||
@@ -154,7 +155,7 @@ if has("diff")
|
||||
menutrans &Put\ Block &Vložit\ Blok
|
||||
endif
|
||||
|
||||
menutrans &Make<Tab>:make &Make<Tab>:make
|
||||
menutrans &Make<Tab>:make udělat<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl Výpis\ &chyb<Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! Výp&is\ zpráv<Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn Další\ ch&yba<Tab>:cn
|
||||
@@ -300,6 +301,7 @@ let g:menutrans_tags_dialog = "Zadejte jména souborů s tagy. Jména oddělte
|
||||
let g:menutrans_textwidth_dialog = "Zadejte délku řádku (0 pro zakázání formátování):"
|
||||
let g:menutrans_fileformat_dialog = "Vyberte typ konce řádků"
|
||||
" }}}"
|
||||
menutrans &Show\ File\ Types\ in\ menu Zobrazit\ typy\ souborů\ v\ nabídce
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
" Menu Translations: German / Deutsch
|
||||
" Maintainer: Jó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
|
||||
" Originally By: Georg Dahn <gorgyd@yahoo.co.uk>
|
||||
" Marcin Dalecki <dalecki@cs.net.pl>
|
||||
" Johannes Zellner <johannes@zellner.org>
|
||||
" Last Change: 2024 May 2
|
||||
" vim:set foldmethod=marker tabstop=8:
|
||||
" Original translations
|
||||
|
||||
@@ -74,7 +74,7 @@ menutrans Insert\ mode Einf
|
||||
menutrans Block\ and\ Insert Block-Auswahl\ und\ Einfüge-Modus
|
||||
menutrans Always Immer
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Einfüge-&Modus\ ein-\ und\ ausschalten<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Vi-Kompatibilität\ ein-\ und\ ausschalten<Tab>:set\ cp!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Vi-Kompatibilität\ ein-\ und\ ausschalten<Tab>:set\ cp!
|
||||
|
||||
menutrans Search\ &Path\.\.\. Such-&Pfad\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Ta&g-Dateien\.\.\.
|
||||
@@ -183,7 +183,7 @@ menutrans Conve&rt\ back<Tab>:%!xxd\ -r Zur
|
||||
|
||||
" {{{ SYNTAX / SYNTAX
|
||||
menutrans &Syntax &Syntax
|
||||
menutrans &Show\ filetypes\ in\ menu Dateitypen\ an&zeigen
|
||||
menutrans &Show\ File\ Types\ in\ menu Dateitypen\ an&zeigen
|
||||
menutrans Set\ '&syntax'\ only Nur\ '&syntax'\ setzen
|
||||
menutrans Set\ '&filetype'\ too Auch\ '&filetype'\ setzen
|
||||
menutrans &Off &Aus
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
" Menu Translations: Español
|
||||
" Previous translator: Alejandro López-Valencia <dradul@users.sourceforge.net>
|
||||
" Last translator: Omar Campagne Polaino <ocampagne@gmail.com>
|
||||
" Version: 7.2.245
|
||||
" Last Change: 2012 May 01
|
||||
" Version: 9.1.385
|
||||
" Last Change: 2024 May 1
|
||||
" Original translations
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
@@ -75,8 +75,8 @@ menutrans Startup\ &Settings Opciones\ de\ arranque
|
||||
menutrans &Global\ Settings Opciones\ &globales
|
||||
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Activar/Desactivar\ &resaltado\ de\ sintaxis<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Activar/Desactivar\ &ignorar\ mayúsculas\ y\ minúsculas<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Activar/Desactivar\ &mostrar\ coincidencias<Tab>:set\ sm!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! Activar/Desactivar\ &ignorar\ mayúsculas\ y\ minúsculas<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Activar/Desactivar\ &mostrar\ coincidencias<Tab>:set\ sm!
|
||||
|
||||
menutrans &Context\ lines Líneas\ de\ &contexto
|
||||
|
||||
@@ -88,7 +88,7 @@ menutrans Block\ and\ Insert Bloque\ e\ inserci
|
||||
menutrans Always Siempre
|
||||
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Activar/Desactivar\ modo\ de\ in&serción<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Activar/Desactivar\ compatiblidad\ con\ Vi<Tab>:set\ cp!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Activar/Desactivar\ compatiblidad\ con\ Vi<Tab>:set\ cp!
|
||||
|
||||
menutrans Search\ &Path\.\.\. Ruta\ de\ &búsqueda\.\.\.
|
||||
|
||||
@@ -170,7 +170,7 @@ menutrans &Previous\ Error<Tab>:cp Error\ p&revio<Tab>:cp
|
||||
menutrans &Older\ List<Tab>:cold Lista\ de\ &viejos\ a\ nuevos<Tab>:cold
|
||||
menutrans N&ewer\ List<Tab>:cnew Lista\ de\ &nuevos\ a\ viejos<Tab>:cnew
|
||||
menutrans Error\ &Window Ven&tana\ de\ errores
|
||||
menutrans &Set\ Compiler Esco&ger\ el\ compilador\ a\ usar
|
||||
menutrans Se&T\ Compiler Esco&ger\ el\ compilador\ a\ usar
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd Convertir\ a\ formato\ &hexadecimal<Tab>:%!xxd
|
||||
menutrans Conve&rt\ back<Tab>:%!xxd\ -r &Convertir\ al\ formato\ original<Tab>:%!xxd\ -r
|
||||
|
||||
@@ -319,5 +319,15 @@ menutrans &Convert\ to\ HTML &Convertir\ a\ HTML
|
||||
" Find Help dialog text
|
||||
let g:menutrans_help_dialog = "Introduzca un nombre de comando o palabra para obtener ayuda;\n\nAnteponga i_ para comandos de entrada (e.g.: i_CTRL-X)\nAnteponga c_ para comandos de la línea de comandos (e.g.: c_<Del>)\nAnteponga ` para un nombre de opción (e.g.: `shiftwidth`)"
|
||||
|
||||
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Activar/Desactivar\ numeración\ de\ líneas\ relativa<Tab>:set\ nru!
|
||||
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! Activar/Desactivar\ ajuste\ de\ línea<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! Activar/Desactivar\ envolviendo\ la\ palabra<Tab>:set\ lbr!
|
||||
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! Activar/Desactivar\ pestaña\ expandiéndose<Tab>:set\ et!
|
||||
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Activar/Desactivar\ sangría\ automática<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Activar/Desactivar\ Sangría\ estilo\ C<Tab>:set\ cin!
|
||||
menutrans &Show\ File\ Types\ in\ menu Mostrar\ tipos\ de\ archivos\ en\ el\ menú
|
||||
menutrans Ma&rker Marcador
|
||||
menutrans I&ndent Sangrar
|
||||
menutrans E&xpression Expresión
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Menu Translations: Icelandic / Í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
|
||||
" Last Change: 2024 May 2
|
||||
" Original translations
|
||||
" vim:set foldmethod=marker tabstop=8:
|
||||
|
||||
@@ -301,6 +301,7 @@ let g:menutrans_tags_dialog = "Sl
|
||||
let g:menutrans_textwidth_dialog = "Sláið inn nýja textabreidd (0 til að óvirkja sniðmátun): "
|
||||
let g:menutrans_fileformat_dialog = "Veljið Skráarsnið"
|
||||
" }}}
|
||||
menutrans &Show\ File\ Types\ in\ menu Sýna\ skráargerðir\ í\ valmyndinni
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Korean
|
||||
" Maintainer: SungHyun Nam <goweol@gmail.com>
|
||||
" Last Change: 2012 May 01
|
||||
" Last Change: 2024 May 2
|
||||
" Original translations
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
@@ -36,8 +36,8 @@ menutrans &New<Tab>:enew 새로운(&N)<Tab>:enew
|
||||
menutrans &Close<Tab>:close 닫기(&C)<Tab>:close
|
||||
menutrans &Save<Tab>:w 저장(&S)<Tab>:w
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav 다른\ 이름으로\ 저장(&A)\.\.\.<Tab>:sav
|
||||
"menutrans Split\ &Diff\ with\.\.\. Split\ &Diff\ with\.\.\.
|
||||
"menutrans Split\ Patched\ &By\.\.\. Split\ Patched\ &By\.\.\.
|
||||
menutrans Split\ &Diff\ with\.\.\. 분할\ 차이점\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. 분할\ 패치\ 기준\.\.\.
|
||||
menutrans &Print 인쇄(&P)
|
||||
menutrans Sa&ve-Exit<Tab>:wqa 저장하고\ 끝내기(&v)<Tab>:wqa
|
||||
menutrans E&xit<Tab>:qa 끝내기(&x)<Tab>:qa
|
||||
@@ -62,8 +62,8 @@ menutrans Startup\ &Settings 시작\ 설정(&S)
|
||||
" Edit/Global Settings
|
||||
menutrans &Global\ Settings 전역\ 설정(&G)
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! 패턴\ 하이라이트\ 토글(&H)<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! 대소문자\ 구분\ 토글(&I)<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Showmatch\ 토글(&S)<Tab>:set\ sm!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! 대소문자\ 구분\ 토글(&I)<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Showmatch\ 토글(&S)<Tab>:set\ sm!
|
||||
menutrans &Context\ lines 콘텍스트\ 줄(&C)
|
||||
menutrans &Virtual\ Edit 가상\ 편집(&V)
|
||||
menutrans Never 사용\ 안\ 함
|
||||
@@ -72,7 +72,7 @@ menutrans Insert\ mode 삽입\ 모드
|
||||
menutrans Block\ and\ Insert 블럭과\ 삽입
|
||||
menutrans Always 항상\ 사용
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! 삽입\ 모드\ 토글(&M)<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Vi\ 호환\ 토글(&o)<Tab>:set\ cp!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Vi\ 호환\ 토글(&o)<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. 찾기\ 경로(&P)\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. 꼬리표\ 파일(&g)\.\.\.
|
||||
|
||||
@@ -141,14 +141,14 @@ menutrans M&anual 수동(&a)
|
||||
menutrans I&ndent 들여쓰기(&n)
|
||||
menutrans E&xpression 표현식(&x)
|
||||
menutrans S&yntax 신택스(&y)
|
||||
"menutrans &Diff &Diff
|
||||
menutrans &Diff 차이점
|
||||
menutrans Ma&rker 꼬리표(&r)
|
||||
" create and delete folds
|
||||
menutrans Create\ &Fold<Tab>zf 접기\ 생성(&F)<Tab>zf
|
||||
menutrans &Delete\ Fold<Tab>zd 접기\ 삭제(&D)<Tab>zd
|
||||
menutrans Delete\ &All\ Folds<Tab>zD 모든\ 접기\ 삭제(&A)<Tab>zD
|
||||
" moving around in folds
|
||||
menutrans Fold\ column\ &width 접기\ 컬럼\ 너비(&w)
|
||||
menutrans Fold\ col&umn\ width 접기\ 컬럼\ 너비(&w)
|
||||
|
||||
"menutrans &Diff &Diff
|
||||
menutrans &Update 갱신(&U)
|
||||
@@ -261,6 +261,13 @@ menutrans on/off\ for\ &This\ file 이\ 파일만\ 켜기/끄기(&T)
|
||||
menutrans Co&lor\ test 색\ 시험(&l)
|
||||
menutrans &Highlight\ test Highlight\ 시험(&H)
|
||||
menutrans &Convert\ to\ HTML HTML로\ 변환(&C)
|
||||
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Toggle\ 상대\ 줄\ 번호\ 매기기<Tab>:set\ nru!
|
||||
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! 줄\ 바꿈\ 전환<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! Toggle\ Word에서\ 줄\ 바꿈<Tab>:set\ lbr!
|
||||
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! 탭\ 확장\ 전환<Tab>:set\ et!
|
||||
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! 자동\ 들여쓰기\ 전환<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! C\ 스타일\ 들여쓰기\ 전환<Tab>:set\ cin!
|
||||
menutrans &Show\ File\ Types\ in\ menu 메뉴에\ 파일\ 형식\ 표시
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Nederlands
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2023 Aug 13
|
||||
" Last Change: 2024 May 2
|
||||
" Original translations
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
@@ -24,8 +24,8 @@ menutrans &User\ Manual Gebruikershandleiding
|
||||
menutrans &How-to\ links &Hoe-doe-ik\ lijst
|
||||
"menutrans &GUI &GUI
|
||||
menutrans &Credits &Met\ dank\ aan
|
||||
menutrans Co&pying &Copyright
|
||||
menutrans &Sponsor/Register &Sponsor/Registreer
|
||||
menutrans Co&pying Auteursrechten
|
||||
menutrans &Sponsor/Register Sponsoren/inschrijven
|
||||
menutrans O&rphans &Weeskinderen
|
||||
menutrans &Version &Versie
|
||||
menutrans &About &Introductiescherm
|
||||
@@ -69,8 +69,8 @@ menutrans &Keymap Toetsenbordindeling
|
||||
|
||||
" Edit.Global Settings
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Flip\ Patroonkleuring<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Flip\ Negeren\ hoofd/kleine\ letters<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Flip\ Showmatch<Tab>:set\ sm!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! Flip\ Negeren\ hoofd/kleine\ letters<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Flip\ Showmatch<Tab>:set\ sm!
|
||||
menutrans &Context\ lines Contextregels
|
||||
menutrans &Virtual\ Edit Virtueel\ positioneren
|
||||
menutrans Never Nooit
|
||||
@@ -79,7 +79,7 @@ menutrans Insert\ mode In\ Invoegmode
|
||||
menutrans Block\ and\ Insert Bij\ Blokselectie\ en\ Invoegmode
|
||||
menutrans Always Altijd
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Flip\ Invoegmode<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Flip\ Vi\ Compatibiliteit<Tab>:set\ cp!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Flip\ Vi\ Compatibiliteit<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. Zoekpad\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Tag\ Bestanden\.\.\.
|
||||
menutrans Toggle\ &Toolbar Toon/verberg\ Knoppenbalk
|
||||
@@ -117,7 +117,7 @@ menutrans &Open<Tab>:copen &Openen<Tab>:copen
|
||||
menutrans &Close<Tab>:cclose &Sluiten<Tab>:cclose
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd Converteer\ naar\ HEX<Tab>:%!xxd
|
||||
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Converteer\ terug<Tab>:%!xxd\ -r
|
||||
menutrans &Set\ Compiler Kies\ Compiler
|
||||
menutrans Se&T\ Compiler Kies\ Compiler
|
||||
|
||||
" Tools.Folding
|
||||
menutrans &Enable/Disable\ folds<Tab>zi Flip\ tonen\ folds<Tab>zi
|
||||
@@ -131,13 +131,13 @@ menutrans Fold\ Met&hod Foldwijze
|
||||
menutrans M&anual Handmatig
|
||||
menutrans I&ndent Inspringing
|
||||
menutrans E&xpression Expressie
|
||||
menutrans S&yntax Syntax
|
||||
menutrans S&yntax Syntaxis
|
||||
menutrans &Diff Verschillen
|
||||
menutrans Ma&rker Markeringen
|
||||
menutrans Create\ &Fold<Tab>zf maak\ Fold<Tab>zf
|
||||
menutrans &Delete\ Fold<Tab>zd verwijder\ Fold<Tab>zd
|
||||
menutrans Delete\ &All\ Folds<Tab>zD verwijder\ alle\ Folds<Tab>zD
|
||||
menutrans Fold\ column\ &width Fold\ kolom\ breedte
|
||||
menutrans Fold\ col&umn\ width Fold\ kolom\ breedte
|
||||
|
||||
" Tools.Diff
|
||||
menutrans &Update Verversen
|
||||
@@ -221,7 +221,7 @@ if has("toolbar")
|
||||
endif
|
||||
|
||||
" Syntax menu
|
||||
menutrans &Syntax &Syntax
|
||||
menutrans &Syntax &Syntaxis
|
||||
menutrans &Show\ filetypes\ in\ menu Toon\ filetypes\ in\ menu
|
||||
menutrans Set\ '&syntax'\ only Alleen\ 'syntax'\ wijzigen
|
||||
menutrans Set\ '&filetype'\ too Ook\ 'filetype'\ wijzigen
|
||||
@@ -241,6 +241,34 @@ let g:menutrans_path_dialog = "Typ het zoekpad voor bestanden.\nGebruik commas t
|
||||
let g:menutrans_tags_dialog = "Typ namen van tag bestanden.\nGebruik commas tussen de namen."
|
||||
let g:menutrans_textwidth_dialog = "Typ de nieuwe tekst breedte (0 om formatteren uit the schakelen): "
|
||||
let g:menutrans_fileformat_dialog = "Selecteer formaat voor het schrijven van het bestand"
|
||||
menutrans Open\ &Tab\.\.\.<Tab>:tabnew Tabblad\ openen\.\.\.<Tab>:tabnew
|
||||
menutrans Startup\ &Settings Opstartinstellingen
|
||||
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Schakel\ Relatieve\ lijnnummering\ in\ of\ uit<Tab>:set\ nru!
|
||||
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! Schakel\ Regelterugloop\ in\ of\ uit<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! Schakel\ terugloop\ bij\ Word\ in\ of\ uit<Tab>:set\ lbr!
|
||||
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! Schakel\ het\ uitbreiden\ van\ tabbladen\ in\ of\ uit<Tab>:set\ et!
|
||||
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Schakel\ Automatisch\ inspringen\ in<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Schakel\ Inspringen\ in\ C-stijl\ in\ of\ uit<Tab>:set\ cin!
|
||||
menutrans &Shiftwidth Verschuivingsbreedte
|
||||
menutrans Soft\ &Tabstop Zachte\ tabstop
|
||||
menutrans &Spelling Spelling
|
||||
menutrans &Spell\ Check\ On Spellingcontrole\ ingeschakeld
|
||||
menutrans Spell\ Check\ &Off Spellingcontrole\ uitgeschakeld
|
||||
menutrans To\ &Next\ error<Tab>]s Naar\ volgende\ fout<Tab>]s
|
||||
menutrans To\ &Previous\ error<Tab>[s Naar\ vorige\ fout<Tab>[s
|
||||
menutrans Suggest\ &Corrections<Tab>z= Correcties\ voorstellen<Tab>z=
|
||||
menutrans &Repeat\ correction<Tab>:spellrepall Herhaal\ correctie<Tab>:spellrepall
|
||||
"-------------------
|
||||
menutrans Set\ language\ to\ "en" Taal\ instellen\ op\ "en"
|
||||
menutrans Set\ language\ to\ "en_au" Taal\ instellen\ op\ "en_au"
|
||||
menutrans Set\ language\ to\ "en_ca" Taal\ instellen\ op\ "en_ca"
|
||||
menutrans Set\ language\ to\ "en_gb" Taal\ instellen\ op\ "en_gb"
|
||||
menutrans Set\ language\ to\ "en_nz" Taal\ instellen\ op\ "en_nz"
|
||||
menutrans Set\ language\ to\ "en_us" Taal\ instellen\ op\ "en_us"
|
||||
menutrans &Find\ More\ Languages Vind\ meer\ talen
|
||||
let g:menutrans_set_lang_to = 'Taal instellen op'
|
||||
menutrans &Folding Vouwen
|
||||
menutrans &Show\ File\ Types\ in\ menu Bestandstypen\ weergeven\ in\ het\ menu
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
@@ -1,290 +1 @@
|
||||
" Menu Translations: Português do Brasil
|
||||
" Maintainer: José de Paula <jose@infoviaweb.com>
|
||||
" Last Change: 2020 Apr 23
|
||||
" Original translations
|
||||
|
||||
" 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
|
||||
|
||||
" Translations in latin1 (ISO-8859-1), and should work in
|
||||
" latin9 (ISO-8859-15)
|
||||
|
||||
if &enc != "cp1252" && &enc != "iso-8859-15"
|
||||
scriptencoding latin1
|
||||
endif
|
||||
|
||||
" Help menu
|
||||
menutrans &Help A&juda
|
||||
menutrans &Overview<Tab><F1> &Conteúdo
|
||||
menutrans &User\ Manual &Manual\ do\ Usuário
|
||||
menutrans &How-to\ links &Como\ fazer?
|
||||
menutrans &Find\.\.\. &Procurar\.\.\.
|
||||
menutrans &Credits &Créditos
|
||||
menutrans O&rphans &Órfãos
|
||||
menutrans Co&pying &Licença
|
||||
menutrans &Sponsor/Register &Doar/Registrar
|
||||
menutrans &Version &Versão
|
||||
menutrans &About &Sobre
|
||||
|
||||
" File menu
|
||||
menutrans &File &Arquivo
|
||||
menutrans &Open\.\.\.<Tab>:e A&brir\.\.\.<Tab>:e
|
||||
menutrans Sp&lit-Open\.\.\.<Tab>:sp Ab&rir\ em\ outra\ janela\.\.\.<Tab>:sp
|
||||
menutrans &New<Tab>:enew &Novo<Tab>:enew
|
||||
menutrans &Close<Tab>:close &Fechar<Tab>:close
|
||||
menutrans &Save<Tab>:w &Salvar<Tab>:w
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav Sa&lvar\ como\.\.\.<Tab>:sav
|
||||
menutrans Split\ &Diff\ with\.\.\. &Exibir\ diferenças\ com\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. Ex&ibir\ patcheado\ por\.\.\.
|
||||
menutrans &Print I&mprimir
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Sal&var\ e\ sair<Tab>:wqa
|
||||
menutrans E&xit<Tab>:qa Sai&r<Tab>:qa
|
||||
|
||||
" Edit menu
|
||||
menutrans &Edit &Editar
|
||||
menutrans &Undo<Tab>u &Desfazer<Tab>u
|
||||
menutrans &Redo<Tab>^R &Refazer<Tab>u
|
||||
menutrans Rep&eat<Tab>\. Repe&tir<Tab>\.
|
||||
menutrans Cu&t<Tab>"+x Re&cortar<Tab>"+x
|
||||
menutrans &Copy<Tab>"+y Cop&iar<Tab>"+y
|
||||
menutrans &Paste<Tab>"+gP C&olar<Tab>"+gP
|
||||
menutrans Put\ &Before<Tab>[p Colocar\ &antes<Tab>[p
|
||||
menutrans Put\ &After<Tab>]p Colocar\ &depois<Tab>]p
|
||||
menutrans &Select\ all<Tab>ggVG &Selecionar\ tudo<Tab>ggVG
|
||||
menutrans &Find\.\.\. &Procurar\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\. Procurar\ e\ substit&uir\.\.\.
|
||||
menutrans Find\ and\ Rep&lace<Tab>:%s Procurar\ e\ substit&uir<Tab>:%s
|
||||
menutrans Find\ and\ Rep&lace Procurar\ e\ substit&uir
|
||||
menutrans Find\ and\ Rep&lace<Tab>:s Procurar\ e\ substituir<Tab>:s
|
||||
menutrans Settings\ &Window &Opções
|
||||
menutrans Startup\ &Settings &Inicialização
|
||||
|
||||
" Edit/Global Settings
|
||||
menutrans &Global\ Settings Opções\ &Globais
|
||||
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Ativar/Desativar\ &Realce\ de\ Padrões<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Ativar/Desativar\ &Ignorar\ maiúsculas<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Ativar/Desativar\ &coincidências<Tab>:set\ sm!
|
||||
|
||||
menutrans &Context\ lines Linhas\ de\ C&ontexto
|
||||
|
||||
menutrans &Virtual\ Edit Edição\ &Virtual
|
||||
menutrans Never Nunca
|
||||
menutrans Block\ Selection Seleção\ de\ Bloco
|
||||
menutrans Insert\ mode Modo\ de\ inserção
|
||||
menutrans Block\ and\ Insert Bloco\ e\ inserção
|
||||
menutrans Always Sempre
|
||||
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Ativar/Desativar\ Modo\ de\ In&serção<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Ativar/Desativar\ Co&mpatibilidade\ com\ Vi<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. Camin&ho\ de\ Busca\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Arquivos\ de\ Tags\.\.\.
|
||||
|
||||
" GUI options
|
||||
menutrans Toggle\ &Toolbar Ocultar/Exibir\ Barra\ de\ &Ferramentas
|
||||
menutrans Toggle\ &Bottom\ Scrollbar Ocultar/Exibir\ Barra\ de\ &Rolagem\ Inferior
|
||||
menutrans Toggle\ &Left\ Scrollbar Ocultar/Exibir\ Barra\ de\ R&olagem\ Esquerda
|
||||
menutrans Toggle\ &Right\ Scrollbar Ocultar/Exibir\ Barra\ de\ Ro&lagem\ Direita
|
||||
let g:menutrans_path_dialog = "Indique um caminho de procura para os arquivos.\nSepare os nomes dos diretórios com uma vírgula."
|
||||
let g:menutrans_tags_dialog = "Indique os nomes dos arquivos de tags.\nSepare os nomes com uma vírgula."
|
||||
|
||||
" Edit/File Settings
|
||||
menutrans F&ile\ Settings Opções\ do\ &Arquivo
|
||||
|
||||
" Boolean options
|
||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Ativar/Desativar\ &numeração\ de\ linhas<Tab>:set\ nu!
|
||||
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Ativar/Desativar\ modo\ &list<Tab>:set\ list!
|
||||
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Ativar/Desativar\ &quebra\ de\ linhas<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Ativar/Desativar\ quebra\ na\ &palavra<Tab>:set\ lbr!
|
||||
menutrans Toggle\ &expand-tab<Tab>:set\ et! Ativar/Desativar\ expansão\ de\ tabs<Tab>:set\ et!
|
||||
menutrans Toggle\ &auto-indent<Tab>:set\ ai! Ativar/Desativar\ &auto-indentação<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-indenting<Tab>:set\ cin! Ativar/Desativar\ indentação\ estilo\ &C<Tab>:set\ cin!
|
||||
|
||||
" other options
|
||||
menutrans &Shiftwidth Largura\ da\ &indentação
|
||||
|
||||
menutrans Soft\ &Tabstop &Tabulação\ com\ espaços
|
||||
|
||||
menutrans Te&xt\ Width\.\.\. Largura\ do\ te&xto\.\.\.
|
||||
let g:menutrans_textwidth_dialog = "Digite a nova largura do texto (0 para desativar a formatação): "
|
||||
|
||||
menutrans &File\ Format\.\.\. &Formato\ do\ arquivo\.\.\.
|
||||
let g:menutrans_fileformat_dialog = "Selecione o formato para gravar o arquivo"
|
||||
|
||||
menutrans C&olor\ Scheme Esquema\ de\ c&ores
|
||||
menutrans default padrão
|
||||
|
||||
menutrans Select\ Fo&nt\.\.\. Selecionar\ fo&nte\.\.\.
|
||||
|
||||
menutrans &Keymap &Mapa\ de\ teclado
|
||||
menutrans None Nenhum
|
||||
|
||||
" Programming menu
|
||||
menutrans &Tools &Ferramentas
|
||||
menutrans &Jump\ to\ this\ tag<Tab>g^] &Pular\ para\ este\ tag<Tab>g^]
|
||||
menutrans Jump\ &back<Tab>^T &Voltar<Tab>^T
|
||||
menutrans Build\ &Tags\ File &Construir\ Arquivo\ de\ tags
|
||||
menutrans &Spelling &Ortografia
|
||||
menutrans &Folding &Dobra
|
||||
menutrans &Make<Tab>:make &Make<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl &Lista\ de\ erros<Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! Li&sta\ de\ mensagens<Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn P&róximo\ erro<Tab>:cn
|
||||
menutrans &Previous\ Error<Tab>:cp &Erro\ anterior<Tab>:cp
|
||||
menutrans &Older\ List<Tab>:cold Listar\ erros\ &antigos<Tab>:cold
|
||||
menutrans N&ewer\ List<Tab>:cnew Listar\ erros\ &novos<Tab>:cnew
|
||||
menutrans Error\ &Window &Janela\ de\ erros
|
||||
menutrans Se&T\ Compiler Def&inir\ Compilador
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd Converter\ para\ hexadecimal<Tab>:%!xxd
|
||||
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Conver&ter\ de\ volta<Tab>:%!xxd\ -r
|
||||
|
||||
" Tools.Spelling menu
|
||||
menutrans &Spell\ Check\ On &Ativar\ Correção\ Ortográfica
|
||||
menutrans &Spell\ Check\ Off &Desativar\ Correção\ Ortográfica
|
||||
menutrans To\ &Next\ error<Tab>]s &Próximo\ Erro<Tab>]s
|
||||
menutrans To\ &Previous\ Error<Tab>[s Erro\ A&nterior<Tab>[s
|
||||
menutrans Suggest\ &Corrections<Tab>z= &Sugerir\ Correções<Tab>z=
|
||||
menutrans &Repeat\ correction<Tab>:spellrepall &Repetir\ Correção<Tab>:spellrepall
|
||||
|
||||
menutrans Set\ language\ to\ "en" Inglês
|
||||
menutrans Set\ language\ to\ "en_au" Inglês\ (en_au)
|
||||
menutrans Set\ language\ to\ "en_ca" Inglês\ (en_ca)
|
||||
menutrans Set\ language\ to\ "en_gb" Inglês\ (en_gb)
|
||||
menutrans Set\ language\ to\ "en_nz" Inglês\ (en_nz)
|
||||
menutrans Set\ language\ to\ "en_us" Inglês\ (en_us)
|
||||
|
||||
menutrans &Find\ More\ Languages &Buscar\ mais\ idiomas
|
||||
|
||||
" Tools.Fold Menu
|
||||
menutrans &Enable/Disable\ folds<Tab>zi &Ativar/Desativar\ dobras<Tab>zi
|
||||
menutrans &View\ Cursor\ Line<Tab>zv &Ver\ linha\ do\ cursor<Tab>zv
|
||||
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Ve&r\ somente\ linha\ do\ cursor<Tab>zMzx
|
||||
menutrans C&lose\ more\ folds<Tab>zm &Fechar\ mais\ dobras<Tab>zm
|
||||
menutrans &Close\ all\ folds<Tab>zM F&echar\ todas\ as\ dobras<Tab>zM
|
||||
menutrans O&pen\ more\ folds<Tab>zr A&brir\ mais\ dobras<Tab>zr
|
||||
menutrans &Open\ all\ folds<Tab>zR Abr&ir\ todas\ as\ dobras<Tab>zR
|
||||
" fold method
|
||||
menutrans Fold\ Met&hod &Modo\ de\ dobras
|
||||
menutrans Create\ &Fold<Tab>zf Criar\ &dobras<Tab>zf
|
||||
menutrans &Delete\ Fold<Tab>zd Remover\ d&obras<Tab>zd
|
||||
menutrans Delete\ &All\ Folds<Tab>zD Remover\ &todas\ as\ dobras<Tab>zD
|
||||
" moving around in folds
|
||||
menutrans Fold\ col&umn\ width &Largura\ da\ coluna\ da\ dobra
|
||||
|
||||
" Tools.Diff Menu
|
||||
menutrans &Update &Atualizar
|
||||
menutrans &Get\ Block &Obter\ Bloco
|
||||
menutrans &Put\ Block &Pôr\ Bloco
|
||||
|
||||
" Tools.Error Menu
|
||||
menutrans &Update<Tab>:cwin &Atualizar<Tab>:cwin
|
||||
menutrans &Open<Tab>:copen A&brir<Tab>:copen
|
||||
menutrans &Close<Tab>:cclose &Fechar<Tab>:cclose
|
||||
|
||||
" Names for buffer menu.
|
||||
menutrans &Buffers &Buffers
|
||||
menutrans &Refresh\ menu A&tualizar\ menu
|
||||
menutrans &Delete &Apagar
|
||||
menutrans &Alternate A<ernar
|
||||
menutrans &Next P&róximo
|
||||
menutrans &Previous A&nterior
|
||||
let g:menutrans_no_file = "[Sem arquivos]"
|
||||
|
||||
" Window menu
|
||||
menutrans &Window &Janela
|
||||
menutrans &New<Tab>^Wn N&ova<Tab>^Wn
|
||||
menutrans S&plit<Tab>^Ws &Dividir<Tab>^Ws
|
||||
menutrans Sp&lit\ To\ #<Tab>^W^^ D&ividir\ para\ #<Tab>^W^^
|
||||
menutrans Split\ &Vertically<Tab>^Wv Dividir\ &verticalmente<Tab>^Wv
|
||||
menutrans Split\ File\ E&xplorer &Abrir\ Gerenciador\ de\ arquivos
|
||||
menutrans &Close<Tab>^Wc &Fechar<Tab>^Wc
|
||||
menutrans Close\ &Other(s)<Tab>^Wo Fechar\ &outra(s)<Tab>^Wo
|
||||
menutrans Move\ &To Mover\ ¶
|
||||
menutrans &Top<Tab>^WK A&cima<Tab>^WK
|
||||
menutrans &Bottom<Tab>^WJ A&baixo<Tab>^WJ
|
||||
menutrans &Left\ side<Tab>^WH Lado\ &esquerdo<Tab>^WH
|
||||
menutrans &Right\ side<Tab>^WL Lado\ di&reito<Tab>^WL
|
||||
menutrans Rotate\ &Up<Tab>^WR &Girar\ para\ cima<Tab>^WR
|
||||
menutrans Rotate\ &Down<Tab>^Wr Girar\ para\ bai&xo<Tab>^Wr
|
||||
menutrans &Equal\ Size<Tab>^W= Mesmo\ &Tamanho<Tab>^W=
|
||||
menutrans &Max\ Height<Tab>^W_ Altura\ &Máxima<Tab>^W_
|
||||
menutrans M&in\ Height<Tab>^W1_ A<ura\ Mínima<Tab>^W1_
|
||||
menutrans Max\ &Width<Tab>^W\| Larg&ura\ Máxima<Tab>^W\|
|
||||
menutrans Min\ Widt&h<Tab>^W1\| Largura\ Mí&nima<Tab>^W1\|
|
||||
|
||||
" The popup menu
|
||||
menutrans &Undo &Desfazer
|
||||
menutrans Cu&t Recor&tar
|
||||
menutrans &Copy &Copiar
|
||||
menutrans &Paste Co&lar
|
||||
menutrans &Delete &Apagar
|
||||
menutrans Select\ Blockwise Seleção\ de\ bloco
|
||||
menutrans Select\ &Word Selecionar\ &Palavra
|
||||
menutrans Select\ &Line Selecionar\ L&inha
|
||||
menutrans Select\ &All Selecionar\ T&udo
|
||||
|
||||
" The GUI toolbar
|
||||
if has("toolbar")
|
||||
if exists("*Do_toolbar_tmenu")
|
||||
delfun Do_toolbar_tmenu
|
||||
endif
|
||||
fun Do_toolbar_tmenu()
|
||||
tmenu ToolBar.Open Abrir Arquivo
|
||||
tmenu ToolBar.Save Salvar Arquivo
|
||||
tmenu ToolBar.SaveAll Salvar Todos os arquivos
|
||||
tmenu ToolBar.Print Imprimir
|
||||
tmenu ToolBar.Undo Desfazer
|
||||
tmenu ToolBar.Redo Refazer
|
||||
tmenu ToolBar.Cut Recortar
|
||||
tmenu ToolBar.Copy Copiar
|
||||
tmenu ToolBar.Paste Colar
|
||||
tmenu ToolBar.Find Procurar...
|
||||
tmenu ToolBar.FindNext Procurar Próximo
|
||||
tmenu ToolBar.FindPrev Procurar Anterior
|
||||
tmenu ToolBar.Replace Procurar e Substituir
|
||||
if 0 " disable; these are in the Windoze menu
|
||||
tmenu ToolBar.New Nova Janela
|
||||
tmenu ToolBar.WinSplit Dividir Janela
|
||||
tmenu ToolBar.WinMax Janela Máxima
|
||||
tmenu ToolBar.WinMin Janela Mínima
|
||||
tmenu ToolBar.WinVSplit Dividir Verticalmente
|
||||
tmenu ToolBar.WinMaxWidth Largura Máxima
|
||||
tmenu ToolBar.WinMinWidth Largura Mínima
|
||||
tmenu ToolBar.WinClose Fechar Janela
|
||||
endif
|
||||
tmenu ToolBar.LoadSesn Carregar Sessão
|
||||
tmenu ToolBar.SaveSesn Salvar Sessão
|
||||
tmenu ToolBar.RunScript Executar script
|
||||
tmenu ToolBar.Make Make
|
||||
tmenu ToolBar.Shell Abrir um shell
|
||||
tmenu ToolBar.RunCtags Gerar um arquivo de tags
|
||||
tmenu ToolBar.TagJump Saltar para um tag
|
||||
tmenu ToolBar.Help Ajuda
|
||||
tmenu ToolBar.FindHelp Procurar na Ajuda
|
||||
endfun
|
||||
endif
|
||||
|
||||
" Syntax menu
|
||||
menutrans &Syntax &Sintaxe
|
||||
"menutrans &Show\ individual\ choices E&xibir\ escolhas\ individuais
|
||||
menutrans &Show\ filetypes\ in\ menu E&xibir\ tipos\ de\ arquivos\ no\ menu
|
||||
menutrans Set\ '&syntax'\ only Ativar\ somente\ s&intaxe
|
||||
menutrans Set\ '&filetype'\ too Ativar\ também\ &tipo\ de\ arquivo
|
||||
menutrans &Off &Desativar
|
||||
menutrans &Manual &Manual
|
||||
menutrans A&utomatic A&utomática
|
||||
menutrans on/off\ for\ &This\ file Ativar/Desativar\ neste\ &arquivo
|
||||
menutrans Co&lor\ test T&este\ de\ cores
|
||||
menutrans &Highlight\ test Teste\ de\ &realce
|
||||
menutrans &Convert\ to\ HTML &Converter\ para\ HTML
|
||||
|
||||
" Find Help dialog text
|
||||
let g:menutrans_help_dialog = "Digite um comando ou palavra para obter ajuda;\n\nAnteponha i_ para comandos de entrada (ex.: i_CTRL-X)\nAnteponha c_ para comandos da linha de comandos (ex.: c_<Del>)\nAnteponha ` para um nome de opção (ex.: `shiftwidth`)"
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
source <sfile>:p:h/menu_pt_pt.vim
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
" Menu Translations: Português
|
||||
" adaptado de pt_br.
|
||||
" Maintainer: Duarte Henriques <duarte_henriques@myrealbox.com>
|
||||
" Last Change: 2024 May 2
|
||||
" Original translations
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
@@ -66,8 +67,8 @@ menutrans Settings\ &Window Op&
|
||||
menutrans &Global\ Settings Opções\ &Globais
|
||||
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Activar/Desactivar\ &Realce\ de\ Padrões<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Activar/Desactivar\ &Ignorar\ maiúsculas<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Activar/Desactivar\ &coincidências<Tab>:set\ sm!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! Activar/Desactivar\ &Ignorar\ maiúsculas<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Activar/Desactivar\ &coincidências<Tab>:set\ sm!
|
||||
|
||||
menutrans &Context\ lines Linhas\ de\ C&ontexto
|
||||
|
||||
@@ -79,7 +80,7 @@ menutrans Block\ and\ Insert Bloco\ e\ inser
|
||||
menutrans Always Sempre
|
||||
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Activar/Desactivar\ Modo\ de\ In&serção<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Activar/Desactivar\ Co&mpatibilidade\ com\ Vi<Tab>:set\ cp!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Activar/Desactivar\ Co&mpatibilidade\ com\ Vi<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. Camin&ho\ de\ Busca\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Arquivos\ de\ Tags\.\.\.
|
||||
|
||||
@@ -128,7 +129,7 @@ menutrans &Jump\ to\ this\ tag<Tab>g^] Saltar\ para\ esta\ &tag<Tab>g^]
|
||||
menutrans Jump\ &back<Tab>^T &Voltar<Tab>^T
|
||||
menutrans Build\ &Tags\ File &Construir\ Arquivo\ de\ tags
|
||||
menutrans &Folding &Dobra
|
||||
menutrans &Make<Tab>:make &Make<Tab>:make
|
||||
menutrans &Make<Tab>:make Fazer<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl &Lista\ de\ erros<Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! Li&sta\ de\ mensagens<Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn P&róximo\ erro<Tab>:cn
|
||||
@@ -136,7 +137,7 @@ menutrans &Previous\ Error<Tab>:cp &Erro\ anterior<Tab>:cp
|
||||
menutrans &Older\ List<Tab>:cold Listar\ erros\ &antigos<Tab>:cold
|
||||
menutrans N&ewer\ List<Tab>:cnew Listar\ erros\ &novos<Tab>:cnew
|
||||
menutrans Error\ &Window &Janela\ de\ erros
|
||||
menutrans &Set\ Compiler Def&inir\ Compilador
|
||||
menutrans Se&T\ Compiler Def&inir\ Compilador
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd Converter\ para\ hexadecimal<Tab>:%!xxd
|
||||
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Conver&ter\ de\ volta<Tab>:%!xxd\ -r
|
||||
|
||||
@@ -265,6 +266,38 @@ menutrans &Convert\ to\ HTML &Converter\ para\ HTML
|
||||
|
||||
" Find Help dialog text
|
||||
let g:menutrans_help_dialog = "Digite um comando ou palavra para obter ajuda;\n\nAnteponha i_ para comandos de entrada (ex.: i_CTRL-X)\nAnteponha c_ para comandos da linha de comandos (ex.: c_<Del>)\nAnteponha ` para um nome de opção (ex.: `shiftwidth`)"
|
||||
menutrans Open\ &Tab\.\.\.<Tab>:tabnew Aba\ aberta\.\.\.<Tab>:tabnew
|
||||
menutrans Startup\ &Settings Configurações\ de\ inicialização
|
||||
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Numeração\ relativa\ de\ linha<Tab>:set\ nru!
|
||||
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! Quebra\ de\ linha<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! Envolvendo\ a\ palavra<Tab>:set\ lbr!
|
||||
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! Gastos\ de\ tabulação<Tab>:set\ et!
|
||||
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Recuo\ automático<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Recuo\ estilo\ C<Tab>:set\ cin!
|
||||
menutrans &Spelling Ortografia
|
||||
menutrans &Spell\ Check\ On Correção\ ortográfica\ ativada
|
||||
menutrans Spell\ Check\ &Off Correção\ ortográfica\ desativada
|
||||
menutrans To\ &Next\ error<Tab>]s Próximo\ erro<Tab>]s
|
||||
menutrans To\ &Previous\ error<Tab>[s erro\ anterior<Tab>[s
|
||||
menutrans Suggest\ &Corrections<Tab>z= Sugerir\ correções<Tab>z=
|
||||
menutrans &Repeat\ correction<Tab>:spellrepall repetir\ correção<Tab>:spellrepall
|
||||
"-------------------
|
||||
menutrans Set\ language\ to\ "en" Definir\ idioma\ para\ "en"
|
||||
menutrans Set\ language\ to\ "en_au" Definir\ idioma\ para\ "en_au"
|
||||
menutrans Set\ language\ to\ "en_ca" Definir\ idioma\ para\ "en_ca"
|
||||
menutrans Set\ language\ to\ "en_gb" Definir\ idioma\ para\ "en_gb"
|
||||
menutrans Set\ language\ to\ "en_nz" Definir\ idioma\ para\ "en_nz"
|
||||
menutrans Set\ language\ to\ "en_us" Definir\ idioma\ para\ "en_us"
|
||||
menutrans &Find\ More\ Languages Encontre\ mais\ idiomas
|
||||
let g:menutrans_set_lang_to = 'Definir idioma para'
|
||||
menutrans M&anual Manual
|
||||
menutrans I&ndent Recuar
|
||||
menutrans E&xpression Expressão
|
||||
menutrans S&yntax Sintaxe
|
||||
menutrans &Diff Diferença
|
||||
menutrans Ma&rker Marcador
|
||||
menutrans &Show\ File\ Types\ in\ menu Mostrar\ tipos\ de\ arquivo\ no\ menu
|
||||
menutrans &Sponsor/Register Patrocinador/Registro
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Menu Translations: Slovenian / Slovensko
|
||||
" Maintainer: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
|
||||
" Originally By: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
|
||||
" Last Change: 2020 Apr 23
|
||||
" Last Change: 2024 May 2
|
||||
" vim:set foldmethod=marker tabstop=8:
|
||||
" Original translations
|
||||
|
||||
@@ -57,8 +57,8 @@ menutrans Startup\ &Settings Začetne\ nastavitve
|
||||
menutrans &Global\ Settings &Globalne\ nastavitve
|
||||
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Vključi/izključi\ poudarjanje\ iskanega\ niza<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Vključi/izključi\ ločevanje\ velikih\ in\ malih\ črk<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Vključi/izključi\ kratek\ skok\ na\ pripadajoči\ oklepaj<Tab>:set\ sm!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! Vključi/izključi\ ločevanje\ velikih\ in\ malih\ črk<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Vključi/izključi\ kratek\ skok\ na\ pripadajoči\ oklepaj<Tab>:set\ sm!
|
||||
|
||||
menutrans &Context\ lines Št\.\ vidnih\ vrstic\ pred/za\ kurzorjem
|
||||
|
||||
@@ -69,7 +69,7 @@ menutrans Insert\ mode Le\ v\ načinu\ za\ pisanje
|
||||
menutrans Block\ and\ Insert Pri\ obojem
|
||||
menutrans Always Vedno
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Vključi/izključi\ način\ za\ pisanje<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Vključi/izključi\ združljivost\ z\ Vi-jem<Tab>:set\ cp!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Vključi/izključi\ združljivost\ z\ Vi-jem<Tab>:set\ cp!
|
||||
|
||||
menutrans Search\ &Path\.\.\. Pot\ za\ iskanje\ \.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Ta&g-datoteke\.\.\.
|
||||
@@ -149,7 +149,7 @@ if has("folding")
|
||||
menutrans &Delete\ Fold<Tab>zd Izbriši\ zavihek<Tab>zd
|
||||
menutrans Delete\ &All\ Folds<Tab>zD Izbriši\ vse\ zavihke<Tab>zD
|
||||
" moving around in folds
|
||||
menutrans Fold\ column\ &width Širina\ stolpca\ z\ zavihkom
|
||||
menutrans Fold\ col&umn\ width Širina\ stolpca\ z\ zavihkom
|
||||
endif " has folding
|
||||
|
||||
if has("diff")
|
||||
@@ -295,6 +295,13 @@ let g:menutrans_textwidth_dialog = "Vnesite novo širino besedila (ali 0 za izkl
|
||||
let g:menutrans_fileformat_dialog = "Izberite format datoteke"
|
||||
let g:menutrans_fileformat_choices = "&Unix\n&Dos\n&Mac\n&Prekliči"
|
||||
" }}}
|
||||
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! relativno\ številčenje\ vrstic<Tab>:set\ nru!
|
||||
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! ovijanje\ vrstic<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! zavijanje\ v\ besedo<Tab>:set\ lbr!
|
||||
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! razpredelnica\ se\ širi<Tab>:set\ et!
|
||||
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Samodejno\ zamikanje<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Zamik\ v\ slogu\ C<Tab>:set\ cin!
|
||||
menutrans &Show\ File\ Types\ in\ menu Prikaži\ vrste\ datotek\ v\ meniju
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Slovak
|
||||
" Translated By: Martin Lacko <lacko@host.sk>
|
||||
" Last Change: 2020 Apr 23
|
||||
" Last Change: 2024 May 2
|
||||
" Original translations
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
@@ -56,8 +56,8 @@ menutrans Find\ and\ Rep&lace\.\.\. N&ahradi
|
||||
menutrans Settings\ &Window Mo&žnosti
|
||||
menutrans &Global\ Settings &Globálne\ možnosti
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Prepnú<EFBFBD>\ paletu\ zvýrazòovania<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Prepnú<EFBFBD>\ &ignorovanie\ ve¾kosti<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Prepnú<EFBFBD>\ &ukáza<EFBFBD>\ zhodu<Tab>:set\ sm!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! Prepnú<EFBFBD>\ &ignorovanie\ ve¾kosti<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Prepnú<EFBFBD>\ &ukáza<EFBFBD>\ zhodu<Tab>:set\ sm!
|
||||
menutrans &Context\ lines &Kontextové\ riadky
|
||||
menutrans &Virtual\ Edit &Virtuálne\ úpravy
|
||||
menutrans Never Nikdy
|
||||
@@ -66,7 +66,7 @@ menutrans Insert\ mode Re
|
||||
menutrans Block\ and\ Insert Blok\ a\ vkladanie
|
||||
menutrans Always Vždy
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Prepnú<EFBFBD>\ reži&m\ vkladania<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Prepnú<EFBFBD>\ vi\ kompatibilitu<Tab>:set\ cp!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Prepnú<EFBFBD>\ vi\ kompatibilitu<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. Cesta\ &h¾adania\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Ta&gové\ súbory\.\.\.
|
||||
menutrans Toggle\ &Toolbar Prepnú<EFBFBD>\ &panel
|
||||
@@ -121,7 +121,7 @@ menutrans &Open<Tab>:copen &Otvori
|
||||
menutrans &Close<Tab>:cclose &Zatvori<EFBFBD><Tab>:cclose
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd &Konvertova<EFBFBD>\ do\ HEX<Tab>:%!xxd
|
||||
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Konve&rtova<EFBFBD>\ spä<EFBFBD><Tab>:%!xxd\ -r
|
||||
menutrans &Make<Tab>:make &Make<Tab>:make
|
||||
menutrans &Make<Tab>:make urobi¿<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl Výpis\ &chýb<Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! Výp&is\ správ<Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn Ïa&lšia\ chyba<Tab>:cn
|
||||
@@ -129,7 +129,7 @@ menutrans &Previous\ Error<Tab>:cp &Predch
|
||||
menutrans &Older\ List<Tab>:cold Sta&rší\ zoznam<Tab>:cold
|
||||
menutrans N&ewer\ List<Tab>:cnew Novší\ &zoznam<Tab>:cnew
|
||||
menutrans Error\ &Window<Tab>:cwin Chybové\ o&kno<Tab>:cwin
|
||||
menutrans &Set\ Compiler Vyberte\ k&ompilátor
|
||||
menutrans Se&T\ Compiler Vyberte\ k&ompilátor
|
||||
menutrans Convert\ to\ HEX<Tab>:%!xxd Prvies<EFBFBD>\ do\ šes&tnástkového\ formátu<Tab>:%!xxd
|
||||
menutrans Convert\ back<Tab>:%!xxd\ -r Pr&evies<EFBFBD>\ spä<EFBFBD><Tab>:%!xxd\ -r
|
||||
|
||||
@@ -233,6 +233,33 @@ menutrans on/off\ for\ &This\ file Zapn
|
||||
menutrans Co&lor\ test Test\ &farieb
|
||||
menutrans &Highlight\ test &Test\ zvýrazòovania
|
||||
menutrans &Convert\ to\ HTML &Previes<EFBFBD>\ do\ HTML
|
||||
menutrans Open\ &Tab\.\.\.<Tab>:tabnew otvori¿\ kartu\.\.\.<Tab>:tabnew
|
||||
menutrans Startup\ &Settings nastavenia\ spustenia
|
||||
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! relatívne\ ¿íslovanie\ riadkov<Tab>:set\ nru!
|
||||
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! zalomenie\ ¿iary<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! zalomenie\ pri\ slove<Tab>:set\ lbr!
|
||||
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! roz¿írenie\ tabu¿ky<Tab>:set\ et!
|
||||
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! automatické\ odsadenie<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Odsadenie\ v\ ¿týle\ C<Tab>:set\ cin!
|
||||
menutrans &Keymap mapa\ klávesov
|
||||
menutrans &Spelling Pravopis
|
||||
menutrans &Spell\ Check\ On Kontrola\ pravopisu\ na
|
||||
menutrans Spell\ Check\ &Off Kontrola\ pravopisu\ vypnuté
|
||||
menutrans To\ &Next\ error<Tab>]s ¿al¿ia\ chyba<Tab>]s
|
||||
menutrans To\ &Previous\ error<Tab>[s predchádzajúca\ chyba<Tab>[s
|
||||
menutrans Suggest\ &Corrections<Tab>z= navrhnú¿\ opravy<Tab>z=
|
||||
menutrans &Repeat\ correction<Tab>:spellrepall opakova¿\ opravu<Tab>:spellrepall
|
||||
"-------------------
|
||||
menutrans Set\ language\ to\ "en" nastavi¿\ jazyk\ na\ "en"
|
||||
menutrans Set\ language\ to\ "en_au" nastavi¿\ jazyk\ na\ "en_au"
|
||||
menutrans Set\ language\ to\ "en_ca" nastavi¿\ jazyk\ na\ "en_ca"
|
||||
menutrans Set\ language\ to\ "en_gb" nastavi¿\ jazyk\ na\ "en_gb"
|
||||
menutrans Set\ language\ to\ "en_nz" nastavi¿\ jazyk\ na\ "en_nz"
|
||||
menutrans Set\ language\ to\ "en_us" nastavi¿\ jazyk\ na\ "en_us"
|
||||
menutrans &Find\ More\ Languages nájs¿\ viac\ jazykov
|
||||
let g:menutrans_set_lang_to = 'nastavi¿ jazyk na'
|
||||
menutrans &Show\ File\ Types\ in\ menu Zobrazi¿\ typy\ súborov\ v\ ponuke
|
||||
menutrans &Sponsor/Register Sponzor/registrácia
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Serbian
|
||||
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
|
||||
" Last Change: Fri, 30 May 2003 10:17:39 Eastern Daylight Time
|
||||
" Last Change: 2024 May 2
|
||||
" Adapted for VIM 8 by: Иван Пешић on 2017-12-28 12:05+0400
|
||||
" Original translations
|
||||
|
||||
@@ -117,8 +117,8 @@ menutrans Create\ &Fold<Tab>zf С&твори\ свијутак<Tab>zf
|
||||
menutrans &Delete\ Fold<Tab>zd О&бриши\ свијутак<Tab>zd
|
||||
menutrans Delete\ &All\ Folds<Tab>zD Обриши\ све\ св&ијутке<Tab>zD
|
||||
menutrans Fold\ column\ &width Ширина\ &реда\ цвијутка
|
||||
"menutrans &Diff &Упоређивање
|
||||
menutrans &Make<Tab>:make 'mak&е'<Tab>:make
|
||||
menutrans &Diff Упоређивање
|
||||
menutrans &Make<Tab>:make Направити<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl Списак\ &грешака<Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! Сп&исак\ порука<Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn С&ледећа\ грешка<Tab>:cn
|
||||
@@ -254,7 +254,7 @@ if has("toolbar")
|
||||
tmenu ToolBar.LoadSesn Учитај сеансу
|
||||
tmenu ToolBar.SaveSesn Сачувај сеансу
|
||||
tmenu ToolBar.RunScript Изврши спис
|
||||
tmenu ToolBar.Make 'make'
|
||||
tmenu ToolBar.Make Направити
|
||||
tmenu ToolBar.Shell Оперативно окружење
|
||||
tmenu ToolBar.RunCtags Направи ознаке
|
||||
tmenu ToolBar.TagJump Иди на ознаку
|
||||
@@ -294,4 +294,4 @@ let menutrans_no_file = "[Нема фајла]"
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
" vim: tw=0 keymap=serbian
|
||||
" vim: tw=0
|
||||
|
||||
58
runtime/pack/dist/opt/comment/autoload/comment.vim
vendored
Normal file
58
runtime/pack/dist/opt/comment/autoload/comment.vim
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
vim9script
|
||||
|
||||
# Maintainer: Maxim Kim <habamax@gmail.com>
|
||||
# Last Update: 2024-04-26
|
||||
#
|
||||
# Toggle comments
|
||||
# Usage:
|
||||
# Add following mappings to vimrc:
|
||||
# import autoload 'dist/comment.vim'
|
||||
# nnoremap <silent> <expr> gc comment.Toggle()
|
||||
# xnoremap <silent> <expr> gc comment.Toggle()
|
||||
# nnoremap <silent> <expr> gcc comment.Toggle() .. '_'
|
||||
export def Toggle(...args: list<string>): string
|
||||
if len(args) == 0
|
||||
&opfunc = matchstr(expand('<stack>'), '[^. ]*\ze[')
|
||||
return 'g@'
|
||||
endif
|
||||
if empty(&cms) || !&ma | return '' | endif
|
||||
var cms = substitute(substitute(&cms, '\S\zs%s\s*', ' %s', ''), '%s\ze\S', '%s ', '')
|
||||
var [lnum1, lnum2] = [line("'["), line("']")]
|
||||
var cms_l = split(escape(cms, '*.'), '\s*%s\s*')
|
||||
if len(cms_l) == 0 | return '' | endif
|
||||
if len(cms_l) == 1 | call add(cms_l, '') | endif
|
||||
var comment = 0
|
||||
var indent_min = indent(lnum1)
|
||||
var indent_start = matchstr(getline(lnum1), '^\s*')
|
||||
for lnum in range(lnum1, lnum2)
|
||||
if getline(lnum) =~ '^\s*$' | continue | endif
|
||||
if indent_min > indent(lnum)
|
||||
indent_min = indent(lnum)
|
||||
indent_start = matchstr(getline(lnum), '^\s*')
|
||||
endif
|
||||
if getline(lnum) !~ $'^\s*{cms_l[0]}.*{cms_l[1]}$'
|
||||
comment = 1
|
||||
endif
|
||||
endfor
|
||||
var lines = []
|
||||
var line = ''
|
||||
for lnum in range(lnum1, lnum2)
|
||||
if getline(lnum) =~ '^\s*$'
|
||||
line = getline(lnum)
|
||||
elseif comment
|
||||
if exists("g:comment_first_col") || exists("b:comment_first_col")
|
||||
# handle % with substitute
|
||||
line = printf(substitute(cms, '%s\@!', '%%', 'g'), getline(lnum))
|
||||
else
|
||||
# handle % with substitute
|
||||
line = printf(indent_start .. substitute(cms, '%s\@!', '%%', 'g'),
|
||||
strpart(getline(lnum), strlen(indent_start)))
|
||||
endif
|
||||
else
|
||||
line = substitute(getline(lnum), $'^\s*\zs{cms_l[0]} \?\| \?{cms_l[1]}$', '', 'g')
|
||||
endif
|
||||
add(lines, line)
|
||||
endfor
|
||||
noautocmd keepjumps setline(lnum1, lines)
|
||||
return ''
|
||||
enddef
|
||||
59
runtime/pack/dist/opt/comment/doc/comment.txt
vendored
Normal file
59
runtime/pack/dist/opt/comment/doc/comment.txt
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
*comment.txt* For Vim version 9.1. Last change: 2024 Apr 26
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL
|
||||
|
||||
Commenting and un-commenting text.
|
||||
|
||||
==============================================================================
|
||||
|
||||
The comment.vim package, allows to toggle comments for a single line, a range
|
||||
of lines or a selected text object. It defines the following mappings:
|
||||
|
||||
*gcc*
|
||||
gcc to comment/uncomment current line
|
||||
*o_gc*
|
||||
gc{motion} to toggle comments for the selected motion
|
||||
*gcip*
|
||||
gcip to comment/uncomment current paragraph
|
||||
*gcG*
|
||||
gcG to comment/uncomment from current line till the end of a buffer
|
||||
*v_gc*
|
||||
{Visual}gc to comment/uncomment the highlighted lines.
|
||||
|
||||
The plugin uses the buffer-local 'commentstring' option value to add or remove
|
||||
comment markers to the selected lines. Whether it will comment or un-comment
|
||||
depends on the first line of the range of lines to act upon. When it matches
|
||||
a comment marker, the line will be un-commented, if it doesn't, the line will
|
||||
be commented out. Blank and empty lines are not touched.
|
||||
|
||||
If the mapping does not seem to work, chances are high, that this particular
|
||||
filetype is either not detected by Vim or the filetype plugin does not set the
|
||||
'commentstring' option.
|
||||
|
||||
You can simply configure this using the following autocommand (e.g. for legacy
|
||||
Vim script): >
|
||||
|
||||
autocmd Filetype vim :setlocal commentstring="\ %s
|
||||
|
||||
This example sets the " as start of a comment for legacy Vim Script. For Vim9
|
||||
script, you would instead use the "#" char: >
|
||||
|
||||
autocmd Filetype vim :setlocal commentstring=#\ %s
|
||||
|
||||
==============================================================================
|
||||
Options:
|
||||
|
||||
*g:comment_first_col*
|
||||
*b:comment_first_col*
|
||||
By default comment chars are added in front of the line, i.e. if the line
|
||||
was indented, commented line would stay indented as well.
|
||||
|
||||
However some filetypes require a comment char on the first column, use this option
|
||||
to change default behaviour.
|
||||
|
||||
Use g:comment_first_col to change it globally or b:comment_first_col to
|
||||
target specific filetype(s).
|
||||
|
||||
==============================================================================
|
||||
vim:tw=78:ts=8:fo=tcq2:ft=help:
|
||||
9
runtime/pack/dist/opt/comment/plugin/comment.vim
vendored
Normal file
9
runtime/pack/dist/opt/comment/plugin/comment.vim
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
vim9script
|
||||
|
||||
# Maintainer: Maxim Kim <habamax@gmail.com>
|
||||
# Last Update: 2024-04-26
|
||||
|
||||
import autoload 'comment.vim'
|
||||
nnoremap <silent> <expr> gc comment.Toggle()
|
||||
xnoremap <silent> <expr> gc comment.Toggle()
|
||||
nnoremap <silent> <expr> gcc comment.Toggle() .. '_'
|
||||
@@ -2,6 +2,8 @@
|
||||
" PLUGIN SECTION
|
||||
" Maintainer: This runtime file is looking for a new maintainer.
|
||||
" Date: Feb 09, 2021
|
||||
" Last Change:
|
||||
" 2024 May 08 by Vim Project: cleanup legacy Win9X checks
|
||||
" Former Maintainer: Charles E Campbell
|
||||
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
||||
" Copyright: Copyright (C) 1999-2021 Charles E. Campbell {{{1
|
||||
@@ -35,7 +37,7 @@ augroup FileExplorer
|
||||
au BufLeave * if &ft != "netrw"|let w:netrw_prvfile= expand("%:p")|endif
|
||||
au BufEnter * sil call s:LocalBrowse(expand("<amatch>"))
|
||||
au VimEnter * sil call s:VimEnter(expand("<amatch>"))
|
||||
if has("win32") || has("win95") || has("win64") || has("win16")
|
||||
if has("win32")
|
||||
au BufEnter .* sil call s:LocalBrowse(expand("<amatch>"))
|
||||
endif
|
||||
augroup END
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
" Language: C++
|
||||
" Current Maintainer: vim-jp (https://github.com/vim-jp/vim-cpp)
|
||||
" Previous Maintainer: Ken Shan <ccshan@post.harvard.edu>
|
||||
" Last Change: 2023 Dec 08
|
||||
" Last Change: 2024 May 04
|
||||
" 2024 May 04 by Vim Project (fix digit separator in octals and floats)
|
||||
|
||||
" quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@@ -55,11 +56,11 @@ if !exists("cpp_no_cpp14")
|
||||
syn match cppNumbers display transparent "\<\d\|\.\d" contains=cppNumber,cppFloat
|
||||
syn match cppNumber display contained "\<0\([Uu]\=\([Ll]\|LL\|ll\)\|\([Ll]\|LL\|ll\)\=[Uu]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||
syn match cppNumber display contained "\<[1-9]\('\=\d\+\)*\([Uu]\=\([Ll]\|LL\|ll\)\|\([Ll]\|LL\|ll\)\=[Uu]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||
syn match cppNumber display contained "\<0\o\+\([Uu]\=\([Ll]\|LL\|ll\)\|\([Ll]\|LL\|ll\)\=[Uu]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||
syn match cppNumber display contained "\<0\('\=\o\+\)\+\([Uu]\=\([Ll]\|LL\|ll\)\|\([Ll]\|LL\|ll\)\=[Uu]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||
syn match cppNumber display contained "\<0b[01]\('\=[01]\+\)*\([Uu]\=\([Ll]\|LL\|ll\)\|\([Ll]\|LL\|ll\)\=[Uu]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||
syn match cppNumber display contained "\<0x\x\('\=\x\+\)*\([Uu]\=\([Ll]\|LL\|ll\)\|\([Ll]\|LL\|ll\)\=[Uu]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||
syn match cppFloat display contained "\<\d\+\.\d*\(e[-+]\=\d\+\)\=\([FfLl]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||
syn match cppFloat display contained "\<\.\d\+\(e[-+]\=\d\+\)\=\([FfLl]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||
syn match cppFloat display contained "\<\d\('\=\d\+\)*\.\(\d\('\=\d\+\)*\)\=\(e[-+]\=\d\+\)\=\([FfLl]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||
syn match cppFloat display contained "\.\d\('\=\d\+\)*\(e[-+]\=\d\+\)\=\([FfLl]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||
syn match cppFloat display contained "\<\d\+e[-+]\=\d\+\([FfLl]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||
syn region cppString start=+\(L\|u\|u8\|U\)\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"\(sv\|s\|_\i*\)\=+ end='$' contains=cSpecial,cFormat,@Spell
|
||||
endif
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
" Maintainer: Aliaksei Budavei <0x000c70 AT gmail DOT com>
|
||||
" Former Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||
" Repository: https://github.com/zzzyxwvut/java-vim.git
|
||||
" Last Change: 2024 Apr 13
|
||||
" Last Change: 2024 Apr 28
|
||||
|
||||
" Please check :help java.vim for comments on some of the options available.
|
||||
|
||||
@@ -82,7 +82,8 @@ syn match javaConceptKind "\<default\>\%(\s*\%(:\|->\)\)\@!"
|
||||
" ".java\=" extension used for a production version and an arbitrary
|
||||
" extension used for a testing version.
|
||||
let s:module_info_cur_buf = fnamemodify(bufname("%"), ":t") =~ '^module-info\%(\.class\>\)\@!'
|
||||
lockvar s:module_info_cur_buf
|
||||
let s:selectable_regexp_engine = !(v:version < 704)
|
||||
lockvar s:selectable_regexp_engine s:module_info_cur_buf
|
||||
|
||||
" Java modules (since Java 9, for "module-info.java" file).
|
||||
if s:module_info_cur_buf
|
||||
@@ -287,24 +288,42 @@ syn match javaSpecial "\\u\x\x\x\x"
|
||||
|
||||
syn cluster javaTop add=javaString,javaStrTempl,javaCharacter,javaNumber,javaSpecial,javaStringError,javaTextBlockError
|
||||
|
||||
" Method declarations (JLS-17, §8.4.3, §8.4.4, §9.4).
|
||||
if exists("java_highlight_functions")
|
||||
if java_highlight_functions == "indent"
|
||||
syn match javaFuncDef "^\%(\t\| \%( \{6\}\)\=\)\K\%(\k\|[ .,<>\[\]]\)*([^-+*/]*)" contains=javaScopeDecl,javaConceptKind,javaType,javaStorageClass,@javaClasses,javaAnnotation
|
||||
syn region javaFuncDef start=+^\%(\t\| \%( \{6\}\)\=\)\K\%(\k\|[ .,<>\[\]]\)*([^-+*/]*,\s*+ end=+)+ contains=javaScopeDecl,javaConceptKind,javaType,javaStorageClass,@javaClasses,javaAnnotation
|
||||
syn cluster javaFuncParams contains=javaAnnotation,@javaClasses,javaType,javaVarArg,javaComment,javaLineComment
|
||||
|
||||
if java_highlight_functions =~# '^indent[1-8]\=$'
|
||||
let s:last = java_highlight_functions[-1 :]
|
||||
let s:indent = s:last != 't' ? repeat("\x20", s:last) : "\t"
|
||||
syn cluster javaFuncParams add=javaScopeDecl,javaConceptKind,javaStorageClass,javaExternal
|
||||
" Try to not match other type members, initialiser blocks, enum
|
||||
" constants (JLS-17, §8.9.1), and constructors (JLS-17, §8.1.7):
|
||||
" at any _conventional_ indentation, skip over all fields with
|
||||
" "[^=]*", all records with "\<record\s", and let the "*Skip*"
|
||||
" definitions take care of constructor declarations and enum
|
||||
" constants (with no support for @Foo(value = "bar")).
|
||||
exec 'syn region javaFuncDef start=+^' . s:indent . '\%(<[^>]\+>\+\s\+\|\%(\%(@\%(\K\k*\.\)*\K\k*\>\)\s\+\)\+\)\=\%(\<\K\k*\>\.\)*\K\k*\>[^=]*\%(\<record\)\@6<!\s\K\k*\s*(+ end=+)+ contains=@javaFuncParams'
|
||||
" As long as package-private constructors cannot be matched with
|
||||
" javaFuncDef, do not look with javaConstructorSkipDeclarator for
|
||||
" them.
|
||||
exec 'syn match javaConstructorSkipDeclarator transparent +^' . s:indent . '\%(\%(@\%(\K\k*\.\)*\K\k*\>\)\s\+\)*p\%(ublic\|rotected\|rivate\)\s\+\%(<[^>]\+>\+\s\+\)\=\K\k*\s*\ze(+ contains=javaAnnotation,javaScopeDecl'
|
||||
exec 'syn match javaEnumSkipArgumentativeConstant transparent +^' . s:indent . '\%(\%(@\%(\K\k*\.\)*\K\k*\>\)\s\+\)*\K\k*\s*\ze(+ contains=javaAnnotation'
|
||||
unlet s:indent s:last
|
||||
else
|
||||
" This is the "style" variant (:help ft-java-syntax).
|
||||
"
|
||||
" Match arbitrarily indented method and constructor declarations
|
||||
" and some enum constants.
|
||||
"
|
||||
" TODO: Come back to refine and fix the parts of javaFuncDef.
|
||||
" TODO: Request the new regexp engine for [:upper:] and [:lower:].
|
||||
"
|
||||
" XXX: \C\<[^a-z0-9]\k*\> rejects "type", but matches "τύπος".
|
||||
" XXX: \C\<[^A-Z0-9]\k*\> rejects "Method", but matches "Μέθοδος".
|
||||
"
|
||||
" Match: [abstract] [<α, β>] [Τʬ][<γ>][[][]] [μΜ]ʭʭ(/* ... */);
|
||||
syn region javaFuncDef start=+^\s\+\%(\%(public\|protected\|private\|static\|\%(abstract\|default\)\|final\|native\|synchronized\)\s\+\)*\%(<.*>\s\+\)\=\%(\%(void\|boolean\|char\|byte\|short\|int\|long\|float\|double\|\%(\K\k*\.\)*\<[^a-z0-9]\k*\>\)\%(<[^(){}]*>\)\=\%(\[\]\)*\s\+\<[^A-Z0-9]\k*\>\|\<[^a-z0-9]\k*\>\)\s*(+ end=+)+ contains=javaScopeDecl,javaConceptKind,javaType,javaStorageClass,javaComment,javaLineComment,@javaClasses,javaAnnotation
|
||||
syn cluster javaFuncParams add=javaScopeDecl,javaConceptKind,javaStorageClass,javaExternal
|
||||
|
||||
" Match arbitrarily indented camelCasedName method declarations.
|
||||
" Match: [@ɐ] [abstract] [<α, β>] Τʬ[<γ>][[][]] μʭʭ(/* ... */);
|
||||
|
||||
if s:selectable_regexp_engine
|
||||
" Request the new regexp engine for [:upper:] and [:lower:].
|
||||
syn region javaFuncDef start=/\%#=2^\s\+\%(\%(@\%(\K\k*\.\)*\K\k*\>\)\s\+\)*\%(p\%(ublic\|rotected\|rivate\)\s\+\)\=\%(\%(abstract\|default\)\s\+\|\%(\%(final\|\%(native\|strictfp\)\|s\%(tatic\|ynchronized\)\)\s\+\)*\)\=\%(<.*[[:space:]-]\@1<!>\s\+\)\=\%(void\|\%(b\%(oolean\|yte\)\|char\|short\|int\|long\|float\|double\|\%(\<\K\k*\>\.\)*\<[$_[:upper:]]\k*\>\%(<[^(){}]*[[:space:]-]\@1<!>\)\=\)\%(\[\]\)*\)\s\+\<[$_[:lower:]]\k*\>\s*(/ end=/)/ skip=/\/\*.\{-}\*\/\|\/\/.*$/ contains=@javaFuncParams
|
||||
else
|
||||
" XXX: \C\<[^a-z0-9]\k*\> rejects "type", but matches "τύπος".
|
||||
" XXX: \C\<[^A-Z0-9]\k*\> rejects "Method", but matches "Μέθοδος".
|
||||
syn region javaFuncDef start=/^\s\+\%(\%(@\%(\K\k*\.\)*\K\k*\>\)\s\+\)*\%(p\%(ublic\|rotected\|rivate\)\s\+\)\=\%(\%(abstract\|default\)\s\+\|\%(\%(final\|\%(native\|strictfp\)\|s\%(tatic\|ynchronized\)\)\s\+\)*\)\=\%(<.*[[:space:]-]\@1<!>\s\+\)\=\%(void\|\%(b\%(oolean\|yte\)\|char\|short\|int\|long\|float\|double\|\%(\<\K\k*\>\.\)*\<[^a-z0-9]\k*\>\%(<[^(){}]*[[:space:]-]\@1<!>\)\=\)\%(\[\]\)*\)\s\+\<[^A-Z0-9]\k*\>\s*(/ end=/)/ skip=/\/\*.\{-}\*\/\|\/\/.*$/ contains=@javaFuncParams
|
||||
endif
|
||||
endif
|
||||
|
||||
syn match javaLambdaDef "\<\K\k*\>\%(\<default\>\)\@<!\s*->"
|
||||
@@ -476,6 +495,6 @@ endif
|
||||
|
||||
let b:spell_options = "contained"
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:module_info_cur_buf s:cpo_save
|
||||
unlet s:selectable_regexp_engine s:module_info_cur_buf s:cpo_save
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
20
runtime/syntax/jj.vim
Normal file
20
runtime/syntax/jj.vim
Normal file
@@ -0,0 +1,20 @@
|
||||
" Vim syntax file
|
||||
" Language: jj description
|
||||
" Maintainer: Gregory Anders <greg@gpanders.com>
|
||||
" Last Change: 2024 May 8
|
||||
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
endif
|
||||
let b:current_syntax = 'jj'
|
||||
|
||||
syn match jjAdded "A .*" contained
|
||||
syn match jjRemoved "D .*" contained
|
||||
syn match jjChanged "M .*" contained
|
||||
|
||||
syn region jjComment start="^JJ: " end="$" contains=jjAdded,jjRemoved,jjChanged
|
||||
|
||||
hi def link jjComment Comment
|
||||
hi def link jjAdded Added
|
||||
hi def link jjRemoved Removed
|
||||
hi def link jjChanged Changed
|
||||
130
runtime/syntax/jq.vim
Normal file
130
runtime/syntax/jq.vim
Normal file
@@ -0,0 +1,130 @@
|
||||
" Vim compiler file
|
||||
" Language: jq
|
||||
" Maintainer: Vito <vito.blog@gmail.com>
|
||||
" Last Change: 2024 Apr 17
|
||||
" Upstream: https://github.com/vito-c/jq.vim
|
||||
"
|
||||
" Quit when a (custom) syntax file was already loaded
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
endif
|
||||
|
||||
" syn include @jqHtml syntax/html.vim " Doc comment HTML
|
||||
|
||||
" jqTodo
|
||||
syntax keyword jqTodo contained TODO FIXME NOTE XXX
|
||||
|
||||
" jqKeywords
|
||||
syntax keyword jqKeywords and or not empty
|
||||
syntax keyword jqKeywords try catch
|
||||
syntax keyword jqKeywords reduce as label break foreach
|
||||
syntax keyword jqKeywords import include module modulemeta
|
||||
syntax keyword jqKeywords env nth has in while error stderr debug
|
||||
|
||||
" jqConditional
|
||||
syntax keyword jqConditional if then elif else end
|
||||
|
||||
" jqConditions
|
||||
syntax keyword jqCondtions true false null
|
||||
|
||||
" jqSpecials
|
||||
syntax keyword jqType type
|
||||
syntax match jqType /[\|;]/ " not really a type I did this for coloring reasons though :help group-name
|
||||
syntax region jqParentheses start=+(+ end=+)+ fold transparent
|
||||
|
||||
" jq Functions
|
||||
syntax keyword jqFunction add all any arrays ascii_downcase floor
|
||||
syntax keyword jqFunction ascii_upcase booleans bsearch builtins capture combinations
|
||||
syntax keyword jqFunction \contains del delpaths endswith explode
|
||||
syntax keyword jqFunction finites first flatten format from_entries
|
||||
syntax keyword jqFunction fromdate fromdateiso8601 fromjson fromstream get_jq_origin
|
||||
syntax keyword jqFunction get_prog_origin get_search_list getpath gmtime group_by
|
||||
syntax keyword jqFunction gsub halt halt_error implode index indices infinite
|
||||
syntax keyword jqFunction input input_filename input_line_number inputs inside
|
||||
syntax keyword jqFunction isempty isfinite isinfinite isnan isnormal iterables
|
||||
syntax keyword jqFunction join keys keys_unsorted last leaf_paths
|
||||
syntax keyword jqFunction length limit localtime ltrimstr map map_values
|
||||
syntax keyword jqFunction match max max_by min min_by
|
||||
syntax keyword jqFunction mktime nan normals now
|
||||
syntax keyword jqFunction nulls numbers objects path paths range
|
||||
syntax keyword jqFunction recurse recurse_down repeat reverse rindex
|
||||
syntax keyword jqFunction rtrimstr scalars scalars_or_empty scan select
|
||||
syntax keyword jqFunction setpath sort sort_by split splits with_entries
|
||||
syntax keyword jqFunction startswith strflocaltime strftime strings strptime sub
|
||||
syntax keyword jqFunction test to_entries todate todateiso8601 tojson __loc__
|
||||
syntax keyword jqFunction tonumber tostream tostring transpose truncate_stream
|
||||
syntax keyword jqFunction unique unique_by until utf8bytelength values walk
|
||||
" TODO: $__loc__ is going to be a pain
|
||||
|
||||
" jq Math Functions
|
||||
syntax keyword jqFunction acos acosh asin asinh atan atanh cbrt ceil cos cosh
|
||||
syntax keyword jqFunction erf erfc exp exp10 exp2 expm1 fabs floor gamma j0 j1
|
||||
syntax keyword jqFunction lgamma lgamma_r log log10 log1p log2 logb nearbyint
|
||||
syntax keyword jqFunction pow10 rint round significand sin sinh sqrt tan tanh
|
||||
syntax keyword jqFunction tgamma trunc y0 y1
|
||||
syntax keyword jqFunction atan2 copysign drem fdim fmax fmin fmod frexp hypot
|
||||
syntax keyword jqFunction jn ldexp modf nextafter nexttoward pow remainder
|
||||
syntax keyword jqFunction scalb scalbln yn
|
||||
syntax keyword jqFunction fma
|
||||
|
||||
" jq SQL-style Operators
|
||||
syntax keyword jqFunction INDEX JOIN IN
|
||||
|
||||
" Macro
|
||||
syntax match jqMacro "@\%(text\|json\|html\|uri\|[ct]sv\|sh\|base64d\?\)\>"
|
||||
|
||||
" Comments
|
||||
syntax match jqComment "#.*" contains=jqTodo
|
||||
|
||||
" Variables
|
||||
syn match jqVariables /$[_A-Za-z0-9]\+/
|
||||
|
||||
" Definition
|
||||
syntax keyword jqKeywords def nextgroup=jqNameDefinition skipwhite
|
||||
syn match jqNameDefinition /\<[_A-Za-z0-9]\+\>/ contained nextgroup=jqPostNameDefinition
|
||||
syn match jqNameDefinition /`[^`]\+`/ contained nextgroup=jqPostNameDefinition
|
||||
|
||||
" Strings
|
||||
syn region jqError start=+'+ end=+'\|$\|[;)]\@=+
|
||||
syn region jqString matchgroup=jqQuote
|
||||
\ start=+"+ skip=+\\[\\"]+ end=+"+
|
||||
\ contains=@Spell,jqInterpolation
|
||||
syn region jqInterpolation matchgroup=jqInterpolationDelimiter
|
||||
\ start=+\%([^\\]\%(\\\\\)*\\\)\@<!\\(+ end=+)+
|
||||
\ contained contains=TOP
|
||||
|
||||
" Operators
|
||||
syn match jqOperator /:\|\([-+*/%<>=]\|\/\/\)=\?\|[!|]=\|?\/\//
|
||||
"syn region jqRange matchgroup=jqSquareBracket start=+\[+ skip=+:+ end=+\]+
|
||||
|
||||
" Errors
|
||||
syn keyword jqError _assign _flatten _modify _nwise _plus _negate _minus _multiply
|
||||
syn keyword jqError _divide _mod _strindices _equal _notequal _less _greater _lesseq
|
||||
syn keyword jqError _greatereq _sort_by_impl _group_by_impl _min_by_impl _max_by_impl _match_impl _input
|
||||
" TODO: these errors should show up when doing def _flatten: as well
|
||||
|
||||
" Numbers
|
||||
syn match jqNumber /\<0[dDfFlL]\?\>/ " Just a bare 0
|
||||
syn match jqNumber /\<[1-9]\d*[dDfFlL]\?\>/ " A multi-digit number - octal numbers with leading 0's are deprecated in Scala
|
||||
|
||||
if !exists('jq_quote_highlight')
|
||||
highlight def link jqQuote String
|
||||
else
|
||||
highlight def link jqQuote Type
|
||||
endif
|
||||
|
||||
hi def link jqCondtions Boolean
|
||||
hi def link jqVariables Identifier
|
||||
hi def link jqNameDefinition Function
|
||||
hi def link jqTodo Todo
|
||||
hi def link jqComment Comment
|
||||
hi def link jqKeywords Keyword
|
||||
hi def link jqType Type
|
||||
hi def link jqOperator Operator
|
||||
hi def link jqFunction Function
|
||||
hi def link jqMacro Macro
|
||||
hi def link jqError Error
|
||||
hi def link jqString String
|
||||
hi def link jqInterpolationDelimiter Delimiter
|
||||
hi def link jqConditional Conditional
|
||||
hi def link jqNumber Number
|
||||
@@ -1,6 +1,6 @@
|
||||
" Vim syntax file
|
||||
" Language: JSON
|
||||
" Maintainer: vacancy
|
||||
" Maintainer: Vito <vito.blog@gmail.com>
|
||||
" Previous Maintainer: Eli Parra <eli@elzr.com>
|
||||
" Last Change: 2019 Sep 17
|
||||
" Version: 0.12
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: Debian version information
|
||||
" Maintainer: Debian Vim Maintainers
|
||||
" Last Change: 2024 Jan 25
|
||||
" Last Change: 2024 Apr 27
|
||||
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/main/syntax/shared/debversions.vim
|
||||
|
||||
let s:cpo = &cpo
|
||||
@@ -11,7 +11,7 @@ let g:debSharedSupportedVersions = [
|
||||
\ 'oldstable', 'stable', 'testing', 'unstable', 'experimental', 'sid', 'rc-buggy',
|
||||
\ 'bullseye', 'bookworm', 'trixie', 'forky',
|
||||
\
|
||||
\ 'trusty', 'xenial', 'bionic', 'focal', 'jammy', 'mantic', 'noble',
|
||||
\ 'trusty', 'xenial', 'bionic', 'focal', 'jammy', 'mantic', 'noble', 'oracular',
|
||||
\ 'devel'
|
||||
\ ]
|
||||
let g:debSharedUnsupportedVersions = [
|
||||
|
||||
@@ -111,7 +111,7 @@ syn region specDescriptionArea matchgroup=specSection start='^%description' end=
|
||||
syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e-1 contains=specPackageOpts,specPreAmble,specComment
|
||||
|
||||
"%% Scripts Section %%
|
||||
syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|clean\|check\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|autosetup\|autopatch\|find_lang\|make_build\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
|
||||
syn region specScriptArea matchgroup=specSection start='^%\(prep\|generate_buildrequires\|conf\|build\|install\|clean\|check\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|autosetup\|autopatch\|find_lang\|make_build\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
|
||||
|
||||
"%% Changelog Section %%
|
||||
syn region specChangelogArea matchgroup=specSection start='^%changelog' end='^%'me=e-1 contains=specEmail,specURL,specWeekday,specMonth,specNumber,specComment,specLicense
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
" Language: SubStation Alpha
|
||||
" Maintainer: ObserverOfTime <chronobserver@disroot.org>
|
||||
" Filenames: *.ass,*.ssa
|
||||
" Last Change: 2022 Oct 10
|
||||
" Last Change: 2024 Apr 28
|
||||
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
@@ -20,16 +20,20 @@ syn match ssaSection /^\[[a-zA-Z0-9+ ]\+\]$/
|
||||
syn match ssaHeader /^[^;!:]\+:/ skipwhite nextgroup=ssaField
|
||||
|
||||
" Fields
|
||||
syn match ssaField /[^,]*/ contained skipwhite nextgroup=ssaDelimiter
|
||||
syn match ssaField /[^,]*\(,\|$\)/ contained skipwhite contains=ssaDelimiter,ssaTime nextgroup=ssaField
|
||||
|
||||
" Time
|
||||
syn match ssaTime /\d:\d\d:\d\d\.\d\d/ contained skipwhite nextgroup=ssaDelimiter
|
||||
syn match ssaTime /\d:\d\d:\d\d\.\d\d/ contained
|
||||
|
||||
" Delimiter
|
||||
syn match ssaDelimiter /,/ contained skipwhite nextgroup=ssaField,ssaTime,ssaText
|
||||
syn match ssaDelimiter /,/ contained
|
||||
|
||||
" Dialogue
|
||||
syn match ssaDialogue /^Dialogue:/ transparent skipwhite nextgroup=ssaDialogueFields
|
||||
syn match ssaDialogueFields /\([^,]*,\)\{9\}/ contained transparent skipwhite contains=ssaField,ssaDelimiter nextgroup=ssaText
|
||||
|
||||
" Text
|
||||
syn match ssaText /\(^Dialogue:\(.*,\)\{9}\)\@<=.*$/ contained contains=@ssaTags,@Spell
|
||||
syn match ssaText /.*$/ contained contains=@ssaTags,@Spell
|
||||
syn cluster ssaTags contains=ssaOverrideTag,ssaEscapeChar,ssaTextComment,ssaItalics,ssaBold,ssaUnderline,ssaStrikeout
|
||||
|
||||
" Override tags
|
||||
@@ -60,4 +64,4 @@ hi ssaItalics cterm=italic gui=italic
|
||||
hi ssaStrikeout cterm=strikethrough gui=strikethrough
|
||||
hi ssaUnderline cterm=underline gui=underline
|
||||
|
||||
let b:current_syntax = 'srt'
|
||||
let b:current_syntax = 'ssa'
|
||||
|
||||
61
runtime/syntax/stylus.vim
Normal file
61
runtime/syntax/stylus.vim
Normal file
@@ -0,0 +1,61 @@
|
||||
" Vim syntax file
|
||||
" Language: Stylus
|
||||
" Maintainer: Hsiaoming Yang <lepture@me.com>, Marc Harter
|
||||
" Filenames: *.styl, *.stylus
|
||||
" Based On: Tim Pope (sass.vim)
|
||||
" Created: Dec 14, 2011
|
||||
" Modified: Apr 29, 2024
|
||||
|
||||
if main_syntax == "css"
|
||||
syn sync minlines=10
|
||||
endif
|
||||
|
||||
" let b:current_syntax = "css"
|
||||
"
|
||||
if main_syntax == 'css'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
syn case ignore
|
||||
|
||||
syn cluster stylusCssSelectors contains=cssTagName,cssSelector,cssPseudo
|
||||
syn cluster stylusCssValues contains=cssValueLength,cssValueInteger,cssValueNumber,cssValueAngle,cssValueTime,cssValueFrequency,cssColorVal,cssCommonVal,cssFontVal,cssListVal,cssTextVal,cssVisualVal,cssBorderVal,cssBackgroundVal,cssFuncVal,cssAdvancedVal
|
||||
syn cluster stylusCssProperties contains=cssProp,cssBackgroundProp,cssTableProp,cssBorderProp,cssFontProp,cssColorProp,cssBoxProp,cssTextProp,cssListProp,cssVisualProp,cssAdvancedProp,cssCommonProp,cssSpecialProp
|
||||
|
||||
syn match stylusVariable "$\?[[:alnum:]_-]\+"
|
||||
syn match stylusVariableAssignment "\%([[:alnum:]_-]\+\s*\)\@<==" nextgroup=stylusCssAttribute,stylusVariable skipwhite
|
||||
|
||||
syn match stylusProperty "\%([{};]\s*\|^\)\@<=\%([[:alnum:]-]\|#{[^{}]*}\)\+:" contains=@stylusCssProperties,@stylusCssSelectors skipwhite nextgroup=stylusCssAttribute contained containedin=cssDefineBlock
|
||||
syn match stylusProperty "^\s*\zs\s\%(\%([[:alnum:]-]\|#{[^{}]*}\)\+[ :]\|:[[:alnum:]-]\+\)"hs=s+1 contains=@stylusCssProperties,@stylusCssSelectors skipwhite nextgroup=stylusCssAttribute
|
||||
syn match stylusProperty "^\s*\zs\s\%(:\=[[:alnum:]-]\+\s*=\)"hs=s+1 contains=@stylusCssProperties,@stylusCssSelectors skipwhite nextgroup=stylusCssAttribute
|
||||
|
||||
syn match stylusCssAttribute +\%("\%([^"]\|\\"\)*"\|'\%([^']\|\\'\)*'\|#{[^{}]*}\|[^{};]\)*+ contained contains=@stylusCssValues,cssImportant,stylusFunction,stylusVariable,stylusControl,stylusUserFunction,stylusInterpolation,cssString,stylusComment,cssComment
|
||||
|
||||
syn match stylusInterpolation %{[[:alnum:]_-]\+}%
|
||||
|
||||
syn match stylusFunction "\<\%(red\|green\|blue\|alpha\|dark\|light\)\>(\@=" contained
|
||||
syn match stylusFunction "\<\%(hue\|saturation\|lightness\|push\|unshift\|typeof\|unit\|match\)\>(\@=" contained
|
||||
syn match stylusFunction "\<\%(hsla\|hsl\|rgba\|rgb\|lighten\|darken\)\>(\@=" contained
|
||||
syn match stylusFunction "\<\%(abs\|ceil\|floor\|round\|min\|max\|even\|odd\|sum\|avg\|sin\|cos\|join\)\>(\@=" contained
|
||||
syn match stylusFunction "\<\%(desaturate\|saturate\|invert\|unquote\|quote\|s\)\>(\@=" contained
|
||||
syn match stylusFunction "\<\%(operate\|length\|warn\|error\|last\|p\|\)\>(\@=" contained
|
||||
syn match stylusFunction "\<\%(opposite-position\|image-size\|add-property\)\>(\@=" contained
|
||||
|
||||
syn keyword stylusVariable null true false arguments
|
||||
syn keyword stylusControl if else unless for in return
|
||||
|
||||
syn match stylusImport "@\%(import\|require\)" nextgroup=stylusImportList
|
||||
syn match stylusImportList "[^;]\+" contained contains=cssString.*,cssMediaType,cssURL
|
||||
|
||||
syn match stylusAmpersand "&"
|
||||
syn match stylusClass "[[:alnum:]_-]\+" contained
|
||||
syn match stylusClassChar "\.[[:alnum:]_-]\@=" nextgroup=stylusClass
|
||||
syn match stylusEscape "^\s*\zs\\"
|
||||
syn match stylusId "[[:alnum:]_-]\+" contained
|
||||
syn match stylusIdChar "#[[:alnum:]_-]\@=" nextgroup=stylusId
|
||||
|
||||
syn region stylusComment start="//" end="$" contains=cssTodo,@Spell fold
|
||||
|
||||
let b:current_syntax = "stylus"
|
||||
|
||||
" vim:set sw=2:
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent2_00.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent2_00.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
>/+0#0000e05#ffffff0@1| |V|I|M|_|T|E|S|T|_|S|E|T|U|P| |l|e|t| |g|:|j|a|v|a|_|h|i|g|h|l|i|g|h|t|_|f|u|n|c|t|i|o|n|s| |=| |'|i|n|d|e|n|t|2|'| +0#0000000&@14
|
||||
@75
|
||||
@75
|
||||
|i+0#e000e06&|m|p|o|r|t| +0#0000000&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|E|l|e|m|e|n|t|T|y|p|e|;| @34
|
||||
|i+0#e000e06&|m|p|o|r|t| +0#0000000&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|T|a|r|g|e|t|;| @39
|
||||
@75
|
||||
|a+0#4040ff13&|b|s|t|r|a|c|t| +0#0000000&|c+0#00e0003&|l|a|s@1| +0#0000000&|I|n|d|e|n|t|2|M|e|t|h|o|d|s|T|e|s|t|s| @40
|
||||
|{+0#00e0e07&| +0#0000000&|/+0#0000e05&@1| |D|O| |N|O|T| |r|e|t|a|b|!| |T|H|I|S| |F|I|L|E|;| |R|E|M|E|M|B|E|R| |A|B|O|U|T| |t|e|s|t|d|i|r|/|f|t|p|l|u|g|i|n|.| +0#0000000&@12
|
||||
@2|/+0#0000e05&@1| |T|Y|P|E|S|.| +0#0000000&@63
|
||||
@2|r+0#00e0003&|e|c|o|r|d| +0#0000000&|Τ|ʬ|<|α|>|(|α| |a|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@51
|
||||
@75
|
||||
@2|e+0#00e0003&|n|u|m| +0#0000000&|𝓔| @66
|
||||
@2|{+0#00e0e07&| +0#0000000&@71
|
||||
@4|A|(|"+0#e000002&|𝕬|"|)+0#0000000&|,| |B|(|"+0#e000002&|𝕭|"|)+0#0000000&|,| |C|(|"+0#e000002&|𝕮|"|)+0#0000000&|,| |D|(|"+0#e000002&|𝕯|"|)+0#0000000&|,| @39
|
||||
@4|E|(|"+0#e000002&|𝕰|"|)+0#0000000&|,| |F|(|"+0#e000002&|𝕱|"|)+0#0000000&|,| |G|(|"+0#e000002&|𝕲|"|)+0#0000000&|,| |H|(|"+0#e000002&|𝕳|"|)+0#0000000&|;| @39
|
||||
@4|f+0#4040ff13&|i|n|a|l| +0#0000000&|S|t|r|i|n|g| |𝐬|;| @55
|
||||
@4|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|𝓔|(|S|t|r|i|n|g| |𝐬|)| |{+0#00e0e07&| +0#0000000&|t+0#00e0003&|h|i|s|.+0#0000000&|𝐬| |=| |𝐬|;| |}+0#00e0e07&| +0#0000000&@35
|
||||
@2|}+0#00e0e07&| +0#0000000&@71
|
||||
@75
|
||||
@57|1|,|1| @10|T|o|p|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent2_01.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent2_01.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@3|A|(|"+0#e000002&|𝕬|"|)+0#0000000&|,| |B|(|"+0#e000002&|𝕭|"|)+0#0000000&|,| |C|(|"+0#e000002&|𝕮|"|)+0#0000000&|,| |D|(|"+0#e000002&|𝕯|"|)+0#0000000&|,| @39
|
||||
@4|E|(|"+0#e000002&|𝕰|"|)+0#0000000&|,| |F|(|"+0#e000002&|𝕱|"|)+0#0000000&|,| |G|(|"+0#e000002&|𝕲|"|)+0#0000000&|,| |H|(|"+0#e000002&|𝕳|"|)+0#0000000&|;| @39
|
||||
@4|f+0#4040ff13&|i|n|a|l| +0#0000000&|S|t|r|i|n|g| |𝐬|;| @55
|
||||
@4|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|𝓔|(|S|t|r|i|n|g| |𝐬|)| |{+0#00e0e07&| +0#0000000&|t+0#00e0003&|h|i|s|.+0#0000000&|𝐬| |=| |𝐬|;| |}+0#00e0e07&| +0#0000000&@35
|
||||
@2|}+0#00e0e07&| +0#0000000&@71
|
||||
> @74
|
||||
@2|@+0#e000e06&|T|a|r|g|e|t|(+0#0000000&|{+0#00e0e07&|E+0#0000000&|l|e|m|e|n|t|T|y|p|e|.|M|E|T|H|O|D|,| |E|l|e|m|e|n|t|T|y|p|e|.|C|O|N|S|T|R|U|C|T|O|R|}+0#00e0e07&|)+0#0000000&| @18
|
||||
@2|@+0#e000e06&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|R|e|p|e|a|t|a|b|l|e|(+0#0000000&|T|ɐ|g@1|a|b|l|ɘ|s|.|c+0#00e0003&|l|a|s@1|)+0#0000000&| @23
|
||||
@2|@+0#00e0003&|i|n|t|e|r|f|a|c|e| +0#0000000&|T|ɐ|g@1|a|b|l|ɘ| @53
|
||||
@2|{+0#00e0e07&| +0#0000000&@71
|
||||
@4|S|t|r|i|n|g|[|]| |v|a|l|u|e|(|)| |d+0#4040ff13&|e|f|a|u|l|t| +0#0000000&|"+0#e000002&@1|;+0#0000000&| @42
|
||||
@2|}+0#00e0e07&| +0#0000000&@71
|
||||
@75
|
||||
@2|@+0#e000e06&|T|a|r|g|e|t|(+0#0000000&|{+0#00e0e07&|E+0#0000000&|l|e|m|e|n|t|T|y|p|e|.|M|E|T|H|O|D|,| |E|l|e|m|e|n|t|T|y|p|e|.|C|O|N|S|T|R|U|C|T|O|R|}+0#00e0e07&|)+0#0000000&| @18
|
||||
@2|@+0#00e0003&|i|n|t|e|r|f|a|c|e| +0#0000000&|T|ɐ|g@1|a|b|l|ɘ|s| @52
|
||||
@2|{+0#00e0e07&| +0#0000000&@71
|
||||
@4|T|ɐ|g@1|a|b|l|ɘ|[|]| |v|a|l|u|e|(|)|;| @51
|
||||
@2|}+0#00e0e07&| +0#0000000&@71
|
||||
@75
|
||||
@57|1|9|,|0|-|1| @7|1|7|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent2_02.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent2_02.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
@2|i+0#00e0003&|n|t|e|r|f|a|c|e| +0#0000000&|S|t|y|l|a|b|l|e|<|Α|>| @51
|
||||
@2|{+0#00e0e07&| +0#0000000&@71
|
||||
@4|d+0#4040ff13&|e|f|a|u|l|t| +0#0000000&|v+0#00e0003&|o|i|d| +0#0000000&|a|s|c|i@1|$|0|_|(|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@43
|
||||
@4|d+0#4040ff13&|e|f|a|u|l|t| +0#0000000&|Α| |μ|ʭ@1|$|0|_|(|)| |{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|n+0#e000002&|u|l@1|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@35
|
||||
@2>}+0#00e0e07&| +0#0000000&@71
|
||||
@75
|
||||
@2|/+0#0000e05&@1| |F|I|E|L|D|S|.| +0#0000000&@62
|
||||
@2|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|s+0#00e0003&|t|a|t|i|c| +0#0000000&|f+0#4040ff13&|i|n|a|l| +0#0000000&|C|l|a|s@1|<|?|>| |C|L|A|S@1|_|L|O|C|K| |=| |c|l|a|s@1|L|o|c|k|(|)|;| @17
|
||||
@75
|
||||
@2|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|f+0#4040ff13&|i|n|a|l| +0#0000000&|O|b|j|e|c|t| |i|n|s|t|a|n|c|e|L|o|c|k| |=| |n+0#af5f00255&|e|w| +0#0000000&|O|b|j|e|c|t|(|)|;| @23
|
||||
@75
|
||||
@2|/+0#0000e05&@1| |C|O|N|S|T|R|U|C|T|O|R|S|.| +0#0000000&@56
|
||||
@2|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#0000000&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#0000000&|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#0000000&|I|n|d|e|n|t|2|M|e|t|h|o|d|s|T|e|s|t|s|(|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@17
|
||||
@2|<|T| |e+0#00e0003&|x|t|e|n|d|s| +0#0000000&|C|o|m|p|a|r|a|b|l|e|<|T|>@1| |I|n|d|e|n|t|2|M|e|t|h|o|d|s|T|e|s|t|s|(|T| |t|,| |V|o|i|d| |v|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@10
|
||||
@2|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|<|T| |e|x|t|e|n|d|s| |C|o|m|p|a|r|a|b|l|e|<|T|>@1| |I|n|d|e|n|t|2|M|e|t|h|o|d|s|T|e|s|t|s|(|T| |t|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@10
|
||||
@75
|
||||
@2|/+0#0000e05&@1| |M|E|T|H|O|D|S|.| +0#0000000&@61
|
||||
| +0#00e0e07&@1|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|0|_|(|/+0#0000e05&@15| +0#0000000&@13
|
||||
@57|3|7|,|3| @9|4|2|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent2_03.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent2_03.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0#00e0e07#ffffff0@1|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|0|_|(|/+0#0000e05&@15| +0#0000000&@13
|
||||
| +0#00e0e07&@63|)|;+0#0000000&| @8
|
||||
| +0#00e0e07&@1|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>| |μ|ʭ@1|$|0|_|(| +0#0000000&@23
|
||||
| +0#00e0e07&@23|/+0#0000e05&|*| |T+0#0000001#ffff4012|O|D|O|:+0#0000e05#ffffff0| |@|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(|"|b|e|s|p|o|k|e|"|)|*|/| +0#00e0e07&|β| |𝛽|)|;+0#0000000&| @5
|
||||
@75
|
||||
| +0#00e0e07&@1>@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|p+0#00e0003&|r|i|v|a|t|e| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|1|_|(|/+0#0000e05&|*|/@10|/+0#ffffff16#ff404010|*+0#0000e05#ffffff0|/|)+0#00e0e07&|;+0#0000000&| @15
|
||||
| +0#00e0e07&@1|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|p+0#00e0003&|r|i|v|a|t|e| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]| |μ|ʭ@1|$|1|_|(| +0#0000000&@25
|
||||
| +0#00e0e07&@23|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|>| |ƒ|)|;+0#0000000&| @7
|
||||
@75
|
||||
| +0#00e0e07&@1|v+0#00e0003&|o|i|d| +0#00e0e07&|A|s|c|i@1|$|2|_|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@53
|
||||
| +0#00e0e07&@1|<|T|,| |U| |e|x|t|e|n|d|s| |S|t|y|l|a|b|l|e|<|T|>@1| |v+0#00e0003&|o|i|d| +0#00e0e07&|Μ|ʭ@1|$|2|_|(|U| |u|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@25
|
||||
@75
|
||||
| +0#00e0e07&@1|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|9|8|_|(|)|;+0#0000000&| @22
|
||||
| +0#00e0e07&@1|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]|[|]| |μ|ʭ@1|$|9|8|_|(| +0#0000000&@14
|
||||
| +0#00e0e07&@23|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|[|]|>| |ƒ|)|;+0#0000000&| @5
|
||||
@75
|
||||
@2|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|s|t|r|i|c|t|f|p|"|)+0#0000000&| @43
|
||||
| +0#00e0e07&@1|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|s+0#00e0003&|t|r|i|c|t|f|p| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|9@1|_|(|)| +0#0000000&@11
|
||||
@2|{+0#00e0e07&| +0#0000000&|a|s|c|i@1|$|9|8|_|(|)|;| |}+0#00e0e07&| +0#0000000&@56
|
||||
@57|5@1|,|3| @9|6|7|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent2_04.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent2_04.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|{+0#00e0e07&| +0#0000000&|a|s|c|i@1|$|9|8|_|(|)|;| |}+0#00e0e07&| +0#0000000&@56
|
||||
@75
|
||||
@2|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|s|t|r|i|c|t|f|p|"|)+0#0000000&| @43
|
||||
| +0#00e0e07&@1|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|s+0#00e0003&|t|r|i|c|t|f|p| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]| |μ|ʭ@1|$|9@1|_|(| +0#0000000&@4
|
||||
| +0#00e0e07&@23|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|[|]|>| |ƒ|)| +0#0000000&@6
|
||||
@2>{+0#00e0e07&| +0#0000000&@71
|
||||
@4|r+0#af5f00255&|e|t|u|r|n| +0#0000000&@64
|
||||
@2|I|n|d|e|n|t|2|M|e|t|h|o|d|s|T|e|s|t|s|.|<|α|,| |β|>|μ|ʭ@1|$|9|8|_|(|ƒ|)|[|0+0#e000002&|]+0#0000000&|;| @32
|
||||
@2|}+0#00e0e07&| +0#0000000&@71
|
||||
@75
|
||||
| +0#00e0e07&@1|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|C|l|a|s@1|<|?|>| |c|l|a|s@1|L|o|c|k|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|I|n|d|e|n|t|2|M|e|t|h|o|d|s|T|e|s|t|s|.|c+0#00e0003&|l|a|s@1|;+0#0000000&| |}+0#00e0e07&| +0#0000000&
|
||||
@75
|
||||
@2|@+0#e000e06&|O|v|e|r@1|i|d|e| +0#0000000&|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|c|a|s|t|"|)+0#0000000&| @37
|
||||
| +0#00e0e07&@1|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|S|t|r|i|n|g| |t|o|S|t|r|i|n|g|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|(|S|t|r|i|n|g|)| |"+0#e000002&|I|n|d|e|n|t|2|M|e|t|h|o|d|s|T|e|s|t|s|"|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@5
|
||||
|}+0#00e0e07&| +0#0000000&@73
|
||||
@75
|
||||
|e+0#00e0003&|n|u|m| +0#0000000&|𝓔| @68
|
||||
|{+0#00e0e07&| +0#0000000&@73
|
||||
@2|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|b|e|s|p|o|k|e|"|)+0#0000000&| |A|(|"+0#e000002&|𝗔|"|)+0#0000000&|,| @36
|
||||
@57|7|3|,|3| @9|9|1|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent2_99.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent2_99.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@3|r+0#af5f00255&|e|t|u|r|n| +0#0000000&@64
|
||||
@2|I|n|d|e|n|t|2|M|e|t|h|o|d|s|T|e|s|t|s|.|<|α|,| |β|>|μ|ʭ@1|$|9|8|_|(|ƒ|)|[|0+0#e000002&|]+0#0000000&|;| @32
|
||||
@2|}+0#00e0e07&| +0#0000000&@71
|
||||
@75
|
||||
| +0#00e0e07&@1|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|C|l|a|s@1|<|?|>| |c|l|a|s@1|L|o|c|k|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|I|n|d|e|n|t|2|M|e|t|h|o|d|s|T|e|s|t|s|.|c+0#00e0003&|l|a|s@1|;+0#0000000&| |}+0#00e0e07&| +0#0000000&
|
||||
@75
|
||||
@2|@+0#e000e06&|O|v|e|r@1|i|d|e| +0#0000000&|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|c|a|s|t|"|)+0#0000000&| @37
|
||||
| +0#00e0e07&@1|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|S|t|r|i|n|g| |t|o|S|t|r|i|n|g|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|(|S|t|r|i|n|g|)| |"+0#e000002&|I|n|d|e|n|t|2|M|e|t|h|o|d|s|T|e|s|t|s|"|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@5
|
||||
|}+0#00e0e07&| +0#0000000&@73
|
||||
@75
|
||||
|e+0#00e0003&|n|u|m| +0#0000000&|𝓔| @68
|
||||
|{+0#00e0e07&| +0#0000000&@73
|
||||
@2|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|b|e|s|p|o|k|e|"|)+0#0000000&| |A|(|"+0#e000002&|𝗔|"|)+0#0000000&|,| @36
|
||||
@2|B|(|"+0#e000002&|𝗕|"|)+0#0000000&|,| @65
|
||||
@2|C|(|"+0#e000002&|𝗖|"|)+0#0000000&|,| |D|(|"+0#e000002&|𝗗|"|)+0#0000000&|,| @57
|
||||
@2|E|(|"+0#e000002&|𝗘|"|)+0#0000000&|,| |F|(|"+0#e000002&|𝗙|"|)+0#0000000&|,| |G|(|"+0#e000002&|𝗚|"|)+0#0000000&|,| |H|(|"+0#e000002&|𝗛|"|)+0#0000000&|;| @41
|
||||
@2|f+0#4040ff13&|i|n|a|l| +0#0000000&|S|t|r|i|n|g| |𝐬|;| @57
|
||||
@2|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|𝓔|(|S|t|r|i|n|g| |𝐬|)| |{+0#00e0e07&| +0#0000000&|t+0#00e0003&|h|i|s|.+0#0000000&|𝐬| |=| |𝐬|;| |}+0#00e0e07&| +0#0000000&@37
|
||||
>}+0#00e0e07&| +0#0000000&@73
|
||||
@57|9|2|,|1| @9|B|o|t|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent4_00.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent4_00.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
>/+0#0000e05#ffffff0@1| |V|I|M|_|T|E|S|T|_|S|E|T|U|P| |l|e|t| |g|:|j|a|v|a|_|h|i|g|h|l|i|g|h|t|_|f|u|n|c|t|i|o|n|s| |=| |'|i|n|d|e|n|t|4|'| +0#0000000&@14
|
||||
@75
|
||||
@75
|
||||
|i+0#e000e06&|m|p|o|r|t| +0#0000000&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|E|l|e|m|e|n|t|T|y|p|e|;| @34
|
||||
|i+0#e000e06&|m|p|o|r|t| +0#0000000&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|T|a|r|g|e|t|;| @39
|
||||
@75
|
||||
|a+0#4040ff13&|b|s|t|r|a|c|t| +0#0000000&|c+0#00e0003&|l|a|s@1| +0#0000000&|I|n|d|e|n|t|4|M|e|t|h|o|d|s|T|e|s|t|s| @40
|
||||
|{+0#00e0e07&| +0#0000000&|/+0#0000e05&@1| |D|O| |N|O|T| |r|e|t|a|b|!| |T|H|I|S| |F|I|L|E|;| |R|E|M|E|M|B|E|R| |A|B|O|U|T| |t|e|s|t|d|i|r|/|f|t|p|l|u|g|i|n|.| +0#0000000&@12
|
||||
@4|/+0#0000e05&@1| |T|Y|P|E|S|.| +0#0000000&@61
|
||||
@4|r+0#00e0003&|e|c|o|r|d| +0#0000000&|Τ|ʬ|<|α|>|(|α| |a|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@49
|
||||
@75
|
||||
@4|e+0#00e0003&|n|u|m| +0#0000000&|𝓔| @64
|
||||
@4|{+0#00e0e07&| +0#0000000&@69
|
||||
@8|A|(|"+0#e000002&|𝕬|"|)+0#0000000&|,| |B|(|"+0#e000002&|𝕭|"|)+0#0000000&|,| |C|(|"+0#e000002&|𝕮|"|)+0#0000000&|,| |D|(|"+0#e000002&|𝕯|"|)+0#0000000&|,| @35
|
||||
@8|E|(|"+0#e000002&|𝕰|"|)+0#0000000&|,| |F|(|"+0#e000002&|𝕱|"|)+0#0000000&|,| |G|(|"+0#e000002&|𝕲|"|)+0#0000000&|,| |H|(|"+0#e000002&|𝕳|"|)+0#0000000&|;| @35
|
||||
@8|f+0#4040ff13&|i|n|a|l| +0#0000000&|S|t|r|i|n|g| |𝐬|;| @51
|
||||
@8|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|𝓔|(|S|t|r|i|n|g| |𝐬|)| |{+0#00e0e07&| +0#0000000&|t+0#00e0003&|h|i|s|.+0#0000000&|𝐬| |=| |𝐬|;| |}+0#00e0e07&| +0#0000000&@31
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
@57|1|,|1| @10|T|o|p|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent4_01.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent4_01.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@7|A|(|"+0#e000002&|𝕬|"|)+0#0000000&|,| |B|(|"+0#e000002&|𝕭|"|)+0#0000000&|,| |C|(|"+0#e000002&|𝕮|"|)+0#0000000&|,| |D|(|"+0#e000002&|𝕯|"|)+0#0000000&|,| @35
|
||||
@8|E|(|"+0#e000002&|𝕰|"|)+0#0000000&|,| |F|(|"+0#e000002&|𝕱|"|)+0#0000000&|,| |G|(|"+0#e000002&|𝕲|"|)+0#0000000&|,| |H|(|"+0#e000002&|𝕳|"|)+0#0000000&|;| @35
|
||||
@8|f+0#4040ff13&|i|n|a|l| +0#0000000&|S|t|r|i|n|g| |𝐬|;| @51
|
||||
@8|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|𝓔|(|S|t|r|i|n|g| |𝐬|)| |{+0#00e0e07&| +0#0000000&|t+0#00e0003&|h|i|s|.+0#0000000&|𝐬| |=| |𝐬|;| |}+0#00e0e07&| +0#0000000&@31
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
> @74
|
||||
@4|@+0#e000e06&|T|a|r|g|e|t|(+0#0000000&|{+0#00e0e07&|E+0#0000000&|l|e|m|e|n|t|T|y|p|e|.|M|E|T|H|O|D|,| |E|l|e|m|e|n|t|T|y|p|e|.|C|O|N|S|T|R|U|C|T|O|R|}+0#00e0e07&|)+0#0000000&| @16
|
||||
@4|@+0#e000e06&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|R|e|p|e|a|t|a|b|l|e|(+0#0000000&|T|ɐ|g@1|a|b|l|ɘ|s|.|c+0#00e0003&|l|a|s@1|)+0#0000000&| @21
|
||||
@4|@+0#00e0003&|i|n|t|e|r|f|a|c|e| +0#0000000&|T|ɐ|g@1|a|b|l|ɘ| @51
|
||||
@4|{+0#00e0e07&| +0#0000000&@69
|
||||
@8|S|t|r|i|n|g|[|]| |v|a|l|u|e|(|)| |d+0#4040ff13&|e|f|a|u|l|t| +0#0000000&|"+0#e000002&@1|;+0#0000000&| @38
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
@4|@+0#e000e06&|T|a|r|g|e|t|(+0#0000000&|{+0#00e0e07&|E+0#0000000&|l|e|m|e|n|t|T|y|p|e|.|M|E|T|H|O|D|,| |E|l|e|m|e|n|t|T|y|p|e|.|C|O|N|S|T|R|U|C|T|O|R|}+0#00e0e07&|)+0#0000000&| @16
|
||||
@4|@+0#00e0003&|i|n|t|e|r|f|a|c|e| +0#0000000&|T|ɐ|g@1|a|b|l|ɘ|s| @50
|
||||
@4|{+0#00e0e07&| +0#0000000&@69
|
||||
@8|T|ɐ|g@1|a|b|l|ɘ|[|]| |v|a|l|u|e|(|)|;| @47
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
@57|1|9|,|0|-|1| @7|1|7|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent4_02.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent4_02.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
@4|i+0#00e0003&|n|t|e|r|f|a|c|e| +0#0000000&|S|t|y|l|a|b|l|e|<|Α|>| @49
|
||||
@4|{+0#00e0e07&| +0#0000000&@69
|
||||
@8|d+0#4040ff13&|e|f|a|u|l|t| +0#0000000&|v+0#00e0003&|o|i|d| +0#0000000&|a|s|c|i@1|$|0|_|(|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@39
|
||||
@8|d+0#4040ff13&|e|f|a|u|l|t| +0#0000000&|Α| |μ|ʭ@1|$|0|_|(|)| |{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|n+0#e000002&|u|l@1|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@31
|
||||
@4>}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
@4|/+0#0000e05&@1| |F|I|E|L|D|S|.| +0#0000000&@60
|
||||
@4|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|s+0#00e0003&|t|a|t|i|c| +0#0000000&|f+0#4040ff13&|i|n|a|l| +0#0000000&|C|l|a|s@1|<|?|>| |C|L|A|S@1|_|L|O|C|K| |=| |c|l|a|s@1|L|o|c|k|(|)|;| @15
|
||||
@75
|
||||
@4|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|f+0#4040ff13&|i|n|a|l| +0#0000000&|O|b|j|e|c|t| |i|n|s|t|a|n|c|e|L|o|c|k| |=| |n+0#af5f00255&|e|w| +0#0000000&|O|b|j|e|c|t|(|)|;| @21
|
||||
@75
|
||||
@4|/+0#0000e05&@1| |C|O|N|S|T|R|U|C|T|O|R|S|.| +0#0000000&@54
|
||||
@4|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#0000000&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#0000000&|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#0000000&|I|n|d|e|n|t|4|M|e|t|h|o|d|s|T|e|s|t|s|(|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@15
|
||||
@4|<|T| |e+0#00e0003&|x|t|e|n|d|s| +0#0000000&|C|o|m|p|a|r|a|b|l|e|<|T|>@1| |I|n|d|e|n|t|4|M|e|t|h|o|d|s|T|e|s|t|s|(|T| |t|,| |V|o|i|d| |v|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@8
|
||||
@4|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|<|T| |e|x|t|e|n|d|s| |C|o|m|p|a|r|a|b|l|e|<|T|>@1| |I|n|d|e|n|t|4|M|e|t|h|o|d|s|T|e|s|t|s|(|T| |t|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@8
|
||||
@75
|
||||
@4|/+0#0000e05&@1| |M|E|T|H|O|D|S|.| +0#0000000&@59
|
||||
| +0#00e0e07&@3|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|0|_|(|/+0#0000e05&@15| +0#0000000&@11
|
||||
@57|3|7|,|5| @9|4|2|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent4_03.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent4_03.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0#00e0e07#ffffff0@3|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|0|_|(|/+0#0000e05&@15| +0#0000000&@11
|
||||
| +0#00e0e07&@63|)|;+0#0000000&| @8
|
||||
| +0#00e0e07&@3|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>| |μ|ʭ@1|$|0|_|(| +0#0000000&@21
|
||||
| +0#00e0e07&@23|/+0#0000e05&|*| |T+0#0000001#ffff4012|O|D|O|:+0#0000e05#ffffff0| |@|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(|"|b|e|s|p|o|k|e|"|)|*|/| +0#00e0e07&|β| |𝛽|)|;+0#0000000&| @5
|
||||
@75
|
||||
| +0#00e0e07&@3>@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|p+0#00e0003&|r|i|v|a|t|e| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|1|_|(|/+0#0000e05&|*|/@10|/+0#ffffff16#ff404010|*+0#0000e05#ffffff0|/|)+0#00e0e07&|;+0#0000000&| @13
|
||||
| +0#00e0e07&@3|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|p+0#00e0003&|r|i|v|a|t|e| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]| |μ|ʭ@1|$|1|_|(| +0#0000000&@23
|
||||
| +0#00e0e07&@23|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|>| |ƒ|)|;+0#0000000&| @7
|
||||
@75
|
||||
| +0#00e0e07&@3|v+0#00e0003&|o|i|d| +0#00e0e07&|A|s|c|i@1|$|2|_|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@51
|
||||
| +0#00e0e07&@3|<|T|,| |U| |e|x|t|e|n|d|s| |S|t|y|l|a|b|l|e|<|T|>@1| |v+0#00e0003&|o|i|d| +0#00e0e07&|Μ|ʭ@1|$|2|_|(|U| |u|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@23
|
||||
@75
|
||||
| +0#00e0e07&@3|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|9|8|_|(|)|;+0#0000000&| @20
|
||||
| +0#00e0e07&@3|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]|[|]| |μ|ʭ@1|$|9|8|_|(| +0#0000000&@12
|
||||
| +0#00e0e07&@23|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|[|]|>| |ƒ|)|;+0#0000000&| @5
|
||||
@75
|
||||
@4|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|s|t|r|i|c|t|f|p|"|)+0#0000000&| @41
|
||||
| +0#00e0e07&@3|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|s+0#00e0003&|t|r|i|c|t|f|p| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|9@1|_|(|)| +0#0000000&@9
|
||||
@4|{+0#00e0e07&| +0#0000000&|a|s|c|i@1|$|9|8|_|(|)|;| |}+0#00e0e07&| +0#0000000&@54
|
||||
@57|5@1|,|5| @9|6|7|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent4_04.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent4_04.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@3|{+0#00e0e07&| +0#0000000&|a|s|c|i@1|$|9|8|_|(|)|;| |}+0#00e0e07&| +0#0000000&@54
|
||||
@75
|
||||
@4|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|s|t|r|i|c|t|f|p|"|)+0#0000000&| @41
|
||||
| +0#00e0e07&@3|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|s+0#00e0003&|t|r|i|c|t|f|p| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]| |μ|ʭ@1|$|9@1|_|(| +0#0000000&@2
|
||||
| +0#00e0e07&@23|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|[|]|>| |ƒ|)| +0#0000000&@6
|
||||
@4>{+0#00e0e07&| +0#0000000&@69
|
||||
@8|r+0#af5f00255&|e|t|u|r|n| +0#0000000&@60
|
||||
@4|I|n|d|e|n|t|4|M|e|t|h|o|d|s|T|e|s|t|s|.|<|α|,| |β|>|μ|ʭ@1|$|9|8|_|(|ƒ|)|[|0+0#e000002&|]+0#0000000&|;| @30
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
| +0#00e0e07&@3|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|C|l|a|s@1|<|?|>| |c|l|a|s@1|L|o|c|k|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|I|n|d|e|n|t|4|M|e|t|h|o|d|s|T|e|s|t|s|.|c+0#00e0003&|l|a|s@1|;+0#0000000&|
|
||||
|}+0#00e0e07&| +0#0000000&@73
|
||||
@75
|
||||
@4|@+0#e000e06&|O|v|e|r@1|i|d|e| +0#0000000&|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|c|a|s|t|"|)+0#0000000&| @35
|
||||
| +0#00e0e07&@3|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|S|t|r|i|n|g| |t|o|S|t|r|i|n|g|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|(|S|t|r|i|n|g|)| |"+0#e000002&|I|n|d|e|n|t|4|M|e|t|h|o|d|s|T|e|s|t|s|"|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@3
|
||||
|}+0#00e0e07&| +0#0000000&@73
|
||||
@75
|
||||
|e+0#00e0003&|n|u|m| +0#0000000&|𝓔| @68
|
||||
|{+0#00e0e07&| +0#0000000&@73
|
||||
@57|7|3|,|5| @9|9|0|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent4_99.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent4_99.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@3|I|n|d|e|n|t|4|M|e|t|h|o|d|s|T|e|s|t|s|.|<|α|,| |β|>|μ|ʭ@1|$|9|8|_|(|ƒ|)|[|0+0#e000002&|]+0#0000000&|;| @30
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
| +0#00e0e07&@3|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|C|l|a|s@1|<|?|>| |c|l|a|s@1|L|o|c|k|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|I|n|d|e|n|t|4|M|e|t|h|o|d|s|T|e|s|t|s|.|c+0#00e0003&|l|a|s@1|;+0#0000000&|
|
||||
|}+0#00e0e07&| +0#0000000&@73
|
||||
@75
|
||||
@4|@+0#e000e06&|O|v|e|r@1|i|d|e| +0#0000000&|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|c|a|s|t|"|)+0#0000000&| @35
|
||||
| +0#00e0e07&@3|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|S|t|r|i|n|g| |t|o|S|t|r|i|n|g|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|(|S|t|r|i|n|g|)| |"+0#e000002&|I|n|d|e|n|t|4|M|e|t|h|o|d|s|T|e|s|t|s|"|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@3
|
||||
|}+0#00e0e07&| +0#0000000&@73
|
||||
@75
|
||||
|e+0#00e0003&|n|u|m| +0#0000000&|𝓔| @68
|
||||
|{+0#00e0e07&| +0#0000000&@73
|
||||
@4|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|b|e|s|p|o|k|e|"|)+0#0000000&| |A|(|"+0#e000002&|𝗔|"|)+0#0000000&|,| @34
|
||||
@4|B|(|"+0#e000002&|𝗕|"|)+0#0000000&|,| @63
|
||||
@4|C|(|"+0#e000002&|𝗖|"|)+0#0000000&|,| |D|(|"+0#e000002&|𝗗|"|)+0#0000000&|,| @55
|
||||
@4|E|(|"+0#e000002&|𝗘|"|)+0#0000000&|,| |F|(|"+0#e000002&|𝗙|"|)+0#0000000&|,| |G|(|"+0#e000002&|𝗚|"|)+0#0000000&|,| |H|(|"+0#e000002&|𝗛|"|)+0#0000000&|;| @39
|
||||
@4|f+0#4040ff13&|i|n|a|l| +0#0000000&|S|t|r|i|n|g| |𝐬|;| @55
|
||||
@4|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|𝓔|(|S|t|r|i|n|g| |𝐬|)| |{+0#00e0e07&| +0#0000000&|t+0#00e0003&|h|i|s|.+0#0000000&|𝐬| |=| |𝐬|;| |}+0#00e0e07&| +0#0000000&@35
|
||||
>}+0#00e0e07&| +0#0000000&@73
|
||||
@57|9|2|,|1| @9|B|o|t|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent8_00.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent8_00.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
>/+0#0000e05#ffffff0@1| |V|I|M|_|T|E|S|T|_|S|E|T|U|P| |l|e|t| |g|:|j|a|v|a|_|h|i|g|h|l|i|g|h|t|_|f|u|n|c|t|i|o|n|s| |=| |'|i|n|d|e|n|t|8|'| +0#0000000&@14
|
||||
@75
|
||||
@75
|
||||
|i+0#e000e06&|m|p|o|r|t| +0#0000000&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|E|l|e|m|e|n|t|T|y|p|e|;| @34
|
||||
|i+0#e000e06&|m|p|o|r|t| +0#0000000&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|T|a|r|g|e|t|;| @39
|
||||
@75
|
||||
|a+0#4040ff13&|b|s|t|r|a|c|t| +0#0000000&|c+0#00e0003&|l|a|s@1| +0#0000000&|I|n|d|e|n|t|8|M|e|t|h|o|d|s|T|e|s|t|s| @40
|
||||
|{+0#00e0e07&| +0#0000000&|/+0#0000e05&@1| |D|O| |N|O|T| |r|e|t|a|b|!| |T|H|I|S| |F|I|L|E|;| |R|E|M|E|M|B|E|R| |A|B|O|U|T| |t|e|s|t|d|i|r|/|f|t|p|l|u|g|i|n|.| +0#0000000&@12
|
||||
@8|/+0#0000e05&@1| |T|Y|P|E|S|.| +0#0000000&@57
|
||||
@8|r+0#00e0003&|e|c|o|r|d| +0#0000000&|Τ|ʬ|<|α|>|(|α| |a|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@45
|
||||
@75
|
||||
@8|e+0#00e0003&|n|u|m| +0#0000000&|𝓔| @60
|
||||
@8|{+0#00e0e07&| +0#0000000&@65
|
||||
@16|A|(|"+0#e000002&|𝕬|"|)+0#0000000&|,| |B|(|"+0#e000002&|𝕭|"|)+0#0000000&|,| |C|(|"+0#e000002&|𝕮|"|)+0#0000000&|,| |D|(|"+0#e000002&|𝕯|"|)+0#0000000&|,| @27
|
||||
@16|E|(|"+0#e000002&|𝕰|"|)+0#0000000&|,| |F|(|"+0#e000002&|𝕱|"|)+0#0000000&|,| |G|(|"+0#e000002&|𝕲|"|)+0#0000000&|,| |H|(|"+0#e000002&|𝕳|"|)+0#0000000&|;| @27
|
||||
@16|f+0#4040ff13&|i|n|a|l| +0#0000000&|S|t|r|i|n|g| |𝐬|;| @43
|
||||
@16|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|𝓔|(|S|t|r|i|n|g| |𝐬|)| |{+0#00e0e07&| +0#0000000&|t+0#00e0003&|h|i|s|.+0#0000000&|𝐬| |=| |𝐬|;| |}+0#00e0e07&| +0#0000000&@23
|
||||
@8|}+0#00e0e07&| +0#0000000&@65
|
||||
@75
|
||||
@57|1|,|1| @10|T|o|p|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent8_01.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent8_01.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@15|A|(|"+0#e000002&|𝕬|"|)+0#0000000&|,| |B|(|"+0#e000002&|𝕭|"|)+0#0000000&|,| |C|(|"+0#e000002&|𝕮|"|)+0#0000000&|,| |D|(|"+0#e000002&|𝕯|"|)+0#0000000&|,| @27
|
||||
@16|E|(|"+0#e000002&|𝕰|"|)+0#0000000&|,| |F|(|"+0#e000002&|𝕱|"|)+0#0000000&|,| |G|(|"+0#e000002&|𝕲|"|)+0#0000000&|,| |H|(|"+0#e000002&|𝕳|"|)+0#0000000&|;| @27
|
||||
@16|f+0#4040ff13&|i|n|a|l| +0#0000000&|S|t|r|i|n|g| |𝐬|;| @43
|
||||
@16|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|𝓔|(|S|t|r|i|n|g| |𝐬|)| |{+0#00e0e07&| +0#0000000&|t+0#00e0003&|h|i|s|.+0#0000000&|𝐬| |=| |𝐬|;| |}+0#00e0e07&| +0#0000000&@23
|
||||
@8|}+0#00e0e07&| +0#0000000&@65
|
||||
> @74
|
||||
@8|@+0#e000e06&|T|a|r|g|e|t|(+0#0000000&|{+0#00e0e07&|E+0#0000000&|l|e|m|e|n|t|T|y|p|e|.|M|E|T|H|O|D|,| |E|l|e|m|e|n|t|T|y|p|e|.|C|O|N|S|T|R|U|C|T|O|R|}+0#00e0e07&|)+0#0000000&| @12
|
||||
@8|@+0#e000e06&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|R|e|p|e|a|t|a|b|l|e|(+0#0000000&|T|ɐ|g@1|a|b|l|ɘ|s|.|c+0#00e0003&|l|a|s@1|)+0#0000000&| @17
|
||||
@8|@+0#00e0003&|i|n|t|e|r|f|a|c|e| +0#0000000&|T|ɐ|g@1|a|b|l|ɘ| @47
|
||||
@8|{+0#00e0e07&| +0#0000000&@65
|
||||
@16|S|t|r|i|n|g|[|]| |v|a|l|u|e|(|)| |d+0#4040ff13&|e|f|a|u|l|t| +0#0000000&|"+0#e000002&@1|;+0#0000000&| @30
|
||||
@8|}+0#00e0e07&| +0#0000000&@65
|
||||
@75
|
||||
@8|@+0#e000e06&|T|a|r|g|e|t|(+0#0000000&|{+0#00e0e07&|E+0#0000000&|l|e|m|e|n|t|T|y|p|e|.|M|E|T|H|O|D|,| |E|l|e|m|e|n|t|T|y|p|e|.|C|O|N|S|T|R|U|C|T|O|R|}+0#00e0e07&|)+0#0000000&| @12
|
||||
@8|@+0#00e0003&|i|n|t|e|r|f|a|c|e| +0#0000000&|T|ɐ|g@1|a|b|l|ɘ|s| @46
|
||||
@8|{+0#00e0e07&| +0#0000000&@65
|
||||
@16|T|ɐ|g@1|a|b|l|ɘ|[|]| |v|a|l|u|e|(|)|;| @39
|
||||
@8|}+0#00e0e07&| +0#0000000&@65
|
||||
@75
|
||||
@57|1|9|,|0|-|1| @7|1|7|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent8_02.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent8_02.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
@8|i+0#00e0003&|n|t|e|r|f|a|c|e| +0#0000000&|S|t|y|l|a|b|l|e|<|Α|>| @45
|
||||
@8|{+0#00e0e07&| +0#0000000&@65
|
||||
@16|d+0#4040ff13&|e|f|a|u|l|t| +0#0000000&|v+0#00e0003&|o|i|d| +0#0000000&|a|s|c|i@1|$|0|_|(|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@31
|
||||
@16|d+0#4040ff13&|e|f|a|u|l|t| +0#0000000&|Α| |μ|ʭ@1|$|0|_|(|)| |{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|n+0#e000002&|u|l@1|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@23
|
||||
@8>}+0#00e0e07&| +0#0000000&@65
|
||||
@75
|
||||
@8|/+0#0000e05&@1| |F|I|E|L|D|S|.| +0#0000000&@56
|
||||
@8|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|s+0#00e0003&|t|a|t|i|c| +0#0000000&|f+0#4040ff13&|i|n|a|l| +0#0000000&|C|l|a|s@1|<|?|>| |C|L|A|S@1|_|L|O|C|K| |=| |c|l|a|s@1|L|o|c|k|(|)|;| @11
|
||||
@75
|
||||
@8|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|f+0#4040ff13&|i|n|a|l| +0#0000000&|O|b|j|e|c|t| |i|n|s|t|a|n|c|e|L|o|c|k| |=| |n+0#af5f00255&|e|w| +0#0000000&|O|b|j|e|c|t|(|)|;| @17
|
||||
@75
|
||||
@8|/+0#0000e05&@1| |C|O|N|S|T|R|U|C|T|O|R|S|.| +0#0000000&@50
|
||||
@8|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#0000000&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#0000000&|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#0000000&|I|n|d|e|n|t|8|M|e|t|h|o|d|s|T|e|s|t|s|(|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@11
|
||||
@8|<|T| |e+0#00e0003&|x|t|e|n|d|s| +0#0000000&|C|o|m|p|a|r|a|b|l|e|<|T|>@1| |I|n|d|e|n|t|8|M|e|t|h|o|d|s|T|e|s|t|s|(|T| |t|,| |V|o|i|d| |v|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@4
|
||||
@8|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|<|T| |e|x|t|e|n|d|s| |C|o|m|p|a|r|a|b|l|e|<|T|>@1| |I|n|d|e|n|t|8|M|e|t|h|o|d|s|T|e|s|t|s|(|T| |t|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@4
|
||||
@75
|
||||
@8|/+0#0000e05&@1| |M|E|T|H|O|D|S|.| +0#0000000&@55
|
||||
| +0#00e0e07&@7|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|0|_|(|/+0#0000e05&@15| +0#0000000&@7
|
||||
@57|3|7|,|9| @9|4|2|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent8_03.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent8_03.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0#00e0e07#ffffff0@7|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|0|_|(|/+0#0000e05&@15| +0#0000000&@7
|
||||
| +0#00e0e07&@63|)|;+0#0000000&| @8
|
||||
| +0#00e0e07&@7|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>| |μ|ʭ@1|$|0|_|(| +0#0000000&@17
|
||||
| +0#00e0e07&@23|/+0#0000e05&|*| |T+0#0000001#ffff4012|O|D|O|:+0#0000e05#ffffff0| |@|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(|"|b|e|s|p|o|k|e|"|)|*|/| +0#00e0e07&|β| |𝛽|)|;+0#0000000&| @5
|
||||
@75
|
||||
| +0#00e0e07&@7>@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|p+0#00e0003&|r|i|v|a|t|e| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|1|_|(|/+0#0000e05&|*|/@10|/+0#ffffff16#ff404010|*+0#0000e05#ffffff0|/|)+0#00e0e07&|;+0#0000000&| @9
|
||||
| +0#00e0e07&@7|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|p+0#00e0003&|r|i|v|a|t|e| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]| |μ|ʭ@1|$|1|_|(| +0#0000000&@19
|
||||
| +0#00e0e07&@23|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|>| |ƒ|)|;+0#0000000&| @7
|
||||
@75
|
||||
| +0#00e0e07&@7|v+0#00e0003&|o|i|d| +0#00e0e07&|A|s|c|i@1|$|2|_|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@47
|
||||
| +0#00e0e07&@7|<|T|,| |U| |e|x|t|e|n|d|s| |S|t|y|l|a|b|l|e|<|T|>@1| |v+0#00e0003&|o|i|d| +0#00e0e07&|Μ|ʭ@1|$|2|_|(|U| |u|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@19
|
||||
@75
|
||||
| +0#00e0e07&@7|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|9|8|_|(|)|;+0#0000000&| @16
|
||||
| +0#00e0e07&@7|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]|[|]| |μ|ʭ@1|$|9|8|_|(| +0#0000000&@8
|
||||
| +0#00e0e07&@23|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|[|]|>| |ƒ|)|;+0#0000000&| @5
|
||||
@75
|
||||
@8|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|s|t|r|i|c|t|f|p|"|)+0#0000000&| @37
|
||||
| +0#00e0e07&@7|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|s+0#00e0003&|t|r|i|c|t|f|p| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|9@1|_|(|)| +0#0000000&@5
|
||||
@8|{+0#00e0e07&| +0#0000000&|a|s|c|i@1|$|9|8|_|(|)|;| |}+0#00e0e07&| +0#0000000&@50
|
||||
@57|5@1|,|9| @9|6|7|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent8_04.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent8_04.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
@8|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|s|t|r|i|c|t|f|p|"|)+0#0000000&| @37
|
||||
| +0#00e0e07&@7|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|s+0#00e0003&|t|r|i|c|t|f|p| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]| |μ|ʭ@1|$|9@1|_
|
||||
|(| +0#0000000&@73
|
||||
| +0#00e0e07&@23|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|[|]|>| |ƒ|)| +0#0000000&@6
|
||||
@8>{+0#00e0e07&| +0#0000000&@65
|
||||
@16|r+0#af5f00255&|e|t|u|r|n| +0#0000000&@52
|
||||
@8|I|n|d|e|n|t|8|M|e|t|h|o|d|s|T|e|s|t|s|.|<|α|,| |β|>|μ|ʭ@1|$|9|8|_|(|ƒ|)|[|0+0#e000002&|]+0#0000000&|;| @26
|
||||
@8|}+0#00e0e07&| +0#0000000&@65
|
||||
@75
|
||||
| +0#00e0e07&@7|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|C|l|a|s@1|<|?|>| |c|l|a|s@1|L|o|c|k|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|I|n|d|e|n|t|8|M|e|t|h|o|d|s|T|e|s|t|s|.|c+0#00e0003&|l|a
|
||||
|s@1|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
@8|@+0#e000e06&|O|v|e|r@1|i|d|e| +0#0000000&|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|c|a|s|t|"|)+0#0000000&| @31
|
||||
| +0#00e0e07&@7|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|S|t|r|i|n|g| |t|o|S|t|r|i|n|g|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|(|S|t|r|i|n|g|)| |"+0#e000002&|I|n|d|e|n|t|8|M|e|t|h|o|d|s|T|e|s|t|s|"|;+0#0000000&| |}+0#00e0e07&
|
||||
@1| +0#0000000&@73
|
||||
@75
|
||||
|e+0#00e0003&|n|u|m| +0#0000000&|𝓔| @68
|
||||
|{+0#00e0e07&| +0#0000000&@73
|
||||
@57|7|3|,|9| @9|9|0|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_indent8_99.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_indent8_99.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@7|I|n|d|e|n|t|8|M|e|t|h|o|d|s|T|e|s|t|s|.|<|α|,| |β|>|μ|ʭ@1|$|9|8|_|(|ƒ|)|[|0+0#e000002&|]+0#0000000&|;| @26
|
||||
@8|}+0#00e0e07&| +0#0000000&@65
|
||||
@75
|
||||
| +0#00e0e07&@7|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|C|l|a|s@1|<|?|>| |c|l|a|s@1|L|o|c|k|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|I|n|d|e|n|t|8|M|e|t|h|o|d|s|T|e|s|t|s|.|c+0#00e0003&|l|a
|
||||
|s@1|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
@8|@+0#e000e06&|O|v|e|r@1|i|d|e| +0#0000000&|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|c|a|s|t|"|)+0#0000000&| @31
|
||||
| +0#00e0e07&@7|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|S|t|r|i|n|g| |t|o|S|t|r|i|n|g|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|(|S|t|r|i|n|g|)| |"+0#e000002&|I|n|d|e|n|t|8|M|e|t|h|o|d|s|T|e|s|t|s|"|;+0#0000000&| |}+0#00e0e07&
|
||||
@1| +0#0000000&@73
|
||||
@75
|
||||
|e+0#00e0003&|n|u|m| +0#0000000&|𝓔| @68
|
||||
|{+0#00e0e07&| +0#0000000&@73
|
||||
@8|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|b|e|s|p|o|k|e|"|)+0#0000000&| |A|(|"+0#e000002&|𝗔|"|)+0#0000000&|,| @30
|
||||
@8|B|(|"+0#e000002&|𝗕|"|)+0#0000000&|,| @59
|
||||
@8|C|(|"+0#e000002&|𝗖|"|)+0#0000000&|,| |D|(|"+0#e000002&|𝗗|"|)+0#0000000&|,| @51
|
||||
@8|E|(|"+0#e000002&|𝗘|"|)+0#0000000&|,| |F|(|"+0#e000002&|𝗙|"|)+0#0000000&|,| |G|(|"+0#e000002&|𝗚|"|)+0#0000000&|,| |H|(|"+0#e000002&|𝗛|"|)+0#0000000&|;| @35
|
||||
@8|f+0#4040ff13&|i|n|a|l| +0#0000000&|S|t|r|i|n|g| |𝐬|;| @51
|
||||
@8|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|𝓔|(|S|t|r|i|n|g| |𝐬|)| |{+0#00e0e07&| +0#0000000&|t+0#00e0003&|h|i|s|.+0#0000000&|𝐬| |=| |𝐬|;| |}+0#00e0e07&| +0#0000000&@31
|
||||
>}+0#00e0e07&| +0#0000000&@73
|
||||
@57|9|2|,|1| @9|B|o|t|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_style_00.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_style_00.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
>/+0#0000e05#ffffff0@1| |V|I|M|_|T|E|S|T|_|S|E|T|U|P| |l|e|t| |g|:|j|a|v|a|_|h|i|g|h|l|i|g|h|t|_|f|u|n|c|t|i|o|n|s| |=| |'|s|t|y|l|e|'| +0#0000000&@16
|
||||
@75
|
||||
@75
|
||||
|i+0#e000e06&|m|p|o|r|t| +0#0000000&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|E|l|e|m|e|n|t|T|y|p|e|;| @34
|
||||
|i+0#e000e06&|m|p|o|r|t| +0#0000000&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|T|a|r|g|e|t|;| @39
|
||||
@75
|
||||
|a+0#4040ff13&|b|s|t|r|a|c|t| +0#0000000&|c+0#00e0003&|l|a|s@1| +0#0000000&|S|t|y|l|e|M|e|t|h|o|d|s|T|e|s|t|s| @42
|
||||
|{+0#00e0e07&| +0#0000000&@73
|
||||
@4|/+0#0000e05&@1| |T|Y|P|E|S|.| +0#0000000&@61
|
||||
@4|r+0#00e0003&|e|c|o|r|d| +0#0000000&|Τ|ʬ|<|α|>|(|α| |a|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@49
|
||||
@75
|
||||
@4|e+0#00e0003&|n|u|m| +0#0000000&|𝓔| @64
|
||||
@4|{+0#00e0e07&| +0#0000000&@69
|
||||
@8|A|(|"+0#e000002&|𝕬|"|)+0#0000000&|,| |B|(|"+0#e000002&|𝕭|"|)+0#0000000&|,| |C|(|"+0#e000002&|𝕮|"|)+0#0000000&|,| |D|(|"+0#e000002&|𝕯|"|)+0#0000000&|,| @35
|
||||
@8|E|(|"+0#e000002&|𝕰|"|)+0#0000000&|,| |F|(|"+0#e000002&|𝕱|"|)+0#0000000&|,| |G|(|"+0#e000002&|𝕲|"|)+0#0000000&|,| |H|(|"+0#e000002&|𝕳|"|)+0#0000000&|;| @35
|
||||
@8|f+0#4040ff13&|i|n|a|l| +0#0000000&|S|t|r|i|n|g| |𝐬|;| @51
|
||||
@8|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|𝓔|(|S|t|r|i|n|g| |𝐬|)| |{+0#00e0e07&| +0#0000000&|t+0#00e0003&|h|i|s|.+0#0000000&|𝐬| |=| |𝐬|;| |}+0#00e0e07&| +0#0000000&@31
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
@57|1|,|1| @10|T|o|p|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_style_01.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_style_01.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@7|A|(|"+0#e000002&|𝕬|"|)+0#0000000&|,| |B|(|"+0#e000002&|𝕭|"|)+0#0000000&|,| |C|(|"+0#e000002&|𝕮|"|)+0#0000000&|,| |D|(|"+0#e000002&|𝕯|"|)+0#0000000&|,| @35
|
||||
@8|E|(|"+0#e000002&|𝕰|"|)+0#0000000&|,| |F|(|"+0#e000002&|𝕱|"|)+0#0000000&|,| |G|(|"+0#e000002&|𝕲|"|)+0#0000000&|,| |H|(|"+0#e000002&|𝕳|"|)+0#0000000&|;| @35
|
||||
@8|f+0#4040ff13&|i|n|a|l| +0#0000000&|S|t|r|i|n|g| |𝐬|;| @51
|
||||
@8|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|𝓔|(|S|t|r|i|n|g| |𝐬|)| |{+0#00e0e07&| +0#0000000&|t+0#00e0003&|h|i|s|.+0#0000000&|𝐬| |=| |𝐬|;| |}+0#00e0e07&| +0#0000000&@31
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
> @74
|
||||
@4|@+0#e000e06&|T|a|r|g|e|t|(+0#0000000&|{+0#00e0e07&|E+0#0000000&|l|e|m|e|n|t|T|y|p|e|.|M|E|T|H|O|D|,| |E|l|e|m|e|n|t|T|y|p|e|.|C|O|N|S|T|R|U|C|T|O|R|}+0#00e0e07&|)+0#0000000&| @16
|
||||
@4|@+0#e000e06&|j|a|v|a|.|l|a|n|g|.|a|n@1|o|t|a|t|i|o|n|.|R|e|p|e|a|t|a|b|l|e|(+0#0000000&|T|ɐ|g@1|a|b|l|ɘ|s|.|c+0#00e0003&|l|a|s@1|)+0#0000000&| @21
|
||||
@4|@+0#00e0003&|i|n|t|e|r|f|a|c|e| +0#0000000&|T|ɐ|g@1|a|b|l|ɘ| @51
|
||||
@4|{+0#00e0e07&| +0#0000000&@69
|
||||
| +0#00e0e07&@7|S|t|r|i|n|g|[|]| |v|a|l|u|e|(|)| +0#0000000&|d+0#4040ff13&|e|f|a|u|l|t| +0#0000000&|"+0#e000002&@1|;+0#0000000&| @38
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
@4|@+0#e000e06&|T|a|r|g|e|t|(+0#0000000&|{+0#00e0e07&|E+0#0000000&|l|e|m|e|n|t|T|y|p|e|.|M|E|T|H|O|D|,| |E|l|e|m|e|n|t|T|y|p|e|.|C|O|N|S|T|R|U|C|T|O|R|}+0#00e0e07&|)+0#0000000&| @16
|
||||
@4|@+0#00e0003&|i|n|t|e|r|f|a|c|e| +0#0000000&|T|ɐ|g@1|a|b|l|ɘ|s| @50
|
||||
@4|{+0#00e0e07&| +0#0000000&@69
|
||||
| +0#00e0e07&@7|T|ɐ|g@1|a|b|l|ɘ|[|]| |v|a|l|u|e|(|)|;+0#0000000&| @47
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
@57|1|9|,|0|-|1| @7|2|0|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_style_02.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_style_02.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
@4|i+0#00e0003&|n|t|e|r|f|a|c|e| +0#0000000&|S|t|y|l|a|b|l|e|<|Α|>| @49
|
||||
@4|{+0#00e0e07&| +0#0000000&@69
|
||||
| +0#00e0e07&@7|d+0#4040ff13&|e|f|a|u|l|t| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|0|_|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@39
|
||||
| +0#00e0e07&@7|d+0#4040ff13&|e|f|a|u|l|t| +0#00e0e07&|Α| |μ|ʭ@1|$|0|_|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|n+0#e000002&|u|l@1|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@31
|
||||
@4>}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
@4|/+0#0000e05&@1| |F|I|E|L|D|S|.| +0#0000000&@60
|
||||
@4|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|s+0#00e0003&|t|a|t|i|c| +0#0000000&|f+0#4040ff13&|i|n|a|l| +0#0000000&|C|l|a|s@1|<|?|>| |C|L|A|S@1|_|L|O|C|K| |=| |c|l|a|s@1|L|o|c|k|(|)|;| @15
|
||||
@75
|
||||
@4|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|f+0#4040ff13&|i|n|a|l| +0#0000000&|O|b|j|e|c|t| |i|n|s|t|a|n|c|e|L|o|c|k| |=| |n+0#af5f00255&|e|w| +0#0000000&|O|b|j|e|c|t|(|)|;| @21
|
||||
@75
|
||||
@4|/+0#0000e05&@1| |C|O|N|S|T|R|U|C|T|O|R|S|.| +0#0000000&@54
|
||||
@4|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#0000000&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#0000000&|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#0000000&|S|t|y|l|e|M|e|t|h|o|d|s|T|e|s|t|s|(|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@17
|
||||
@4|<|T| |e+0#00e0003&|x|t|e|n|d|s| +0#0000000&|C|o|m|p|a|r|a|b|l|e|<|T|>@1| |S|t|y|l|e|M|e|t|h|o|d|s|T|e|s|t|s|(|T| |t|,| |V|o|i|d| |v|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@10
|
||||
@4|p+0#00e0003&|r|i|v|a|t|e| +0#0000000&|<|T| |e+0#00e0003&|x|t|e|n|d|s| +0#0000000&|C|o|m|p|a|r|a|b|l|e|<|T|>@1| |S|t|y|l|e|M|e|t|h|o|d|s|T|e|s|t|s|(|T| |t|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@10
|
||||
@75
|
||||
@4|/+0#0000e05&@1| |M|E|T|H|O|D|S|.| +0#0000000&@59
|
||||
| +0#00e0e07&@3|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|0|_|(|/+0#0000e05&@15| +0#0000000&@11
|
||||
@57|3|7|,|2|-|5| @7|4|9|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_style_03.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_style_03.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0#00e0e07#ffffff0@3|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|0|_|(|/+0#0000e05&@15| +0#0000000&@11
|
||||
| +0#00e0e07&@31|)|;+0#0000000&| @40
|
||||
| +0#00e0e07&@3|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|a+0#4040ff13&|b|s|t|r|a|c|t| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>| |μ|ʭ@1|$|0|_|(| +0#0000000&@21
|
||||
| +0#00e0e07&@11|/+0#0000e05&|*| |T+0#0000001#ffff4012|O|D|O|:+0#0000e05#ffffff0| |@|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(|"|b|e|s|p|o|k|e|"|)|*|/| +0#00e0e07&|β| |𝛽|)|;+0#0000000&| @17
|
||||
@75
|
||||
| +0#00e0e07&@3>@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|p+0#00e0003&|r|i|v|a|t|e| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|1|_|(|/+0#0000e05&|*|/@10|/+0#ffffff16#ff404010|*+0#0000e05#ffffff0|/|)+0#00e0e07&|;+0#0000000&| @13
|
||||
| +0#00e0e07&@3|@+0#e000e06&|T|ɐ|g@1|a|b|l|ɘ| +0#00e0e07&|p+0#00e0003&|r|i|v|a|t|e| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]| |μ|ʭ@1|$|1|_|(| +0#0000000&@23
|
||||
| +0#00e0e07&@11|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|>| |ƒ|)|;+0#0000000&| @19
|
||||
@75
|
||||
@4|v+0#00e0003&|o|i|d| +0#0000000&|A|s|c|i@1|$|2|_|(|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@51
|
||||
@4|<|T|,| |U| |e+0#00e0003&|x|t|e|n|d|s| +0#0000000&|S|t|y|l|a|b|l|e|<|T|>@1| |v+0#00e0003&|o|i|d| +0#0000000&|Μ|ʭ@1|$|2|_|(|U| |u|)| |{+0#00e0e07&| +0#0000000&|}+0#00e0e07&| +0#0000000&@23
|
||||
@75
|
||||
| +0#00e0e07&@3|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|9|8|_|(|)|;+0#0000000&| @20
|
||||
| +0#00e0e07&@3|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|n+0#e000e06&|a|t|i|v|e| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]|[|]| |μ|ʭ@1|$|9|8|_|(| +0#0000000&@12
|
||||
| +0#00e0e07&@11|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|[|]|>| |ƒ|)|;+0#0000000&| @17
|
||||
@75
|
||||
@4|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|s|t|r|i|c|t|f|p|"|)+0#0000000&| @41
|
||||
| +0#00e0e07&@3|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|s+0#00e0003&|t|r|i|c|t|f|p| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|9@1|_|(|)| +0#0000000&@9
|
||||
@4|{+0#00e0e07&| +0#0000000&|a|s|c|i@1|$|9|8|_|(|)|;| |}+0#00e0e07&| +0#0000000&@54
|
||||
@57|5@1|,|2|-|5| @7|7@1|%|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_style_04.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_style_04.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@3|{+0#00e0e07&| +0#0000000&|a|s|c|i@1|$|9|8|_|(|)|;| |}+0#00e0e07&| +0#0000000&@54
|
||||
@75
|
||||
@4|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|s|t|r|i|c|t|f|p|"|)+0#0000000&| @41
|
||||
| +0#00e0e07&@3|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|s+0#00e0003&|t|r|i|c|t|f|p| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]| |μ|ʭ@1|$|9@1|_|(| +0#0000000&@2
|
||||
| +0#00e0e07&@11|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|[|]|>| |ƒ|)| +0#0000000&@18
|
||||
@4>{+0#00e0e07&| +0#0000000&@69
|
||||
@8|r+0#af5f00255&|e|t|u|r|n| +0#0000000&@60
|
||||
@4|S|t|y|l|e|M|e|t|h|o|d|s|T|e|s|t|s|.|<|α|,| |β|>|μ|ʭ@1|$|9|8|_|(|ƒ|)|[|0+0#e000002&|]+0#0000000&|;| @32
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
| +0#00e0e07&@3|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|C|l|a|s@1|<|?|>| |c|l|a|s@1|L|o|c|k|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|S|t|y|l|e|M|e|t|h|o|d|s|T|e|s|t|s|.|c+0#00e0003&|l|a|s@1|;+0#0000000&| |}+0#00e0e07&| +0#0000000&
|
||||
@75
|
||||
@4|@+0#e000e06&|O|v|e|r@1|i|d|e| +0#0000000&|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|c|a|s|t|"|)+0#0000000&| @35
|
||||
| +0#00e0e07&@3|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|S|t|r|i|n|g| |t|o|S|t|r|i|n|g|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|(|S|t|r|i|n|g|)| |"+0#e000002&|S|t|y|l|e|M|e|t|h|o|d|s|T|e|s|t|s|"|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@5
|
||||
|}+0#00e0e07&| +0#0000000&@73
|
||||
|~+0#4040ff13&| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
| +0#0000000&@56|7|3|,|2|-|5| @7|B|o|t|
|
||||
20
runtime/syntax/testdir/dumps/java_methods_style_99.dump
Normal file
20
runtime/syntax/testdir/dumps/java_methods_style_99.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0#00e0e07#ffffff0@11|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|[|]|>| |ƒ|)|;+0#0000000&| @17
|
||||
@75
|
||||
@4|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|s|t|r|i|c|t|f|p|"|)+0#0000000&| @41
|
||||
| +0#00e0e07&@3|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|s+0#00e0003&|t|r|i|c|t|f|p| +0#00e0e07&|v+0#00e0003&|o|i|d| +0#00e0e07&|a|s|c|i@1|$|9@1|_|(|)| +0#0000000&@9
|
||||
@4|{+0#00e0e07&| +0#0000000&|a|s|c|i@1|$|9|8|_|(|)|;| |}+0#00e0e07&| +0#0000000&@54
|
||||
@75
|
||||
@4|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|s|t|r|i|c|t|f|p|"|)+0#0000000&| @41
|
||||
| +0#00e0e07&@3|p+0#00e0003&|r|o|t|e|c|t|e|d| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|f+0#4040ff13&|i|n|a|l| +0#00e0e07&|s+0#00e0003&|y|n|c|h|r|o|n|i|z|e|d| +0#00e0e07&|s+0#00e0003&|t|r|i|c|t|f|p| +0#00e0e07&|<|α|,| |β|>| |Τ|ʬ|<|α|>|[|]| |μ|ʭ@1|$|9@1|_|(| +0#0000000&@2
|
||||
| +0#00e0e07&@11|j|a|v|a|.|u|t|i|l|.|f|u|n|c|t|i|o|n|.|F|u|n|c|t|i|o|n|<|β|,| |Τ|ʬ|<|α|>|[|]|[|]|>| |ƒ|)| +0#0000000&@18
|
||||
@4|{+0#00e0e07&| +0#0000000&@69
|
||||
@8|r+0#af5f00255&|e|t|u|r|n| +0#0000000&@60
|
||||
@4|S|t|y|l|e|M|e|t|h|o|d|s|T|e|s|t|s|.|<|α|,| |β|>|μ|ʭ@1|$|9|8|_|(|ƒ|)|[|0+0#e000002&|]+0#0000000&|;| @32
|
||||
@4|}+0#00e0e07&| +0#0000000&@69
|
||||
@75
|
||||
| +0#00e0e07&@3|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|C|l|a|s@1|<|?|>| |c|l|a|s@1|L|o|c|k|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|S|t|y|l|e|M|e|t|h|o|d|s|T|e|s|t|s|.|c+0#00e0003&|l|a|s@1|;+0#0000000&| |}+0#00e0e07&| +0#0000000&
|
||||
@75
|
||||
@4|@+0#e000e06&|O|v|e|r@1|i|d|e| +0#0000000&|@+0#e000e06&|S|u|p@1|r|e|s@1|W|a|r|n|i|n|g|s|(+0#0000000&|"+0#e000002&|c|a|s|t|"|)+0#0000000&| @35
|
||||
| +0#00e0e07&@3|p+0#00e0003&|u|b|l|i|c| +0#00e0e07&|S|t|r|i|n|g| |t|o|S|t|r|i|n|g|(|)| +0#0000000&|{+0#00e0e07&| +0#0000000&|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|(|S|t|r|i|n|g|)| |"+0#e000002&|S|t|y|l|e|M|e|t|h|o|d|s|T|e|s|t|s|"|;+0#0000000&| |}+0#00e0e07&| +0#0000000&@5
|
||||
>}+0#00e0e07&| +0#0000000&@73
|
||||
@57|8|2|,|1| @9|B|o|t|
|
||||
92
runtime/syntax/testdir/input/java_methods_indent2.java
Normal file
92
runtime/syntax/testdir/input/java_methods_indent2.java
Normal file
@@ -0,0 +1,92 @@
|
||||
// VIM_TEST_SETUP let g:java_highlight_functions = 'indent2'
|
||||
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
abstract class Indent2MethodsTests
|
||||
{ // DO NOT retab! THIS FILE; REMEMBER ABOUT testdir/ftplugin.
|
||||
// TYPES.
|
||||
record Τʬ<α>(α a) { }
|
||||
|
||||
enum 𝓔
|
||||
{
|
||||
A("𝕬"), B("𝕭"), C("𝕮"), D("𝕯"),
|
||||
E("𝕰"), F("𝕱"), G("𝕲"), H("𝕳");
|
||||
final String 𝐬;
|
||||
private 𝓔(String 𝐬) { this.𝐬 = 𝐬; }
|
||||
}
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@java.lang.annotation.Repeatable(Tɐggablɘs.class)
|
||||
@interface Tɐggablɘ
|
||||
{
|
||||
String[] value() default "";
|
||||
}
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@interface Tɐggablɘs
|
||||
{
|
||||
Tɐggablɘ[] value();
|
||||
}
|
||||
|
||||
interface Stylable<Α>
|
||||
{
|
||||
default void ascii$0_() { }
|
||||
default Α μʭʭ$0_() { return null; }
|
||||
}
|
||||
|
||||
// FIELDS.
|
||||
private static final Class<?> CLASS_LOCK = classLock();
|
||||
|
||||
private final Object instanceLock = new Object();
|
||||
|
||||
// CONSTRUCTORS.
|
||||
@Tɐggablɘ @Tɐggablɘ protected Indent2MethodsTests() { }
|
||||
<T extends Comparable<T>> Indent2MethodsTests(T t, Void v) { }
|
||||
private <T extends Comparable<T>> Indent2MethodsTests(T t) { }
|
||||
|
||||
// METHODS.
|
||||
@Tɐggablɘ @Tɐggablɘ abstract void ascii$0_(////////////////
|
||||
);
|
||||
@Tɐggablɘ @Tɐggablɘ abstract <α, β> Τʬ<α> μʭʭ$0_(
|
||||
/* TODO: @SuppressWarnings("bespoke")*/ β 𝛽);
|
||||
|
||||
@Tɐggablɘ private native void ascii$1_(/*////////////*/);
|
||||
@Tɐggablɘ private native <α, β> Τʬ<α>[] μʭʭ$1_(
|
||||
java.util.function.Function<β, Τʬ<α>[]> ƒ);
|
||||
|
||||
void Ascii$2_() { }
|
||||
<T, U extends Stylable<T>> void Μʭʭ$2_(U u) { }
|
||||
|
||||
static final native synchronized void ascii$98_();
|
||||
static final native synchronized <α, β> Τʬ<α>[][] μʭʭ$98_(
|
||||
java.util.function.Function<β, Τʬ<α>[][]> ƒ);
|
||||
|
||||
@SuppressWarnings("strictfp")
|
||||
protected static final synchronized strictfp void ascii$99_()
|
||||
{ ascii$98_(); }
|
||||
|
||||
@SuppressWarnings("strictfp")
|
||||
protected static final synchronized strictfp <α, β> Τʬ<α>[] μʭʭ$99_(
|
||||
java.util.function.Function<β, Τʬ<α>[][]> ƒ)
|
||||
{
|
||||
return
|
||||
Indent2MethodsTests.<α, β>μʭʭ$98_(ƒ)[0];
|
||||
}
|
||||
|
||||
public static Class<?> classLock() { return Indent2MethodsTests.class; }
|
||||
|
||||
@Override @SuppressWarnings("cast")
|
||||
public String toString() { return (String) "Indent2MethodsTests"; }
|
||||
}
|
||||
|
||||
enum 𝓔
|
||||
{
|
||||
@SuppressWarnings("bespoke") A("𝗔"),
|
||||
B("𝗕"),
|
||||
C("𝗖"), D("𝗗"),
|
||||
E("𝗘"), F("𝗙"), G("𝗚"), H("𝗛");
|
||||
final String 𝐬;
|
||||
private 𝓔(String 𝐬) { this.𝐬 = 𝐬; }
|
||||
}
|
||||
92
runtime/syntax/testdir/input/java_methods_indent4.java
Normal file
92
runtime/syntax/testdir/input/java_methods_indent4.java
Normal file
@@ -0,0 +1,92 @@
|
||||
// VIM_TEST_SETUP let g:java_highlight_functions = 'indent4'
|
||||
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
abstract class Indent4MethodsTests
|
||||
{ // DO NOT retab! THIS FILE; REMEMBER ABOUT testdir/ftplugin.
|
||||
// TYPES.
|
||||
record Τʬ<α>(α a) { }
|
||||
|
||||
enum 𝓔
|
||||
{
|
||||
A("𝕬"), B("𝕭"), C("𝕮"), D("𝕯"),
|
||||
E("𝕰"), F("𝕱"), G("𝕲"), H("𝕳");
|
||||
final String 𝐬;
|
||||
private 𝓔(String 𝐬) { this.𝐬 = 𝐬; }
|
||||
}
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@java.lang.annotation.Repeatable(Tɐggablɘs.class)
|
||||
@interface Tɐggablɘ
|
||||
{
|
||||
String[] value() default "";
|
||||
}
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@interface Tɐggablɘs
|
||||
{
|
||||
Tɐggablɘ[] value();
|
||||
}
|
||||
|
||||
interface Stylable<Α>
|
||||
{
|
||||
default void ascii$0_() { }
|
||||
default Α μʭʭ$0_() { return null; }
|
||||
}
|
||||
|
||||
// FIELDS.
|
||||
private static final Class<?> CLASS_LOCK = classLock();
|
||||
|
||||
private final Object instanceLock = new Object();
|
||||
|
||||
// CONSTRUCTORS.
|
||||
@Tɐggablɘ @Tɐggablɘ protected Indent4MethodsTests() { }
|
||||
<T extends Comparable<T>> Indent4MethodsTests(T t, Void v) { }
|
||||
private <T extends Comparable<T>> Indent4MethodsTests(T t) { }
|
||||
|
||||
// METHODS.
|
||||
@Tɐggablɘ @Tɐggablɘ abstract void ascii$0_(////////////////
|
||||
);
|
||||
@Tɐggablɘ @Tɐggablɘ abstract <α, β> Τʬ<α> μʭʭ$0_(
|
||||
/* TODO: @SuppressWarnings("bespoke")*/ β 𝛽);
|
||||
|
||||
@Tɐggablɘ private native void ascii$1_(/*////////////*/);
|
||||
@Tɐggablɘ private native <α, β> Τʬ<α>[] μʭʭ$1_(
|
||||
java.util.function.Function<β, Τʬ<α>[]> ƒ);
|
||||
|
||||
void Ascii$2_() { }
|
||||
<T, U extends Stylable<T>> void Μʭʭ$2_(U u) { }
|
||||
|
||||
static final native synchronized void ascii$98_();
|
||||
static final native synchronized <α, β> Τʬ<α>[][] μʭʭ$98_(
|
||||
java.util.function.Function<β, Τʬ<α>[][]> ƒ);
|
||||
|
||||
@SuppressWarnings("strictfp")
|
||||
protected static final synchronized strictfp void ascii$99_()
|
||||
{ ascii$98_(); }
|
||||
|
||||
@SuppressWarnings("strictfp")
|
||||
protected static final synchronized strictfp <α, β> Τʬ<α>[] μʭʭ$99_(
|
||||
java.util.function.Function<β, Τʬ<α>[][]> ƒ)
|
||||
{
|
||||
return
|
||||
Indent4MethodsTests.<α, β>μʭʭ$98_(ƒ)[0];
|
||||
}
|
||||
|
||||
public static Class<?> classLock() { return Indent4MethodsTests.class; }
|
||||
|
||||
@Override @SuppressWarnings("cast")
|
||||
public String toString() { return (String) "Indent4MethodsTests"; }
|
||||
}
|
||||
|
||||
enum 𝓔
|
||||
{
|
||||
@SuppressWarnings("bespoke") A("𝗔"),
|
||||
B("𝗕"),
|
||||
C("𝗖"), D("𝗗"),
|
||||
E("𝗘"), F("𝗙"), G("𝗚"), H("𝗛");
|
||||
final String 𝐬;
|
||||
private 𝓔(String 𝐬) { this.𝐬 = 𝐬; }
|
||||
}
|
||||
92
runtime/syntax/testdir/input/java_methods_indent8.java
Normal file
92
runtime/syntax/testdir/input/java_methods_indent8.java
Normal file
@@ -0,0 +1,92 @@
|
||||
// VIM_TEST_SETUP let g:java_highlight_functions = 'indent8'
|
||||
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
abstract class Indent8MethodsTests
|
||||
{ // DO NOT retab! THIS FILE; REMEMBER ABOUT testdir/ftplugin.
|
||||
// TYPES.
|
||||
record Τʬ<α>(α a) { }
|
||||
|
||||
enum 𝓔
|
||||
{
|
||||
A("𝕬"), B("𝕭"), C("𝕮"), D("𝕯"),
|
||||
E("𝕰"), F("𝕱"), G("𝕲"), H("𝕳");
|
||||
final String 𝐬;
|
||||
private 𝓔(String 𝐬) { this.𝐬 = 𝐬; }
|
||||
}
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@java.lang.annotation.Repeatable(Tɐggablɘs.class)
|
||||
@interface Tɐggablɘ
|
||||
{
|
||||
String[] value() default "";
|
||||
}
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@interface Tɐggablɘs
|
||||
{
|
||||
Tɐggablɘ[] value();
|
||||
}
|
||||
|
||||
interface Stylable<Α>
|
||||
{
|
||||
default void ascii$0_() { }
|
||||
default Α μʭʭ$0_() { return null; }
|
||||
}
|
||||
|
||||
// FIELDS.
|
||||
private static final Class<?> CLASS_LOCK = classLock();
|
||||
|
||||
private final Object instanceLock = new Object();
|
||||
|
||||
// CONSTRUCTORS.
|
||||
@Tɐggablɘ @Tɐggablɘ protected Indent8MethodsTests() { }
|
||||
<T extends Comparable<T>> Indent8MethodsTests(T t, Void v) { }
|
||||
private <T extends Comparable<T>> Indent8MethodsTests(T t) { }
|
||||
|
||||
// METHODS.
|
||||
@Tɐggablɘ @Tɐggablɘ abstract void ascii$0_(////////////////
|
||||
);
|
||||
@Tɐggablɘ @Tɐggablɘ abstract <α, β> Τʬ<α> μʭʭ$0_(
|
||||
/* TODO: @SuppressWarnings("bespoke")*/ β 𝛽);
|
||||
|
||||
@Tɐggablɘ private native void ascii$1_(/*////////////*/);
|
||||
@Tɐggablɘ private native <α, β> Τʬ<α>[] μʭʭ$1_(
|
||||
java.util.function.Function<β, Τʬ<α>[]> ƒ);
|
||||
|
||||
void Ascii$2_() { }
|
||||
<T, U extends Stylable<T>> void Μʭʭ$2_(U u) { }
|
||||
|
||||
static final native synchronized void ascii$98_();
|
||||
static final native synchronized <α, β> Τʬ<α>[][] μʭʭ$98_(
|
||||
java.util.function.Function<β, Τʬ<α>[][]> ƒ);
|
||||
|
||||
@SuppressWarnings("strictfp")
|
||||
protected static final synchronized strictfp void ascii$99_()
|
||||
{ ascii$98_(); }
|
||||
|
||||
@SuppressWarnings("strictfp")
|
||||
protected static final synchronized strictfp <α, β> Τʬ<α>[] μʭʭ$99_(
|
||||
java.util.function.Function<β, Τʬ<α>[][]> ƒ)
|
||||
{
|
||||
return
|
||||
Indent8MethodsTests.<α, β>μʭʭ$98_(ƒ)[0];
|
||||
}
|
||||
|
||||
public static Class<?> classLock() { return Indent8MethodsTests.class; }
|
||||
|
||||
@Override @SuppressWarnings("cast")
|
||||
public String toString() { return (String) "Indent8MethodsTests"; }
|
||||
}
|
||||
|
||||
enum 𝓔
|
||||
{
|
||||
@SuppressWarnings("bespoke") A("𝗔"),
|
||||
B("𝗕"),
|
||||
C("𝗖"), D("𝗗"),
|
||||
E("𝗘"), F("𝗙"), G("𝗚"), H("𝗛");
|
||||
final String 𝐬;
|
||||
private 𝓔(String 𝐬) { this.𝐬 = 𝐬; }
|
||||
}
|
||||
82
runtime/syntax/testdir/input/java_methods_style.java
Normal file
82
runtime/syntax/testdir/input/java_methods_style.java
Normal file
@@ -0,0 +1,82 @@
|
||||
// VIM_TEST_SETUP let g:java_highlight_functions = 'style'
|
||||
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
abstract class StyleMethodsTests
|
||||
{
|
||||
// TYPES.
|
||||
record Τʬ<α>(α a) { }
|
||||
|
||||
enum 𝓔
|
||||
{
|
||||
A("𝕬"), B("𝕭"), C("𝕮"), D("𝕯"),
|
||||
E("𝕰"), F("𝕱"), G("𝕲"), H("𝕳");
|
||||
final String 𝐬;
|
||||
private 𝓔(String 𝐬) { this.𝐬 = 𝐬; }
|
||||
}
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@java.lang.annotation.Repeatable(Tɐggablɘs.class)
|
||||
@interface Tɐggablɘ
|
||||
{
|
||||
String[] value() default "";
|
||||
}
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@interface Tɐggablɘs
|
||||
{
|
||||
Tɐggablɘ[] value();
|
||||
}
|
||||
|
||||
interface Stylable<Α>
|
||||
{
|
||||
default void ascii$0_() { }
|
||||
default Α μʭʭ$0_() { return null; }
|
||||
}
|
||||
|
||||
// FIELDS.
|
||||
private static final Class<?> CLASS_LOCK = classLock();
|
||||
|
||||
private final Object instanceLock = new Object();
|
||||
|
||||
// CONSTRUCTORS.
|
||||
@Tɐggablɘ @Tɐggablɘ protected StyleMethodsTests() { }
|
||||
<T extends Comparable<T>> StyleMethodsTests(T t, Void v) { }
|
||||
private <T extends Comparable<T>> StyleMethodsTests(T t) { }
|
||||
|
||||
// METHODS.
|
||||
@Tɐggablɘ @Tɐggablɘ abstract void ascii$0_(////////////////
|
||||
);
|
||||
@Tɐggablɘ @Tɐggablɘ abstract <α, β> Τʬ<α> μʭʭ$0_(
|
||||
/* TODO: @SuppressWarnings("bespoke")*/ β 𝛽);
|
||||
|
||||
@Tɐggablɘ private native void ascii$1_(/*////////////*/);
|
||||
@Tɐggablɘ private native <α, β> Τʬ<α>[] μʭʭ$1_(
|
||||
java.util.function.Function<β, Τʬ<α>[]> ƒ);
|
||||
|
||||
void Ascii$2_() { }
|
||||
<T, U extends Stylable<T>> void Μʭʭ$2_(U u) { }
|
||||
|
||||
static final native synchronized void ascii$98_();
|
||||
static final native synchronized <α, β> Τʬ<α>[][] μʭʭ$98_(
|
||||
java.util.function.Function<β, Τʬ<α>[][]> ƒ);
|
||||
|
||||
@SuppressWarnings("strictfp")
|
||||
protected static final synchronized strictfp void ascii$99_()
|
||||
{ ascii$98_(); }
|
||||
|
||||
@SuppressWarnings("strictfp")
|
||||
protected static final synchronized strictfp <α, β> Τʬ<α>[] μʭʭ$99_(
|
||||
java.util.function.Function<β, Τʬ<α>[][]> ƒ)
|
||||
{
|
||||
return
|
||||
StyleMethodsTests.<α, β>μʭʭ$98_(ƒ)[0];
|
||||
}
|
||||
|
||||
public static Class<?> classLock() { return StyleMethodsTests.class; }
|
||||
|
||||
@Override @SuppressWarnings("cast")
|
||||
public String toString() { return (String) "StyleMethodsTests"; }
|
||||
}
|
||||
@@ -187,7 +187,7 @@ MINOR= 1
|
||||
!ENDIF
|
||||
|
||||
!IF .LineNumber+3))[-1^]).Trim().TrimEnd(','))\"} \
|
||||
catch{exit 1}]
|
||||
@@ -1321,6 +1321,10 @@ $(OUTDIR):
|
||||
|
||||
CFLAGS_INST = /nologo /O2 -DNDEBUG -DWIN32 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) $(CFLAGS_DEPR)
|
||||
|
||||
!IFDEF PATCHLEVEL
|
||||
CFLAGS_INST= $(CFLAGS_INST) -DVIM_VERSION_PATCHLEVEL=$(PATCHLEVEL)
|
||||
!ENDIF
|
||||
|
||||
install.exe: dosinst.c dosinst.h version.h
|
||||
$(CC) $(CFLAGS_INST) dosinst.c kernel32.lib shell32.lib \
|
||||
user32.lib ole32.lib advapi32.lib uuid.lib \
|
||||
|
||||
@@ -1663,7 +1663,7 @@ install_registry(void)
|
||||
uninstall_string,
|
||||
icon_string,
|
||||
version_string,
|
||||
"Bram Moolenaar et al.");
|
||||
"The Vim Project");
|
||||
if (ERROR_SUCCESS != lRet)
|
||||
return FAIL;
|
||||
|
||||
|
||||
@@ -1781,7 +1781,7 @@ win_update(win_T *wp)
|
||||
if (j < wp->w_height - 2) // not too far off
|
||||
{
|
||||
i = plines_m_win(wp, wp->w_topline, wp->w_lines[0].wl_lnum - 1,
|
||||
TRUE);
|
||||
wp->w_height);
|
||||
#ifdef FEAT_DIFF
|
||||
// insert extra lines for previously invisible filler lines
|
||||
if (wp->w_lines[0].wl_lnum != wp->w_topline)
|
||||
|
||||
41
src/eval.c
41
src/eval.c
@@ -1170,12 +1170,10 @@ get_lval_check_access(
|
||||
static char_u *
|
||||
get_lval_imported(
|
||||
lval_T *lp,
|
||||
typval_T *rettv,
|
||||
scid_T imp_sid,
|
||||
char_u *p,
|
||||
dictitem_T **dip,
|
||||
int fne_flags,
|
||||
int vim9script)
|
||||
int fne_flags)
|
||||
{
|
||||
ufunc_T *ufunc;
|
||||
type_T *type = NULL;
|
||||
@@ -1197,16 +1195,6 @@ get_lval_imported(
|
||||
TRUE) == -1)
|
||||
goto failed;
|
||||
|
||||
if (vim9script && type != NULL)
|
||||
{
|
||||
where_T where = WHERE_INIT;
|
||||
|
||||
// In a vim9 script, do type check and make sure the variable is
|
||||
// writable.
|
||||
if (check_typval_type(type, rettv, where) == FAIL)
|
||||
goto failed;
|
||||
}
|
||||
|
||||
// Get the typval for the exported item
|
||||
hashtab_T *ht = &SCRIPT_VARS(imp_sid);
|
||||
if (ht == NULL)
|
||||
@@ -1232,6 +1220,7 @@ get_lval_imported(
|
||||
goto failed;
|
||||
|
||||
lp->ll_tv = &di->di_tv;
|
||||
lp->ll_valtype = type;
|
||||
|
||||
success:
|
||||
rc = OK;
|
||||
@@ -1410,8 +1399,7 @@ get_lval(
|
||||
if (import != NULL)
|
||||
{
|
||||
p++; // skip '.'
|
||||
p = get_lval_imported(lp, rettv, import->imp_sid, p, &v,
|
||||
fne_flags, vim9script);
|
||||
p = get_lval_imported(lp, import->imp_sid, p, &v, fne_flags);
|
||||
if (p == NULL)
|
||||
return NULL;
|
||||
}
|
||||
@@ -1754,6 +1742,12 @@ get_lval(
|
||||
== FAIL)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!lp->ll_range)
|
||||
// Indexing a single byte in a blob. So the rhs type is a
|
||||
// number.
|
||||
lp->ll_valtype = &t_number;
|
||||
|
||||
lp->ll_blob = lp->ll_tv->vval.v_blob;
|
||||
lp->ll_tv = NULL;
|
||||
break;
|
||||
@@ -1782,7 +1776,7 @@ get_lval(
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (lp->ll_valtype != NULL)
|
||||
if (lp->ll_valtype != NULL && !lp->ll_range)
|
||||
// use the type of the member
|
||||
lp->ll_valtype = lp->ll_valtype->tt_member;
|
||||
|
||||
@@ -1896,6 +1890,17 @@ get_lval(
|
||||
}
|
||||
}
|
||||
|
||||
if (vim9script && lp->ll_valtype != NULL && rettv != NULL)
|
||||
{
|
||||
where_T where = WHERE_INIT;
|
||||
|
||||
// In a vim9 script, do type check and make sure the variable is
|
||||
// writable.
|
||||
if (check_typval_type(lp->ll_valtype, rettv, where) == FAIL)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
clear_tv(&var1);
|
||||
lp->ll_name_end = p;
|
||||
return p;
|
||||
@@ -6403,9 +6408,9 @@ echo_string_core(
|
||||
{
|
||||
class_T *cl = tv->vval.v_class;
|
||||
char *s = "class";
|
||||
if (IS_INTERFACE(cl))
|
||||
if (cl != NULL && IS_INTERFACE(cl))
|
||||
s = "interface";
|
||||
else if (IS_ENUM(cl))
|
||||
else if (cl != NULL && IS_ENUM(cl))
|
||||
s = "enum";
|
||||
size_t len = STRLEN(s) + 1 +
|
||||
(cl == NULL ? 9 : STRLEN(cl->class_name)) + 1;
|
||||
|
||||
354
src/evalfunc.c
354
src/evalfunc.c
@@ -73,6 +73,7 @@ static void f_getpos(typval_T *argvars, typval_T *rettv);
|
||||
static void f_getreg(typval_T *argvars, typval_T *rettv);
|
||||
static void f_getreginfo(typval_T *argvars, typval_T *rettv);
|
||||
static void f_getregion(typval_T *argvars, typval_T *rettv);
|
||||
static void f_getregionpos(typval_T *argvars, typval_T *rettv);
|
||||
static void f_getregtype(typval_T *argvars, typval_T *rettv);
|
||||
static void f_gettagstack(typval_T *argvars, typval_T *rettv);
|
||||
static void f_gettext(typval_T *argvars, typval_T *rettv);
|
||||
@@ -2136,6 +2137,8 @@ static funcentry_T global_functions[] =
|
||||
ret_dict_any, f_getreginfo},
|
||||
{"getregion", 2, 3, FEARG_1, arg3_list_list_dict,
|
||||
ret_list_string, f_getregion},
|
||||
{"getregionpos", 2, 3, FEARG_1, arg3_list_list_dict,
|
||||
ret_list_string, f_getregionpos},
|
||||
{"getregtype", 0, 1, FEARG_1, arg1_string,
|
||||
ret_string, f_getregtype},
|
||||
{"getscriptinfo", 0, 1, 0, arg1_dict_any,
|
||||
@@ -3840,8 +3843,9 @@ set_cursorpos(typval_T *argvars, typval_T *rettv, int charcol)
|
||||
return; // type error; errmsg already given
|
||||
if (lnum > 0)
|
||||
curwin->w_cursor.lnum = lnum;
|
||||
if (col > 0)
|
||||
curwin->w_cursor.col = col - 1;
|
||||
if (col != MAXCOL && --col < 0)
|
||||
col = 0;
|
||||
curwin->w_cursor.col = col;
|
||||
curwin->w_cursor.coladd = coladd;
|
||||
|
||||
// Make sure the cursor is in a valid position.
|
||||
@@ -3958,7 +3962,7 @@ f_empty(typval_T *argvars, typval_T *rettv)
|
||||
|| *argvars[0].vval.v_string == NUL;
|
||||
break;
|
||||
case VAR_PARTIAL:
|
||||
n = FALSE;
|
||||
n = argvars[0].vval.v_partial == NULL;
|
||||
break;
|
||||
case VAR_NUMBER:
|
||||
n = argvars[0].vval.v_number == 0;
|
||||
@@ -5480,40 +5484,35 @@ block_def2str(struct block_def *bd)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* "getregion()" function
|
||||
*/
|
||||
static void
|
||||
f_getregion(typval_T *argvars, typval_T *rettv)
|
||||
static int
|
||||
getregionpos(
|
||||
typval_T *argvars,
|
||||
typval_T *rettv,
|
||||
pos_T *p1, pos_T *p2,
|
||||
int *inclusive,
|
||||
int *region_type,
|
||||
oparg_T *oa,
|
||||
int *fnum)
|
||||
{
|
||||
linenr_T lnum;
|
||||
oparg_T oa;
|
||||
struct block_def bd;
|
||||
char_u *akt = NULL;
|
||||
int inclusive = TRUE;
|
||||
int fnum1 = -1, fnum2 = -1;
|
||||
pos_T p1, p2;
|
||||
char_u *type;
|
||||
buf_T *save_curbuf;
|
||||
buf_T *findbuf;
|
||||
char_u default_type[] = "v";
|
||||
int save_virtual;
|
||||
int l;
|
||||
int region_type = -1;
|
||||
int is_select_exclusive;
|
||||
int fnum1 = -1, fnum2 = -1;
|
||||
char_u *type;
|
||||
buf_T *findbuf;
|
||||
char_u default_type[] = "v";
|
||||
int is_select_exclusive;
|
||||
int l;
|
||||
|
||||
if (rettv_list_alloc(rettv) == FAIL)
|
||||
return;
|
||||
return FAIL;
|
||||
|
||||
if (check_for_list_arg(argvars, 0) == FAIL
|
||||
|| check_for_list_arg(argvars, 1) == FAIL
|
||||
|| check_for_opt_dict_arg(argvars, 2) == FAIL)
|
||||
return;
|
||||
return FAIL;
|
||||
|
||||
if (list2fpos(&argvars[0], &p1, &fnum1, NULL, FALSE) != OK
|
||||
|| list2fpos(&argvars[1], &p2, &fnum2, NULL, FALSE) != OK
|
||||
if (list2fpos(&argvars[0], p1, &fnum1, NULL, FALSE) != OK
|
||||
|| list2fpos(&argvars[1], p2, &fnum2, NULL, FALSE) != OK
|
||||
|| fnum1 != fnum2)
|
||||
return;
|
||||
return FAIL;
|
||||
|
||||
if (argvars[2].v_type == VAR_DICT)
|
||||
{
|
||||
@@ -5531,120 +5530,152 @@ f_getregion(typval_T *argvars, typval_T *rettv)
|
||||
}
|
||||
|
||||
if (type[0] == 'v' && type[1] == NUL)
|
||||
region_type = MCHAR;
|
||||
*region_type = MCHAR;
|
||||
else if (type[0] == 'V' && type[1] == NUL)
|
||||
region_type = MLINE;
|
||||
*region_type = MLINE;
|
||||
else if (type[0] == Ctrl_V && type[1] == NUL)
|
||||
region_type = MBLOCK;
|
||||
*region_type = MBLOCK;
|
||||
else
|
||||
{
|
||||
semsg(_(e_invalid_value_for_argument_str_str), "type", type);
|
||||
return;
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
findbuf = fnum1 != 0 ? buflist_findnr(fnum1) : curbuf;
|
||||
*fnum = fnum1 != 0 ? fnum1 : curbuf->b_fnum;
|
||||
if (findbuf == NULL || findbuf->b_ml.ml_mfp == NULL)
|
||||
{
|
||||
emsg(_(e_buffer_is_not_loaded));
|
||||
return;
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
if (p1.lnum < 1 || p1.lnum > findbuf->b_ml.ml_line_count)
|
||||
if (p1->lnum < 1 || p1->lnum > findbuf->b_ml.ml_line_count)
|
||||
{
|
||||
semsg(_(e_invalid_line_number_nr), p1.lnum);
|
||||
return;
|
||||
semsg(_(e_invalid_line_number_nr), p1->lnum);
|
||||
return FAIL;
|
||||
}
|
||||
if (p1.col < 1 || p1.col > ml_get_buf_len(findbuf, p1.lnum) + 1)
|
||||
if (p1->col == MAXCOL)
|
||||
p1->col = ml_get_buf_len(findbuf, p1->lnum) + 1;
|
||||
else if (p1->col < 1 || p1->col > ml_get_buf_len(findbuf, p1->lnum) + 1)
|
||||
{
|
||||
semsg(_(e_invalid_column_number_nr), p1.col);
|
||||
return;
|
||||
}
|
||||
if (p2.lnum < 1 || p2.lnum > findbuf->b_ml.ml_line_count)
|
||||
{
|
||||
semsg(_(e_invalid_line_number_nr), p2.lnum);
|
||||
return;
|
||||
}
|
||||
if (p2.col < 1 || p2.col > ml_get_buf_len(findbuf, p2.lnum) + 1)
|
||||
{
|
||||
semsg(_(e_invalid_column_number_nr), p2.col);
|
||||
return;
|
||||
semsg(_(e_invalid_column_number_nr), p1->col);
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
if (p2->lnum < 1 || p2->lnum > findbuf->b_ml.ml_line_count)
|
||||
{
|
||||
semsg(_(e_invalid_line_number_nr), p2->lnum);
|
||||
return FAIL;
|
||||
}
|
||||
if (p2->col == MAXCOL)
|
||||
p2->col = ml_get_buf_len(findbuf, p2->lnum) + 1;
|
||||
else if (p2->col < 1 || p2->col > ml_get_buf_len(findbuf, p2->lnum) + 1)
|
||||
{
|
||||
semsg(_(e_invalid_column_number_nr), p2->col);
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
save_curbuf = curbuf;
|
||||
curbuf = findbuf;
|
||||
curwin->w_buffer = curbuf;
|
||||
save_virtual = virtual_op;
|
||||
virtual_op = virtual_active();
|
||||
|
||||
// NOTE: Adjust is needed.
|
||||
p1.col--;
|
||||
p2.col--;
|
||||
// NOTE: Adjustment is needed.
|
||||
p1->col--;
|
||||
p2->col--;
|
||||
|
||||
if (!LT_POS(p1, p2))
|
||||
if (!LT_POS(*p1, *p2))
|
||||
{
|
||||
// swap position
|
||||
pos_T p;
|
||||
|
||||
p = p1;
|
||||
p1 = p2;
|
||||
p2 = p;
|
||||
p = *p1;
|
||||
*p1 = *p2;
|
||||
*p2 = p;
|
||||
}
|
||||
|
||||
if (region_type == MCHAR)
|
||||
if (*region_type == MCHAR)
|
||||
{
|
||||
// handle 'selection' == "exclusive"
|
||||
if (is_select_exclusive && !EQUAL_POS(p1, p2))
|
||||
if (is_select_exclusive && !EQUAL_POS(*p1, *p2))
|
||||
{
|
||||
if (p2.coladd > 0)
|
||||
p2.coladd--;
|
||||
else if (p2.col > 0)
|
||||
if (p2->coladd > 0)
|
||||
p2->coladd--;
|
||||
else if (p2->col > 0)
|
||||
{
|
||||
p2.col--;
|
||||
p2->col--;
|
||||
|
||||
mb_adjustpos(curbuf, &p2);
|
||||
mb_adjustpos(curbuf, p2);
|
||||
}
|
||||
else if (p2.lnum > 1)
|
||||
else if (p2->lnum > 1)
|
||||
{
|
||||
p2.lnum--;
|
||||
p2.col = ml_get_len(p2.lnum);
|
||||
if (p2.col > 0)
|
||||
p2->lnum--;
|
||||
p2->col = ml_get_len(p2->lnum);
|
||||
if (p2->col > 0)
|
||||
{
|
||||
p2.col--;
|
||||
p2->col--;
|
||||
|
||||
mb_adjustpos(curbuf, &p2);
|
||||
mb_adjustpos(curbuf, p2);
|
||||
}
|
||||
}
|
||||
}
|
||||
// if fp2 is on NUL (empty line) inclusive becomes false
|
||||
if (*ml_get_pos(&p2) == NUL && !virtual_op)
|
||||
inclusive = FALSE;
|
||||
if (*ml_get_pos(p2) == NUL && !virtual_op)
|
||||
*inclusive = FALSE;
|
||||
}
|
||||
else if (region_type == MBLOCK)
|
||||
else if (*region_type == MBLOCK)
|
||||
{
|
||||
colnr_T sc1, ec1, sc2, ec2;
|
||||
|
||||
getvvcol(curwin, &p1, &sc1, NULL, &ec1);
|
||||
getvvcol(curwin, &p2, &sc2, NULL, &ec2);
|
||||
oa.motion_type = MBLOCK;
|
||||
oa.inclusive = TRUE;
|
||||
oa.op_type = OP_NOP;
|
||||
oa.start = p1;
|
||||
oa.end = p2;
|
||||
oa.start_vcol = MIN(sc1, sc2);
|
||||
getvvcol(curwin, p1, &sc1, NULL, &ec1);
|
||||
getvvcol(curwin, p2, &sc2, NULL, &ec2);
|
||||
oa->motion_type = MBLOCK;
|
||||
oa->inclusive = TRUE;
|
||||
oa->op_type = OP_NOP;
|
||||
oa->start = *p1;
|
||||
oa->end = *p2;
|
||||
oa->start_vcol = MIN(sc1, sc2);
|
||||
if (is_select_exclusive && ec1 < sc2 && 0 < sc2 && ec2 > ec1)
|
||||
oa.end_vcol = sc2 - 1;
|
||||
oa->end_vcol = sc2 - 1;
|
||||
else
|
||||
oa.end_vcol = MAX(ec1, ec2);
|
||||
oa->end_vcol = MAX(ec1, ec2);
|
||||
}
|
||||
|
||||
// Include the trailing byte of a multi-byte char.
|
||||
l = utfc_ptr2len((char_u *)ml_get_pos(&p2));
|
||||
l = mb_ptr2len((char_u *)ml_get_pos(p2));
|
||||
if (l > 1)
|
||||
p2.col += l - 1;
|
||||
p2->col += l - 1;
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* "getregion()" function
|
||||
*/
|
||||
static void
|
||||
f_getregion(typval_T *argvars, typval_T *rettv)
|
||||
{
|
||||
pos_T p1, p2;
|
||||
int inclusive = TRUE;
|
||||
int region_type = -1;
|
||||
oparg_T oa;
|
||||
int fnum;
|
||||
|
||||
buf_T *save_curbuf;
|
||||
int save_virtual;
|
||||
char_u *akt = NULL;
|
||||
linenr_T lnum;
|
||||
|
||||
save_curbuf = curbuf;
|
||||
save_virtual = virtual_op;
|
||||
|
||||
if (getregionpos(argvars, rettv,
|
||||
&p1, &p2, &inclusive, ®ion_type, &oa, &fnum) == FAIL)
|
||||
return;
|
||||
|
||||
for (lnum = p1.lnum; lnum <= p2.lnum; lnum++)
|
||||
{
|
||||
int ret = 0;
|
||||
struct block_def bd;
|
||||
|
||||
if (region_type == MLINE)
|
||||
akt = vim_strsave(ml_get(lnum));
|
||||
@@ -5675,6 +5706,140 @@ f_getregion(typval_T *argvars, typval_T *rettv)
|
||||
}
|
||||
}
|
||||
|
||||
// getregionpos() breaks curbuf and virtual_op
|
||||
curbuf = save_curbuf;
|
||||
curwin->w_buffer = curbuf;
|
||||
virtual_op = save_virtual;
|
||||
}
|
||||
|
||||
static void
|
||||
add_regionpos_range(
|
||||
typval_T *rettv,
|
||||
int bufnr,
|
||||
int lnum1,
|
||||
int col1,
|
||||
int coladd1,
|
||||
int lnum2,
|
||||
int col2,
|
||||
int coladd2)
|
||||
{
|
||||
list_T *l1, *l2, *l3;
|
||||
buf_T *findbuf;
|
||||
int max_col1, max_col2;
|
||||
|
||||
findbuf = bufnr != 0 ? buflist_findnr(bufnr) : curbuf;
|
||||
if (findbuf == NULL || findbuf->b_ml.ml_mfp == NULL)
|
||||
return;
|
||||
|
||||
l1 = list_alloc();
|
||||
if (l1 == NULL)
|
||||
return;
|
||||
|
||||
if (list_append_list(rettv->vval.v_list, l1) == FAIL)
|
||||
{
|
||||
vim_free(l1);
|
||||
return;
|
||||
}
|
||||
|
||||
l2 = list_alloc();
|
||||
if (l2 == NULL)
|
||||
{
|
||||
vim_free(l1);
|
||||
return;
|
||||
}
|
||||
|
||||
if (list_append_list(l1, l2) == FAIL)
|
||||
{
|
||||
vim_free(l1);
|
||||
vim_free(l2);
|
||||
return;
|
||||
}
|
||||
|
||||
l3 = list_alloc();
|
||||
if (l3 == NULL)
|
||||
{
|
||||
vim_free(l1);
|
||||
vim_free(l2);
|
||||
return;
|
||||
}
|
||||
|
||||
if (list_append_list(l1, l3) == FAIL)
|
||||
{
|
||||
vim_free(l1);
|
||||
vim_free(l2);
|
||||
vim_free(l3);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
max_col1 = ml_get_buf_len(findbuf, lnum1);
|
||||
list_append_number(l2, bufnr);
|
||||
list_append_number(l2, lnum1);
|
||||
list_append_number(l2, col1 > max_col1 ? max_col1 : col1);
|
||||
list_append_number(l2, coladd1);
|
||||
|
||||
max_col2 = ml_get_buf_len(findbuf, lnum2);
|
||||
list_append_number(l3, bufnr);
|
||||
list_append_number(l3, lnum2);
|
||||
list_append_number(l3, col2 > max_col2 ? max_col2 : col2);
|
||||
list_append_number(l3, coladd2);
|
||||
}
|
||||
|
||||
/*
|
||||
* "getregionpos()" function
|
||||
*/
|
||||
static void
|
||||
f_getregionpos(typval_T *argvars, typval_T *rettv)
|
||||
{
|
||||
pos_T p1, p2;
|
||||
int inclusive = TRUE;
|
||||
int region_type = -1;
|
||||
oparg_T oa;
|
||||
int fnum;
|
||||
int lnum;
|
||||
|
||||
buf_T *save_curbuf;
|
||||
int save_virtual;
|
||||
|
||||
save_curbuf = curbuf;
|
||||
save_virtual = virtual_op;
|
||||
|
||||
if (getregionpos(argvars, rettv,
|
||||
&p1, &p2, &inclusive, ®ion_type, &oa, &fnum) == FAIL)
|
||||
return;
|
||||
|
||||
for (lnum = p1.lnum; lnum <= p2.lnum; lnum++)
|
||||
{
|
||||
struct block_def bd;
|
||||
int start_col, end_col;
|
||||
|
||||
if (region_type == MLINE)
|
||||
{
|
||||
start_col = 1;
|
||||
end_col = MAXCOL;
|
||||
}
|
||||
else if (region_type == MBLOCK)
|
||||
{
|
||||
block_prep(&oa, &bd, lnum, FALSE);
|
||||
start_col = bd.start_vcol + 1;
|
||||
end_col = bd.end_vcol;
|
||||
}
|
||||
else if (p1.lnum < lnum && lnum < p2.lnum)
|
||||
{
|
||||
start_col = 1;
|
||||
end_col = MAXCOL;
|
||||
}
|
||||
else
|
||||
{
|
||||
start_col = p1.lnum == lnum ? p1.col + 1 : 1;
|
||||
end_col = p2.lnum == lnum ? p2.col + 1 : MAXCOL;
|
||||
}
|
||||
|
||||
add_regionpos_range(rettv, fnum, lnum, start_col,
|
||||
p1.coladd, lnum, end_col, p2.coladd);
|
||||
}
|
||||
|
||||
// getregionpos() may change curbuf and virtual_op
|
||||
curbuf = save_curbuf;
|
||||
curwin->w_buffer = curbuf;
|
||||
virtual_op = save_virtual;
|
||||
@@ -11497,7 +11662,7 @@ f_type(typval_T *argvars, typval_T *rettv)
|
||||
case VAR_CLASS:
|
||||
{
|
||||
class_T *cl = argvars[0].vval.v_class;
|
||||
if (IS_ENUM(cl))
|
||||
if (cl != NULL && IS_ENUM(cl))
|
||||
n = VAR_TYPE_ENUM;
|
||||
else
|
||||
n = VAR_TYPE_CLASS;
|
||||
@@ -11505,11 +11670,18 @@ f_type(typval_T *argvars, typval_T *rettv)
|
||||
}
|
||||
case VAR_OBJECT:
|
||||
{
|
||||
class_T *cl = argvars[0].vval.v_object->obj_class;
|
||||
if (IS_ENUM(cl))
|
||||
n = VAR_TYPE_ENUMVALUE;
|
||||
else
|
||||
object_T *obj = argvars[0].vval.v_object;
|
||||
|
||||
if (obj == NULL)
|
||||
n = VAR_TYPE_OBJECT;
|
||||
else
|
||||
{
|
||||
class_T *cl = argvars[0].vval.v_object->obj_class;
|
||||
if (IS_ENUM(cl))
|
||||
n = VAR_TYPE_ENUMVALUE;
|
||||
else
|
||||
n = VAR_TYPE_OBJECT;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case VAR_UNKNOWN:
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user