diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-04-20 21:41:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 21:41:35 +0200 |
commit | 85b13f6db4428ff111af6986d0e5719140de3767 (patch) | |
tree | d1c71b3a4c3904409995c15a99921cce14b4d6dd | |
parent | a48a0a4f7b2b1255025ceb128f6cc97fa0f992aa (diff) | |
download | rneovim-85b13f6db4428ff111af6986d0e5719140de3767.tar.gz rneovim-85b13f6db4428ff111af6986d0e5719140de3767.tar.bz2 rneovim-85b13f6db4428ff111af6986d0e5719140de3767.zip |
docs(filetype): proper example for did_load_filetypes (#18191)
-rw-r--r-- | runtime/doc/filetype.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt index e1b0e88c95..c50ccc7a91 100644 --- a/runtime/doc/filetype.txt +++ b/runtime/doc/filetype.txt @@ -257,7 +257,10 @@ C. If your file type can be detected by the file name or extension. disabled by setting the did_load_filetypes global variable. If this variable exists, $VIMRUNTIME/filetype.vim will not run. Example: > - " Disable filetype.vim + " Disable filetype.vim (but still load filetype.lua if enabled) + let g:did_load_filetypes = 0 + + " Disable filetype.vim and filetype.lua let g:did_load_filetypes = 1 < 3. To use the new filetype detection you must restart Vim. |