comparison runtime/doc/eval.txt @ 11473:bd6ff5246c71

Update runtime files. commit https://github.com/vim/vim/commit/6aa8cea46d4179b2617daae034063dd0d8054e35 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 5 14:44:35 2017 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Mon, 05 Jun 2017 14:45:04 +0200
parents d183d629509e
children 46bbef0ee9a6
comparison
equal deleted inserted replaced
11472:7b3e6e31fbb6 11473:bd6ff5246c71
1 *eval.txt* For Vim version 8.0. Last change: 2017 May 02 1 *eval.txt* For Vim version 8.0. Last change: 2017 Jun 04
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
3371 *did_filetype()* 3371 *did_filetype()*
3372 did_filetype() Returns |TRUE| when autocommands are being executed and the 3372 did_filetype() Returns |TRUE| when autocommands are being executed and the
3373 FileType event has been triggered at least once. Can be used 3373 FileType event has been triggered at least once. Can be used
3374 to avoid triggering the FileType event again in the scripts 3374 to avoid triggering the FileType event again in the scripts
3375 that detect the file type. |FileType| 3375 that detect the file type. |FileType|
3376 Returns |FALSE| when `:setf FALLBACK` was used.
3376 When editing another file, the counter is reset, thus this 3377 When editing another file, the counter is reset, thus this
3377 really checks if the FileType event has been triggered for the 3378 really checks if the FileType event has been triggered for the
3378 current buffer. This allows an autocommand that starts 3379 current buffer. This allows an autocommand that starts
3379 editing another buffer to set 'filetype' and load a syntax 3380 editing another buffer to set 'filetype' and load a syntax
3380 file. 3381 file.