This file contains 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
" g:quickrun_config の初期化 | |
if !exists("g:quickrun_config") | |
let g:quickrun_config={} | |
endif | |
" デフォルトの設定 | |
let g:quickrun_config["_"] = { | |
\ "runner/vimproc/updatetime" : 100, | |
\ "split": "{'rightbelow 8sp'}" |
This file contains 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
#include <iostream> | |
#include <string> | |
#include <boost/variant.hpp> | |
#include <boost/mpl/identity.hpp> | |
#include <boost/mpl/print.hpp> | |
typedef boost::mpl::print<int>::type hogehoge; | |
typedef boost::variant<std::string const&, char const*> any_string; |
This file contains 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
#include <iostream> | |
#include <string> | |
#include <boost/variant.hpp> | |
#include <boost/mpl/identity.hpp> | |
#include <boost/mpl/print.hpp> | |
typedef boost::mpl::print<int>::type hogehoge; | |
typedef boost::variant<std::string const&, char const*> any_string; |
This file contains 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
#include <initializer_list> | |
#include <iostream> | |
int | |
main(){ | |
auto array = {"yaki", "niku", "tabe", "tai", "JP"}; | |
for(auto& v : array){ | |
std::cout << v; | |
} | |
// yakinikutabetaiJP |
This file contains 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
let b:inited=0 | |
autocmd InsertEnter * call s:init_clang_complete() | |
function! s:init_clang_complete() | |
if( &filetype == 'c' || &filetype == 'cpp' | |
\|| &filetype == 'objc' || &filetype == 'objcpp' ) | |
if &cp || (exists('g:inited') && g:inited) | |
return | |
endif | |
let b:inited=1 |
This file contains 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
--- clang_complete.vim Sun Jul 10 11:36:36 2011 | |
+++ clang_complete_.vim Sun Jul 10 13:44:20 2011 | |
@@ -131,7 +131,6 @@ | |
let g:clang_complete_lib_flags += 2 | |
endif | |
- setlocal completefunc=ClangComplete | |
setlocal omnifunc=ClangComplete | |
if g:clang_periodic_quickfix == 1 |
This file contains 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
let g:clang_exec = '"C:\path\to\clang.exe' | |
let g:clang_user_options = '2> NUL || exit 0"' |
This file contains 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
let $LLVM_CLANG_ROOT='D:/clang' | |
let g:clang_conceal_snippets=1 | |
let g:clang_complete_auto=1 | |
let g:clang_exec =$LLVM_CLANG_ROOT.'/bin/clang.exe' | |
let g:clang_use_library=1 | |
let g:clang_library_path=$LLVM_CLANG_ROOT.'/bin' | |
let g:clang_debug=1 | |
let g:clang_user_options = "" |
This file contains 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
let s:msvc_dirs = [ | |
\ "C:/Program\ Files/Microsoft\ Visual\ Studio\ 10.0", | |
\ "C:/Program\ Files/Microsoft\ Visual\ Studio\ 9.0", | |
\ "C:/Program\ Files/Microsoft\ Visual\ Studio\ 8.0", | |
\] | |
function! s:set_msvc_path(msvc_path) | |
if has_key(s:, "msvc_path") || !isdirectory(a:msvc_path) | |
return |
This file contains 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
function! s:quickrun_config() | |
return unite#sources#quickrun_config#quickrun_config_all() | |
endfunction | |
" quickrun-runner {{{ | |
" vimscript_all {{{ | |
let s:runner = {} |
OlderNewer