mirror of
https://github.com/vim/vim.git
synced 2025-11-13 22:54:27 -05:00
patch 9.1.1886: filetype: Android aconfig files are not recognized
Problem: filetype: Android aconfig files are not recognized Solution: Detect *.aconfig files as pbtxt filetype (Bruno Belanyi) Reference: https://source.android.com/docs/setup/build/feature-flagging/declare-flag closes: #18656 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
b2e6b328da
commit
7adeb09bb2
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 Oct 09
|
||||
# Last Change: 2025 Oct 28
|
||||
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
# These functions are moved here from runtime/filetype.vim to make startup
|
||||
@@ -2473,6 +2473,7 @@ const ft_from_ext = {
|
||||
"textproto": "pbtxt",
|
||||
"textpb": "pbtxt",
|
||||
"pbtxt": "pbtxt",
|
||||
"aconfig": "pbtxt", # Android aconfig files
|
||||
# Poke
|
||||
"pk": "poke",
|
||||
# Nvidia PTX (Parallel Thread Execution)
|
||||
|
||||
Reference in New Issue
Block a user