Mercurial > vim
comparison src/optiondefs.h @ 23821:bfc1ae959d9d v8.2.2452
patch 8.2.2452: no completion for the 'filetype' option
Commit: https://github.com/vim/vim/commit/d5e8c92816f35ea1a9298084238a08f35958baa6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 2 21:10:01 2021 +0100
patch 8.2.2452: no completion for the 'filetype' option
Problem: No completion for the 'filetype' option.
Solution: Add filetype completion. (Martin Tournoij, closes https://github.com/vim/vim/issues/7747)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 02 Feb 2021 21:15:03 +0100 |
parents | f98939164e91 |
children | 4549133c1e77 |
comparison
equal
deleted
inserted
replaced
23820:8460878018c0 | 23821:bfc1ae959d9d |
---|---|
944 (char_u *)TRUE, | 944 (char_u *)TRUE, |
945 #else | 945 #else |
946 (char_u *)FALSE, | 946 (char_u *)FALSE, |
947 #endif | 947 #endif |
948 (char_u *)0L} SCTX_INIT}, | 948 (char_u *)0L} SCTX_INIT}, |
949 {"filetype", "ft", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB|P_NFNAME, | 949 {"filetype", "ft", P_STRING|P_EXPAND|P_ALLOCED|P_VI_DEF|P_NOGLOB|P_NFNAME, |
950 (char_u *)&p_ft, PV_FT, | 950 (char_u *)&p_ft, PV_FT, |
951 {(char_u *)"", (char_u *)0L} | 951 {(char_u *)"", (char_u *)0L} |
952 SCTX_INIT}, | 952 SCTX_INIT}, |
953 {"fillchars", "fcs", P_STRING|P_VI_DEF|P_RALL|P_ONECOMMA|P_NODUP, | 953 {"fillchars", "fcs", P_STRING|P_VI_DEF|P_RALL|P_ONECOMMA|P_NODUP, |
954 (char_u *)&p_fcs, PV_NONE, | 954 (char_u *)&p_fcs, PV_NONE, |