View utf8run.go
1 2 3 4 5 6 7 8 9
package main
 
import (
"errors"
"io"
"os"
"os/exec"
"runtime"
"syscall"
View fizzbuzz.kt
1 2 3 4 5 6 7 8 9 10
fun Int.divides(d: Int) : Boolean {
return this % d == 0
}
fun main(args: Array<String>) : Unit {
var i = 1
iterate { i++ } take 100 forEach {
println(
when (true) {
View helloworld.js
1 2 3 4 5 6 7 8 9 10
Kotlin.out.flush();
(function (Kotlin) {
'use strict';
var _ = Kotlin.defineRootPackage(null, /** @lends _ */ {
main: function (args) {
Kotlin.println('Hello, world!');
}
});
Kotlin.defineModule('moduleId', _);
_.main([]);
View gist:0243376bd75e198c4ce8
1 2 3 4 5 6 7 8 9 10
diff --git a/autoload/quickrun.vim b/autoload/quickrun.vim
index 18bf012..d59b436 100644
--- a/autoload/quickrun.vim
+++ b/autoload/quickrun.vim
@@ -312,10 +312,10 @@ let g:quickrun#default_config = {
\ },
\ 'kotlin': {
\ 'exec': [
-\ 'kotlinc-jvm %s -jar %s:p:r.jar',
-\ 'java -Xbootclasspath/a:%%{fnamemodify(' .
View hoge2.diff
1 2 3 4 5 6 7 8 9 10
diff --git a/autoload/quickrun.vim b/autoload/quickrun.vim
index 18bf012..4a98a26 100644
--- a/autoload/quickrun.vim
+++ b/autoload/quickrun.vim
@@ -312,7 +312,7 @@ let g:quickrun#default_config = {
\ },
\ 'kotlin': {
\ 'exec': [
-\ 'kotlinc-jvm %s -jar %s:p:r.jar',
+\ 'kotlinc-jvm %s -include-runtime -d %s:p:r.jar',
View foobar
1 2 3 4 5
 
foo
bar
 
# GistID: 541cbbf5d40e603bbb2b
View gist:8e876fa307096f9a7f9b
1 2 3 4 5 6 7 8 9 10
diff --git a/syntax/c.vim b/syntax/c.vim
index 128e1a2..7e90360 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: 2014 Nov 13
+" Last Change: 2015 Mar 1
View hoge2.diff
1 2 3 4 5 6 7 8 9 10
diff --git a/syntax/c.vim b/syntax/c.vim
index 128e1a2..7e90360 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: 2014 Nov 13
+" Last Change: 2015 Mar 1
View gist:fdfa90fff7d68cdb566f
1 2 3 4 5 6 7 8 9 10
diff -r b64f0df9399c src/regexp_nfa.c
--- a/src/regexp_nfa.c Tue Feb 17 17:50:26 2015 +0100
+++ b/src/regexp_nfa.c Thu Feb 26 02:58:43 2015 +0900
@@ -6474,20 +6474,20 @@
int op = t->state->c - NFA_VCOL;
colnr_T col = (colnr_T)(reginput - regline);
win_T *wp = reg_win == NULL ? curwin : reg_win;
+ int ts = wp->w_buffer->b_p_ts;
+
+ /* Guess that a character won't use more columns than
Something went wrong with that request. Please try again.