2015/11/21 VimConf 2015
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 dict = {} | |
function! dict.func1() abort | |
endfunction | |
let dict.func2 = dict.func1 | |
echo assert_true(dict.func1 == dict.func2) |
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
diff --git a/src/eval.c b/src/eval.c | |
index 6280323..5fce7d7 100644 | |
--- a/src/eval.c | |
+++ b/src/eval.c | |
@@ -20385,6 +20385,7 @@ f_type(typval_T *argvars, typval_T *rettv) | |
{ | |
case VAR_NUMBER: n = 0; break; | |
case VAR_STRING: n = 1; break; | |
+ case VAR_PARTIAL: | |
case VAR_FUNC: n = 2; break; |
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:Object = {} | |
function! s:Object.x() abort | |
let dt = filter(self, '1') | |
endfunction | |
let s:Object['+'] = s:Object.x | |
function! s:new() abort | |
return copy(s:Object) | |
endfunction |
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
package com.github.gist.thinca.spigot.plugin.kikori | |
import org.bukkit.Material | |
import org.bukkit.block.Block | |
import org.bukkit.entity.Player | |
import org.bukkit.event.EventHandler | |
import org.bukkit.event.Listener | |
import org.bukkit.event.block.BlockBreakEvent | |
import org.bukkit.plugin.java.JavaPlugin |
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
diff --git a/src/Makefile b/src/Makefile | |
index f460a61..c1b1e3f 100644 | |
--- a/src/Makefile | |
+++ b/src/Makefile | |
@@ -2003,6 +2003,7 @@ test_arglist \ | |
test_cursor_func \ | |
test_delete \ | |
test_expand \ | |
+ test_feedkeys \ | |
test_glob2regpat \ |
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
diff --git a/src/Makefile b/src/Makefile | |
index f460a61..c1b1e3f 100644 | |
--- a/src/Makefile | |
+++ b/src/Makefile | |
@@ -2003,6 +2003,7 @@ test_arglist \ | |
test_cursor_func \ | |
test_delete \ | |
test_expand \ | |
+ test_feedkeys \ | |
test_glob2regpat \ |
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
..F.......................F.......................F...........FF.FF...F...........................................F...................F..F.....................F...................F.FF.....F.......FFFFFF.F...FFFFFFFFFFFFFFFF......................................F.....FFFFFF..FFF...................FFFFFFF..F....F.FF...F..F.................................FF.......FF..FF.......F.F.........F...F................F.F..F............FFF..F.......FFFFF.F.F. | |
Failures: | |
1) help helptags for module Assertion set_config | |
function 401() dict Line:1 (~/share/Dropbox/work/vim-plugins/vital/test/help.vim) | |
Vim(help):E149: 残念ですが Vital.Assertion.set_config() にはヘルプがありません | |
2) help helptags for module Data.BigNum div_mod | |
function 425() dict Line:1 (~/share/Dropbox/work/vim-plugins/vital/test/help.vim) | |
Vim(help):E149: 残念ですが Vital.Data.BigNum.div_mod() にはヘルプがありません |
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
% utils/build-script --release | |
Building the standard library for: swift-stdlib-linux-x86_64 | |
Running Swift tests for: check-swift-linux-x86_64 | |
cmark: using standard linker | |
++ cmake_config_opt cmark | |
++ product=cmark | |
++ [[ Ninja == \X\c\o\d\e ]] | |
+ /usr/bin/cmake --build /home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/cmark-linux-x86_64 -- all | |
ninja: no work to do. |
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
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt | |
index 6e7039c..e36b6b6 100644 | |
--- a/runtime/doc/eval.txt | |
+++ b/runtime/doc/eval.txt | |
@@ -1828,7 +1828,7 @@ getcmdpos() Number return cursor position in command-line | |
getcmdtype() String return current command-line type | |
getcmdwintype() String return current command-line window type | |
getcurpos() List position of the cursor | |
-getcwd() String the current working directory | |
+getcwd( [{winnr} [, {tabnr}]]) String get the working directory |