Skip to content

Commit

Permalink
Add config for markdown syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kn1cht committed Sep 13, 2016
1 parent 979f5c0 commit ec79e28
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,13 @@ function! s:C()
:w
:!g++ --std=c++11 -O2 -Wall % -o x
:endfunction
"---------------------------------------------------------------------------
""""""""""""""""""""""""""""""
" md as markdown, instead of modula2
autocmd BufNewFile,BufRead *.{md,mdwn,mkd,mkdn,mark*} set filetype=markdown

" http://inari.hatenablog.com/entry/2014/05/05/231307
""""""""""""""""""""""""""""""
" http://inari.hatenablog.com/entry/2014/05/05/231307
" 全角スペースの表示
""""""""""""""""""""""""""""""
function! ZenkakuSpace()
highlight ZenkakuSpace cterm=underline ctermfg=lightblue guibg=darkgray
endfunction
Expand All @@ -81,12 +82,10 @@ if has('syntax')
augroup END
call ZenkakuSpace()
endif
""""""""""""""""""""""""""""""

" https://sites.google.com/site/fudist/Home/vim-nihongo-ban/-vimrc-sample
""""""""""""""""""""""""""""""
" https://sites.google.com/site/fudist/Home/vim-nihongo-ban/-vimrc-sample
" 挿入モード時、ステータスラインの色を変更
""""""""""""""""""""""""""""""
let g:hi_insert = 'highlight StatusLine guifg=darkblue guibg=darkyellow gui=none ctermfg=blue ctermbg=yellow cterm=none'

if has('syntax')
Expand Down Expand Up @@ -117,3 +116,4 @@ function! s:GetHighlight(hi)
return hl
endfunction
""""""""""""""""""""""""""""""

0 comments on commit ec79e28

Please sign in to comment.