1- *filetype.txt* For Vim version 9.1. Last change: 2024 Nov 14
1+ *filetype.txt* For Vim version 9.1. Last change: 2024 Dec 04
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -634,7 +634,7 @@ To disable this behavior, set the following variable in your vimrc: >
634634 let g:gdscript_recommended_style = 0
635635
636636
637- GIT COMMIT *ft-gitcommit-plugin*
637+ GIT COMMIT *ft-gitcommit-plugin*
638638
639639One command, :DiffGitCached, is provided to show a diff of the current commit
640640in the preview window. It is equivalent to calling "git diff --cached" plus
@@ -733,7 +733,6 @@ To enable the recognition of Markdown comments each time after removing
733733re-source "javaformat.vim" for Vim versions greater than `8.2 .1397 ` : >
734734 runtime autoload/javaformat.vim
735735<
736-
737736JSON-FORMAT *ft-json-plugin*
738737
739738JSON filetype can be extended to use 'formatexpr' and "json.FormatExpr()"
@@ -745,6 +744,11 @@ Add following lines to $HOME/.vim/ftplugin/json.vim: >
745744 import autoload 'dist/json.vim'
746745 setl formatexpr=json.FormatExpr()
747746
747+ LUA *ft-lua-plugin*
748+
749+ You can enable folding of Lua functions using | fold-expr | by: >
750+
751+ let g:lua_folding = 1
748752
749753 MAIL *ft-mail-plugin*
750754
@@ -816,7 +820,7 @@ page in a Vim window: >
816820 set keywordprg=:Man
817821
818822
819- MANPAGER *manpager.vim*
823+ MANPAGER *manpager.vim*
820824
821825The | :Man | command allows you to turn Vim into a manpager (that syntax
822826highlights manpages and follows linked manpages on hitting CTRL-] ).
@@ -834,7 +838,7 @@ For fish, add to the config file
834838 set -x MANPAGER "vim +MANPAGER --not-a-term -"
835839
836840
837- MARKDOWN *ft-markdown-plugin*
841+ MARKDOWN *ft-markdown-plugin*
838842
839843To enable folding use this: >
840844 let g:markdown_folding = 1
@@ -913,7 +917,7 @@ To enable this behavior, set the following variable in your vimrc: >
913917 let g:rst_style = 1
914918
915919
916- RNOWEB *ft-rnoweb-plugin*
920+ RNOWEB *ft-rnoweb-plugin*
917921
918922The 'formatexpr' option is set dynamically with different values for R code
919923and for LaTeX code. If you prefer that 'formatexpr' is not set, add to your
0 commit comments