-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc_local.vim
More file actions
30 lines (27 loc) · 844 Bytes
/
.vimrc_local.vim
File metadata and controls
30 lines (27 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
" See https://github.com/chameleoid/style for more information about this file
"
" To use this file:
"
" Install https://code.google.com/p/lh-vim/source/browse/misc/trunk/plugin/local_vimrc.vim
" which loads `_vimrc_local.vim` files, as well as adding the following lines
" to your `~/.vimrc`:
" " Use .vimrc_local.vim instead of _vimrc_local.vim
" let g:local_vimrc = '.vimrc_local.vim'
"
"
" Or, for those who don't wish to set `g:local_vimrc`, you can symlink it to
" `_vimrc_local.vim`:
" ln -s .vimrc_local.vim _vimrc_local.vim`
"
"
" Note: `_vimrc_local.vim` is ignored in our `.gitignore`, so there shouldn't
" be any issues with you using it
if bufname("%") =~? '\.jshintrc$'
setl filetype=javascript
endif
if bufname("%") =~? '\.md$'
setl filetype=markdown
endif
if &filetype == 'html'
setl filetype=htmldjango
endif