:add: spec for autocompleting keywords from grammar