Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteafcedf

Browse files
celeron55leafo
authored andcommitted
Hilight ! as Function instead of Operator
1 parenta56f570 commiteafcedf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎syntax/moon.vim‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,12 @@ syn match moonLuaFunc /debug\.setmetatable/
147147
hideflinkmoonLuaFuncIdentifier
148148

149149
" The first case matches symbol operators only if they have an operand before.
150-
synmatchmoonExtendedOp/\%(\S\s*\)\@<=[+\-*/%&|\^=!<>?#]\+\|\.\|\\\|!/
150+
synmatchmoonExtendedOp/\%(\S\s*\)\@<=[+\-*/%&|\^=!<>?#]\+\|\.\|\\/
151151
\display
152152
hideflinkmoonExtendedOpmoonOperator
153153
hideflinkmoonOperatorOperator
154154

155-
syntaxmatchmoonFunction/->\|=>\|)\|(\|\[\|]\|{\|}/
155+
syntaxmatchmoonFunction/->\|=>\|)\|(\|\[\|]\|{\|}\|!/
156156
highlightdefaultlinkmoonFunctionFunction
157157

158158
" This is separate from `moonExtendedOp` to help differentiate commas from

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp