summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel M. Capella <polyzen@archlinux.org>2022-05-05 03:43:55 +0000
committerDaniel M. Capella <polyzen@archlinux.org>2022-05-05 03:43:55 +0000
commit49e38049a8229c103fc87aedc91e3d8ff5177712 (patch)
tree597224f058893492595216da98648b74db54024e
parent5b26fc8432b097159effe729e8839662ce5c45fe (diff)
parent3676809928799404d4ef82146f94c03371019556 (diff)
Merge branch 'isc-ofl-syntax' into 'master'
Vim: Add ISC and OFL as special licenses Closes #4 See merge request pacman/pacman-contrib!11
-rw-r--r--src/vim/syntax/PKGBUILD.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim/syntax/PKGBUILD.vim b/src/vim/syntax/PKGBUILD.vim
index a1a1ccc..32b38bb 100644
--- a/src/vim/syntax/PKGBUILD.vim
+++ b/src/vim/syntax/PKGBUILD.vim
@@ -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