diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-02-02 21:10:01 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-02-02 21:10:01 +0100 |
commit | d5e8c92816f35ea1a9298084238a08f35958baa6 (patch) | |
tree | 8d6777071a59e4433b2f01f1cbf10ad426c405bf /src/optiondefs.h | |
parent | e7bebc495d4014d7bc81f863939c35268cb8e97d (diff) |
patch 8.2.2452: no completion for the 'filetype' optionv8.2.2452
Problem: No completion for the 'filetype' option.
Solution: Add filetype completion. (Martin Tournoij, closes #7747)
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r-- | src/optiondefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h index 6cea0177cb..9961bd4771 100644 --- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -946,7 +946,7 @@ static struct vimoption options[] = (char_u *)FALSE, #endif (char_u *)0L} SCTX_INIT}, - {"filetype", "ft", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB|P_NFNAME, + {"filetype", "ft", P_STRING|P_EXPAND|P_ALLOCED|P_VI_DEF|P_NOGLOB|P_NFNAME, (char_u *)&p_ft, PV_FT, {(char_u *)"", (char_u *)0L} SCTX_INIT}, |