SyntaxeHl est un plugin bien sympatique.

Un petit exemple avec Java :

/*un commentaire*/
class Product{
    String nom;
    int ref;
    int qte;
    void print(){
        System.out.print(nom+" "+ref+" "+qte);
    }
    Product(String n, int r, int q){
        nom = n;
        ref = r;
        qte = q;
    }
    Product stocker(int delta){
        qte = qte + delta;
        return this;
    }
    Product destocker(int delta){
        qte = qte - delta;
        return this;
    }
}


Un autre avec Bash :

#!/bin/bash
if [ $# -lt 1 ]; then
        echo "$0 : Utilisation du script : $0 MMJJ (mois jour)"
        exit 10
fi
 
LISTE=`ls -l /usr/games/srcds/css/cstrike/logs/L${1}*.log|awk '{print $8}'`
LOGFILE="/root/logs_admins_${1}.log"
if [ ! -w $LOGFILE ]; then
   touch $LOGFILE
fi
 
for FICHIER in $LISTE
do
   cat $FICHIER|grep "MANI_ADMIN_PLUGIN] Admin" >> $LOGFILE
done


Et du TCL :

# client e/s
 
  proc input {channel} \
  {
    if {[eof $channel]} \
    {
      # client closed -> log & close
      log $channel <closed>
      catch { close $channel }
    } \
    else \
    {
      # receiving
      set rc [catch { set count [gets $channel data] } msg]
      if {$rc == 1} \
      {
        # i/o error -> log & close
        log $channel ***$msg
        catch { close $channel }
      } \
      elseif {$count == -1} \
      {
        # client closed -> log & close
        log $channel <closed>
        catch { close $channel }
      } \
      else \
      {
        # got data -> do some thing
        log $channel $data
      }
    }
  }