Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Seriously, this is not a good jsp-mode, it just solves some of my problems
Emacs Lisp
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
crappy-jsp-mode.el

README.md

jsp-mode

An exceedingly basic jsp-mode, inheriting from html-mode.

This crappy mode for jsp makes sure indentation sorta works.

Indentation

It gives you proper indentation when you need to comment out whitespace with jsp-comments:

<div class="no-whitespace"><%--
  --%><div class="please"><%--
  --%></div><%--
--%></div><%--

or maybe not even properly, just nicer than html-mode.

It also indents JavaScript properly inside <script>-tags.

Highlighting

In addition to that it highlights these ${} in a horrible yellow color.

Something went wrong with that request. Please try again.