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(filename): add filename_map option #1326

Closed
wants to merge 1 commit into from

Conversation

simonmandlik
Copy link

This PR adds a possibility to further apply any transform to the filename. I find handy especially in temporary buffers (from e.g. codecompanion, git diff, oil...)

Copy link

Warning: This pull request is touching the following templated files:

  • doc/lualine.txt - lualine.txt is generated from README.md. Make changes there instead.

@simonmandlik
Copy link
Author

Warning: This pull request is touching the following templated files:

  • doc/lualine.txt - lualine.txt is generated from README.md. Make changes there instead.

Should be fixed now

@shadmansaleh
Copy link
Member

shadmansaleh commented Nov 11, 2024

Why not just use already existing fmt option ? It allows you to perform arbitrary transformation on any component.

https://github.com/nvim-lualine/lualine.nvim?tab=readme-ov-file#general-component-options

@simonmandlik
Copy link
Author

Yes, you are right. Should have noticed that 😅

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