Omit the last line-break in a file when editing with vim to align with Jetbrains and vscode

This commit is contained in:
2025-01-03 16:23:25 +01:00
parent dcb03a9c45
commit b742afa9a4

2
.vimrc
View File

@@ -115,6 +115,8 @@ set linebreak
" Enable vim configs in the first or last lines of a file " Enable vim configs in the first or last lines of a file
set modeline set modeline
set modelineexpr set modelineexpr
" Avoid an extra line at the end of the file
set nofixendofline
set tabstop=4 set tabstop=4
set shiftwidth=4 set shiftwidth=4