もっと上を目指して、もっとスタイリングしたい。たとえば、次のようにスタイルを設定します。
setting1 = 4
setting2 = 192.168.1.12
etc...
=
青の左側にすべてを、右側の紫にすべてをスタイリングしたいと思います。
問題は、atom 正規表現エンジンが否定先読みまたは肯定先読みをサポートしていないことです。その結果、begin
andend
ディレクティブを使用してみましたが、それでも機能しません。言い換えれば、私は試しました:
{
# section reference
'begin': '^\\s*.*?=' # match a line that contains an = sign
'end': '.+$' # continue until the end of the line
'match': '^\\s*[^=]*' #only match everything that is not an equal sign
'name': 'blue' #style it with the blue style
},
したがって、基本的には、次のようにする必要があります。
何か案は?