summary refs log tree commit diff
path: root/.vim/coc-settings.json
blob: 6bf350b2ca6305d8c51b4134c658c298dbdc8359 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
  "coc.preferences.snippets.enable": true,
  "coc.preferences.formatOnType": false,
  "coc.preferences.formatOnSaveFiletypes": [],
  "coc.preferences.hoverTarget": "float",
  "coc.preferences.enableFloatHighlight": true,
  "coc.preferences.extensionUpdateCheck": "never",

  "list.signOffset": 900,

  "suggest.autoTrigger": "always",
  "suggest.triggerAfterInsertEnter": true,
  "suggest.minTriggerInputLength": 1,
  "suggest.noselect": true,
  "suggest.enablePreview": true,
  "suggest.enablePreselect": false,
  "suggest.floatEnable": true,

  "signature.enable": true,
  "signature.target": "float",
  "signature.preferShownAbove": true,

  "diagnostic.enable": true,
  "diagnostic.checkCurrentLine": false,
  "diagnostic.virtualText": true,
  "diagnostic.virtualTextLines": 1,
  "diagnostic.messageTarget": "float",
  "diagnostic.level": "hint",
  "diagnostic.enableSign": true,
  "diagnostic.errorSign": "✘",
  "diagnostic.warningSign": "‼",
  "diagnostic.infoSign": "i",
  "diagnostic.hintSign": "☛",

  "rust-client.channel": "stable",
  "rust-client.rlsPath": "ra_lsp_server",

  "python.linting.flake8Enabled": false,
  "python.linting.pylintEnabled": true,

  "languageserver": {
    "gopls": {
      "enable": false,
      "command": "gopls",
      "rootPatterns": ["go.mod", ".git/", ".hg/"],
      "filetypes": ["go"]
    },
    "go-langserver": {
      "enable": false,
      "command": "go-langserver",
      "initializationOptions": {
        "gocodeCompletionEnabled": true,
        "diagnosticsEnabled": true,
        "lintTool": "golint"
      },
      "filetypes": ["go"]
    },
    "ccls": {
      "enable": false,
      "command": "ccls",
      "rootPatterns": [".ccls", "compile_commands.json", ".git/", ".hg/"],
      "initializationOptions": {
        "cache": {
          "directory": "/tmp/ccls"
        }
      },
      "filetypes": ["c", "cpp", "objc", "objcpp"]
    },
    "rust-analyzer": {
      "enable": false,
      "command": "ra_lsp_server",
      "rootPatterns": ["Cargo.toml", "Cargo.lock", ".git/"],
      "filetypes": ["rust"]
    },
    "efm": {
      "enable": false,
      "command": "efm-langserver",
      "args": [],
      "filetypes": ["vim", "markdown", "yaml"]
    }
  }
}