Skip to content

Commit

Permalink
Merge pull request #14 from JulienPalard/mdk/hover
Browse files Browse the repository at this point in the history
Add an option to avoid hover on keywords.
  • Loading branch information
fredcamps authored Apr 7, 2022
2 parents ab265f7 + f9cbf96 commit b22927b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lsp-jedi.el
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ Run on in-memory document change (eg, while you're editing, without needing to s
:type 'boolean
:group 'lsp-jedi)

(defcustom lsp-jedi-hover-disable-keyword-all nil
"Don't hover on keywords."
:type 'boolean
:group 'lsp-jedi)

(defcustom lsp-jedi-completion-disable-snippets nil
"If your language client supports CompletionItem snippets but
you don't like them, disable them by setting this option to a
Expand Down Expand Up @@ -161,6 +166,7 @@ autocompletion performance but loses goto definition."
("jedi.diagnostics.didOpen" lsp-jedi-diagnostics-did-open t)
("jedi.diagnostics.didChange" lsp-jedi-diagnostics-did-change t)
("jedi.diagnostics.didSave" lsp-jedi-diagnostics-did-save t)
("jedi.hover.disable.keyword.all" lsp-jedi-hover-disable-keyword-all t)
("jedi.workspace.symbols.maxSymbols" lsp-jedi-workspace-symbols-max-symbols)
("jedi.workspace.symbols.ignoreFolders" lsp-jedi-workspace-symbols-ignore-folders)))

Expand Down

0 comments on commit b22927b

Please sign in to comment.