Mercurial > vim
annotate runtime/compiler/fortran_elf90.vim @ 36533:90545c76016e draft default tip
runtime(tar): Update tar.vim to support permissions
Commit: https://github.com/vim/vim/commit/129a8446d23cd9cb4445fcfea259cba5e0487d29
Author: Lennart00 <73488709+Lennart00@users.noreply.github.com>
Date: Mon Nov 11 22:39:30 2024 +0100
runtime(tar): Update tar.vim to support permissions
These changes enable tar.vim to keep permissions of files that were
edited intact instead of replacing them with the default permissions.
The major change for this is switching from "tar -OPxf", which reads out
the contents of the selected file from an tar archive to stdout to
"tar -pPxf" which extracts the selected file to the current directory
with permissions intact
This requirs the temporary directory to be created earlier.
closes: #7379
Signed-off-by: Lennart00 <73488709+Lennart00@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 11 Nov 2024 22:45:02 +0100 |
parents | e1df51f68736 |
children |
rev | line source |
---|---|
7 | 1 " Vim compiler file |
2 " Compiler: Essential Lahey Fortran 90 | |
3 " Probably also works for Lahey Fortran 90 | |
4 " URL: http://www.unb.ca/chem/ajit/compiler/fortran_elf90.vim | |
5 " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/> | |
6 " Version: 0.2 | |
34778
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
7 " Last Change: 2004 Mar 27 |
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
8 " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition) |
7 | 9 |
10 if exists("current_compiler") | |
11 finish | |
12 endif | |
13 let current_compiler = "fortran_elf90" | |
14 | |
15 let s:cposet=&cpoptions | |
16 set cpoptions-=C | |
17 | |
18 CompilerSet errorformat=\%ALine\ %l\\,\ file\ %f, | |
19 \%C%tARNING\ --%m, | |
20 \%C%tATAL\ --%m, | |
21 \%C%tBORT\ --%m, | |
22 \%+C%\\l%.%#\., | |
23 \%C%p\|, | |
24 \%C%.%#, | |
25 \%Z%$, | |
26 \%-G%.%# | |
27 CompilerSet makeprg=elf90 | |
28 | |
29 let &cpoptions=s:cposet | |
30 unlet s:cposet |