summaryrefslogtreecommitdiff
path: root/runtime/autoload/dist/ft.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-09-02 21:07:30 +0200
committerBram Moolenaar <Bram@vim.org>2018-09-02 21:07:30 +0200
commit20aac6c1126988339611576d425965a25a777658 (patch)
tree7954ca9025cbef1081a0ea9ad231e5692c6238b0 /runtime/autoload/dist/ft.vim
parentacca8df9d475bbfbafc71691ebc3b857ecd2777e (diff)
downloadvim-git-20aac6c1126988339611576d425965a25a777658.tar.gz
Update runtime files.
Diffstat (limited to 'runtime/autoload/dist/ft.vim')
-rw-r--r--runtime/autoload/dist/ft.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim
index 81fdc9d95..160cdcff6 100644
--- a/runtime/autoload/dist/ft.vim
+++ b/runtime/autoload/dist/ft.vim
@@ -632,7 +632,7 @@ endfunc
" Choose context, plaintex, or tex (LaTeX) based on these rules:
" 1. Check the first line of the file for "%&<format>".
" 2. Check the first 1000 non-comment lines for LaTeX or ConTeXt keywords.
-" 3. Default to "latex" or to g:tex_flavor, can be set in user's vimrc.
+" 3. Default to "plain" or to g:tex_flavor, can be set in user's vimrc.
func dist#ft#FTtex()
let firstline = getline(1)
if firstline =~ '^%&\s*\a\+'