Last active
January 23, 2016 10:44
-
-
Save lo48576/2c3b40d063d6bed72049 to your computer and use it in GitHub Desktop.
NeoBundle (2016/01/23 19:18, commit 7597065) で発生する問題の再現
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
| " how to reproduce problem: | |
| " 1. `:SCCompile` | |
| " (message "SingleCompile: Current buffer's filetype is not specified." printed.) | |
| " 2. `:SCCompileRun` right after it. | |
| " (shown messages are below:) | |
| " Error detected while processing function neobundle#autoload#_command: | |
| " line 17: | |
| " E464: Ambiguous use of user-defined command: SCCompileRun | |
| if has('vim_starting') | |
| set runtimepath+=~/.config/nvim/bundle/neobundle.vim | |
| endif | |
| call neobundle#begin(expand('~/.config/nvim/bundle')) | |
| NeoBundleFetch 'Shougo/neobundle.vim' " Next generation Vim package manager | |
| " `NeoBundle` is okay, but `NeoBundleLazy` cause error on `:SCCompileRun` after `:SCCompile`. | |
| NeoBundleLazy 'xuhdev/SingleCompile' " A Vim plugin making it more convenient to compile or run a single source file. | |
| "NeoBundle 'xuhdev/SingleCompile' " A Vim plugin making it more convenient to compile or run a single source file. | |
| if neobundle#tap('SingleCompile') | |
| call neobundle#config({ | |
| \ 'on_cmd' : [ | |
| \ 'SCCompile', 'SCCompileRun' | |
| \ ], | |
| \ }) | |
| call neobundle#untap() | |
| endif | |
| call neobundle#end() | |
| filetype plugin indent on | |
| NeoBundleCheck | |
| if !has('vim_starting') | |
| call neobundle#call_hook('on_source') | |
| endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment