Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f76987b

Browse files
committed
customizable extmap
1 parent 6130b8e commit f76987b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎autoload/gist.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ function! s:GistGetAuthHeader() abort
970970
return secret
971971
endfunction
972972

973-
let s:extmap = {
973+
let s:extmap = extend({
974974
\".adb": "ada",
975975
\".ahk": "ahk",
976976
\".arc": "arc",
@@ -1102,7 +1102,7 @@ let s:extmap = {
11021102
\".xq": "xquery",
11031103
\".xs": "xs",
11041104
\".yml": "yaml",
1105-
\}
1105+
\}, get(g:, 'gist_extmap', {}))
11061106
11071107
let &cpo = s:save_cpo
11081108
unlet s:save_cpo

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /