import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { did_filetype } = fn;
Returns TRUE
when autocommands are being executed and the
FileType event has been triggered at least once. Can be used
to avoid triggering the FileType event again in the scripts
that detect the file type. FileType
Returns FALSE
when :setf FALLBACK
was used.
When editing another file, the counter is reset, thus this
really checks if the FileType event has been triggered for the
current buffer. This allows an autocommand that starts
editing another buffer to set 'filetype' and load a syntax
file.
Parameters
denops: Denops