Ruby mode

  • Thread starter Nasser Alhawash
  • Start date
N

Nasser Alhawash

'("\\bdef[ \t]+[a-zA-Z_]+[a-zA-Z0-9_]*[?!]?"=0A 0 font-lock-fu=
nction-name-face))=0A "*Additional expressions to highlight in ruby mod=
e.")=0A (add-hook 'ruby-mode-hook=0A (lambda ()=0A (set=
q font-lock-keywords ruby-font-lock-keywords)=0A (font-lock-mode=
1)))))=0A (if (and (>=3D (string-to-int emacs-version) 20)=0A (not=
(featurep 'xemacs)))=0A (add-hook=0A 'ruby-mode-hook=0A (lam=
bda ()=0A (make-local-variable 'font-lock-defaults)=0A (setq fo=
nt-lock-defaults =0A '((ruby-font-lock-keywords) nil nil ((?\_ =
"w"))))))=0A (add-hook 'ruby-mode-hook=0A (lambda ()=0A =
(setq font-lock-keywords ruby-font-lock-keywords)=0A =
(font-lock-mode 1))))))=0A=0ANasser Alhawash=0A=0A=0A=0A
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top