Skip to content

Commit

Permalink
稍微改进关于比较条件的高亮
Browse files Browse the repository at this point in the history
  • Loading branch information
A4-Tacks committed Apr 29, 2024
1 parent d590228 commit fddab16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion syntax/MT-Manager/MindustryLogicBangLang.mtsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
}
{ // operator
match: keywordsToRegex(
"abs acos add and angle asin atan ceil"
"abs acos add always and angle asin atan ceil"
"cos div equal floor greaterThan greaterThanEq"
"idiv land len lessThan lessThanEq lnot log"
"max min mod mul noise not notEqual or"
Expand Down
5 changes: 3 additions & 2 deletions syntax/vim/mdtlbl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ syn keyword mdtlblKeyword
syn keyword mdtlblOpFunKeyword
\ add sub mul div idiv mod pow
\ equal notEqual land lessThan lessThanEq greaterThan greaterThanEq
\ strictEqual strictNotEqual shl shr or and xor max
\ strictEqual strictNotEqual always _
\ shl shr or and xor max
\ min angle len noise not abs log
\ floor ceil sqrt rand sin cos tan
\ asin acos atan lnot

syn match mdtlblCmpTreeOper /&&\|||\|!/
syn match mdtlblCmpTreeOper /&&\|||\|!\|=>/
syn match mdtlblArgsExpand /@/

" 注释 {{{1
Expand Down

0 comments on commit fddab16

Please sign in to comment.