Files
modules/share/vim/ftdetect/modulefile.vim
Xavier Delaruelle 9206a1688a Rename "contrib" directory into "share"
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.
2024-12-08 10:39:56 +01:00

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: