-- -*- sql-product: postgres; -*-
DROP FUNCTION IF EXISTS test;
| -- marker here
the marker gets indented even though it should stay at the beginning of the line. Removing IF EXISTS fixes it.
I tried replacing FUNCTION with each of the keywords in sqlind-good-if-candidate and I noticed the same thing happens with PROCEDURE too, but none of the other ones, so I guess it's conflicting with some code that handles function indentation.
In the following example:
the marker gets indented even though it should stay at the beginning of the line. Removing
IF EXISTS
fixes it.I tried replacing
FUNCTION
with each of the keywords insqlind-good-if-candidate
and I noticed the same thing happens withPROCEDURE
too, but none of the other ones, so I guess it's conflicting with some code that handles function indentation.