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
--- a/src/Make_mvc.mak | |
+++ b/src/Make_mvc.mak | |
@@ -1326,9 +1326,6 @@ MAIN_TARGET = $(VIM).exe | |
# Target to run individual tests. | |
VIMTESTTARGET = $(VIM).exe | |
-OLD_TEST_OUTFILES = \ | |
- $(SCRIPTS_FIRST) | |
- | |
all: $(MAIN_TARGET) \ |
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
--- a/src/if_python3.c | |
+++ b/src/if_python3.c | |
@@ -203,6 +203,9 @@ typedef PySliceObject PySliceObject_T; | |
# define PySys_GetObject py3_PySys_GetObject | |
# define PySys_SetArgv py3_PySys_SetArgv | |
# define PyType_Ready py3_PyType_Ready | |
+# if PY_VERSION_HEX >= 0x03090000 | |
+# define PyType_GetFlags py3_PyType_GetFlags | |
+# endif | |
#undef Py_BuildValue |
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
all: khash_test.exe khash_test_strkey.exe st_test.exe st_test_strkey.exe | |
!if "$(Platform)"=="x64" | |
SIZEOF_VOIDP=8 | |
!else | |
SIZEOF_VOIDP=4 | |
!endif | |
khash_test.exe: khash_test.c khash.h | |
cl /O2 khash_test.c |
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 num = 1000000 | |
let l = range(num) | |
let start = reltime() | |
call map(l, {-> v:val * 2}) | |
echo start->reltime()->reltimestr() | |
let l = range(num) | |
let start = reltime() | |
call map(l, "v:val * 2") |
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
#!/usr/bin/python3 | |
# Download the latest silver searcher Win32 from the GitHub releases | |
import argparse | |
import calendar | |
import io | |
import json | |
import os | |
import sys |
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
func! Dirlist(d = '.') | |
new | |
let start = reltime() | |
setlocal buftype=nofile | |
let list = readdir(a:d) | |
call append(line('$'), list) | |
call append(line('$'), reltimestr(reltime(start))) | |
endfunc |
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
@echo off | |
rem Update the DLL using MSVC. | |
rem If the old DLL is in use, rename it to avoid compilation error. | |
rem current support version of Visual C compiler is 2012 or later. | |
rem | |
rem usage: update-dll-msvc | |
rem | |
rem | |
rem Sample .vimrc: | |
rem |
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
#!/bin/sh | |
# Convert the same files into hard links to reduce the install size of | |
# clang, llvm, lld and gcc on MSYS2. | |
ESC=$'\33' | |
GREEN="$ESC[32m" | |
YELLOW="$ESC[33m" | |
CYAN="$ESC[36m" | |
RESET="$ESC[m" |
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
--- a/src/os_mswin.c | |
+++ b/src/os_mswin.c | |
@@ -1703,55 +1703,12 @@ mch_print_set_fg(long_u fgcol) | |
# include <shlobj.h> | |
# endif | |
-typedef enum _FILE_INFO_BY_HANDLE_CLASS_ { | |
- FileBasicInfo_, | |
- FileStandardInfo_, | |
- FileNameInfo_, |
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
From 35b9dc6481422ed93236d2c201ff7da122c8ae26 Mon Sep 17 00:00:00 2001 | |
From: "K.Takata" <[email protected]> | |
Date: Thu, 13 Jun 2019 23:15:37 +0900 | |
Subject: [PATCH] sound: Fix some issues | |
* Update document about sound_playevent() on Windows. | |
* Some lines exceeded 80 columns. | |
* Types of some variables were wrong. | |
--- | |
runtime/doc/eval.txt | 11 ++++++++--- |