Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check filetype setting when filename extension can't be used #107

Closed
ggustafsson opened this issue Oct 16, 2012 · 2 comments
Closed

Check filetype setting when filename extension can't be used #107

ggustafsson opened this issue Oct 16, 2012 · 2 comments

Comments

@ggustafsson
Copy link
Contributor

Would it be possible to make gist-vim check the filetype setting when the filename extension can't be used to figure out the type of file?

I often write shell scripts without a filename extension of .zsh and gist-vim assumes it's plain text, which is wrong. So plain text should only be assumed when there's no extension and &filetype is empty.

@mattn
Copy link
Owner

mattn commented Jun 11, 2013

Gist service decide file type by file extension. But if user specify filename without file extension, gist-vim doesn't add file extension.

@mattn
Copy link
Owner

mattn commented Aug 20, 2014

too many days are passed.

@mattn mattn closed this as completed Aug 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants