-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clink 0.4.9 accidentally interpreted the next part as the next arg position. But that's because Clink and Readline got out of sync about which word was being completed. Clink 1.x didn't do any completion. Although that was actually the intended behavior, I want to strike a balance between compatibility and reasonable behavior. So now Clink recognizes the `-x:` flag syntax and does file completion, and also colors the whole argument as a flag, regardless what follows the `:` or `=` character. To generate other matches, a lua script can register a generator and provide code to handle the case. This fixes issues #61 and #62.
- Loading branch information
1 parent
0c94f28
commit 05d4daa
Showing
3 changed files
with
52 additions
and
12 deletions.
There are no files selected for viewing
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
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
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