项目作者: pirmd

项目描述 :
Vim Syntax highlighting for the Gemini protocol's text/gemini format.
高级语言: Vim script
项目地址: git://github.com/pirmd/gemini.vim.git
创建时间: 2021-01-02T11:36:31Z
项目社区:https://github.com/pirmd/gemini.vim

开源协议:BSD 2-Clause "Simplified" License

下载


GEMINI.VIM

This repo contains basic syntax highlighting for the Gemini protocol‘s ̀text/gemini` format.

INSTALLATION

The repository can be readily copied to your vim configuration directory ($HOME/.vim on unix).
You might also like to use your favorite plugin manager or vanilla Vim’s packages.

For example using Vundle:

  1. Plugin 'pirmd/gemini.vim'

This plugin enables by default text/gemini type for files with either .gemini or .gmi extension.

FORMAT

Format for text/geminiis pretty straightforward, current highlighting supports:

  1. # This would be an H1
  2. ## This would be an H2
  3. ### This would be an H3
  4. => gemini://example.org/
  5. => gemini://example.org/ An example link
  6. => gemini://example.org/foo Another example link at the same host
  7. =>gemini://example.org/bar Yet another example link at the same host
  8. => foo/bar/baz.txt A relative link
  9. => gopher://example.org:70/1 A gopher link
  10. => https://github.com/pirmd/gemini.vim I'm a link to useful resources.
  11. Preformatted toggle lines start and end with lines containing three back-ticks (```)
  12. > This line will show as a quote
  13. * This is a list item.
  14. * This is another list item.
  15. Anything else is just normal paragraph text

CONTRIBUTION

If you feel like to contribute, just follow github guidelines on
forking then send a pull
request