/vim-troff

A vim plugin meant to help bring troff / groff into the modern day

Primary LanguageVim Script

vim-troff

This is a syntax plugin for troff files. At the moment it is focused on groff but will eventually support heirloom, neatroff, and DWB.

Getting Started

Prerequisites

None at the moment

Installing

Install this plugin with your favorite plugin manager

vim-plugged

Plug 'Gavinok/vim-troff'

Usage

The following extensions will automatically be set to troff

  • *.ms
  • *.mom
  • *.me
  • *.mm
  • *.tr
  • *.troff

If you are using an unsupported extension ether set the file type manually using setfiletype troff add an autocommand to your vimrc like this:

autocmd! BufRead,BufNewFile *.yourextension setlocal filetype=troff

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

  • Gavin Jaeger-Freeborn - Initial work - Gavinok

See also the list of contributors who participated in this project.

License

Copyright (c) Gavin Jaeger-Freeborn. Distributed under the same terms as Vim itself. See :help license.

Acknowledgments

None at the moment