You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like this plugin, but I don't think that it is quite set up correctly. The plugin/llvm.vim file gets loaded regardless of filetype, and it plays the hanky-panky with my settings (eg shiftwidth). I can fix some of this by renaming the plugin directory to pluginft. However if I edit a .ll file and then later try to edit a .c file in the same vim session, I still get my indentation settings messed with. The sets inside the pluginft/llvm.vim file should be setlocals to avoid this problem.
As a side note, the code that is given in the readme (the autocommand) should go into a ftdetect/llvm.vim file instead of making users place it it their vimrc.
The text was updated successfully, but these errors were encountered:
I like this plugin, but I don't think that it is quite set up correctly. The
plugin/llvm.vim
file gets loaded regardless of filetype, and it plays the hanky-panky with my settings (egshiftwidth
). I can fix some of this by renaming the plugin directory topluginft
. However if I edit a .ll file and then later try to edit a .c file in the same vim session, I still get my indentation settings messed with. Theset
s inside thepluginft/llvm.vim
file should besetlocal
s to avoid this problem.As a side note, the code that is given in the readme (the autocommand) should go into a
ftdetect/llvm.vim
file instead of making users place it it their vimrc.The text was updated successfully, but these errors were encountered: