Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] meson: copy vim files to neovim's runtime dir
@ 2020-09-23 16:41 maybe-one-day-ubermensch
  2020-09-23 16:45 ` sgn
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: maybe-one-day-ubermensch @ 2020-09-23 16:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

There is a new pull request by maybe-one-day-ubermensch against master on the void-packages repository

https://github.com/maybe-one-day-ubermensch/void-packages meson-nvim-files
https://github.com/void-linux/void-packages/pull/25054

meson: copy vim files to neovim's runtime dir


A patch file from https://github.com/void-linux/void-packages/pull/25054.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-meson-nvim-files-25054.patch --]
[-- Type: text/x-diff, Size: 1079 bytes --]

From cce37bed28143a353fb99b5c64225804b5b83285 Mon Sep 17 00:00:00 2001
From: Jony <maybe-one-day-ubermensch@protonmail.com>
Date: Wed, 23 Sep 2020 09:37:01 -0700
Subject: [PATCH] meson: copy vim files to neovim's runtime dir

---
 srcpkgs/meson/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/meson/template b/srcpkgs/meson/template
index 2c1bbbc74f6..1aae361ffb0 100644
--- a/srcpkgs/meson/template
+++ b/srcpkgs/meson/template
@@ -1,7 +1,7 @@
 # Template file for 'meson'
 pkgname=meson
 version=0.55.3
-revision=1
+revision=2
 archs=noarch
 build_style=python3-module
 hostmakedepends="python3-devel python3-setuptools"
@@ -28,6 +28,9 @@ post_install() {
 	vmkdir usr/share/vim/vimfiles
 	cp -rt ${DESTDIR}/usr/share/vim/vimfiles data/syntax-highlighting/vim/*/
 
+	vmkdir usr/share/nvim/runtime
+	cp -rt ${DESTDIR}/usr/share/nvim/runtime data/syntax-highlighting/vim/*/
+
 	vinstall data/syntax-highlighting/emacs/meson.el 644 usr/share/emacs/site-lisp
 	vinstall data/shell-completions/zsh/_meson 644 usr/share/zsh/site-functions
 }

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
@ 2020-09-23 16:45 ` sgn
  2020-09-23 16:47 ` sgn
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sgn @ 2020-09-23 16:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/25054#issuecomment-697675070

Comment:
Sorry, I tempted to tell you to bug neovim people to read those files explicitly instead

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
  2020-09-23 16:45 ` sgn
@ 2020-09-23 16:47 ` sgn
  2020-09-23 17:14 ` maybe-one-day-ubermensch
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sgn @ 2020-09-23 16:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 155 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/25054#issuecomment-697677715

Comment:
Related to #21733 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
  2020-09-23 16:45 ` sgn
  2020-09-23 16:47 ` sgn
@ 2020-09-23 17:14 ` maybe-one-day-ubermensch
  2020-09-23 17:14 ` [PR PATCH] [Closed]: " maybe-one-day-ubermensch
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: maybe-one-day-ubermensch @ 2020-09-23 17:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

New comment by maybe-one-day-ubermensch on void-packages repository

https://github.com/void-linux/void-packages/pull/25054#issuecomment-697722905

Comment:
Sounds good!

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Closed]: meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
                   ` (2 preceding siblings ...)
  2020-09-23 17:14 ` maybe-one-day-ubermensch
@ 2020-09-23 17:14 ` maybe-one-day-ubermensch
  2020-09-24 15:47 ` maybe-one-day-ubermensch
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: maybe-one-day-ubermensch @ 2020-09-23 17:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

There's a closed pull request on the void-packages repository

meson: copy vim files to neovim's runtime dir
https://github.com/void-linux/void-packages/pull/25054

Description:


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
                   ` (3 preceding siblings ...)
  2020-09-23 17:14 ` [PR PATCH] [Closed]: " maybe-one-day-ubermensch
@ 2020-09-24 15:47 ` maybe-one-day-ubermensch
  2020-09-24 16:09 ` Johnnynator
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: maybe-one-day-ubermensch @ 2020-09-24 15:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

New comment by maybe-one-day-ubermensch on void-packages repository

https://github.com/void-linux/void-packages/pull/25054#issuecomment-698429623

Comment:
I can understand the reluctance in merging this, but it'd be nice to have meson's runtime files work out of the box with neovim.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
                   ` (4 preceding siblings ...)
  2020-09-24 15:47 ` maybe-one-day-ubermensch
@ 2020-09-24 16:09 ` Johnnynator
  2020-09-24 20:47 ` [PR PATCH] [Updated] " maybe-one-day-ubermensch
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Johnnynator @ 2020-09-24 16:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 242 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/pull/25054#issuecomment-698441891

Comment:
If you want them installed twice, just symlink to the vim files instead of duplicating the files.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
                   ` (5 preceding siblings ...)
  2020-09-24 16:09 ` Johnnynator
@ 2020-09-24 20:47 ` maybe-one-day-ubermensch
  2020-09-24 20:48 ` maybe-one-day-ubermensch
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: maybe-one-day-ubermensch @ 2020-09-24 20:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

There is an updated pull request by maybe-one-day-ubermensch against master on the void-packages repository

https://github.com/maybe-one-day-ubermensch/void-packages meson-nvim-files
https://github.com/void-linux/void-packages/pull/25054

meson: copy vim files to neovim's runtime dir


A patch file from https://github.com/void-linux/void-packages/pull/25054.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-meson-nvim-files-25054.patch --]
[-- Type: text/x-diff, Size: 1237 bytes --]

From 283a728811ccf5ff4adfc614479a1be38dc414c2 Mon Sep 17 00:00:00 2001
From: Jony <maybe-one-day-ubermensch@protonmail.com>
Date: Wed, 23 Sep 2020 09:37:01 -0700
Subject: [PATCH] meson: copy vim files to neovim's runtime dir

---
 srcpkgs/meson/template | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/meson/template b/srcpkgs/meson/template
index 2c1bbbc74f6..7a4277747eb 100644
--- a/srcpkgs/meson/template
+++ b/srcpkgs/meson/template
@@ -1,8 +1,7 @@
 # Template file for 'meson'
 pkgname=meson
 version=0.55.3
-revision=1
-archs=noarch
+revision=2
 build_style=python3-module
 hostmakedepends="python3-devel python3-setuptools"
 depends="ninja python3-setuptools"
@@ -28,6 +27,13 @@ post_install() {
 	vmkdir usr/share/vim/vimfiles
 	cp -rt ${DESTDIR}/usr/share/vim/vimfiles data/syntax-highlighting/vim/*/
 
+	for dir in ftdetect ftplugin indent plugin syntax; do
+		nvim_runtime_dir="usr/share/nvim/runtime/$dir"
+		vmkdir $nvim_runtime_dir
+
+		ln -sf /usr/share/vim/vimfiles/$dir/meson.vim ${DESTDIR}/$nvim_runtime_dir
+	done
+
 	vinstall data/syntax-highlighting/emacs/meson.el 644 usr/share/emacs/site-lisp
 	vinstall data/shell-completions/zsh/_meson 644 usr/share/zsh/site-functions
 }

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
                   ` (6 preceding siblings ...)
  2020-09-24 20:47 ` [PR PATCH] [Updated] " maybe-one-day-ubermensch
@ 2020-09-24 20:48 ` maybe-one-day-ubermensch
  2020-09-25 23:14 ` [PR PATCH] [Updated] " maybe-one-day-ubermensch
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: maybe-one-day-ubermensch @ 2020-09-24 20:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 163 bytes --]

New comment by maybe-one-day-ubermensch on void-packages repository

https://github.com/void-linux/void-packages/pull/25054#issuecomment-698580689

Comment:
Done!

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
                   ` (7 preceding siblings ...)
  2020-09-24 20:48 ` maybe-one-day-ubermensch
@ 2020-09-25 23:14 ` maybe-one-day-ubermensch
  2020-10-09 23:16 ` [PR PATCH] [Closed]: " ericonr
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: maybe-one-day-ubermensch @ 2020-09-25 23:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

There is an updated pull request by maybe-one-day-ubermensch against master on the void-packages repository

https://github.com/maybe-one-day-ubermensch/void-packages meson-nvim-files
https://github.com/void-linux/void-packages/pull/25054

meson: copy vim files to neovim's runtime dir


A patch file from https://github.com/void-linux/void-packages/pull/25054.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-meson-nvim-files-25054.patch --]
[-- Type: text/x-diff, Size: 1230 bytes --]

From ad3a416ee2e5fd2e28cc6278b84f4f282cb1e919 Mon Sep 17 00:00:00 2001
From: Jony <maybe-one-day-ubermensch@protonmail.com>
Date: Wed, 23 Sep 2020 09:37:01 -0700
Subject: [PATCH] meson: copy vim files to neovim's runtime dir

---
 srcpkgs/meson/template | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/meson/template b/srcpkgs/meson/template
index 2c1bbbc74f6..184f277488d 100644
--- a/srcpkgs/meson/template
+++ b/srcpkgs/meson/template
@@ -1,8 +1,7 @@
 # Template file for 'meson'
 pkgname=meson
 version=0.55.3
-revision=1
-archs=noarch
+revision=2
 build_style=python3-module
 hostmakedepends="python3-devel python3-setuptools"
 depends="ninja python3-setuptools"
@@ -28,6 +27,13 @@ post_install() {
 	vmkdir usr/share/vim/vimfiles
 	cp -rt ${DESTDIR}/usr/share/vim/vimfiles data/syntax-highlighting/vim/*/
 
+	for dir in ftdetect ftplugin indent syntax; do
+		nvim_runtime_dir="usr/share/nvim/runtime/$dir"
+		vmkdir $nvim_runtime_dir
+
+		ln -sf /usr/share/vim/vimfiles/$dir/meson.vim ${DESTDIR}/$nvim_runtime_dir
+	done
+
 	vinstall data/syntax-highlighting/emacs/meson.el 644 usr/share/emacs/site-lisp
 	vinstall data/shell-completions/zsh/_meson 644 usr/share/zsh/site-functions
 }

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Closed]: meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
                   ` (8 preceding siblings ...)
  2020-09-25 23:14 ` [PR PATCH] [Updated] " maybe-one-day-ubermensch
@ 2020-10-09 23:16 ` ericonr
  2020-10-09 23:17 ` ericonr
  2020-10-10  2:09 ` maybe-one-day-ubermensch
  11 siblings, 0 replies; 13+ messages in thread
From: ericonr @ 2020-10-09 23:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

There's a closed pull request on the void-packages repository

meson: copy vim files to neovim's runtime dir
https://github.com/void-linux/void-packages/pull/25054

Description:


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
                   ` (9 preceding siblings ...)
  2020-10-09 23:16 ` [PR PATCH] [Closed]: " ericonr
@ 2020-10-09 23:17 ` ericonr
  2020-10-10  2:09 ` maybe-one-day-ubermensch
  11 siblings, 0 replies; 13+ messages in thread
From: ericonr @ 2020-10-09 23:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/25054#issuecomment-706440277

Comment:
Fixed commit message and merged!

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: meson: copy vim files to neovim's runtime dir
  2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
                   ` (10 preceding siblings ...)
  2020-10-09 23:17 ` ericonr
@ 2020-10-10  2:09 ` maybe-one-day-ubermensch
  11 siblings, 0 replies; 13+ messages in thread
From: maybe-one-day-ubermensch @ 2020-10-10  2:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

New comment by maybe-one-day-ubermensch on void-packages repository

https://github.com/void-linux/void-packages/pull/25054#issuecomment-706469007

Comment:
Awesome, thanks!

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-10-10  2:10 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23 16:41 [PR PATCH] meson: copy vim files to neovim's runtime dir maybe-one-day-ubermensch
2020-09-23 16:45 ` sgn
2020-09-23 16:47 ` sgn
2020-09-23 17:14 ` maybe-one-day-ubermensch
2020-09-23 17:14 ` [PR PATCH] [Closed]: " maybe-one-day-ubermensch
2020-09-24 15:47 ` maybe-one-day-ubermensch
2020-09-24 16:09 ` Johnnynator
2020-09-24 20:47 ` [PR PATCH] [Updated] " maybe-one-day-ubermensch
2020-09-24 20:48 ` maybe-one-day-ubermensch
2020-09-25 23:14 ` [PR PATCH] [Updated] " maybe-one-day-ubermensch
2020-10-09 23:16 ` [PR PATCH] [Closed]: " ericonr
2020-10-09 23:17 ` ericonr
2020-10-10  2:09 ` maybe-one-day-ubermensch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).