diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2022-01-17 14:11:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 14:11:59 -0700 |
commit | fcf5dd34fdfde3a6632b96a88f66c1053cba08d1 (patch) | |
tree | 941f2e41b681d26429fe1ae9c6276a4c7519512b /runtime/doc/vim_diff.txt | |
parent | ad2dbd4b5f2cfa740e373fff0e021e2163909cfb (diff) | |
download | rneovim-fcf5dd34fdfde3a6632b96a88f66c1053cba08d1.tar.gz rneovim-fcf5dd34fdfde3a6632b96a88f66c1053cba08d1.tar.bz2 rneovim-fcf5dd34fdfde3a6632b96a88f66c1053cba08d1.zip |
refactor: enable filetype detection before user startup scripts (#17040)
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r-- | runtime/doc/vim_diff.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 4fcaf15717..32a97779e0 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -23,8 +23,12 @@ centralized reference of the differences. ============================================================================== 2. Defaults *nvim-defaults* -- Syntax highlighting is enabled by default -- ":filetype plugin indent on" is enabled by default +- ":filetype plugin indent on" is enabled by default. This runs before + init.vim is sourced so that FileType autocommands in init.vim run after + those in filetype.vim. +- Syntax highlighting is enabled by default. This runs after init.vim is + sourced so that users can optionally disable syntax highlighting with + ":syntax off". - 'autoindent' is enabled - 'autoread' is enabled |