ファイルタイプの識別子について
「モードライン」プラグインでは、ハイライトモードのモードを指定することができます。モードオプションに指定する識別子は、モードの種類により異なります。
以下はモードとモードの識別子の一覧です。
参考までにファイル名も記述しています。
モード | ファイル名 | モードの識別子 |
---|---|---|
.desktop | *.desktop *.kdelnk |
desktop |
.ini | *.ini | ini |
ASP | *.asp | asp |
ActionScript | *.as | actionscript |
Ada | *.adb *.ads |
ada |
Automake | Makefile.am GNUmakefile.am |
automake |
BennuGD | *.prg | bennugd |
BibTeX | *.bib | bibtex |
Bluespec SystemVerilog | *.bsv | bluespec |
Boo | *.boo | boo |
C | *.c | c |
C# | *.cs | csharp |
C++ | *.cpp *.cxx *.cc *.C *.c++ |
cpp |
C/C++/ObjC のヘッダー | *.hh *.hp *.hpp *.h++ *.h |
chdr |
CGシェーダー言語 | *.cg | cg |
CMake | CMakeLists.txt *.cmake *.cmake.in *.ctest *.ctest.in |
cmake |
CSS | *.css *.CSSL |
css |
CUDA | *.cu *.cuh |
cuda |
ChangeLog | ChangeLog* | changelog |
Cobol | *.cbl *.cob |
cobol |
D | *.d | d |
DOSのバッチファイル | *.bat *.cmd *.sys |
dosbatch |
DPatch | *.dpatch | dpatch |
DTD | *.dtd | dtd |
Diff | *.diff *.patch |
diff |
DocBook | *.docbook | docbook |
Eiffel | *.e *.eif |
eiffel |
Erlang | *.erl *.hrl |
erlang |
F# | *.fs | fsharp |
FCL | *.fcl | fcl |
Forth | *.frt *.fs |
forth |
Fortran 95 | *.f *.f90 *.f95 *.for |
fortran |
GAP | *.g *.gd *.gi *.gap |
gap |
GDBのログ | *.gdb | gdb-log |
Go | *.go | go |
Graphviz Dot | *.dot *.gv |
dot |
GtkRC | gtkrc .gtkrc gtkrc-* .gtkrc-* |
gtkrc |
HTML | *.html *.htm |
html |
Haskell | *.hs | haskell |
IDL | *.idl | idl |
IDL-Exelis | *.pro | idl-exelis |
ImageJ | *.ijm | imagej |
J | *.ijs | j |
JSON | *.json | json |
Java | *.java | java |
JavaScript | *.js *.node |
javascript |
Julia | *.jl | julia |
LaTeX | *.tex *.ltx *.sty *.cls *.dtx *.ins *.bbl |
latex |
Literate Haskell | *.lhs | haskell-literate |
Lua | *.lua | lua |
MXML | *.mxml | mxml |
Makefile | [Mm]akefile GNUmakefile *.make *.mak *.mk |
makefile |
Mallard | *.page | mallard |
Markdown | *.markdown *.md *.mkd |
markdown |
Matlab | *.m | matlab |
MediaWiki | ー | mediawiki |
Modelica | *.mo *.mop |
modelica |
NSIS | *.nsi *.nsh |
nsis |
Nemerle | *.n | nemerle |
NetRexx | *.nrx | netrexx |
OCL | *.ocl | ocl |
OCaml | *.ml *.mli *.mll *.mly |
ocaml |
OOC | *.ooc | ooc |
Objective-C | *.m | objc |
Objective-J | *.j | objj |
Octave | *.m | octave |
Opal | *.sign *.impl |
opal |
OpenCL | *.cl | opencl |
OpenGLシェーディング言語 | *.glslv *.glslf |
glsl |
PHP | *.php *.php3 *.php4 *.phtml |
php |
Pascal | *.p *.pas |
pascal |
Perl | *.pl *.pm *.al *.perl *.t |
perl |
Prolog | *.prolog | prolog |
Protobuf | *.proto | protobuf |
Puppet | *.pp | puppet |
Python | *.py | python |
Python 3 | *.py3 | python3 |
R | *.R *.Rout *.r *.Rhistory *.Rt *.Rout.save *.Rout.fail |
R |
RPMスペック | *.spec | rpmspec |
Ruby | *.rb *.rake Rakefile Capfile Gemfile |
ruby |
SPARQL | *.rq | sparql |
SQL | *.sql | sql |
Scala | *.scala | scala |
Scheme | *.scm | scheme |
Scilab | *.sce *.sci |
scilab |
Standard ML | *.sml *.sig |
sml |
SystemVerilog | *.sv *.svh |
systemverilog |
Tcl | *.tcl *.tk |
tcl |
Texinfo | *.texi *.texinfo |
texinfo |
VB.NET | *.vb | vbnet |
VHDL | *.vhd | vhdl |
Vala | *.vala *.vapi |
vala |
Verilog | *.v | verilog |
XML | *.xml *.xspf *.siv *.smil *.smi *.sml *.kino *.xul *.xbel *.abw *.zabw *.glade *.jnlp *.xhtml *.svg *.mml *.rdf *.rss *.wml *.xmi *.fo *.xslfo |
xml |
XSLT | *.xslt *.xsl |
xslt |
Yacc | *.y *.yacc |
yacc |
awk | *.awk | awk |
gettextの翻訳 | *.po *.pot |
po |
libtool | *.la *.lai *.lo |
libtool |
m4 | *.m4 configure.ac configure.in |
m4 |
pkg-config | *.pc | pkgconfig |
txt2tags | *.t2t | t2t |
シェルスクリプト | *.sh | sh |