Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
allworldit
awit-vim-superawesome
Commits
5c9207a1
Commit
5c9207a1
authored
Dec 19, 2019
by
Robert Spencer
Browse files
We should never use short names in vimrc
It improves readability and discovery to use the full names.
parent
ce07d850
Changes
1
Hide whitespace changes
Inline
Side-by-side
vimrc
View file @
5c9207a1
...
...
@@ -81,12 +81,12 @@ endfunction
" }
" Set file type detection
au
BufNewFile
,
BufRead
*
call
WhitespaceHighlight
()
au
BufNewFile
,
BufRead
*
.
html
.
ep
set
filetype
=
php
|
call
WhitespaceHighlight
()
au
BufNewFile
,
BufRead
*
.
md
set
filetype
=
markdown
|
call
WhitespaceHighlight
()
au
tocmd
BufNewFile
,
BufRead
*
call
WhitespaceHighlight
()
au
tocmd
BufNewFile
,
BufRead
*
.
html
.
ep
set
filetype
=
php
|
call
WhitespaceHighlight
()
au
tocmd
BufNewFile
,
BufRead
*
.
md
set
filetype
=
markdown
|
call
WhitespaceHighlight
()
" Convert tabs to spaces, a tab is converted to 4 spaces
au
BufNewFile
,
BufRead
*
.
py
set
filetype
=
python
|
set
expandtab
softtabstop
=
4
|
call
WhitespaceHighlight
()
au
BufNewFile
,
BufRead
*
.
sls
set
filetype
=
python
|
set
expandtab
softtabstop
=
4
|
call
WhitespaceHighlight
()
au
tocmd
BufNewFile
,
BufRead
*
.
py
set
filetype
=
python
|
set
expandtab
softtabstop
=
4
|
call
WhitespaceHighlight
()
au
tocmd
BufNewFile
,
BufRead
*
.
sls
set
filetype
=
python
|
set
expandtab
softtabstop
=
4
|
call
WhitespaceHighlight
()
"
" Plugin configuration
...
...
Write
Preview
Supports
Markdown
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