-
Notifications
You must be signed in to change notification settings - Fork 5
Trim blank lines at the end of files on save. #2
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
base: master
Are you sure you want to change the base?
Conversation
Also note that Vundle installs the latest version AFAIK from GitHub which might make you vulnerable by an adversary pushing code to one of those repos. I consider my dotfiles a core part of my work environment and try to review it as good as I can. This is the reason why I stopped using Vundle to install plugins and switched to git submodules. Ref: https://github.com/ypid/dotfiles. Maybe you can make the switch before you run `make all` on one of your machines again. I already added the new plugin using git submodules and updated your Makefile accordingly. Hope you are alright with that.
|
I've heard that vim-plug is the hyped vim plugin manager these days. It allows branch/tag cloning, so maybe it's time to switch. My dotfiles are a bit old and I plan to touch them up a bit soon, especially I don't want automatic trimming of every file I open in the editor. For example, this template contains empty blank lines at the end to allow some whitespace when it's assembled with the other files into |
Addresses valid point by @drybjed. > I don't want automatic trimming of every file I open in the editor. > For example, this template contains empty blank lines at the end to > allow some whitespace when it's assembled with the other files into > /etc/services. With automatic trimming I would probably need to switch > to a different editor to make this, and the next time I opened that > file in vim it would trim it anyway. Awful idea.
|
I hope this addresses your issue. I just prefer automation, also when that means thinking about a problem a little more in depth than doing repetitive tasks manually. |
|
Automation is fine, but to perform it correctly tere needs to be a source of truth, which in our case are various files edited by |
|
You are right. I disabled this |
Also note that your Vundle installs the latest version of plugins (from GitHub) which might make you vulnerable to an adversary pushing code to one of those repos. I consider my dotfiles a core part of my work environment and try to review it as good as I can. This is the reason why I stopped using Vundle to install plugins and switched to git submodules. Ref: https://github.com/ypid/dotfiles. Maybe you can make the switch before you run
make allon one of your machines again. I already added the new plugin using git submodules and updated yourMakefileaccordingly. Hope you are alright with that.Readme: https://github.com/ypid/dotfiles-2/tree/update-2#dotfiles