View reading-vimrc.cmd
@echo off
setlocal
set URL=http://vim-jp.org/reading-vimrc/json/next.json
rundll32.exe url.dll,FileProtocolHandler https://gitter.im/vim-jp/reading-vimrc
for /f %%i in ('curl -s %URL% ^| jq -r .[].vimrcs[].url') do (
rundll32.exe url.dll,FileProtocolHandler %%i
)
View gist:3bc46f6618c7d170dec403d8c05be7fb
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 846a914..917fdad 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -410,6 +410,7 @@ static void f_timer_stopall(typval_T *argvars, typval_T *rettv);
static void f_tolower(typval_T *argvars, typval_T *rettv);
static void f_toupper(typval_T *argvars, typval_T *rettv);
static void f_tr(typval_T *argvars, typval_T *rettv);
+static void f_trim(typval_T *argvars, typval_T *rettv);
#ifdef FEAT_FLOAT
View gist:95fef8b7c81ce37ed2fff2a110cc7f78
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 1257aa0..7ce18bc 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -288,6 +288,7 @@ static void f_py3eval(typval_T *argvars, typval_T *rettv);
#ifdef FEAT_PYTHON
static void f_pyeval(typval_T *argvars, typval_T *rettv);
#endif
+static void f_rand(typval_T *argvars, typval_T *rettv);
static void f_range(typval_T *argvars, typval_T *rettv);
View gist:3dea45366d1733abeb0839faafa2b53f
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 1257aa0..1eca09c 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -288,6 +288,7 @@ static void f_py3eval(typval_T *argvars, typval_T *rettv);
#ifdef FEAT_PYTHON
static void f_pyeval(typval_T *argvars, typval_T *rettv);
#endif
+static void f_rand(typval_T *argvars, typval_T *rettv);
static void f_range(typval_T *argvars, typval_T *rettv);
View foo.js
var s1 = "http://"
var s2 = "ftp://"
var s3 = "htts://"
var total = 100000000;
var n;
var start;
n = 0;
start = Date.now();
for (var i = 0; i < total; i++) {
View gist:5525f936c98decf7560551000db9e7c4
diff --git a/syntax/c.vim b/syntax/c.vim
index 57d99ab..49147db 100644
--- a/syntax/c.vim
+++ b/syntax/c.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2016 Jul 07
+" Last Change: 2016 Nov 16
View gist:6c403ab9669866ffbd8dfa156305c9d1
diff --git a/syntax/c.vim b/syntax/c.vim
index 57d99ab..4b4e4e7 100644
--- a/syntax/c.vim
+++ b/syntax/c.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2016 Jul 07
+" Last Change: 2016 Oct 28
View gist:f1762dccacf5151787cfb4dd7b274175
diff --git a/syntax/c.vim b/syntax/c.vim
index 57d99ab..17b01a1 100644
--- a/syntax/c.vim
+++ b/syntax/c.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2016 Jul 07
+" Last Change: 2016 Apr 10
View yorosiku.vim
let s='中華料理画像うpよろしく'|let u=split(s,'\zs')|let l=len(u)-1|echom s|call map(map(range(2,l),{i->g:u[i+1].repeat("",g:l-1).g:u[-i-2]}),'execute("echom v:val",0)')|echom join(reverse(u),'')
View foo.go
package foo
const Foo = "fooooooo"