HEX
Server: Apache
System: Linux gaz.tera-byte.com 6.12.0-211.26.1.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jun 21 16:49:12 UTC 2026 x86_64
User: vortec (1076)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/share/vim/vimfiles/ftplugin/modulefile.vim
" Vim filetype plugin 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

if exists("b:did_modulefile_ftplugin")
    finish
endif
let b:did_modulefile_ftplugin = 1

set syntax=modulefile

" adopted from tcl ftplugin:
let s:cpo_save = &cpo
set cpo-=C

setlocal comments=:#
setlocal commentstring=#%s
setlocal formatoptions+=croql

" Undo the stuff we changed.
let b:undo_ftplugin = "setlocal fo< com< cms< inc< inex< def< isf< kp<" .
            \         " | unlet! b:browsefilter"

" Restore the saved compatibility options.
let &cpo = s:cpo_save
unlet s:cpo_save

" vim:set tabstop=4 shiftwidth=4 expandtab textwidth=100: