Skip to content

Commit 300e4bc

Browse files
authored
Merge pull request #2037 from h-east/update-filetype
Update filetype.{txt,jax}
2 parents b74c0a1 + 3e1ddf4 commit 300e4bc

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

doc/filetype.jax

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Mar 15
1+
*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Apr 16
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -164,6 +164,8 @@ NOTE: Vi互換とは全てのオプションがグローバルであることを
164164
*.inc g:filetype_inc
165165
*.lsl g:filetype_lsl
166166
*.m g:filetype_m |ft-mathematica-syntax|
167+
*[mM]makefile,*.mk,*.mak,[mM]akefile*
168+
g:make_flavor |ft-make-syntax|
167169
*.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,*.md
168170
g:filetype_md |ft-pandoc-syntax|
169171
*.mod g:filetype_mod
@@ -650,6 +652,16 @@ gitrebase ファイルタイプは、対話型の `git rebase` を支援する
650652
`:Cycle` コマンドは、CTRL-A キーと CTRL-X キーにもマップされる。
651653
詳細については `git-rebase --help` を参照。
652654

655+
GLEAM *ft-gleam-plugin*
656+
657+
デフォルトでは、推奨される gleam スタイルに以下のオプションが設定されている: >
658+
659+
setlocal expandtab shiftwidth=2 softtabstop=2
660+
661+
この動作を無効にするには、vimrc で以下の変数を設定する: >
662+
663+
let g:gleam_recommended_style = 0
664+
653665
GO *ft-go-plugin*
654666

655667
デフォルトでは、Golang の公式ドキュメントに基づいて、以下のオプションが設定さ

en/filetype.txt

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim version 9.1. Last change: 2025 Mar 15
1+
*filetype.txt* For Vim version 9.1. Last change: 2025 Apr 16
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -158,6 +158,8 @@ variables can be used to overrule the filetype used for certain extensions:
158158
*.inc g:filetype_inc
159159
*.lsl g:filetype_lsl
160160
*.m g:filetype_m |ft-mathematica-syntax|
161+
*[mM]makefile,*.mk,*.mak,[mM]akefile*
162+
g:make_flavor |ft-make-syntax|
161163
*.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,*.md
162164
g:filetype_md |ft-pandoc-syntax|
163165
*.mod g:filetype_mod
@@ -660,6 +662,16 @@ possibilities: >
660662
The `:Cycle` command is also mapped to the CTRL-A and CTRL-X keys.
661663
For details, see `git-rebase --help`.
662664

665+
GLEAM *ft-gleam-plugin*
666+
667+
By default the following options are set for the recommended gleam style: >
668+
669+
setlocal expandtab shiftwidth=2 softtabstop=2
670+
671+
To disable this behavior, set the following variable in your vimrc: >
672+
673+
let g:gleam_recommended_style = 0
674+
663675
GO *ft-go-plugin*
664676

665677
By default the following options are set, based on Golang official docs: >

0 commit comments

Comments
 (0)