Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin changes my indentation settings #5

Open
sudobash1 opened this issue Dec 15, 2016 · 0 comments
Open

Plugin changes my indentation settings #5

sudobash1 opened this issue Dec 15, 2016 · 0 comments

Comments

@sudobash1
Copy link

sudobash1 commented Dec 15, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant