В Ruby lexer добавлен поиск переменных коде.

This commit is contained in:
svkalinin 2022-12-15 12:18:18 +03:00
parent 2043a03c0b
commit 777eaa01e5
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ dict set lexers RB commentSymbol {#}
dict set lexers RB tabSize 2
dict set lexers RB procFindString {(def |class )\s*?PROCNAME}
dict set lexers RB procRegexpCommand {regexp -nocase -all -- {^\s*?(def|class)\s([a-zA-Z0-9\-_:\?]+?)($|\s|\(.+?\))} $line match keyWord procName params}
dict set lexers RB varRegexpCommand {regexp -nocase -all -line -- {^\s*?(\w+)\s*=\s*(.+)($)} $line match varName varValue lineEnd}
#--------------------------------------------------
# YAML (ansible)
dict set lexers YML commentSymbol {#}

View File

@ -10,7 +10,7 @@ exec wish "$0" -- "$@"
######################################################
# Version: 2.0.0
# Release: alpha
# Build: 15122022121139
# Build: 15122022121726
######################################################
# определим текущую версию, релиз и т.д.