aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-26 06:34:56 +0800
committerGitHub <noreply@github.com>2023-10-26 06:34:56 +0800
commit3347519dd7e0a7cb2730dfa45dca5fd0a40e69e0 (patch)
tree8d7cd0f37e2b251edc0a798fa1f889f832819ee7
parent684e93054b82c6b5b215db7d3ecbad803eb81f0e (diff)
downloadrneovim-3347519dd7e0a7cb2730dfa45dca5fd0a40e69e0.tar.gz
rneovim-3347519dd7e0a7cb2730dfa45dca5fd0a40e69e0.tar.bz2
rneovim-3347519dd7e0a7cb2730dfa45dca5fd0a40e69e0.zip
vim-patch:9.0.2065: EXPAND flag set for filetype option (#25779)
Problem: EXPAND flag set for filetype option Solution: Remove P_EXPAND flag from the 'filetype' option Remove P_EXPAND flag from the 'filetype' option Problem: P_EXPAND flag is erroneously set for 'filetype' option Solution: Remove the P_EXPAND flag This flag is used by string options that accept file path values. See :help set_env. This appears to have been included in d5e8c92 and resulted from an incorrect implementation of 'filetype' completion. See vim/vim#12900 for a small discussion. related: vim/vim#12900 closes: vim/vim#13416 https://github.com/vim/vim/commit/3932072ab435eb171ab55b2a2c0185358cd0d7bf Co-authored-by: Doug Kearns <dougkearns@gmail.com>
-rw-r--r--src/nvim/options.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 00377cac1e..215661539f 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2797,7 +2797,6 @@ return {
'S' flag in 'cpoptions'.
Only normal file name characters can be used, `/\*?[|<>` are illegal.
]=],
- expand = true,
full_name = 'filetype',
noglob = true,
normal_fname_chars = true,