Add support for completion
authorDavid Raymond Christiansen <david@davidchristiansen.dk>
Tue, 26 Jul 2016 15:26:34 +0000 (11:26 -0400)
committerDavid Raymond Christiansen <david@davidchristiansen.dk>
Tue, 26 Jul 2016 15:36:55 +0000 (11:36 -0400)
commit823f02c3dd9f61444551b954e24a43176d98564f
treeb97deb9158a2384a8c980d09896a0ba40e8bf257
parentf5a4265ed20e2b8b4e3f62d4f8584a8eb2a0ebaf
Add support for completion

Define a completion function and add it to completion-at-point-functions
in ctt-mode. This function is used by many different completion systems
in Emacs, including company-mode and the built-in simple
completion-at-point.

Completion uses a regexp to attempt to find names defined in the current
buffer as well as using the language keywords as sources of completion.
cubicaltt.el