mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-12-18 17:22:43 +00:00
Use own line for comments
Move comments found by NewLineComment warning of the SpaceBeforeSingleLineComment sniff. Change-Id: I15e9c33ebb562a4062a7c0149f3ffa2abccf5d65
This commit is contained in:
parent
a3f77b64f6
commit
ef0b19887b
|
@ -1,8 +1,6 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<ruleset>
|
<ruleset>
|
||||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
||||||
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
|
||||||
</rule>
|
|
||||||
<file>.</file>
|
<file>.</file>
|
||||||
<arg name="extensions" value="php"/>
|
<arg name="extensions" value="php"/>
|
||||||
<arg name="encoding" value="UTF-8"/>
|
<arg name="encoding" value="UTF-8"/>
|
||||||
|
|
|
@ -121,7 +121,8 @@ class SyntaxHighlightAce {
|
||||||
'R' => [],
|
'R' => [],
|
||||||
'Razor' => [],
|
'Razor' => [],
|
||||||
'RDoc' => [],
|
'RDoc' => [],
|
||||||
'RHTML' => [], // HTML with Rcode, not ruby
|
// HTML with Rcode, not ruby
|
||||||
|
'RHTML' => [],
|
||||||
'RST' => [ 'rst', 'rest', 'restructuredtext' ],
|
'RST' => [ 'rst', 'rest', 'restructuredtext' ],
|
||||||
'Ruby' => [ 'ruby', 'rb', 'duby' ],
|
'Ruby' => [ 'ruby', 'rb', 'duby' ],
|
||||||
'Rust' => [ 'rust' ],
|
'Rust' => [ 'rust' ],
|
||||||
|
|
Loading…
Reference in a new issue