react-native-codepad-lang-ini 0.0.0-stage → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,43 @@
1
1
  {
2
2
  "name": "react-native-codepad-lang-ini",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.9",
4
+ "description": "tree-sitter Ini grammar and highlight queries for react-native-codepad",
5
+ "main": "./src/index.ts",
6
+ "types": "./src/index.ts",
7
+ "files": [
8
+ "src",
9
+ "android",
10
+ "ios",
11
+ "grammar",
12
+ "queries",
13
+ "*.podspec",
14
+ "THIRD_PARTY_NOTICES.md",
15
+ "!android/build",
16
+ "!android/.cxx"
17
+ ],
18
+ "keywords": [
19
+ "react-native",
20
+ "codepad",
21
+ "tree-sitter",
22
+ "ini"
23
+ ],
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git+https://github.com/SectionTN/react-native-codepad.git",
27
+ "directory": "languages/ini"
28
+ },
29
+ "author": "Rayen Sbai <rayensbai2@gmail.com> (https://github.com/SectionTN)",
30
+ "license": "MIT AND Apache-2.0",
31
+ "homepage": "https://github.com/SectionTN/react-native-codepad#readme",
32
+ "peerDependencies": {
33
+ "react-native-codepad": "0.1.9"
34
+ },
35
+ "publishConfig": {
36
+ "registry": "https://registry.npmjs.org/"
37
+ },
38
+ "codepad": {
39
+ "generated": true,
40
+ "grammar": "justinmk/tree-sitter-ini@e4018b5176132b4f3c5d6e61cea383f42288d0f5",
41
+ "queries": "nvim-treesitter/nvim-treesitter@e289100ff98969e118c702199d88b764ce9e7fdf"
42
+ }
43
+ }
@@ -0,0 +1,16 @@
1
+ (section_name
2
+ (text) @markup.heading)
3
+
4
+ (comment) @comment @spell
5
+
6
+ [
7
+ "["
8
+ "]"
9
+ ] @punctuation.bracket
10
+
11
+ "=" @operator
12
+
13
+ (setting
14
+ (setting_name) @property)
15
+
16
+ (setting_value) @string
@@ -0,0 +1,3 @@
1
+ ((comment
2
+ (text) @injection.content)
3
+ (#set! injection.language "comment"))
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export const ini = 'ini' as const;