~yerinalexey/dotfiles

ref: b75055cfb2820b41efd348481e49a2f487355931 dotfiles/nvim/coc-settings.json -rw-r--r-- 1.4 KiB
b75055cf — Alexey Yerin bottom: fix indents 1 year, 2 months ago
                                                                                
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
{
  // Format on save
  "coc.preferences.formatOnSaveFiletypes": [
    "html",
    "json",
    "jsonc",
    "css",
    "graphql",
    "javascript",
    "typescript",
    "javascriptreact",
    "typescriptreact",
    "vue"
  ],

  // Add some icons
  "suggest.completionItemKindLabels": {
    "keyword": "",
    "variable": "",
    "value": "",
    "operator": "Ψ",
    "function": "⨕",
    "reference": "渚",
    "constant": "",
    "method": "",
    "struct": "פּ",
    "class": "",
    "interface": "",
    "text": "♣",
    "enum": "",
    "enumMember": "",
    "module": "",
    "color": "",
    "property": "",
    "field": "",
    "unit": "",
    "event": "鬒",
    "file": "",
    "folder": "",
    "snippet": "",
    "typeParameter": "",
    "default": ""
  },

  // Snippets
  "snippets.textmateSnippetsRoots": ["~/.config/nvim/snippets"],
  "snippets.ultisnips.enable": false,
  "snippets.extends": {
    "typescriptreact": ["typescript"]
  },

  // Use Yarn instead of NPM
  "eslint.packageManager": "yarn",
  "npm.binPath": "yarn",
  "tsserver.npm": "yarn",

  // Completion menu priority
  "coc.source.tsserver-typescript.priority": 10,
  "coc.source.tsserver-javascript.priority": 9,
  "coc.source.around.enable": false,
  "coc.source.file.priority": 2,
  "coc.source.buffer.priority": 1
}

// vim: syntax=jsonc