protected void generateKeywords ( IStyleAppendable it , String family , VimSyntaxGroup color , Iterable < String > keywords ) { appendComment ( it , "keywords for the '" + family + "' family." ) ; //$NON-NLS-1$ //$NON-NLS-2$ final Iterator < String > iterator = keywords . iterator ( ) ; if ( iterator . hasNext ( ) ) { it . append ( "syn keyword " ) ; //$NON-NLS-1$ it . append ( family ) ; do { it . append ( " " ) ; //$NON-NLS-1$ it . append ( iterator . next ( ) ) ; } while ( iterator . hasNext ( ) ) ; } it . newLine ( ) ; appendCluster ( it , family ) ; hilight ( family , color ) ; it . newLine ( ) ; }
Generate the Vim keywords .