Permalink
Browse files

Remove save_cpo things

  • Loading branch information...
1 parent c9ca601 commit 027ebe082a1086e4636cd43a66d3f715d29ae719 @lambdalisue committed Jan 25, 2016
View
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = vital#of('vim_gista')
let s:Compat = s:V.import('Vim.Compat')
@@ -82,7 +79,3 @@ call gista#define_variables('', {
\ 'debug': 0,
\ 'develop': 0,
\})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-"vim: sts=2 sw=2 smarttab et ai textwidth=0 fdm=marker
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
function! s:is_patchable(gista) abort
let client = gista#client#get()
let username = client.get_authorized_username()
@@ -163,7 +160,3 @@ endfunction
" Configure variables
call gista#define_variables('autocmd', {})
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:Cache = s:V.import('System.Cache')
let s:Path = s:V.import('System.Filepath')
@@ -364,7 +361,3 @@ call gista#define_variables('client', {
\ 'default_username': '',
\ 'use_git_config_github_user': 1,
\})
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:Dict = s:V.import('Data.Dict')
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -229,7 +226,3 @@ call gista#command#register('commits',
\ 'gista#command#commits#command',
\ 'gista#command#commits#complete',
\)
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:File = s:V.import('System.File')
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -114,8 +111,3 @@ endfunction
call gista#define_variables('command#browse', {
\ 'default_options': {},
\})
-
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:String = s:V.import('Data.String')
let s:Dict = s:V.import('Data.Dict')
@@ -500,7 +497,3 @@ call gista#define_variables('command#commits', {
\ 'enable_default_mappings': 1,
\ 'show_status_string_in_prologue': 1,
\})
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -87,8 +84,3 @@ endfunction
call gista#define_variables('command#delete', {
\ 'default_options': {},
\})
-
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,7 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
-
let s:V = gista#vital()
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -65,8 +61,3 @@ endfunction
call gista#define_variables('command#fork', {
\ 'default_options': {},
\})
-
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:JSON = s:V.import('Web.JSON')
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -143,7 +140,3 @@ call gista#define_variables('command#json', {
\ 'default_options': {},
\ 'default_opener': 'edit',
\})
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:String = s:V.import('Data.String')
let s:Dict = s:V.import('Data.Dict')
@@ -807,6 +804,3 @@ call gista#define_variables('command#list', {
\ 'enable_default_mappings': 1,
\ 'show_status_string_in_prologue': 1,
\})
-
-let &cpo = s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -70,8 +67,3 @@ endfunction
call gista#define_variables('command#login', {
\ 'default_options': {},
\})
-
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -56,8 +53,3 @@ endfunction
call gista#define_variables('command#logout', {
\ 'default_options': {},
\})
-
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -151,7 +148,3 @@ call gista#define_variables('command#open', {
\ 'default_options': {},
\ 'default_opener': 'edit',
\})
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:List = s:V.import('Data.List')
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -131,7 +128,3 @@ endfunction
call gista#define_variables('command#patch', {
\ 'default_options': {},
\})
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:List = s:V.import('Data.List')
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -158,7 +155,3 @@ call gista#define_variables('command#post', {
\ 'interactive_description': 1,
\ 'allow_empty_description': 0,
\})
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -101,7 +98,3 @@ endfunction
call gista#define_variables('command#remove', {
\ 'default_options': {},
\})
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -105,8 +102,3 @@ endfunction
call gista#define_variables('command#rename', {
\ 'default_options': {},
\})
-
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -65,8 +62,3 @@ endfunction
call gista#define_variables('command#star', {
\ 'default_options': {},
\})
-
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -51,9 +48,3 @@ endfunction
call gista#define_variables('command#status', {
\ 'default_options': {},
\})
-
-
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:ArgumentParser = s:V.import('ArgumentParser')
@@ -65,7 +62,3 @@ endfunction
call gista#define_variables('command#unstar', {
\ 'default_options': {},
\})
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:List = s:V.import('Data.List')
@@ -87,7 +84,3 @@ function! gista#option#complete_lookup(arglead, cmdline, cursorpos, ...) abort
return []
endtry
endfunction
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:List = s:V.import('Data.List')
@@ -469,7 +466,3 @@ function! gista#resource#local#get_valid_lookup(lookup) abort
call s:validate_lookup(client, lookup)
return lookup
endfunction
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:List = s:V.import('Data.List')
let s:Dict = s:V.import('Data.Dict')
@@ -450,7 +447,3 @@ function! gista#resource#remote#commits(gistid, ...) abort
endif
call gista#client#throw(res)
endfunction
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:Compat = s:V.import('Vim.Compat')
let s:Guard = s:V.import('Vim.Guard')
@@ -46,7 +43,3 @@ function! gista#util#handle_exception(exception) abort
" else
call gista#util#prompt#error(a:exception)
endfunction
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
let s:V = gista#vital()
let s:Dict = s:V.import('Data.Dict')
let s:Buffer = s:V.import('Vim.Buffer')
@@ -37,7 +34,3 @@ endfunction
function! gista#util#buffer#edit_content(...) abort
call call(s:Buffer.edit_content, a:000, s:Buffer)
endfunction
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
@@ -1,6 +1,3 @@
-let s:save_cpo = &cpo
-set cpo&vim
-
function! s:parse_mapping(raw) abort
" Note:
" :help map-listing
@@ -60,7 +57,3 @@ function! gista#util#mapping#help(table) abort
endfunction
" @vimlint(EVL102, 0, l:mode)
" @vimlint(EVL102, 0, l:flag)
-
-let &cpo = s:save_cpo
-unlet! s:save_cpo
-" vim:set et ts=2 sts=2 sw=2 tw=0 fdm=marker:
Oops, something went wrong.

0 comments on commit 027ebe0

Please sign in to comment.