Skip to content

Instantly share code, notes, and snippets.

View sablime's full-sized avatar
💭
I may be slow to respond.

Charles Cooper sablime

💭
I may be slow to respond.
View GitHub Profile
diff -r c9dbfdcc0c0a src/auto/configure
--- a/src/auto/configure Fri May 10 12:51:25 2013 +0900
+++ b/src/auto/configure Fri May 10 15:02:06 2013 +0900
@@ -4648,8 +4648,8 @@
LUA_INC=
if test "X$vi_cv_path_lua_pfx" != "X"; then
- # Extract the first word of "lua", so it can be a program name with args.
-set dummy lua; ac_word=$2
+ # Extract the first word of "luajit", so it can be a program name with args.
@sablime
sablime / diff.js
Created January 18, 2013 16:35 — forked from ucnv/diff.js
// http://ido.nu/kuma/2007/10/01/diff-onp-javascript-implementation/
/*
Copyright (c) 2007, KUMAGAI Kentaro
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of this project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
@sablime
sablime / wdiff.vim
Created January 18, 2013 16:35 — forked from ynkdir/wdiff.vim
" Usage:
" Copy this file to your ~/.vim/autoload directory.
" :edit oldfile
" :new newfile
" :call wdiff#highlight(2, 1) " wdiff#highlight(winnr1, winnr2)
let s:save_cpo = &cpo
set cpo&vim
function wdiff#highlight(Awinnr, Bwinnr)