My dotfiles
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

205 rindas
6.0 KiB

  1. {
  2. "name": "coc-emmet",
  3. "version": "1.1.4",
  4. "description": "emmet extension for coc",
  5. "main": "lib/index.js",
  6. "publisher": "chemzqm",
  7. "keywords": [
  8. "coc.nvim",
  9. "emmet",
  10. "html",
  11. "css"
  12. ],
  13. "engines": {
  14. "coc": "^0.0.29"
  15. },
  16. "scripts": {
  17. "clean": "rimraf lib",
  18. "build": "webpack",
  19. "prepare": "npx npm-run-all clean build"
  20. },
  21. "activationEvents": [
  22. "*"
  23. ],
  24. "contributes": {
  25. "configuration": {
  26. "type": "object",
  27. "title": "Emmet",
  28. "properties": {
  29. "emmet.showExpandedAbbreviation": {
  30. "type": [
  31. "string"
  32. ],
  33. "enum": [
  34. "never",
  35. "always",
  36. "inMarkupAndStylesheetFilesOnly"
  37. ],
  38. "default": "always",
  39. "markdownDescription": "Shows expanded Emmet abbreviations as suggestions."
  40. },
  41. "emmet.showAbbreviationSuggestions": {
  42. "type": "boolean",
  43. "default": true,
  44. "markdownDescription": "Shows possible Emmet abbreviations as suggestions. Not applicable in stylesheets or when emmet.showExpandedAbbreviation is 'never'."
  45. },
  46. "emmet.includeLanguages": {
  47. "type": "object",
  48. "default": {},
  49. "markdownDescription": "Enable Emmet abbreviations in languages that are not supported by default. Add a mapping here between the language and emmet supported language. E.g.: `{\"vue-html\": \"html\", \"javascript\": \"javascriptreact\"}`"
  50. },
  51. "emmet.variables": {
  52. "type": "object",
  53. "properties": {
  54. "lang": {
  55. "type": "string",
  56. "default": "en"
  57. },
  58. "charset": {
  59. "type": "string",
  60. "default": "UTF-8"
  61. }
  62. },
  63. "default": {},
  64. "description": "Variables to be used in Emmet snippets"
  65. },
  66. "emmet.syntaxProfiles": {
  67. "type": "object",
  68. "default": {},
  69. "description": "Define profile for specified syntax or use your own profile with specific rules."
  70. },
  71. "emmet.excludeLanguages": {
  72. "type": "array",
  73. "default": [
  74. "markdown"
  75. ],
  76. "description": "An array of languages where Emmet abbreviations should not be expanded."
  77. },
  78. "emmet.extensionsPath": {
  79. "type": "string",
  80. "default": null,
  81. "description": "Path to a folder containing Emmet profiles and snippets."
  82. },
  83. "emmet.showSuggestionsAsSnippets": {
  84. "type": "boolean",
  85. "default": true,
  86. "markdownDescription": "Show emmet completion items as snippet kind."
  87. },
  88. "emmet.preferences": {
  89. "type": "object",
  90. "default": {},
  91. "description": "Preferences used to modify behavior of some actions and resolvers of Emmet.",
  92. "properties": {
  93. "css.intUnit": {
  94. "type": "string",
  95. "default": "px"
  96. },
  97. "css.floatUnit": {
  98. "type": "string",
  99. "default": "em"
  100. },
  101. "css.propertyEnd": {
  102. "type": "string",
  103. "default": ";"
  104. },
  105. "sass.propertyEnd": {
  106. "type": "string",
  107. "default": ""
  108. },
  109. "stylus.propertyEnd": {
  110. "type": "string",
  111. "default": ""
  112. },
  113. "css.valueSeparator": {
  114. "type": "string",
  115. "default": ": "
  116. },
  117. "sass.valueSeparator": {
  118. "type": "string",
  119. "default": ": "
  120. },
  121. "stylus.valueSeparator": {
  122. "type": "string",
  123. "default": " "
  124. },
  125. "bem.elementSeparator": {
  126. "type": "string",
  127. "default": "__"
  128. },
  129. "bem.modifierSeparator": {
  130. "type": "string",
  131. "default": "_"
  132. },
  133. "filter.commentBefore": {
  134. "type": "string",
  135. "default": ""
  136. },
  137. "filter.commentAfter": {
  138. "type": "string",
  139. "default": "\n<!-- /[#ID][.CLASS] -->"
  140. },
  141. "filter.commentTrigger": {
  142. "type": "array",
  143. "default": [
  144. "id",
  145. "class"
  146. ]
  147. },
  148. "format.noIndentTags": {
  149. "type": "array",
  150. "default": [
  151. "html"
  152. ]
  153. },
  154. "format.forceIndentationForTags": {
  155. "type": "array",
  156. "default": [
  157. "body"
  158. ]
  159. },
  160. "profile.allowCompactBoolean": {
  161. "type": "boolean",
  162. "default": false
  163. },
  164. "css.fuzzySearchMinScore": {
  165. "type": "number",
  166. "default": 0.3
  167. }
  168. }
  169. },
  170. "emmet.optimizeStylesheetParsing": {
  171. "type": "boolean",
  172. "default": true,
  173. "markdownDescription": "When set to `false`, the whole file is parsed to determine if current position is valid for expanding Emmet abbreviations. When set to `true`, only the content around the current position in css/scss/less files is parsed."
  174. },
  175. "emmet.priority": {
  176. "type": "integer",
  177. "default": 3
  178. }
  179. }
  180. }
  181. },
  182. "author": "chemzqm@gmail.com",
  183. "license": "MIT",
  184. "devDependencies": {
  185. "@chemzqm/tsconfig": "^0.0.3",
  186. "@chemzqm/tslint-config": "^1.0.18",
  187. "@types/node": "^10.14.7",
  188. "coc.nvim": "^0.0.67",
  189. "rimraf": "^2.6.3",
  190. "ts-loader": "^6.0.3",
  191. "tslint": "^5.16.0",
  192. "typescript": "^3.4.4",
  193. "webpack": "^4.34.0",
  194. "webpack-cli": "^3.3.4",
  195. "@emmetio/css-parser": "ramya-rao-a/css-parser#vscode",
  196. "@emmetio/html-matcher": "^0.3.3",
  197. "@emmetio/math-expression": "^0.1.1",
  198. "vscode-languageserver-protocol": "^3.15.0-next.5",
  199. "vscode-uri": "^1.0.6"
  200. },
  201. "dependencies": {
  202. "vscode-emmet-helper": "^1.2.15"
  203. }
  204. }