适用于BBEdit的MT配置语言模块8

Here’s another codeless language module for BBEdit 8, for Movable Type configuration files (‘mt.cfg’)It provides syntax coloring for comments and MT directive keywords; by default, it claims any file whose name ends with ‘mt.cfg’.

下载链接和安装说明(cinchy)模块的项目页面

Movable Type用户手册有一节配置设置; this module supports all the directive keywords listed there, plus the following six which aren’t documented, but which I found in the default ‘mt.cfg’ file for MT 3.11:

  • AdminScript
  • TypeKeyVersion
  • ObjectDriver
  • 数据库
  • DBUSER
  • DBHOST

更新

Phil Ringnaldaemailed to point out that the canonical list of supported MT configuration directives is in the/mt/lib/MT/ConfigMgr.pmsource file从那里开始,我又增加了25个关键词:

  • AltTemplatePath
  • AtomApp
  • CSSPath
  • DBPASSWORD
  • DBPort
  • DBSocket
  • DebugEmailAddress
  • DefaultLanguage
  • DynamicComments
  • IDENTITYURL
  • IgnoreISOTimezones
  • NewsboxURL
  • NoPlacementCache
  • NoPublishMeansDraft
  • OneDayMaxPings
  • OneHourMaxPings
  • PluginPath
  • SearchSortOrder
  • 串行
  • SignOffURL
  • SignOnURL
  • TechnoratiPingURL
  • 时间偏移
  • TransparentProxyIPs
  • 类型

(注意Six Apart:记录这些内容会很好。)