Skip to content

Instantly share code, notes, and snippets.

@mattn
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattn/4f9f5ea9a4d9812624db to your computer and use it in GitHub Desktop.
Save mattn/4f9f5ea9a4d9812624db to your computer and use it in GitHub Desktop.
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',
\ 'java -Xbootclasspath/a:%%{fnamemodify(' .
\ 'g:quickrun#V.System.Filepath.which("kotlinc-jvm"), ":h")}' .
\ '/../lib/kotlin-runtime.jar -jar %s:p:r.jar'
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',
\ 'java -Xbootclasspath/a:%%{fnamemodify(' .
\ 'g:quickrun#V.System.Filepath.which("kotlinc-jvm"), ":h")}' .
\ '/../lib/kotlin-runtime.jar -jar %s:p:r.jar'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment