Skip to content

Vim Syntax highlighting for the Gemini protocol's text/gemini format.

License

Notifications You must be signed in to change notification settings

pirmd/gemini.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

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:

# This would be an H1
## This would be an H2
### This would be an H3

=> gemini://example.org/
=> gemini://example.org/ An example link
=> gemini://example.org/foo Another example link at the same host
=>gemini://example.org/bar Yet another example link at the same host
=> foo/bar/baz.txt  A relative link
=>  gopher://example.org:70/1 A gopher link
=> https://github.com/pirmd/gemini.vim I'm a link to useful resources.

Preformatted toggle lines start and end with lines containing three back-ticks (```)

> This line will show as a quote

* This is a list item.
* This is another list item.

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

About

Vim Syntax highlighting for the Gemini protocol's text/gemini format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published