emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] No font lock in src blocks for shells in org-babel-shell-names (wa


From: Matt
Subject: [BUG] No font lock in src blocks for shells in org-babel-shell-names (was Re: Font lock for org-babel shell scripts?)
Date: Tue, 28 Mar 2023 17:53:10 -0400
User-agent: Zoho Mail

Of the shells given in `org-babel-shell-names' (that is, "sh" "bash" "zsh" 
"fish" "csh" "ash" "dash" "ksh" "mksh" "posh"), only "sh" and "bash" have font 
locking in source blocks.

For example,

#+begin_src sh
  if [ -z $TEST ]; then
      echo Fontified
  fi
#+end_src

#+begin_src bash
  if [ -z $TEST ]; then
      echo Fontified
  fi
#+end_src

#+begin_src zsh
  if [ -z $TEST ]; then
      echo No fontification
  fi
#+end_src

#+begin_src fish
  if [ -z $TEST ]; then
     echo No fontification
  fi
#+end_src

#+begin_src csh
  if [ -z $TEST ]; then
      echo No fontification
  fi
#+end_src

#+begin_src ash
  if [ -z $TEST ]; then
      echo No fontification
  fi
#+end_src

#+begin_src dash
  if [ -z $TEST ]; then
      echo No fontification
  fi
#+end_src

#+begin_src ksh
  if [ -z $TEST ]; then
      echo No fontification
  fi
#+end_src

#+begin_src mksh
  if [ -z $TEST ]; then
      echo No fontification
  fi
#+end_src

#+begin_src posh
  if [ -z $TEST ]; then
      echo No fontification
  fi
#+end_src

 Does anyone know which function is responsible for re-fontifing source blocks?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]