Skip to content

Commit

Permalink
Index JSX components
Browse files Browse the repository at this point in the history
  • Loading branch information
borela committed Jun 18, 2018
1 parent f67a444 commit 4bb4da4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
19 changes: 19 additions & 0 deletions preferences/jsx/symbol-components.YAML-tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# [PackageDev] target_format: plist, ext: tmPreferences

# Licensed under the Apache License, Version 2.0 (the “License”); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an “AS IS” BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.

name: Symbol - JSX’s components
scope: source.jsx entity.name.tag.component - meta.tag.close
settings:
showInSymbolList: 1
symbolTransformation: "//\U0001f3f7 /"
17 changes: 17 additions & 0 deletions preferences/jsx/symbol-components.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Symbol - JSX’s components</string>
<key>scope</key>
<string>source.jsx entity.name.tag.component - meta.tag.close</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
<integer>1</integer>
<key>symbolTransformation</key>
<string>//🏷 /</string>
</dict>
</dict>
</plist>

0 comments on commit 4bb4da4

Please sign in to comment.