Skip to content

Commit 2359554

Browse files
committed
update doc
1 parent ee30dfb commit 2359554

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/gist-vim.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,13 @@ If you want to open gist list/buffer as vertical split: >
179179
180180
let g:gist_list_vsplit = 1
181181
182+
If you want to modify filetype for the file on github, or add mapping of
183+
filetype/file-extension: >
184+
185+
let g:gist_extmap = { ".swift": "swift" }
186+
<
187+
key is file-extension, value is filetype.
188+
182189
If you want to update a gist, embed >
183190
184191
GistID: xxxxx

0 commit comments

Comments
 (0)