Skip to content

Commit

Permalink
fix: add identifier to default colors and types
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptcoded committed Oct 24, 2023
1 parent d6fb836 commit a5dd7d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ declare module 'sql-highlight' {
function: string;
number: string;
string: string;
identifier: string;
special: string;
bracket: string;
comment: string;
Expand Down
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const DEFAULT_OPTIONS = {
function: '\x1b[31m',
number: '\x1b[32m',
string: '\x1b[32m',
identifier: '\x1b[0m',
special: '\x1b[33m',
bracket: '\x1b[33m',
comment: '\x1b[2m\x1b[90m',
Expand Down

0 comments on commit a5dd7d6

Please sign in to comment.