VimConf 2016 で発表をしてきましたので、その報告です。
2013年から開催されているVimConfは今年で4回目となりました。今まで3回はkoronさんがトップバッターを務めていましたが、今回は私がトップバッターを務めることになりました。
9月に、10年ぶりのメジャーリリースであるVim 8.0が出たため、その新機能の紹介およびVimの歴史、Vimへの日本人の貢献について話してきました。
diff --git a/src/gui.c b/src/gui.c | |
--- a/src/gui.c | |
+++ b/src/gui.c | |
@@ -2419,6 +2419,7 @@ gui_outstr_nowrap( | |
if (flags & GUI_MON_TRS_CURSOR) | |
draw_flags |= DRAW_TRANSP; | |
+ gui_mch_draw_string_start(); | |
/* | |
* Draw the text. |
--- /usr/lib/python2.7/site-packages/mercurial/localrepo.py.orig | |
+++ /usr/lib/python2.7/site-packages/mercurial/localrepo.py | |
@@ -366,7 +366,7 @@ | |
setupfunc(self.ui, self.supported) | |
else: | |
self.supported = self._basesupported | |
- color.setup(self.ui) | |
+ #color.setup(self.ui) | |
# Add compression engines. |
* Latin | |
A (U+0041): base character | |
Ä (U+00C4): precomposed | |
Ä (U+0041 0308): decomposed | |
* Hiragana and composing marks | |
か (U+304B): base character | |
が (U+304C): precomposed |
@echo off | |
rem Based on Todd Larason's 256color2.pl. | |
rem Ported to Windows 10's Command Prompt. | |
setlocal EnableDelayedExpansion | |
rem display the colors | |
rem first the system ones: | |
echo System colors: |
#include <windows.h> | |
#include <stdio.h> | |
typedef BOOL (WINAPI *PfnRtlGetVersion)(LPOSVERSIONINFOW); | |
#define MAKE_VER(major, minor, build) \ | |
(((major) << 24) | ((minor) << 16) | (build)) | |
int main() | |
{ |
@echo off | |
echo [30m black [m | |
echo [31m red [m | |
echo [32m green [m | |
echo [33m yellow [m | |
echo [34m blue [m | |
echo [35m magenta [m | |
echo [36m cyan [m | |
echo [37m while [m |
diff --git a/regexec.c b/regexec.c | |
index e57c962..f56246a 100644 | |
--- a/regexec.c | |
+++ b/regexec.c | |
@@ -804,6 +804,7 @@ stack_double(OnigStackType** arg_stk_base, OnigStackType** arg_stk_end, | |
#define STACK_POP do {\ | |
switch (pop_level) {\ | |
case STACK_POP_LEVEL_FREE:\ | |
+fprintf(stderr, "STACK_POP_LEVEL_FREE\n");\ | |
while (1) {\ |
VimConf 2016 で発表をしてきましたので、その報告です。
2013年から開催されているVimConfは今年で4回目となりました。今まで3回はkoronさんがトップバッターを務めていましたが、今回は私がトップバッターを務めることになりました。
9月に、10年ぶりのメジャーリリースであるVim 8.0が出たため、その新機能の紹介およびVimの歴史、Vimへの日本人の貢献について話してきました。
#include <windows.h> | |
BOOL IsWindows9x() | |
{ | |
return (GetVersion() >= 0x80000000); | |
} | |
int main(int argc, char *argv[]) | |
{ | |
HWND hWnd; |
diff --git a/src/userfunc.c b/src/userfunc.c | |
--- a/src/userfunc.c | |
+++ b/src/userfunc.c | |
@@ -147,6 +147,7 @@ get_function_args( | |
*p = c; | |
} | |
+ p = skipwhite(p); | |
if (*p == ',') | |
++p; |