mirror of
https://github.com/vim/vim.git
synced 2025-12-10 18:46:57 -05:00
patch 9.1.1889: filetype: not all AppleScript files are recognized
Problem: filetype: not all AppleScript files are recognized
Solution: Detect *.applescript files as applescript filetype
(Samuel Huang)
Reference:
https://en.wikipedia.org/wiki/AppleScript
closes: #18672
Signed-off-by: Samuel Huang <hi@sgh.ng>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
4105ef16e3
commit
69dd5906fd
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 28
|
||||
# Last Change: 2025 Oct 31
|
||||
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
# These functions are moved here from runtime/filetype.vim to make startup
|
||||
@ -1659,6 +1659,7 @@ const ft_from_ext = {
|
||||
# XA65 MOS6510 cross assembler
|
||||
"a65": "a65",
|
||||
# Applescript
|
||||
"applescript": "applescript",
|
||||
"scpt": "applescript",
|
||||
# Applix ELF
|
||||
"am": "elf",
|
||||
|
||||
Reference in New Issue
Block a user