Added Ruby autocomplete example

This commit is contained in:
James Booth
2014-06-12 22:13:02 +01:00
parent ab60cd3e68
commit 7b534bab38
2 changed files with 10 additions and 3 deletions

View File

@@ -43,9 +43,9 @@ def prof_init(version, status):
prof.register_command("/upper", 0, 1, "/upper", "Uppercase input string", "Uppercase input string", _cmd_upper)
prof.register_ac("/pcomplete", [ "aah", "baa", "bee" ]);
prof.register_ac("/pcomplete aah", [ "one", "two", "three", "nan" ]);
prof.register_ac("/pcomplete baa", [ "james", "jim", "jane", "bob" ]);
prof.register_ac("/pcomplete", [ "aah", "baa", "bee" ])
prof.register_ac("/pcomplete aah", [ "one", "two", "three", "nan" ])
prof.register_ac("/pcomplete baa", [ "james", "jim", "jane", "bob" ])
prof.register_command("/pcomplete", 0, 2, "/pcomplete", "Python completion", "Python completion", _cmd_upper)
prof.register_timed(_timer_test, 10)