diff --git a/doc/filetype.jax b/doc/filetype.jax index a3b5e24d2..c2c016c4c 100644 --- a/doc/filetype.jax +++ b/doc/filetype.jax @@ -1,4 +1,4 @@ -*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Mar 15 +*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Apr 16 VIMリファレンスマニュアル by Bram Moolenaar @@ -164,6 +164,8 @@ NOTE: Vi互換とは全てのオプションがグローバルであることを *.inc g:filetype_inc *.lsl g:filetype_lsl *.m g:filetype_m |ft-mathematica-syntax| + *[mM]makefile,*.mk,*.mak,[mM]akefile* + g:make_flavor |ft-make-syntax| *.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,*.md g:filetype_md |ft-pandoc-syntax| *.mod g:filetype_mod @@ -650,6 +652,16 @@ gitrebase ファイルタイプは、対話型の `git rebase` を支援する `:Cycle` コマンドは、CTRL-A キーと CTRL-X キーにもマップされる。 詳細については `git-rebase --help` を参照。 +GLEAM *ft-gleam-plugin* + +デフォルトでは、推奨される gleam スタイルに以下のオプションが設定されている: > + + setlocal expandtab shiftwidth=2 softtabstop=2 + +この動作を無効にするには、vimrc で以下の変数を設定する: > + + let g:gleam_recommended_style = 0 + GO *ft-go-plugin* デフォルトでは、Golang の公式ドキュメントに基づいて、以下のオプションが設定さ diff --git a/en/filetype.txt b/en/filetype.txt index 20bf39597..c0bf1e616 100644 --- a/en/filetype.txt +++ b/en/filetype.txt @@ -1,4 +1,4 @@ -*filetype.txt* For Vim version 9.1. Last change: 2025 Mar 15 +*filetype.txt* For Vim version 9.1. Last change: 2025 Apr 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -158,6 +158,8 @@ variables can be used to overrule the filetype used for certain extensions: *.inc g:filetype_inc *.lsl g:filetype_lsl *.m g:filetype_m |ft-mathematica-syntax| + *[mM]makefile,*.mk,*.mak,[mM]akefile* + g:make_flavor |ft-make-syntax| *.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,*.md g:filetype_md |ft-pandoc-syntax| *.mod g:filetype_mod @@ -660,6 +662,16 @@ possibilities: > The `:Cycle` command is also mapped to the CTRL-A and CTRL-X keys. For details, see `git-rebase --help`. +GLEAM *ft-gleam-plugin* + +By default the following options are set for the recommended gleam style: > + + setlocal expandtab shiftwidth=2 softtabstop=2 + +To disable this behavior, set the following variable in your vimrc: > + + let g:gleam_recommended_style = 0 + GO *ft-go-plugin* By default the following options are set, based on Golang official docs: >