mirror of
https://github.com/vim/vim.git
synced 2025-12-10 18:46:57 -05:00
patch 9.1.1934: filetype: not all starlark files are recognized
Problem: filetype: not all starlark files are recognized Solution: Detect *.sky files as starlark filetype (Bruno Belanyi) References: - https://docs.bazel.build/versions/0.17.1/skylark/spec.html closes: #18807 Signed-off-by: Bruno Belanyi <bruno@belanyi.fr> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
4bb44b287c
commit
3ba6a97fea
3
runtime/autoload/dist/ft.vim
vendored
3
runtime/autoload/dist/ft.vim
vendored
@ -3,7 +3,7 @@ vim9script
|
||||
# Vim functions for file type detection
|
||||
#
|
||||
# Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
# Last Change: 2025 Nov 11
|
||||
# Last Change: 2025 Nov 28
|
||||
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
# These functions are moved here from runtime/filetype.vim to make startup
|
||||
@ -2705,6 +2705,7 @@ const ft_from_ext = {
|
||||
"nut": "squirrel",
|
||||
# Starlark
|
||||
"ipd": "starlark",
|
||||
"sky": "starlark",
|
||||
"star": "starlark",
|
||||
"starlark": "starlark",
|
||||
# OpenVPN configuration
|
||||
|
||||
Reference in New Issue
Block a user