diff options
Diffstat (limited to 'lua/lexers/fsharp.lua')
| -rw-r--r-- | lua/lexers/fsharp.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/lexers/fsharp.lua b/lua/lexers/fsharp.lua index 18df9bb..bdb8c94 100644 --- a/lua/lexers/fsharp.lua +++ b/lua/lexers/fsharp.lua @@ -1,4 +1,4 @@ --- Copyright 2006-2022 Mitchell. See LICENSE. +-- Copyright 2006-2024 Mitchell. See LICENSE. -- F# LPeg lexer. local lexer = require('lexer') @@ -54,4 +54,6 @@ lex:add_rule('preproc', token(lexer.PREPROCESSOR, lexer.starts_line('#') * S('\t -- Operators. lex:add_rule('operator', token(lexer.OPERATOR, S('=<>+-*/^.,:;~!@#%^&|?[](){}'))) +lexer.property['scintillua.comment'] = '//' + return lex |
