├── .gitignore ├── indent └── moose_fw.vim ├── ftplugin └── moose_fw │ ├── insert_pairs.vim │ ├── sections.vim │ └── commenting.vim ├── plugin └── moose_fw.vim ├── autoload └── moose_fw │ ├── sections.vim │ ├── detect.vim │ ├── insert_pairs.vim │ ├── tabs.vim │ └── commenting.vim ├── ftdetect └── moose_fw.vim ├── syntax └── moose_fw.vim ├── README.md ├── doc └── moose_fw.txt └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | tags-ja 3 | -------------------------------------------------------------------------------- /indent/moose_fw.vim: -------------------------------------------------------------------------------- 1 | " Indent file for MOOSE framwork input file 2 | " Language: MOOSE Framework input file 3 | 4 | if exists("b:did_indent") 5 | finish 6 | endif 7 | let b:did_indent = 1 8 | 9 | " Set values associated with indenting 10 | setlocal indentexpr=moose_fw#tabs#GetMOOSEfwIndent(v:lnum) 11 | setlocal indentkeys=!^F,o,O,] 12 | -------------------------------------------------------------------------------- /ftplugin/moose_fw/insert_pairs.vim: -------------------------------------------------------------------------------- 1 | " Vim section movement file for MOOSE framework input files. 2 | " Language: MOOSE Framework input file 3 | 4 | " Similar to indent code but for placing closing block items 5 | " Check if wanted or not 6 | if exists("g:moo_fw_no_insert_pairs") || exists("b:did_insert_pairs") 7 | finish 8 | endif 9 | let b:did_insert_pairs = 1 10 | 11 | " So it begins 12 | inoremap