ternjs / tern_for_vim

Tern plugin for Vim
MIT License
1.83k stars 100 forks source link

.tern-port file #12

Closed maksimr closed 11 years ago

maksimr commented 11 years ago

Hi!

I have seen task about it in sublime https://github.com/marijnh/tern_for_sublime/issues/5 but I can not find how I can pass "tern_arguments": ["--no-port-file"] in vim that did not create .tern-port file.

Thanks!

marijnh commented 11 years ago

Currently, the vim plugin requires these files to be present, since it relies on them to reuse servers within a project.

It might make sense to keep some server-specific state on the python side, and add an easy way to configure this. I'll revisit this bug later. (Or you can start hacking on it, if you feel so inclined.)

marijnh commented 11 years ago

Hi. I've fixed the problem I mentioned in c48a908e53b477542a5ff2f29bfe3d6419d47137 and added a tern#arguments configuration parameter in a6c9d1e6027b759b1afc8363977ae185a225c7b1

maksimr commented 11 years ago

Cool! Thank you very much :)