Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
allworldit
awit-vim-superawesome
Commits
8834d281
Commit
8834d281
authored
Aug 07, 2019
by
Nigel Kukard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'nkchanges' into 'master'
Updated python config See merge request
!10
parents
566d4ccb
72fcb80c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vimrc
vimrc
+2
-2
No files found.
vimrc
View file @
8834d281
...
...
@@ -44,7 +44,7 @@ highlight ExtraWhitespaces ctermbg=202
function! WhitespaceHighlight()
if &filetype == 'python'
call matchadd('ExtraWhitespaces','^\t')
set colorcolumn=1
00
set colorcolumn=1
32
elseif &filetype == 'yaml'
call matchadd('ExtraWhitespaces',' \t')
call matchadd('ExtraWhitespaces','\t ')
...
...
@@ -61,7 +61,7 @@ endfunction
" Autocmd
au BufNewFile,BufRead * call WhitespaceHighlight()
au BufNewFile,BufRead *.sls set filetype=
yaml
| call WhitespaceHighlight()
au BufNewFile,BufRead *.sls set filetype=
python | set expandtab softtabstop=4
| call WhitespaceHighlight()
au BufNewFile,BufRead *.md set filetype=markdown | call WhitespaceHighlight()
au BufNewFile,BufRead *.html.ep set filetype=php | call WhitespaceHighlight()
au BufNewFile,BufRead *.py set filetype=python | set expandtab softtabstop=4 | call WhitespaceHighlight()
...
...
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