Skip to content

fix: swap items of tags entry #3420

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Whenrow
Copy link
Contributor

@Whenrow Whenrow commented Feb 21, 2025

Description

Tags entry reserves 16 char for the tag name and the remaining place is left for the kind symbols.
This commit orders tags name then kind symbol as tags name can be long function name while kind is only one word.

Here is an example of what it looks like

Before

image

After

image

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list relevant details about your configuration

  • Generate tags file with tags name longer than 16 chars. Call command :Telescope tags. See the tags name are not truncated.

Configuration:

  • Neovim version (nvim --version): 0.10
  • Operating system and version: LinuxMint 22

Checklist:

  • My code follows the style guidelines of this project (stylua)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (lua annotations)

Tags entry reserves 16 char for the tag name and the remaining place is
left for the kind symbols.
This commit orders tags name *then* kind symbol as tags name can be long
function name while kind is only one word.
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.

1 participant