-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rsync (3.4.0-1 -> 3.4.1-1) vim (9.1.0866-1 -> 9.1.1006-1) Signed-off-by: Git for Windows Build Agent <[email protected]>
- Loading branch information
Git for Windows Build Agent
committed
Jan 17, 2025
1 parent
8565019
commit d26131f
Showing
248 changed files
with
16,459 additions
and
11,515 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ vim9script | |
# Vim functions for file type detection | ||
# | ||
# Maintainer: The Vim Project <https://github.com/vim/vim> | ||
# Last Change: 2024 May 23 | ||
# Last Change: 2025 Jan 11 | ||
# Former Maintainer: Bram Moolenaar <[email protected]> | ||
|
||
# These functions are moved here from runtime/filetype.vim to make startup | ||
|
@@ -32,6 +32,10 @@ enddef | |
# This function checks for the kind of assembly that is wanted by the user, or | ||
# can be detected from the first five lines of the file. | ||
export def FTasm() | ||
# tiasm uses `* commment` | ||
if join(getline(1, 10), "\n") =~ '\%(\%(^\|\n\)\*\|Texas Instruments Incorporated\)' | ||
setf tiasm | ||
endif | ||
# make sure b:asmsyntax exists | ||
if !exists("b:asmsyntax") | ||
b:asmsyntax = "" | ||
|
@@ -144,6 +148,14 @@ export def FTcfg() | |
endif | ||
enddef | ||
|
||
export def FTcl() | ||
if join(getline(1, 4), '') =~ '/\*' | ||
setf opencl | ||
else | ||
setf lisp | ||
endif | ||
enddef | ||
|
||
export def FTcls() | ||
if exists("g:filetype_cls") | ||
exe "setf " .. g:filetype_cls | ||
|
@@ -425,7 +437,7 @@ export def FThtml() | |
|
||
while n < 40 && n <= line("$") | ||
# Check for Angular | ||
if getline(n) =~ '@\(if\|for\|defer\|switch\)\|\*\(ngIf\|ngFor\|ngSwitch\|ngTemplateOutlet\)\|ng-template\|ng-content\|{{.*}}' | ||
if getline(n) =~ '@\(if\|for\|defer\|switch\)\|\*\(ngIf\|ngFor\|ngSwitch\|ngTemplateOutlet\)\|ng-template\|ng-content' | ||
setf htmlangular | ||
return | ||
endif | ||
|
@@ -888,6 +900,7 @@ export def SetFileTypeSH(name: string, setft = true): string | |
if exists("b:is_sh") | ||
unlet b:is_sh | ||
endif | ||
return SetFileTypeShell("bash", setft) | ||
elseif name =~ '\<sh\>' || name =~ '\<dash\>' | ||
# Ubuntu links "sh" to "dash", thus it is expected to work the same way | ||
b:is_sh = 1 | ||
|
@@ -994,6 +1007,14 @@ export def SQL() | |
endif | ||
enddef | ||
|
||
export def FTsa() | ||
if join(getline(1, 4), "\n") =~# '\%(^\|\n\);' | ||
setf tiasm | ||
return | ||
endif | ||
setf sather | ||
enddef | ||
|
||
# This function checks the first 25 lines of file extension "sc" to resolve | ||
# detection between scala and SuperCollider. | ||
# NOTE: We don't check for 'Class : Method', as this can easily be confused | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
" Vim autoload file for editing compressed files. | ||
" Maintainer: The Vim Project <https://github.com/vim/vim> | ||
" Last Change: 2023 Aug 10 | ||
" Last Change: 2024 Nov 25 | ||
" Former Maintainer: Bram Moolenaar <[email protected]> | ||
|
||
" These functions are used by the gzip plugin. | ||
|
@@ -148,6 +148,9 @@ fun gzip#read(cmd) | |
else | ||
let fname = escape(expand("%:r"), " \t\n*?[{`$\\%#'\"|!<") | ||
endif | ||
if filereadable(undofile(expand("%"))) | ||
exe "sil rundo " . fnameescape(undofile(expand("%"))) | ||
endif | ||
if &verbose >= 8 | ||
execute "doau BufReadPost " . fname | ||
else | ||
|
Oops, something went wrong.