# Vim functions for file type detection
#
# Maintainer: The Vim Project <https://github.com/vim/vim>
-# Last Change: 2026 Jul 24
+# Last Change: 2026 Jul 27
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
# These functions are moved here from runtime/filetype.vim to make startup
"tiltfile": "tiltfile",
# Ghostty
"ghostty": "ghostty",
+ # Xilinx Design Constraint file
+ "xdc": "tcl",
}
# Key: file name (the final path component, excluding the drive and root)
# Value: filetype
taskdata: ['pending.data', 'completed.data', 'undo.data'],
taskedit: ['file.task'],
tcl: ['file.tcl', 'file.tm', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl', '.tclshrc', 'tclsh.rc', '.wishrc', '.tclsh-history',
- '.xsctcmdhistory', '.xsdbcmdhistory', 'vivado.jou', 'vivado.log'],
+ '.xsctcmdhistory', '.xsdbcmdhistory', 'vivado.jou', 'vivado.log', 'file.xdc'],
teal: ['file.tl'],
templ: ['file.templ'],
template: ['file.tmpl'],