mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-02 02:41:15 -03:00
Initial work towards making autosuggestion smarter by recognizing paths
This commit is contained in:
@@ -131,8 +131,8 @@ void tok_init( tokenizer *tok, const wchar_t *b, int flags )
|
||||
CHECK( b, );
|
||||
|
||||
|
||||
tok->accept_unfinished = flags & TOK_ACCEPT_UNFINISHED;
|
||||
tok->show_comments = flags & TOK_SHOW_COMMENTS;
|
||||
tok->accept_unfinished = !! (flags & TOK_ACCEPT_UNFINISHED);
|
||||
tok->show_comments = !! (flags & TOK_SHOW_COMMENTS);
|
||||
tok->has_next=1;
|
||||
|
||||
tok->has_next = (*b != L'\0');
|
||||
|
||||
Reference in New Issue
Block a user