vim-foam icon indicating copy to clipboard operation
vim-foam copied to clipboard

Filetype plugin for OpenFOAM

vim-foam

2022-04-03 Project status: I no longer expect to work with OpenFOAM. As such, I have no intention to keep this project alive. It is archived and anyone is free to fork if they are interested.

This is a filetype plugin for OpenFOAM. It is currently pre-alpha, and the development will be sporadic. The initial goal is to get up to par with vimExtensionOpenFOAM.

Table of contents

  • Installation
  • Features
  • TODO
  • Acknowledgements

Installation

If you use vim-plug, then add the following line to your vimrc file:

Plug 'lervag/vim-foam'

Or use some other plugin manager:

Features

These are the current features of this plugin:

  • Syntax highlighting
  • Completion (:h omni-complete)

TODO

  • [ ] Fix completion e.g. in fvSchemes entries

Acknowledgements

The syntax part of this plugin is inspired by vimExtensionOpenFOAM which was written by Ferdinand Leinbach and Tobias Holzmann.