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

Already on GitHub? Sign in to your account

Is it possible to have json filetype not inherit javascript filetype settings? #19

sam-github opened this Issue Oct 25, 2013 · 4 comments


None yet
3 participants

I have a problem in which I map " in my after/javascript.vim:

imap <buffer> " '

which is our js coding style, but the opposite of what is needed for json. Is there any way to make vim-json take full control over *.json, so that none of the javascript settings apply to it?

do you have pangloss/vim-javascript installed?

Yes. And I see it claims *.json is javascript. Argh.

I install as git submodule, so I can fork and change, I guess I should report up to him?

Or do you have suggestion for how to prevent this ftype association?

no idea. just hit this issue myself


elzr commented Apr 27, 2014

@eddiemonge I see you went and changed panglos/vim-javascript which was overriding our ftdetect. Nice! I think that closes this issue.

@elzr elzr closed this Apr 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment