This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " vimrcbox.vim | |
| " Author: Sora harakami <[email protected]> | |
| " Modified by: thinca <[email protected]> thanks! | |
| " Modified by: Shougo <[email protected]> thanks! | |
| " Require: curl | |
| " Licence: MIT Licence | |
| if exists('g:loaded_vimrcbox') | |
| finish | |
| endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " append to syntax/hatena.vim | |
| let b:hatena_syntax_super_pre_loaded = {} " Reset when load. | |
| function! s:update_super_pre() | |
| let mx = '^>|\zs.*\ze|$' | |
| for curline in getline(1, '$') | |
| let ft = matchstr(curline, mx) | |
| if ft != '' && !has_key(b:hatena_syntax_super_pre_loaded, ft) | |
| \ && globpath(&rtp, 'syntax/' . ft . '.vim') != '' | |
| unlet! b:current_syntax | |
| let save_isk= &l:isk " For scheme. |
NewerOlder