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

feat: truncate completion keys #22

Merged
merged 1 commit into from
Mar 13, 2022
Merged

Conversation

heyrict
Copy link
Contributor

@heyrict heyrict commented Mar 13, 2022

I have been using zotero better bibtex for exporting bibtex files, which generates long keys for papers by default. Completion could fill 60%+ width for each entry, with paper titles, which are more informative than the long key, not properly shown,

This PR adds a coc.preferences.bibtex.truncate key of type number | undefined which truncates the key to the given length, if defined.

Documentation in README.md is not updated, given #21.

@oncomouse oncomouse merged commit 95fb070 into oncomouse:master Mar 13, 2022
@oncomouse
Copy link
Owner

This makes sense. Thanks for contributing!

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

Successfully merging this pull request may close these issues.

2 participants