mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
vim-patch:26ebe21: runtime(doc): mismatch between the :uniq document's description and examples
closes: vim/vim#17612
26ebe21caa
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
@ -1970,7 +1970,7 @@ Also see |:sort-uniq|.
|
|||||||
|
|
||||||
For example, to remove adjacent duplicate lines based
|
For example, to remove adjacent duplicate lines based
|
||||||
on the second comma-separated field: >
|
on the second comma-separated field: >
|
||||||
:uniq r /[^,]*,/
|
:uniq /[^,]*,/
|
||||||
< Or to keep only unique lines ignoring the first 5
|
< Or to keep only unique lines ignoring the first 5
|
||||||
characters: >
|
characters: >
|
||||||
:uniq u /.\{5}/
|
:uniq u /.\{5}/
|
||||||
|
Reference in New Issue
Block a user