Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

machakann

💭
I may be slow to respond.
View GitHub Profile
View fix_findstart_type.patch
diff --git a/src/edit.c b/src/edit.c
index ef4c98d29..8467994dd 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -5441,7 +5441,7 @@ ins_complete(int c, int enable_pum)
pos = curwin->w_cursor;
curwin_save = curwin;
curbuf_save = curbuf;
- col = call_func_retnr(funcname, 2, args, FALSE);
+ col = call_func_retnr(funcname, 2, args, FALSE, FALSE);
View test_matchstrpos.vim
function! Tic()
let s:starttime = reltime()
endfunction
function! Toc()
return reltimestr(reltime(s:starttime))
endfunction
command! -nargs=0 Tic call Tic()
command! -nargs=0 Toc echomsg Toc()
function! Profile_matchfuncs() abort
View update_indent_files.patch
diff -r 3bd553b9e4bf runtime/indent/ada.vim
--- a/runtime/indent/ada.vim Sat Mar 14 15:35:52 2015 +0100
+++ b/runtime/indent/ada.vim Tue Mar 17 21:55:49 2015 +0800
@@ -87,7 +87,7 @@
endwhile
endwhile
" Fallback - just move back one
- return a:prev_indent - &sw
+ return a:prev_indent - shiftwidth()
endfunction MainBlockIndent
@machakann
machakann / compile_error.log
Created Feb 7, 2015
compile error of OpenBLAS(rev. 1ccd57c)
View compile_error.log
This file has been truncated, but you can view the full file.
ln: failed to create symbolic link 'libopenblas.a': No such file or directory
Makefile:141: recipe for target 'libs' failed
make: [libs] Error 1 (ignored)
make[1]: Entering directory '/path/to/workingdir/OpenBLAS/interface'
gcc -O2 -DMS_ABI -mincoming-stack-boundary=2 -fopenmp -Wall -m32 -DF_INTERFACE_GFORT -DNO_AVX -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME=_saxpy -DASMFNAME=_saxpy_ -DNAME=saxpy_ -DCNAME=saxpy -DCHAR_NAME=\"saxpy_\" -DCHAR_CNAME=\"saxpy\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX -c axpy.c -o saxpy.obj
gcc -O2 -DMS_ABI -mincoming-stack-boundary=2 -fopenmp -Wall -m32 -DF_INTERFACE_GFORT -DNO_AVX -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME=_sswap -DASMFNAME=_sswap_ -DNAME=sswap_ -DCNAME=sswap -DCHAR_NAME=\"sswap_\" -DCHAR_CNAME=\"sswap\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX -c swap.c -o sswap.obj