Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions userdiff.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,14 @@ PATTERNS("kotlin",
"|[.][0-9][0-9_]*([Ee][-+]?[0-9]+)?[fFlLuU]?"
/* unary and binary operators */
"|[-+*/<>%&^|=!]==?|--|\\+\\+|<<=|>>=|&&|\\|\\||->|\\.\\*|!!|[?:.][.:]"),
PATTERNS("lisp",
/* Either an unindented left paren, or a slightly indented line
* starting with "(def" */
"^((\\(|:space:{1,2}\\(def).*)$",
/* Common Lisp symbol syntax allows arbitrary strings between vertical bars */
"\\|([^\\\\]|\\\\\\\\|\\\\\\|)*\\|"
/* All other words are delimited by spaces or parentheses/brackets/braces */
"|([^][(){} \t])+"),
PATTERNS("markdown",
"^ {0,3}#{1,6}[ \t].*",
/* -- */
Expand Down
Loading