My dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

109 lines
3.0 KiB

  1. {
  2. "name": "coc-vimlsp",
  3. "version": "0.8.0",
  4. "description": "vim language server extension for coc.nvim",
  5. "keywords": [
  6. "coc.nvim",
  7. "vim",
  8. "lsp"
  9. ],
  10. "author": "iamcco <ooiss@qq.com>",
  11. "license": "MIT",
  12. "repository": "git@github.com:iamcco/coc-vim.git",
  13. "engines": {
  14. "coc": "^0.0.62"
  15. },
  16. "activationEvents": [
  17. "onLanguage:vim"
  18. ],
  19. "contributes": {
  20. "configuration": {
  21. "title": "vim language server configuration",
  22. "properties": {
  23. "vimlsp.debug": {
  24. "type": "boolean",
  25. "default": false,
  26. "description": "enable coc-vimlsp service debug"
  27. },
  28. "vimlsp.filetypes": {
  29. "type": "array",
  30. "default": [
  31. "vim"
  32. ],
  33. "items": {
  34. "type": "string"
  35. },
  36. "description": "enable coc-vimlsp for filetypes"
  37. },
  38. "vimlsp.diagnostic.enable": {
  39. "type": "boolean",
  40. "default": true,
  41. "description": "enable diagnostic"
  42. },
  43. "vimlsp.indexes.runtimepath": {
  44. "type": "boolean",
  45. "default": true,
  46. "description": "if index vim's runtimepath files, this will effect the suggest"
  47. },
  48. "vimlsp.indexes.count": {
  49. "type": "number",
  50. "default": 1,
  51. "description": "count of files index at the same time, change to greater will speed up index but will cause high CPU usage for some time"
  52. },
  53. "vimlsp.indexes.gap": {
  54. "type": "number",
  55. "default": 100,
  56. "description": "time gap between parse file, change to smaller will speed up index but will cause high CPU usage for some time"
  57. },
  58. "vimlsp.indexes.projectRootPatterns": {
  59. "type": "array",
  60. "default": [
  61. ".git",
  62. "autoload",
  63. "plugin"
  64. ],
  65. "items": {
  66. "type": "string"
  67. },
  68. "description": "Names of files used as the mark of project root."
  69. },
  70. "vimlsp.suggest.fromVimruntime": {
  71. "type": "boolean",
  72. "default": true,
  73. "description": "completeitems from vimruntime's vim files"
  74. },
  75. "vimlsp.suggest.fromRuntimepath": {
  76. "type": "boolean",
  77. "default": false,
  78. "description": "completeitems from runtimepath's vim files, if this is true that fromVimruntime is true"
  79. },
  80. "vimlsp.trace.server": {
  81. "type": "string",
  82. "default": "off",
  83. "enum": [
  84. "off",
  85. "messages",
  86. "verbose"
  87. ],
  88. "description": "Trace level of vim language server"
  89. }
  90. }
  91. }
  92. },
  93. "main": "./out/index.js",
  94. "scripts": {
  95. "watch": "tsc -w -p ./",
  96. "build": "rm -rf ./out && webpack"
  97. },
  98. "devDependencies": {
  99. "@types/node": "^13.13.5",
  100. "coc.nvim": "^0.0.77",
  101. "ts-loader": "^7.0.3",
  102. "tslib": "^1.11.2",
  103. "typescript": "^3.8.3",
  104. "vim-language-server": "^1.9.0",
  105. "webpack": "^4.43.0",
  106. "webpack-cli": "^3.3.11"
  107. }
  108. }