~martanne/devel

filetype: Set "groovy" for Jenkinsfile v1 PROPOSED

Galen Abell: 1
 filetype: Set "groovy" for Jenkinsfile

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~martanne/devel/patches/21831/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] filetype: Set "groovy" for Jenkinsfile Export this patch

---
 lua/plugins/filetype.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index bf80a89..3cd234e 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -176,7 +176,7 @@ vis.ftdetect.filetypes = {
		ext = { "%.go$" },
	},
	groovy = {
		ext = { "%.groovy$", "%.gvy$" },
		ext = { "%.groovy$", "%.gvy$", "^Jenkinsfile$" },
	},
	gtkrc = {
		ext = { "%.gtkrc$" },
--
2.31.1