mirror of
https://tildegit.org/sloum/gemini-vim-syntax.git
synced 2024-08-14 22:46:59 +00:00
Adds .gemini suffix
This commit is contained in:
parent
071b71bf0c
commit
d2fa7f6987
2 changed files with 5 additions and 2 deletions
|
@ -33,9 +33,11 @@ I plan to update the syntax when and if the spec adds more items to *text/gemini
|
||||||
|
|
||||||
## Filetype
|
## 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
|
$ vim my_gemini_map.gmi
|
||||||
|
# or
|
||||||
|
$ vim my_gemini_map.gemini
|
||||||
```
|
```
|
||||||
|
|
||||||
## Surprises
|
## Surprises
|
||||||
|
|
|
@ -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)
|
" Gemini protocol syntax for text/gemini files (*.gmi)
|
||||||
|
" will also work for *.gemini files
|
||||||
|
|
Loading…
Reference in a new issue