Browse Source

Adds .gemini suffix

master
Brian Evans 1 year ago
parent
commit
d2fa7f6987
  1. 4
      README.md
  2. 3
      ftdetect/gmi.vim

4
README.md

@ -33,9 +33,11 @@ I plan to update the syntax when and if the spec adds more items to *text/gemini
## Filetype
This syntax is set up to be used with files labled with the **gmi** extension. For example:
This syntax is set up to be used with files labled with the **gmi** or **gemini** extensions. For example:
```
$ vim my_gemini_map.gmi
# or
$ vim my_gemini_map.gemini
```
## Surprises

3
ftdetect/gmi.vim

@ -1,2 +1,3 @@
au BufRead,BufNewFile *.gmi set filetype=gmi
au BufRead,BufNewFile *.gmi,*.gemini set filetype=gmi
" Gemini protocol syntax for text/gemini files (*.gmi)
" will also work for *.gemini files
Loading…
Cancel
Save