Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow lsp-ui-doc-max-width to be nil for frame-width #487

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cfraizer
Copy link

Allow for lsp-ui-doc-max-width value of nil to use the frame-width value.

lsp-ui-doc.el Outdated Show resolved Hide resolved
Co-authored-by: Jen-Chieh Shen <jcs090218@gmail.com>
@@ -93,7 +93,7 @@ This only takes effect when `lsp-ui-doc-position' is 'top or 'bottom."
:group 'lsp-ui-doc)

(defcustom lsp-ui-doc-max-width 150
"Maximum number of columns of the frame."
"Maximum number of columns of the frame or nil for `frame-width'."
:type 'integer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should specify a type to nil too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants