From 5f54f03285964d355744f0fdfca796b2d73af1d1 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Thu, 6 Feb 2025 21:52:27 +0100 Subject: vim-patch:9.1.1080: filetype: Mill files are not recognized Problem: filetype: Mill files are not recognized Solution: detect '*.mill' files as scala filetype (author) In the past [Mill](https://mill-build.org/mill/index.html) build files were always `build.sc` and treated as Scala files. However as the 0.12.x series of mill you can create a `build.mill` file. You can see a lot of examples of this if you search [GitHub](https://github.com/search?q=build.mill&type=code). This small change just ensures that if you have a `*.mill` file it treats it as a Scala file. closes: vim/vim#16585 https://github.com/vim/vim/commit/9c8f9b10fcb177fb07684626b49118dd2d2540b5 Co-authored-by: Chris Kipp --- runtime/lua/vim/filetype.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index cc7358ee49..5aaa3f053b 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1074,6 +1074,7 @@ local extension = { sass = 'sass', sbt = 'sbt', scala = 'scala', + mill = 'scala', ss = 'scheme', scm = 'scheme', sld = 'scheme', -- cgit