Closed lambdalisue closed 8 years ago
vim-gista currently use buffer names like
gista-file:{APINAME}:{GISTID}:{FILENAME}
gista-json:{APINAME}:{GISTID}
But functions like fnamemodify() could not be applied to these buffer names thus these should be something like
fnamemodify()
gista://{APINAME}/{GISTID}/{VERSION}/{FILENAME}
gista://{APINAME}/{GISTID}/{FILENAME}
gista://{APINAME}/{GISTID}/{VERSION}.json
gista://{APINAME}/{GISTID}.json
While these are file like buffer not like no file buffer (such as gista-list, gista-commit window).
gista-list
gista-commit
Ref:
vim-gista currently use buffer names like
gista-file:{APINAME}:{GISTID}:{FILENAME}
gista-json:{APINAME}:{GISTID}
But functions like
fnamemodify()
could not be applied to these buffer names thus these should be something likegista://{APINAME}/{GISTID}/{VERSION}/{FILENAME}
gista://{APINAME}/{GISTID}/{FILENAME}
gista://{APINAME}/{GISTID}/{VERSION}.json
gista://{APINAME}/{GISTID}.json
While these are file like buffer not like no file buffer (such as
gista-list
,gista-commit
window).Ref: