private boolean match(EventCompletionContext context, TokenType keywordToken) {
        return context.document.lexer().matchBackwards(context.position, 1, true, keywordToken, TokenType.COLON) != null
            || context.document.lexer().matchBackwards(context.position, 1, true, keywordToken, TokenType.IDENTIFIER, TokenType.COLON) != null
            || context.document.lexer().matchBackwards(context.position, 1, true, keywordToken, TokenType.IDENTIFIER_WITH_DASH, TokenType.COLON) != null;
	}
For matching KEYWORD_TOKEN IDENTIFIER? COLON *fixed set of keywords go here*
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/lsp/schema/completion/provider/SimpleColonCompletion.java