Created
August 15, 2021 17:20
-
-
Save hikiko/cc2b5ea6c0c03daa4a1f4ab4cb5f12da to your computer and use it in GitHub Desktop.
Git "\ No newline at end of file" solution for VIM (*finallyyyyyy*)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" When git complains about line endings with this message: | |
" \ No newline at end of file | |
" the easier fix is to use the following VIM command: | |
set noendofline binary |
sometimes when a file has win line endings and we want to add new lines without them :s/\r//
works too (set ff=unix is not set that's why)
:set nofixendofline
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vulkan-Loader, Vulkan-Tools search tags