Advertisement
Guest User

Untitled

a guest
Feb 6th, 2022
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.43 KB | None | 0 0
  1. {
  2. "diagnostic.warningSign": "!>",
  3. "git.changeRemovedSign.text": "~",
  4. "json.format.enable": false,
  5. "yaml.format.enable": true,
  6. "yaml.schemaStore.enable": true,
  7. "python.pythonPath": "python3",
  8. "diagnostic-languageserver.filetypes": {
  9. "go": "golangci-lint",
  10. "sh": "shellcheck",
  11. "bash": "shellcheck"
  12. },
  13. "diagnostic-languageserver.linters": {
  14. "shellcheck": {
  15. "command": "shellcheck",
  16. "debounce": 100,
  17. "args": [ "--exclude-SC2148", "--format=gcc", "-"],
  18. "offsetLine": 0,
  19. "offsetColumn": 0,
  20. "sourceName": "shellcheck",
  21. "formatLines": 1,
  22. "formatPattern": [
  23. "^[^:]+:(\\d+):(\\d+):\\s+([^:]+):\\s+(.*)$",
  24. {
  25. "line": 1,
  26. "column": 2,
  27. "message": 4,
  28. "security": 3
  29. }
  30. ],
  31. "securities": {
  32. "error": "error",
  33. "warning": "warning",
  34. "note": "info"
  35. }
  36. },
  37. "golangci-lint": {
  38. "command": "golangci-lint",
  39. "rootPatterns": [ ".git", "go.mod" ],
  40. "debounce": 100,
  41. "args": [ "run", "--config", "~/.vim/config/golangci-lint/golangci-extended.yaml", "--out-format", "json" ],
  42. "sourceName": "golangci-lint",
  43. "parseJson": {
  44. "sourceName": "Pos.Filename",
  45. "sourceNameFilter": true,
  46. "errorsRoot": "Issues",
  47. "line": "Pos.Line",
  48. "column": "Pos.Column",
  49. "message": "${Text} [${FromLinter}]"
  50. }
  51. }
  52. },
  53. "languageserver": {
  54. "vimls": {
  55. "command": "vim-language-server",
  56. "args": [
  57. "--stdio"
  58. ],
  59. "initializationOptions": {
  60. "iskeyword": "@,48-57,_,192-255,-#",
  61. "vimruntime": "",
  62. "runtimepath": "",
  63. "diagnostic": {
  64. "enable": true
  65. },
  66. "indexes": {
  67. "runtimepath": true,
  68. "gap": 100,
  69. "count": 3,
  70. "projectRootPatterns": [
  71. ".git",
  72. "autoload",
  73. "plugin"
  74. ]
  75. },
  76. "suggest": {
  77. "fromVimruntime": true,
  78. "fromRuntimepath": false
  79. }
  80. },
  81. "filetypes": [
  82. "vim"
  83. ]
  84. },
  85. "go": {
  86. "command": "gopls",
  87. "args": [
  88. "-remote",
  89. "127.0.0.1:8118"
  90. ],
  91. "disableWorkspaceFolders": true,
  92. "rootPatterns": [
  93. "go.mod"
  94. ],
  95. "filetypes": [
  96. "go", "gomod"
  97. ]
  98. },
  99. "tf": {
  100. "command": "terraform-ls",
  101. "filetypes": [
  102. "tf"
  103. ]
  104. },
  105. "dockerfile": {
  106. "command": "docker-langserver",
  107. "filetypes": [
  108. "dockerfile"
  109. ],
  110. "args": [
  111. "--stdio"
  112. ]
  113. },
  114. "bash": {
  115. "command": "bash-language-server",
  116. "args": [
  117. "start"
  118. ],
  119. "filetypes": [
  120. "sh",
  121. "bash"
  122. ],
  123. "ignoredRootPaths": [
  124. "~"
  125. ]
  126. },
  127. "ccls": {
  128. "command": "ccls",
  129. "filetypes": [
  130. "c",
  131. "cpp",
  132. "objc",
  133. "objcpp"
  134. ],
  135. "rootPatterns": [
  136. ".ccls",
  137. "compile_commands.json",
  138. ".vim/",
  139. ".git/",
  140. ".hg/"
  141. ],
  142. "initializationOptions": {
  143. "cache": {
  144. "directory": "/tmp/ccls"
  145. }
  146. }
  147. },
  148. "lua": {
  149. "command": "lua-language-server",
  150. "filetypes": ["lua"],
  151. "rootPatterns": [".git/"]
  152. }
  153. }
  154. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement