summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD34
2 files changed, 45 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b9e9d41d89b..1ff3fc6aeaa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,19 +10,31 @@ pkgbase = neovim-coc-sources-git
sha256sums = SKIP
pkgname = neovim-coc-syntax-git
- pkgdesc = Syntax words completion source for coc.nvim
+ pkgdesc = Words from syntax list
depends = neovim-coc
provides = neovim-coc-
conflicts = neovim-coc-
pkgname = neovim-coc-tag-git
- pkgdesc = tag source for coc.nvim
+ pkgdesc = Words from tagfiles()
depends = neovim-coc
provides = neovim-coc-
conflicts = neovim-coc-
pkgname = neovim-coc-dictionary-git
- pkgdesc = dictionary source for coc.nvim
+ pkgdesc = Words from files in &dictionary
+ depends = neovim-coc
+ provides = neovim-coc-
+ conflicts = neovim-coc-
+
+pkgname = neovim-coc-word-git
+ pkgdesc = Words from google 10000 english repo
+ depends = neovim-coc
+ provides = neovim-coc-
+ conflicts = neovim-coc-
+
+pkgname = neovim-coc-emoji-git
+ pkgdesc = Emoji words for markdown
depends = neovim-coc
provides = neovim-coc-
conflicts = neovim-coc-
diff --git a/PKGBUILD b/PKGBUILD
index 8a27cddde4f..f0123fc671c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,9 @@
pkgbase=neovim-coc-sources-git
pkgname=('neovim-coc-syntax-git'
'neovim-coc-tag-git'
- 'neovim-coc-dictionary-git')
+ 'neovim-coc-dictionary-git'
+ 'neovim-coc-word-git'
+ 'neovim-coc-emoji-git')
arch=('any')
url='https://github.com/neoclide/coc-sources'
makedepends=('git')
@@ -20,7 +22,7 @@ pkgver() {
package_neovim-coc-syntax-git() {
_extname=syntax
- pkgdesc='Syntax words completion source for coc.nvim'
+ pkgdesc='Words from syntax list'
depends=('neovim-coc')
_packdir="usr/local/share/nvim/site/pack/coc/start/${_extname}"
provides=("neovim-coc-${_extname}")
@@ -32,7 +34,7 @@ package_neovim-coc-syntax-git() {
package_neovim-coc-tag-git() {
_extname=tag
- pkgdesc='tag source for coc.nvim'
+ pkgdesc='Words from tagfiles()'
depends=('neovim-coc')
_packdir="usr/local/share/nvim/site/pack/coc/start/${_extname}"
provides=("neovim-coc-${_extname}")
@@ -44,7 +46,31 @@ package_neovim-coc-tag-git() {
package_neovim-coc-dictionary-git() {
_extname=dictionary
- pkgdesc='dictionary source for coc.nvim'
+ pkgdesc='Words from files in &dictionary'
+ depends=('neovim-coc')
+ _packdir="usr/local/share/nvim/site/pack/coc/start/${_extname}"
+ provides=("neovim-coc-${_extname}")
+ conflicts=("neovim-coc-${_extname}")
+ cd "${srcdir}/coc-sources/packages/${_extname}"
+ find . -type f -exec \
+ install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
+}
+
+package_neovim-coc-word-git() {
+ _extname=word
+ pkgdesc='Words from google 10000 english repo'
+ depends=('neovim-coc')
+ _packdir="usr/local/share/nvim/site/pack/coc/start/${_extname}"
+ provides=("neovim-coc-${_extname}")
+ conflicts=("neovim-coc-${_extname}")
+ cd "${srcdir}/coc-sources/packages/${_extname}"
+ find . -type f -exec \
+ install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
+}
+
+package_neovim-coc-emoji-git() {
+ _extname=emoji
+ pkgdesc='Emoji words for markdown'
depends=('neovim-coc')
_packdir="usr/local/share/nvim/site/pack/coc/start/${_extname}"
provides=("neovim-coc-${_extname}")