Merged detached head into master

This commit is contained in:
Jakobus Schürz 2023-03-10 23:48:58 +01:00
parent 0f8622cb97
commit 0104508044

5
vimrc
View file

@ -330,8 +330,8 @@ au BufNewFile,BufRead *.js,*.java
\ set tabstop=2 |
\ set softtabstop=2 |
\ set shiftwidth=2 |
\ set noexpandtab |
\ set textwidth=79 |
\ set expandtab |
\ set autoindent |
\ set fileformat=unix
@ -359,8 +359,9 @@ highlight BadWhitespace ctermbg=red guibg=red
" Display tabs at the beginning of a line in Python mode as bad.
au BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/
au BufRead,BufNewFile *.js match BadWhitespace /^\s\+/
" Make trailing whitespaces be flagged as bad.
au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/
au BufRead,BufNewFile *.js,*.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/
" yaml syntax
" https://www.vim.org/scripts/script.php?script_id=739