Created
May 11, 2014 14:02
-
-
Save fatih/65446a5816bea7a8ee82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let data = ['func Split(s string, sep string) []string', 'func SplitAfter(s string, sep string) []s | |
tring', 'func SplitAfterN(s string, sep string, n int) []string', 'func SplitN(s string, | |
sep string, n int) []string'] | |
let wordMatch = "'\<" . expand("<cword>") . "\>'" | |
let filtered = filter(infos, 'v:val !~ ' . wordMatch) | |
echo filtered |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment