Skip to content

Instantly share code, notes, and snippets.

View pocket7878's full-sized avatar
🏠
Working from home

Masato Sogame pocket7878

🏠
Working from home
View GitHub Profile
@pocket7878
pocket7878 / little.patch
Created July 5, 2011 00:43
Define little test's for prelude.vim
diff --git spec/prelude.vim spec/prelude.vim
index bee45d1..f44de4b 100644
--- spec/prelude.vim
+++ spec/prelude.vim
@@ -2,6 +2,96 @@ source spec/base.vim
let g:V = vital#of('vital')
+"Test of wrapper function for type()"{{{
+Context Prelude.is_numeric()
@pocket7878
pocket7878 / little.patch
Created June 29, 2011 14:04
little patch for vinarise by Pocket
diff --git autoload/vinarise.vim autoload/vinarise.vim
index 49c0991..e757cf9 100644
--- autoload/vinarise.vim
+++ autoload/vinarise.vim
@@ -53,6 +53,7 @@ else
let s:vinarise_BUFFER_NAME = '*vinarise*'
endif
"}}}
+
" Variables "{{{
@pocket7878
pocket7878 / little.patch
Created June 28, 2011 14:13
little-patch-for unite-colorscheme
diff --git autoload/unite/sources/colorscheme.vim autoload/unite/sources/colorscheme.vim
index 63cea36..8cca97c 100644
--- autoload/unite/sources/colorscheme.vim
+++ autoload/unite/sources/colorscheme.vim
@@ -8,7 +8,11 @@ let s:unite_source = {
\ }
function! s:unite_source.hooks.on_init(args, context)
- let s:beforecolor = g:colors_name
+ if exists('g:colors_name')
@pocket7878
pocket7878 / patch
Created June 28, 2011 12:46
little-patch-for unite-colorscheme
*** colorscheme.vim.orig 2011-06-28 21:43:56.000000000 +0900
--- colorscheme.vim 2011-06-28 21:44:41.000000000 +0900
***************
*** 8,14 ****
\ }
function! s:unite_source.hooks.on_init(args, context)
! let s:beforecolor = g:colors_name
endfunction