Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pacman
Pacman Contrib
Commits
36768099
Verified
Commit
36768099
authored
May 04, 2022
by
Daniel M. Capella
Browse files
Vim: Add ISC and OFL as special licenses
Fixes #4 Signed-off-by:
Daniel M. Capella
<
polyzen@archlinux.org
>
parent
5b26fc84
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vim/syntax/PKGBUILD.vim
View file @
36768099
...
...
@@ -66,7 +66,7 @@ syn keyword pb_k_license license contained
" echo $(pacman -Ql licenses | grep '/usr/share/licenses/common/' | cut -d'/' -f6 | sort -u)
syn
keyword pbLicense AGPL AGPL3 Apache APACHE Artistic2
.
0
Boost CCPL CDDL CPL EPL FDL FDL1
.
2
FDL1
.
3
GPL GPL2 GPL3 LGPL LGPL2
.
1
LGPL3 LPPL MPL MPL2 PerlArtistic PHP PSF RUBY Unlicense W3C ZPL contained
" special cases from https://wiki.archlinux.org/index.php/PKGBUILD#license
syn
keyword pbLicenseSpecial BSD
MIT ZLIB
Python contained
syn
keyword pbLicenseSpecial BSD
ISC MIT OFL
Python
ZLIB
contained
syn
match
pbLicenseCustom
/custom\(:[[:alnum:]]*\)*/
contained
syn
keyword pbLicenseUnknown unknown contained
syn
match
pbIllegalLicense
/[^='"() ]/
contained contains
=
pbLicenseUnknown
,
pbLicenseCustom
,
pbLicenseSpecial
,
pbLicense
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment