carlhuda/janus — Issue #357: Load ftplugin folder?
Author: dtan
Created: 2012-01-11 15:16:29+00:00
State: open

[jslint]: https://github.com/hallettj/jslint.vim
Does anyone know how to accomplish this functionality? I've been trying for the past couple of days to figure this out all to no avail aside from putting directly into my `~/.vim/` folder.

I'm trying to install the [jslint][jslint] `ftplugin` to give me error highlighting while eding javascript files. I have tried all the following combinations to try and get this ftplugin to work within the contexts of janus:

~/.janus/langs/javascript/ftplugin/jslint/
~/.janus/ftplugin/javascript/jslint/
~/.vim/janus/vim/langs/javascript/ftplugin/jslint/
~/.vim/janus/ftplugin/javascript/jslint/

All of those above fail to recognize this `ftplugin`. The only one that works is this:

~/.vim/ftplugin/javascript/jslint/

but that is not ideal since this is not core to janus. Any ideas on where this folder (or any other `ftplugin` folders for that matter) can be put so macvim to recognize this functionality?