rstacruz / sparkup

A parser for a condensed HTML format
MIT License
1.56k stars 145 forks source link

Symlink problem on Windows: use another method instead of ftplugin directory #84

Open blueyed opened 10 years ago

blueyed commented 10 years ago

Git on Windows does not properly handle symlinks (this can be seen in different issues, where only a file containing the name to the link target is reported).

This makes the Vim plugin probably not work as expected, where different filetypes link to the "html" directory.

The solution might be to not use the ftplugin mechanism, but provide a autocmd FileType ... mechanism instead, which would load the plugin?!

blueyed commented 10 years ago

@MarcWeber did something about it already: https://github.com/MarcWeber/sparkup/blob/master/vim/plugin/sparkup.vim

ghost commented 9 years ago

@rstacruz: The autocmd idea seems sane to me; should I prepare a Pull Request? Sparkup already offers <Tab> for navigating to the next empty tag, so that's not a concern. But if the augroup fixes shortcut problems for Windows users, maybe it should be switched.

Iey4iej3 commented 1 year ago

There are problems even on Linux/Android, if the plugin is stored on a filesystem which does not support symlinks.