1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 22:14:11 +01:00

Make the :command-complete completers config specific.

Adds a few missing completers for Pentadactyl.
This commit is contained in:
Doug Kearns
2011-01-01 03:54:43 +11:00
parent 729bf8d45c
commit 24f5c9d06d
6 changed files with 66 additions and 56 deletions

View File

@@ -98,6 +98,43 @@ var ConfigBase = Class("ConfigBase", {
commandContainer: "browser-bottombox",
/**
* @property {Object} A map of :command-complete option values to completer
* function names.
*/
completers: {
abbreviation: "abbreviation",
altstyle: "alternateStyleSheet",
bookmark: "bookmark",
buffer: "buffer",
charset: "charset",
color: "colorScheme",
command: "command",
dialog: "dialog",
dir: "directory",
environment: "environment",
event: "autocmdEvent",
extension: "extension",
file: "file",
help: "help",
highlight: "highlightGroup",
history: "history",
javascript: "javascript",
macro: "macro",
mapping: "userMapping",
mark: "mark",
menu: "menuItem",
option: "option",
preference: "preference",
qmark: "quickmark",
runtime: "runtime",
search: "search",
shellcmd: "shellCommand",
toolbar: "toolbar",
url: "url",
usercommand: "userCommand"
},
/**
* @property {Object} Application specific defaults for option values. The
* property names must be the options' canonical names, and the values