]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1080: filetype: Mill files are not recognized v9.1.1080
authorChris Kipp <ckipp@pm.me>
Thu, 6 Feb 2025 20:26:08 +0000 (21:26 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 6 Feb 2025 20:26:08 +0000 (21:26 +0100)
commit9c8f9b10fcb177fb07684626b49118dd2d2540b5
tree5282d038a415386604c71194f22fa65ce309248c
parenta5e03f68a87d819896c81ff7cc3c668a2013c680
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: #16585

Signed-off-by: Chris Kipp <ckipp@pm.me>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c