Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Delete obsolete files

  • Loading branch information...
commit 88c3bc19482d46f7f7438e42a3c044c3875fb385 1 parent 7f5303b
@Shougo authored
View
75 ftplugin/int-earthquake.vim
@@ -1,75 +0,0 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
-scriptencoding utf-8
-
-if exists('b:undo_ftplugin')
- let b:undo_ftplugin .= ' | '
-else
- let b:undo_ftplugin = ''
-endif
-
-setlocal iskeyword+=$,#
-
-" Search recent.
-nmap <buffer> K <Plug>(int_earthquake_search_recent)
-
-nnoremap <silent><buffer> <Plug>(int_earthquake_search_recent)
- \ :<C-u>call <SID>search_recent()<CR>
-
-function! s:search_recent() "{{{
- " Set prompt line.
- let cur_text = expand('<cword>')
- if cur_text =~ '^#'
- let cur_text = ':search ' . cur_text
- elseif cur_text !~ '^\$'
- let cur_text = ':recent ' . cur_text
- endif
- call setline(line('$'), vimshell#interactive#get_prompt(line('$')) . cur_text)
- $
-endfunction"}}}
-
-" For echodoc. "{{{
-let s:doc_dict = {
- \ 'name' : 'earthquake.gem',
- \ 'rank' : 10,
- \ 'filetypes' : { 'int-earthquake' : 1 },
- \ }
-let s:doc_table = {
- \ ':delete' : 'Delete :delete $xx',
- \ ':retweet' : 'Retweet :retweet $xx',
- \ ':recent' : 'Timeline :recent [jugyo] | List :recent yugui/ruby-committers',
- \ ':search' : 'Search :search #ruby',
- \ ':eval' : 'Eval :eval Time.now',
- \ ':exit' : 'Exit :exit',
- \ ':reconnect' : 'Reconnect :reconnect',
- \ ':restart' : 'Restart :restart',
- \ ':thread' : 'Threads :thread $xx',
- \ ':plugin_install' : 'Install Plugins :plugin_install https://gist.github.com/899506',
- \ ':alias' : 'Alias :alias :rt :retweet',
- \ ':update' : 'Tweet Ascii Art :update<ENTER>',
- \ ':filter' : 'Stream Filter Tracking :filter keyword earthquakegem twitter | user jugyo matsuu | off',
- \ }
-function! s:doc_dict.search(cur_text) "{{{
- " Get command name.
- let command = matchstr(a:cur_text, '^⚡ \zs:\h\w*\ze')
- if command == '' || !has_key(s:doc_table, command)
- return []
- endif
-
- let description = s:doc_table[command]
-
- let usage = [
- \ { 'text' : command, 'highlight' : 'Statement' },
- \ { 'text' : ' ' . description },
- \ ]
-
- return usage
-endfunction"}}}
-
-if exists('g:loaded_echodoc') && g:loaded_echodoc
- call echodoc#register('earthquake.gem', s:doc_dict)
-endif
-"}}}
-
-let &cpo = s:save_cpo
View
104 syntax/int-earthquake.vim
@@ -1,104 +0,0 @@
-"=============================================================================
-" FILE: syntax/int-earthquake.vim
-" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
-" Last Modified: 17 Sep 2013.
-" License: MIT license {{{
-" Permission is hereby granted, free of charge, to any person obtaining
-" a copy of this software and associated documentation files (the
-" "Software"), to deal in the Software without restriction, including
-" without limitation the rights to use, copy, modify, merge, publish,
-" distribute, sublicense, and/or sell copies of the Software, and to
-" permit persons to whom the Software is furnished to do so, subject to
-" the following conditions:
-"
-" The above copyright notice and this permission notice shall be included
-" in all copies or substantial portions of the Software.
-"
-" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-" IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-" CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-" TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-" SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-" }}}
-"=============================================================================
-
-scriptencoding utf-8
-
-if version < 700
- syntax clear
-elseif exists('b:current_syntax')
- finish
-endif
-
-syntax region int_earthquakeInputLine start='^⚡ ' end='\n' oneline
- \ contains=int_earthquakePrompt,int_earthquakeString,int_earthquakeCommand
-
-syntax match int_earthquakeURI
- \ '\%(https\?\|ftp\)://[[:alnum:];/?:@&=+$,_.!~*|()-]\+'
-syntax match int_earthquakeString
- \ '.*' contained contains=int_earthquakeReply,int_earthquakeRemark
-syntax match int_earthquakeCommand
- \ ':\w*' contained
-syntax match int_earthquakePrompt
- \ '^\s*⚡ ' contained
-syntax match int_earthquakeReply
- \ '@[[:alnum:]_-]\+:\?\|RT\s\|via\s\|QT\s\|(reply_to\s\[\$\h\w*\])'
-syntax match int_earthquakeName
- \ '\s[[:alnum:]_-]\+:\s'
-syntax match int_earthquakeConstants '[+-]\?\<\d\+\>'
-syntax match int_earthquakeConstants '[+-]\?\<0x\x\+\>'
-syntax match int_earthquakeConstants '[+-]\?\<0\o\+\>'
-syntax match int_earthquakeConstants '[+-]\?\d\+#[-+]\=\w\+\>'
-syntax match int_earthquakeConstants '[+-]\?\d\+\.\d\+\([eE][+-]\?\d\+\)\?\>'
-syntax match int_earthquakeRemark '\[\$\a\+\]'
-syntax match int_earthquakeRemark '\$\a\+'
-syntax match int_earthquakeHashTag '#\h\w*'
-syntax match int_earthquakeDate '^(\d\+:\d\+:\d\+)'
-syntax match int_earthquakeMessage '^:\?\h\w* \|^\[\h\w*\] '
-syntax region int_earthquakeError start='^\s*\[ERROR\] ' end='\n' oneline
-syntax match int_earthquakeCommandOutput '^\s\ze\['
-
-syntax keyword int_earthquakeKeyword
- \ :exit :help :restart :eval :aa :update :reply :status
- \ :delete :mentions :follow :unfollow :recent :user :search :filter
- \ :favorite :unfavorite :retweet :retweeted_by_me :retweeted_to_me :retweets_of_me
- \ :block :unblock :report_spam :messages :sent_messages :message
- \ :reconnect :thread :update_profile_image :open :browse
- \ :sh :plugin_install :edit_config :alias :reauthorize
-
-augroup vimshell-int_earthquake
- autocmd! * <buffer>
- autocmd ColorScheme <buffer> call s:color_scheme()
-augroup END
-
-function! s:color_scheme() "{{{
- if has('gui_running')
- highlight int_earthquakePrompt gui=UNDERLINE guifg=#80ffff guibg=NONE
- else
- highlight def link int_earthquakePrompt Identifier
- endif
-endfunction"}}}
-
-call s:color_scheme()
-
-highlight def link int_earthquakeConstants Constant
-highlight def link int_earthquakeCommand Statement
-highlight def link int_earthquakeKeyword Statement
-if has('gui_running')
- highlight int_earthquakeURI gui=UNDERLINE guifg=#6699ff guibg=NONE
-else
- highlight def link int_earthquakeURI Comment
-endif
-
-highlight def link int_earthquakeReply PreProc
-highlight def link int_earthquakeName Type
-highlight def link int_earthquakeMessage Constant
-highlight def link int_earthquakeError Error
-highlight def link int_earthquakeDate Constant
-highlight def link int_earthquakeHashTag Comment
-highlight def link int_earthquakeRemark Identifier
-highlight def link int_earthquakeCommandOutput Underlined
-
-let b:current_syntax = 'int-earthquake'
View
92 syntax/int-termtter.vim
@@ -1,92 +0,0 @@
-"=============================================================================
-" FILE: syntax/int-termtter.vim
-" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
-" Last Modified: 17 Sep 2013.
-" License: MIT license {{{
-" Permission is hereby granted, free of charge, to any person obtaining
-" a copy of this software and associated documentation files (the
-" "Software"), to deal in the Software without restriction, including
-" without limitation the rights to use, copy, modify, merge, publish,
-" distribute, sublicense, and/or sell copies of the Software, and to
-" permit persons to whom the Software is furnished to do so, subject to
-" the following conditions:
-"
-" The above copyright notice and this permission notice shall be included
-" in all copies or substantial portions of the Software.
-"
-" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-" IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-" CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-" TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-" SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-" }}}
-"=============================================================================
-
-if version < 700
- syntax clear
-elseif exists('b:current_syntax')
- finish
-endif
-
-syntax region int_termtterInputLine start='^\s*> ' end='\n' oneline
- \ contains=int_termtterPrompt,int_termtterCommand,int_termtterString
-
-syntax match int_termtterURI '\%(https\?\|ftp\)://[[:alnum:];/?:@&=+$,_.!~*''|()-]\+'
-syntax match int_termtterString '.*' contained contains=int_termtterReply,int_termtterRemark
-syntax match int_termtterCommand '\w\+' contained
-syntax match int_termtterPrompt '^\s*> ' contained
-syntax match int_termtterReply '@[[:alnum:]_-]\+:\?\|RT\s\|via\s\|QT\s\|(reply_to\s\[\$\h\w*\])'
-syntax match int_termtterName '\s[[:alnum:]_-]\+:\s'
-syntax match int_termtterConstants '[+-]\?\<\d\+\>'
-syntax match int_termtterConstants '[+-]\?\<0x\x\+\>'
-syntax match int_termtterConstants '[+-]\?\<0\o\+\>'
-syntax match int_termtterConstants '[+-]\?\d\+#[-+]\=\w\+\>'
-syntax match int_termtterConstants '[+-]\?\d\+\.\d\+\([eE][+-]\?\d\+\)\?\>'
-syntax match int_termtterRemark '\[\$\a\+\]'
-syntax match int_termtterRemark '\$\a\+'
-syntax match int_termtterHashTag '#\h\w*'
-syntax match int_termtterDate '^(\d\+:\d\+:\d\+)'
-syntax match int_termtterMessage '^updated => '
-syntax region int_termtterError start='^\s*\[ERROR\] ' end='\n' oneline
-
-syntax keyword int_termtterKeyword
- \ add alias block cache cache clear create d del delete direct edit emacs_editing_mode eval exec
- \ exit fav favlist favorite favorites fib flush follow followers friends h hashtag hashtag hashtag help keyword
- \ l leave limit list list lists lm load pause plug profile quit r raw_update redo reload
- \ remove_alias re remove replies reply restore_user resume retweet retweeted_to_me retweeted_by_me retweets retweets_of_me
- \ rt s save search sent_list set settings show shows stats status switch u unblock update user vi_editing_mode
-
-augroup vimshell-int-termtter
- autocmd! * <buffer>
- autocmd ColorScheme <buffer> call s:color_scheme()
-augroup END
-
-function! s:color_scheme() "{{{
- if has('gui_running')
- highlight int_termtterPrompt gui=UNDERLINE guifg=#80ffff guibg=NONE
- else
- highlight default link int_termtterPrompt Identifier
- endif
-endfunction"}}}
-
-call s:color_scheme()
-
-highlight default link int_termtterConstants Constant
-highlight default link int_termtterCommand Statement
-highlight default link int_termtterKeyword Statement
-if has('gui_running')
- highlight int_termtterURI gui=UNDERLINE guifg=#6699ff guibg=NONE
-else
- highlight default link int_termtterURI Comment
-endif
-highlight default link int_termtterReply PreProc
-highlight default link int_termtterName Type
-highlight default link int_termtterMessage Constant
-highlight default link int_termtterError Error
-highlight default link int_termtterDate Constant
-highlight default link int_termtterHashTag Comment
-highlight default link int_termtterRemark Identifier
-
-let b:current_syntax = 'int-termtter'
Please sign in to comment.
Something went wrong with that request. Please try again.