File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1- *filetype.txt* For Vim バージョン 9.1. Last change: 2024 Nov 14
1+ *filetype.txt* For Vim バージョン 9.1. Last change: 2024 Dec 03
22
33
44 VIMリファレンスマニュアル by Bram Moolenaar
@@ -721,7 +721,6 @@ Markdown コメントの認識を有効にするには、`8.2.1397` 以降のバ
721721は "javaformat.vim" を手動で再読込みすることを忘れないこと: >
722722 runtime autoload/javaformat.vim
723723<
724-
725724JSON-FORMAT *ft-json-plugin*
726725
727726JSON ファイルタイプは、JSON のフォーマッティング (| gq | を使用) に 'formatexpr'
@@ -733,6 +732,11 @@ JSON ファイルタイプは、JSON のフォーマッティング (|gq| を使
733732 import autoload 'dist/json.vim'
734733 setl formatexpr=json.FormatExpr()
735734
735+ LUA *ft-lua-plugin*
736+
737+ | fold-expr | を使用して lua 関数の折り畳みを有効にするには: >
738+
739+ let g:lua_folding = 1
736740
737741 MAIL *ft-mail-plugin*
738742
Original file line number Diff line number Diff line change 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 03
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -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
You can’t perform that action at this time.
0 commit comments