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
" test for https://github.com/chikatoike/neocomplcache/tree/cache-experimental | |
let s:sfile = globpath(&runtimepath, 'autoload/neocomplcache/async_cache.vim') | |
function! s:async_load_from_file(call_system, cache_dir, filename, pattern, mark)"{{{ | |
let pattern_file_name = | |
\ neocomplcache#cache#encode_name('keyword_patterns', a:filename) | |
let cache_name = | |
\ neocomplcache#cache#encode_name(a:cache_dir, a:filename) |
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
# -*- coding: utf-8 -*- | |
import sys | |
import os | |
import platform | |
from ctypes import * | |
# neocomplcache-clang付属のcindex.pyを使用する | |
sys.path.append(os.path.expandvars('$HOMEPATH/Dropbox/home/.vim/vundle/neocomplcache-clang/autoload/neocomplcache/sources/clang_complete')) | |
sys.path.append(os.path.expandvars('/mnt/hgfs/work/.vim/vundle/neocomplcache-clang/autoload/neocomplcache/sources/clang_complete')) |
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
# package_file_reload.py | |
import os | |
import time | |
import sublime | |
import sublime_plugin | |
class PackageFileReloader(sublime_plugin.EventListener): | |
"""Auto reload on save package files. """ | |
def on_post_save(self, view): |
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
if !exists('g:auplugin_disable') | |
let g:auplugin_disable = 0 | |
endif | |
command! -nargs=1 -complete=customlist,auplugin#_complete AuLoad call s:load_plugin(<q-args>) | |
function! auplugin#_complete(arglead, cmdline, cursorpos)"{{{ | |
let list = split(globpath(&runtimepath, 'auplugin/*'), '\n') | |
let list += split(globpath(&runtimepath, 'bundle/*'), '\n') | |
let rtp = map(split(&runtimepath, ','), 'expand(v:val)') |
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
command! -nargs=* InnerFunction | |
\ let l:__func = { | |
\ 'type': 'function', | |
\ 'name': matchstr(<q-args>, '^\s*\([^(]\+\)'), | |
\ 'statement': [ | |
\ 'function! <args>', | |
\ ' call extend(l:, get(l:, "self", {}))', | |
\ ], | |
\ } |
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
" moved to https://github.com/chikatoike/config/blob/master/.vimrc |
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
;; moved to https://github.com/chikatoike/config/blob/master/.emacs.d/init.el |
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
[<ReflectedDefinition>] | |
module Program | |
open FunScript | |
open FunScript.TypeScript | |
open FunScript.Compiler | |
// Imports | |
// Note: this path is relative to the directory you launched mono / monodevelop. | |
type ts = Api< @"../Typings/node-0.8.d.ts" > |
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
import sys | |
import time | |
import ctypes | |
import subprocess | |
CTRL_C_EVENT = 0 | |
CTRL_BREAK_EVENT = 1 | |
if len(sys.argv) == 1: | |
for i in range(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
/* Copyright 2011 by Yasuhiro Matsumoto | |
* 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. | |
* | |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
OlderNewer