Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "diagnostic.warningSign": "!>",
- "git.changeRemovedSign.text": "~",
- "json.format.enable": false,
- "yaml.format.enable": true,
- "yaml.schemaStore.enable": true,
- "python.pythonPath": "python3",
- "diagnostic-languageserver.filetypes": {
- "go": "golangci-lint",
- "sh": "shellcheck",
- "bash": "shellcheck"
- },
- "diagnostic-languageserver.linters": {
- "shellcheck": {
- "command": "shellcheck",
- "debounce": 100,
- "args": [ "--exclude-SC2148", "--format=gcc", "-"],
- "offsetLine": 0,
- "offsetColumn": 0,
- "sourceName": "shellcheck",
- "formatLines": 1,
- "formatPattern": [
- "^[^:]+:(\\d+):(\\d+):\\s+([^:]+):\\s+(.*)$",
- {
- "line": 1,
- "column": 2,
- "message": 4,
- "security": 3
- }
- ],
- "securities": {
- "error": "error",
- "warning": "warning",
- "note": "info"
- }
- },
- "golangci-lint": {
- "command": "golangci-lint",
- "rootPatterns": [ ".git", "go.mod" ],
- "debounce": 100,
- "args": [ "run", "--config", "~/.vim/config/golangci-lint/golangci-extended.yaml", "--out-format", "json" ],
- "sourceName": "golangci-lint",
- "parseJson": {
- "sourceName": "Pos.Filename",
- "sourceNameFilter": true,
- "errorsRoot": "Issues",
- "line": "Pos.Line",
- "column": "Pos.Column",
- "message": "${Text} [${FromLinter}]"
- }
- }
- },
- "languageserver": {
- "vimls": {
- "command": "vim-language-server",
- "args": [
- "--stdio"
- ],
- "initializationOptions": {
- "iskeyword": "@,48-57,_,192-255,-#",
- "vimruntime": "",
- "runtimepath": "",
- "diagnostic": {
- "enable": true
- },
- "indexes": {
- "runtimepath": true,
- "gap": 100,
- "count": 3,
- "projectRootPatterns": [
- ".git",
- "autoload",
- "plugin"
- ]
- },
- "suggest": {
- "fromVimruntime": true,
- "fromRuntimepath": false
- }
- },
- "filetypes": [
- "vim"
- ]
- },
- "go": {
- "command": "gopls",
- "args": [
- "-remote",
- "127.0.0.1:8118"
- ],
- "disableWorkspaceFolders": true,
- "rootPatterns": [
- "go.mod"
- ],
- "filetypes": [
- "go", "gomod"
- ]
- },
- "tf": {
- "command": "terraform-ls",
- "filetypes": [
- "tf"
- ]
- },
- "dockerfile": {
- "command": "docker-langserver",
- "filetypes": [
- "dockerfile"
- ],
- "args": [
- "--stdio"
- ]
- },
- "bash": {
- "command": "bash-language-server",
- "args": [
- "start"
- ],
- "filetypes": [
- "sh",
- "bash"
- ],
- "ignoredRootPaths": [
- "~"
- ]
- },
- "ccls": {
- "command": "ccls",
- "filetypes": [
- "c",
- "cpp",
- "objc",
- "objcpp"
- ],
- "rootPatterns": [
- ".ccls",
- "compile_commands.json",
- ".vim/",
- ".git/",
- ".hg/"
- ],
- "initializationOptions": {
- "cache": {
- "directory": "/tmp/ccls"
- }
- }
- },
- "lua": {
- "command": "lua-language-server",
- "filetypes": ["lua"],
- "rootPatterns": [".git/"]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement