mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
Give a more clear name to the "contrib" directory that contains architecture and configuration independent data. New directory name is "share", which correctly matches the destination of these files into the installation directory.
13 lines
419 B
VimL
13 lines
419 B
VimL
" Vim filetype detection file
|
|
" Language: Tcl Modulefile
|
|
" Maintainer: Xavier Delaruelle <xavier.delaruelle@cea.fr>
|
|
" Original: Felix Neumärker <xdch47@posteo.de>
|
|
" Reference: https://modules.readthedocs.io/en/latest/modulefile.html
|
|
|
|
au BufNewFile,BufRead *
|
|
\ if (getline(1) =~? "^#%Module") |
|
|
\ set filetype=modulefile |
|
|
\ endif
|
|
|
|
" vim:set tabstop=4 shiftwidth=4 expandtab textwidth=100:
|