From 4c4392d29df777ff702dfe99b4f3c23142976e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Fri, 11 Aug 2023 01:27:32 +0200 Subject: update lexers to orbitalquark/scintillua@b789dde Rather than cherry pick patches from after 6.2 we will just grab everything as is. --- lua/lexers/litcoffee.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lua/lexers/litcoffee.lua') diff --git a/lua/lexers/litcoffee.lua b/lua/lexers/litcoffee.lua index f097e5f..1b03501 100644 --- a/lua/lexers/litcoffee.lua +++ b/lua/lexers/litcoffee.lua @@ -1,4 +1,4 @@ --- Copyright 2006-2022 Robert Gieseke. See LICENSE. +-- Copyright 2006-2024 Robert Gieseke. See LICENSE. -- Literate CoffeeScript LPeg lexer. -- http://coffeescript.org/#literate @@ -10,8 +10,8 @@ local lex = lexer.new('litcoffee', {inherit = lexer.load('markdown')}) -- Embedded CoffeeScript. local coffeescript = lexer.load('coffeescript') -local coffee_start_rule = token(lexer.STYLE_EMBEDDED, (P(' ')^4 + P('\t'))) -local coffee_end_rule = token(lexer.STYLE_EMBEDDED, lexer.newline) +local coffee_start_rule = token(lexer.EMBEDDED, (P(' ')^4 + P('\t'))) +local coffee_end_rule = token(lexer.EMBEDDED, lexer.newline) lex:embed(coffeescript, coffee_start_rule, coffee_end_rule) -- Use 'markdown_whitespace' instead of lexer.WHITESPACE since the latter would expand to -- cgit v1.2.3