@statiolake/coc-nim 0.1.0

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.
Files changed (4) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +4 -0
  3. package/lib/index.js +11772 -0
  4. package/package.json +82 -0
package/package.json ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "@statiolake/coc-nim",
3
+ "version": "0.1.0",
4
+ "description": "Nim language support for coc.nvim using nimlangserver",
5
+ "author": "statiolake",
6
+ "license": "MIT",
7
+ "main": "lib/index.js",
8
+ "engines": {
9
+ "coc": "^0.0.82"
10
+ },
11
+ "scripts": {
12
+ "build": "node esbuild.mjs",
13
+ "format": "prettier --write .",
14
+ "format:check": "prettier --check .",
15
+ "prepare": "node esbuild.mjs",
16
+ "typecheck": "tsc --noEmit"
17
+ },
18
+ "activationEvents": [
19
+ "onLanguage:nim"
20
+ ],
21
+ "contributes": {
22
+ "commands": [
23
+ {
24
+ "command": "nimlangserver.install",
25
+ "title": "Install nimlangserver"
26
+ },
27
+ {
28
+ "command": "nimlangserver.update",
29
+ "title": "Update nimlangserver"
30
+ },
31
+ {
32
+ "command": "nimlangserver.restart",
33
+ "title": "Restart nimlangserver"
34
+ }
35
+ ],
36
+ "configuration": {
37
+ "type": "object",
38
+ "title": "nimlangserver",
39
+ "properties": {
40
+ "nimlangserver.enable": {
41
+ "type": "boolean",
42
+ "default": true
43
+ },
44
+ "nimlangserver.prompt": {
45
+ "type": "boolean",
46
+ "default": true,
47
+ "description": "Prompt before installing a missing server"
48
+ },
49
+ "nimlangserver.customPath": {
50
+ "type": "string",
51
+ "description": "Use an existing nimlangserver executable instead of the managed copy"
52
+ },
53
+ "nim.nimsuggestPath": {
54
+ "type": "string",
55
+ "description": "Path to nimsuggest"
56
+ }
57
+ }
58
+ }
59
+ },
60
+ "devDependencies": {
61
+ "@statiolake/coc-utils": "git+https://github.com/statiolake/coc-utils.git",
62
+ "@types/node": "^16.18.0",
63
+ "coc.nvim": "^0.0.83-next.24",
64
+ "esbuild": "^0.25.0",
65
+ "prettier": "^3.6.2",
66
+ "typescript": "^5.3.3"
67
+ },
68
+ "repository": {
69
+ "type": "git",
70
+ "url": "git+https://github.com/statiolake/coc-nim.git"
71
+ },
72
+ "bugs": {
73
+ "url": "https://github.com/statiolake/coc-nim/issues"
74
+ },
75
+ "homepage": "https://github.com/statiolake/coc-nim#readme",
76
+ "publishConfig": {
77
+ "access": "public"
78
+ },
79
+ "files": [
80
+ "lib/index.js"
81
+ ]
82
+ }