Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
a6ae8974
Kaydet (Commit)
a6ae8974
authored
Ara 24, 2007
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make trailing whitespace explicit (including when it is an all-whitespace
line).
üst
8d993aae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
vimrc
Misc/Vim/vimrc
+3
-10
No files found.
Misc/Vim/vimrc
Dosyayı görüntüle @
a6ae8974
...
@@ -42,8 +42,10 @@ au BufRead,BufNewFile Makefile* set noexpandtab
...
@@ -42,8 +42,10 @@ au BufRead,BufNewFile Makefile* set noexpandtab
" Use the below highlight group when displaying bad whitespace is desired
" Use the below highlight group when displaying bad whitespace is desired
highlight BadWhitespace ctermbg=red guibg=red
highlight BadWhitespace ctermbg=red guibg=red
" Display tabs at the beginning of a line in Python mode as bad
" Display tabs at the beginning of a line in Python mode as bad
.
au BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/
au BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/
" Make trailing whitespace be flagged as bad.
au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/
" Wrap text after a certain number of characters
" Wrap text after a certain number of characters
" Python: 79
" Python: 79
...
@@ -85,12 +87,3 @@ au BufNewFile *.py,*.pyw,*.c,*.h set fileformat=unix
...
@@ -85,12 +87,3 @@ au BufNewFile *.py,*.pyw,*.c,*.h set fileformat=unix
" Keep indentation level from previous line: ``set autoindent``
" Keep indentation level from previous line: ``set autoindent``
" Folding based on indentation: ``set foldmethod=indent``
" Folding based on indentation: ``set foldmethod=indent``
" Make trailing whitespace explicit (left off since this will automatically
" insert the highlight or characters *as you type*, which can get annoying):
"``match BadWhitespace /\s\+$/``
"
" or, for a non-colored, character-based solution:
"
"``set list listchars=trail:-``
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment