if exists('g:loaded_deoplete_go')
  finish
endif
let g:loaded_deoplete_go = 1

if !exists("g:deoplete#sources#go#align_class")
  let g:deoplete#sources#go#align_class = 0
endif

if !exists("g:deoplete#sources#go#gocode_binary")
  let g:deoplete#sources#go#gocode_binary = ''
endif

if !exists("g:deoplete#sources#go#package_dot")
  let g:deoplete#sources#go#package_dot = 0
endif

if !exists("g:deoplete#sources#go#sort_class")
  let g:deoplete#sources#go#sort_class = []
endif

if exists('g:loaded_deoplete_go')
  finish
endif
let g:loaded_deoplete_go = 1


let g:deoplete#sources#go#align_class =
      \ get( g:, 'deoplete#sources#go#align_class', 0 )

let g:deoplete#sources#go#gocode_binary =
      \ get( g:, 'deoplete#sources#go#gocode_binary', '' )

let g:deoplete#sources#go#package_dot =
      \ get( g:, 'deoplete#sources#go#package_dot', 0 )

let g:deoplete#sources#go#sort_class =
      \ get( g:, 'deoplete#sources#go#sort_class', [] )

Fix set default values to use vim's 'get'
Fix set default values to use vim's 'get'

Signed-off-by: Koichi Shiraishi <13fbd79c3d390e5d6585a21e11ff5ec1970cff0c@zchee.io>

zchee/deoplete-go,zchee/deoplete-go