PrismJS / prism

Lightweight, robust, elegant syntax highlighting.
https://prismjs.com
MIT License
12.34k stars 1.29k forks source link

Add PL/SQL REPLACE keyword #3793

Open hedi-far opened 7 months ago

hedi-far commented 7 months ago

Even though it is not in the list of Oracle PL/SQL Reserved Words and Keywords, I'd like to suggest adding REPLACE as a keyword to PL/SQL.

Example on Prism Test Drive:(https://prismjs.com/test.html#language=plsql&text=CREATE%20OR%20REPLACE%20PROCEDURE%0Ahello_place%20(place_in%20IN%20VARCHAR2)%0AIS%0A%20%20l_message%20%20VARCHAR2%20(100)%3B%0ABEGIN%0A%20%20l_message%20%20%3A%3D%20'Hello%20'%20%7C%7C%20place_in%3B%0A%20%20DBMS_OUTPUT.put_line%20(l_message)%3B%0AEND%20hello_place%3B)

github-actions[bot] commented 7 months ago

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +3 B (+0.2%).

| file | master | pull | size diff | % diff | | --- | --- | --- | --- | --- | | components/prism-plsql.min.js | 1.5 KB | 1.5 KB | +3 B | +0.2% |

Generated by :no_entry_sign: dangerJS against 1170e7850c583c2abc05ed522c8007eac79cb6f5