|
53 | 53 |
|
54 | 54 | (defcustom lsp-ivy-symbol-kind-to-face
|
55 | 55 | [(" " . nil) ;; Unknown - 0
|
56 |
| - ("File" . 'font-lock-builtin-face) ;; File - 1 |
57 |
| - ("Modu" . 'font-lock-keyword-face) ;; Module - 2 |
58 |
| - ("Nmsp" . 'font-lock-keyword-face) ;; Namespace - 3 |
59 |
| - ("Pack" . 'font-lock-keyword-face) ;; Package - 4 |
60 |
| - ("Clss" . 'font-lock-type-face) ;; Class - 5 |
61 |
| - ("Meth" . 'font-lock-function-name-face) ;; Method - 6 |
62 |
| - ("Prop" . 'font-lock-reference-face) ;; Property - 7 |
63 |
| - ("Fld " . 'font-lock-reference-face) ;; Field - 8 |
64 |
| - ("Cons" . 'font-lock-function-name-face) ;; Constructor - 9 |
65 |
| - ("Enum" . 'font-lock-type-face) ;; Enum - 10 |
66 |
| - ("Intf" . 'font-lock-type-face) ;; Interface - 11 |
67 |
| - ("Func" . 'font-lock-function-name-face) ;; Function - 12 |
68 |
| - ("Var " . 'font-lock-variable-name-face) ;; Variable - 13 |
69 |
| - ("Cnst" . 'font-lock-constant-face) ;; Constant - 14 |
70 |
| - ("Str " . 'font-lock-string-face) ;; String - 15 |
71 |
| - ("Num " . 'font-lock-builtin-face) ;; Number - 16 |
72 |
| - ("Bool " . 'font-lock-builtin-face) ;; Boolean - 17 |
73 |
| - ("Arr " . 'font-lock-builtin-face) ;; Array - 18 |
74 |
| - ("Obj " . 'font-lock-builtin-face) ;; Object - 19 |
75 |
| - ("Key " . 'font-lock-reference-face) ;; Key - 20 |
76 |
| - ("Null" . 'font-lock-builtin-face) ;; Null - 21 |
77 |
| - ("EmMm" . 'font-lock-constant-face) ;; EnumMember - 22 |
78 |
| - ("Srct" . 'font-lock-type-face) ;; Struct - 23 |
79 |
| - ("Evnt" . 'font-lock-builtin-face) ;; Event - 24 |
80 |
| - ("Op " . 'font-lock-function-name-face) ;; Operator - 25 |
81 |
| - ("TPar" . 'font-lock-type-face)] ;; TypeParameter - 26 |
| 56 | + ("File" . font-lock-builtin-face) ;; File - 1 |
| 57 | + ("Modu" . font-lock-keyword-face) ;; Module - 2 |
| 58 | + ("Nmsp" . font-lock-keyword-face) ;; Namespace - 3 |
| 59 | + ("Pack" . font-lock-keyword-face) ;; Package - 4 |
| 60 | + ("Clss" . font-lock-type-face) ;; Class - 5 |
| 61 | + ("Meth" . font-lock-function-name-face) ;; Method - 6 |
| 62 | + ("Prop" . font-lock-reference-face) ;; Property - 7 |
| 63 | + ("Fld " . font-lock-reference-face) ;; Field - 8 |
| 64 | + ("Cons" . font-lock-function-name-face) ;; Constructor - 9 |
| 65 | + ("Enum" . font-lock-type-face) ;; Enum - 10 |
| 66 | + ("Intf" . font-lock-type-face) ;; Interface - 11 |
| 67 | + ("Func" . font-lock-function-name-face) ;; Function - 12 |
| 68 | + ("Var " . font-lock-variable-name-face) ;; Variable - 13 |
| 69 | + ("Cnst" . font-lock-constant-face) ;; Constant - 14 |
| 70 | + ("Str " . font-lock-string-face) ;; String - 15 |
| 71 | + ("Num " . font-lock-builtin-face) ;; Number - 16 |
| 72 | + ("Bool " . font-lock-builtin-face) ;; Boolean - 17 |
| 73 | + ("Arr " . font-lock-builtin-face) ;; Array - 18 |
| 74 | + ("Obj " . font-lock-builtin-face) ;; Object - 19 |
| 75 | + ("Key " . font-lock-reference-face) ;; Key - 20 |
| 76 | + ("Null" . font-lock-builtin-face) ;; Null - 21 |
| 77 | + ("EmMm" . font-lock-constant-face) ;; EnumMember - 22 |
| 78 | + ("Srct" . font-lock-type-face) ;; Struct - 23 |
| 79 | + ("Evnt" . font-lock-builtin-face) ;; Event - 24 |
| 80 | + ("Op " . font-lock-function-name-face) ;; Operator - 25 |
| 81 | + ("TPar" . font-lock-type-face)] ;; TypeParameter - 26 |
82 | 82 | "A vector of 26 cons cells, where the ith cons cell contains the string representation and face to use for the i+1th SymbolKind (defined in the LSP)"
|
83 | 83 | :group 'lsp-ivy
|
84 | 84 | :type '(vector
|
|
0 commit comments