Skip to content

Update filetype.{txt,jax} #2037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion doc/filetype.jax
Original file line number Diff line number Diff line change
@@ -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 の公式ドキュメントに基づいて、以下のオプションが設定さ
14 changes: 13 additions & 1 deletion en/filetype.txt
Original file line number Diff line number Diff line change
@@ -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: >