2015/11/21 VimConf 2015
This file contains hidden or 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 obj = {} | |
function! obj.func() abort | |
endfunction | |
let funcname = matchstr(string(obj.func), 'function(''\zs.\{-}\ze'')') | |
echo assert_true(exists('*{' . funcname . '}')) | |
unlet obj | |
echo assert_false(exists('*{' . funcname . '}')) | |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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. |