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
+ vimenv install -n -- --with-features=huge --disable-selinux --enable-terminal --enable-perlinterp --enable-python3interp --enable-rubyinterp --enable-luainterp --with-lua-prefix=/usr/local --with-compiledby=yasu-n --enable-multibyte --disable-gui --enable-fontset --enable-cscope --enable-fail-if-missing | |
This directory already exists: latest | |
Do you delete directory?[yes|no] | |
Cloning into '/Users/yasu-n/.vimenv/src'... | |
Already up to date. | |
Starting make in the src directory. | |
If there are problems, cd to the src directory and run make there | |
cd src && /Applications/Xcode.app/Contents/Developer/usr/bin/make first | |
/bin/sh install-sh -c -d objects | |
touch objects/.dirstamp |
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
extern crate syntax; | |
use syntax::with_globals; | |
use syntax::parse::*; | |
use syntax::source_map::*; | |
use std::path::Path; | |
fn main() { | |
syntax::with_globals (|| { | |
let args: Vec<String> = std::env::args().collect(); |
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
// reference URL: https://stackoverflow.com/questions/50267237/how-to-derive-code-from-crate-module-functions?rq=1 | |
extern crate syntex_syntax as syntax; | |
use syntax::parse::*; | |
use syntax::codemap::*; | |
use std::path::Path; | |
fn main() { | |
let args: Vec<String> = std::env::args().collect(); |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use utf8; | |
use Pod::Functions; | |
my $file; | |
if (@ARGV == 1) { | |
$file = shift @ARGV; | |
} else { |
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! GitRoot() | |
try | |
let ret = vimproc#system('git rev-parse --show-toplevel') | |
catch | |
echomsg "Fatal" | |
endtry | |
return ret | |
endfunction | |
let git_path = Git() |