File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 41
41
42
42
(defcustom lsp-ivy-show-symbol-kind
43
43
t
44
- " Whether to show the symbol's kind when showing lsp symbols"
44
+ " Whether to show the symbol's kind when showing lsp symbols. "
45
45
:group 'lsp-ivy
46
46
:type 'boolean )
47
47
48
48
(defcustom lsp-ivy-filter-symbol-kind
49
49
nil
50
- " A list of LSP SymbolKind's to filter out"
50
+ " A list of LSP SymbolKind's to filter out. "
51
51
:group 'lsp-ivy
52
52
:type '(repeat integer))
53
53
79
79
(" Evnt" . font-lock-builtin-face ) ; ; Event - 24
80
80
(" Op " . font-lock-function-name-face ) ; ; Operator - 25
81
81
(" TPar" . font-lock-type-face )] ; ; TypeParameter - 26
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)"
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
85
85
(cons string face)
@@ -136,6 +136,7 @@ MATCH is a cons cell whose cdr is the hash-table from `lsp-mode`."
136
136
(forward-char character)))
137
137
138
138
(defun lsp-ivy--filter-func (candidate )
139
+ " Filter CANDIDATE kind from symbol kinds."
139
140
(member (gethash " kind" candidate) lsp-ivy-filter-symbol-kind))
140
141
141
142
(defun lsp-ivy--workspace-symbol (workspaces prompt initial-input )
You can’t perform that action at this time.
0 commit comments