Skip to content

Added l option to :sort to sort using locale.#7237

Closed
dpelle wants to merge 2 commits intovim:masterfrom
dpelle:ex_sort_using_collate_locale
Closed

Added l option to :sort to sort using locale.#7237
dpelle wants to merge 2 commits intovim:masterfrom
dpelle:ex_sort_using_collate_locale

Conversation

@dpelle
Copy link
Member

@dpelle dpelle commented Nov 1, 2020

This PR adds the l option to :sort which sorts using the current locale.

The PR was created after this question was asked in the vim_use mailing list:

https://groups.google.com/g/vim_use/c/xX4_cvEcx-I/m/4MSDShCRAwAJ?pli=1

Copy link
Member Author

@dpelle dpelle left a comment

Choose a reason for hiding this comment

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

I forgot: there is also a sort() function that could benefit from having the option of using the locale. I'll find time to add that later today.

@brammool brammool closed this in 55e2961 Nov 1, 2020
seandewar added a commit to seandewar/neovim that referenced this pull request Apr 19, 2021
Problem:    Cannot sort using locale ordering.
Solution:   Add a flag for :sort and sort() to use the locale. (Dominique
            Pellé, closes vim/vim#7237)
vim/vim@55e2961
seandewar added a commit to seandewar/neovim that referenced this pull request Apr 20, 2021
Problem:    Cannot sort using locale ordering.
Solution:   Add a flag for :sort and sort() to use the locale. (Dominique
            Pellé, closes vim/vim#7237)
vim/vim@55e2961
seandewar added a commit to seandewar/neovim that referenced this pull request Apr 20, 2021
Problem:    Cannot sort using locale ordering.
Solution:   Add a flag for :sort and sort() to use the locale. (Dominique
            Pellé, closes vim/vim#7237)
vim/vim@55e2961
seandewar added a commit to seandewar/neovim that referenced this pull request Apr 20, 2021
Problem:    Cannot sort using locale ordering.
Solution:   Add a flag for :sort and sort() to use the locale. (Dominique
            Pellé, closes vim/vim#7237)
vim/vim@55e2961
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