mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
* syntax/Syntax: Highlight *.mc as a makefile.
* syntax/sql.syntax: Add more keywords for PostgreSQL.
This commit is contained in:
parent
18a078cf5c
commit
b190930e09
@ -1,3 +1,8 @@
|
||||
2003-03-31 Dmitry Alexeyev <dmi_a@qnx.org.ru>
|
||||
|
||||
* syntax/Syntax: Highlight *.mc as a makefile.
|
||||
* syntax/sql.syntax: Add more keywords for PostgreSQL.
|
||||
|
||||
2003-03-21 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* syntax/sh.syntax: Highlight "find". Highlight whole string
|
||||
|
@ -104,7 +104,7 @@ include spec.syntax
|
||||
file .\*ChangeLog[\\\.A-Za-z0-9_]\*$ GNU\sChangeLog\sFile
|
||||
include changelog.syntax
|
||||
|
||||
file .\*[Mm]akefile[\\\.a-z]\*$ Makefile
|
||||
file (.\*[Mm]akefile[\\\.a-z0-9]\*|..\*\\.mk)$ Makefile
|
||||
include makefile.syntax
|
||||
|
||||
file (..\*\\.m4$|configure\\.in|configure\\.ac) M4\sMacroprocessor\sSource
|
||||
|
@ -44,9 +44,11 @@ context default
|
||||
keyword whole CONNECT yellow
|
||||
keyword whole CONNECTION yellow
|
||||
keyword whole CONSTRAINT yellow
|
||||
keyword whole Constraint yellow
|
||||
keyword whole CONSTRAINTS yellow
|
||||
keyword whole CONTINUE yellow
|
||||
keyword whole CORRESPONDING yellow
|
||||
keyword whole COPY yellow
|
||||
keyword whole CREATE yellow
|
||||
keyword whole CROSS yellow
|
||||
keyword whole CURRENT yellow
|
||||
@ -55,6 +57,7 @@ context default
|
||||
keyword whole CURRENT_TIMESTAMP yellow
|
||||
keyword whole CURRENT_USER yellow
|
||||
keyword whole CURSOR yellow
|
||||
keyword whole DATABASE yellow
|
||||
keyword whole DATE yellow
|
||||
keyword whole DAY yellow
|
||||
keyword whole DEALLOCATE yellow
|
||||
@ -75,6 +78,7 @@ context default
|
||||
keyword whole DOUBLE yellow
|
||||
keyword whole DROP yellow
|
||||
keyword whole ELSE yellow
|
||||
keyword whole ENCODING yellow
|
||||
keyword whole END yellow
|
||||
keyword whole END-EXEC yellow
|
||||
keyword whole ESCAPE yellow
|
||||
@ -124,6 +128,7 @@ context default
|
||||
keyword whole ISOLATION yellow
|
||||
keyword whole JOIN yellow
|
||||
keyword whole KEY yellow
|
||||
keyword whole Key yellow
|
||||
keyword whole LANGUAGE yellow
|
||||
keyword whole LAST yellow
|
||||
keyword whole LEADING yellow
|
||||
@ -167,6 +172,7 @@ context default
|
||||
keyword whole PREPARE yellow
|
||||
keyword whole PRESERVE yellow
|
||||
keyword whole PRIMARY yellow
|
||||
keyword whole Primary yellow
|
||||
keyword whole PRIOR yellow
|
||||
keyword whole PRIVILEGES yellow
|
||||
keyword whole PROCEDURE yellow
|
||||
@ -185,6 +191,7 @@ context default
|
||||
keyword whole SECOND yellow
|
||||
keyword whole SECTION yellow
|
||||
keyword whole SELECT yellow
|
||||
keyword whole SEQUENCE yellow
|
||||
keyword whole SESSION yellow
|
||||
keyword whole SESSION_USER yellow
|
||||
keyword whole SET yellow
|
||||
@ -199,6 +206,7 @@ context default
|
||||
keyword whole SUBSTRING yellow
|
||||
keyword whole SYSTEM_USER yellow
|
||||
keyword whole TABLE yellow
|
||||
keyword whole TEMPLATE yellow
|
||||
keyword whole TEMPORARY yellow
|
||||
keyword whole THEN yellow
|
||||
keyword whole TIME yellow
|
||||
@ -229,6 +237,7 @@ context default
|
||||
keyword whole WORK yellow
|
||||
keyword whole WRITE yellow
|
||||
keyword whole YEAR yellow
|
||||
keyword whole USER yellow
|
||||
keyword whole ZONE yellow
|
||||
|
||||
keyword whole absolute yellow
|
||||
@ -429,6 +438,7 @@ context default
|
||||
keyword whole system_user yellow
|
||||
keyword whole table yellow
|
||||
keyword whole temporary yellow
|
||||
keyword whole text yellow
|
||||
keyword whole then yellow
|
||||
keyword whole time yellow
|
||||
keyword whole timestamp yellow
|
||||
@ -478,6 +488,27 @@ context default
|
||||
keyword ; brightcyan
|
||||
keyword . white
|
||||
|
||||
# PostgreSQL specific
|
||||
keyword CREATEDB white
|
||||
keyword NOCREATEDB white
|
||||
keyword CREATEUSER white
|
||||
keyword NOCREATEUSER white
|
||||
keyword PASSWORD white
|
||||
keyword SYSID white
|
||||
|
||||
keyword nextval white
|
||||
keyword pg_database white
|
||||
keyword pg_group white
|
||||
keyword pg_shadow white
|
||||
keyword stdin white
|
||||
|
||||
# PostgreSQL sequences
|
||||
keyword cache white
|
||||
keyword increment white
|
||||
keyword maxvalue white
|
||||
keyword minvalue white
|
||||
keyword start white
|
||||
|
||||
# MySQL comment
|
||||
context linestart # \n brown
|
||||
spellcheck
|
||||
|
Loading…
Reference in New Issue
Block a user