Skip to content

Commit 06cca8b

Browse files
committed
Fix some checkdocs
1 parent dce58b5 commit 06cca8b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lsp-ivy.el

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141

4242
(defcustom lsp-ivy-show-symbol-kind
4343
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."
4545
:group 'lsp-ivy
4646
:type 'boolean)
4747

4848
(defcustom lsp-ivy-filter-symbol-kind
4949
nil
50-
"A list of LSP SymbolKind's to filter out"
50+
"A list of LSP SymbolKind's to filter out."
5151
:group 'lsp-ivy
5252
:type '(repeat integer))
5353

@@ -79,7 +79,7 @@
7979
("Evnt" . font-lock-builtin-face) ;; Event - 24
8080
("Op " . font-lock-function-name-face) ;; Operator - 25
8181
("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)."
8383
:group 'lsp-ivy
8484
:type '(vector
8585
(cons string face)
@@ -136,6 +136,7 @@ MATCH is a cons cell whose cdr is the hash-table from `lsp-mode`."
136136
(forward-char character)))
137137

138138
(defun lsp-ivy--filter-func (candidate)
139+
"Filter CANDIDATE kind from symbol kinds."
139140
(member (gethash "kind" candidate) lsp-ivy-filter-symbol-kind))
140141

141142
(defun lsp-ivy--workspace-symbol (workspaces prompt initial-input)

0 commit comments

Comments
 (0)