You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
985 B
VimL
40 lines
985 B
VimL
4 years ago
|
function! zig#config#ListTypeCommands() abort
|
||
|
return get(g:, 'zig_list_type_commands', {})
|
||
|
endfunction
|
||
|
|
||
|
function! zig#config#ListType() abort
|
||
|
return get(g:, 'zig_list_type', '')
|
||
|
endfunction
|
||
|
|
||
|
function! zig#config#ListAutoclose() abort
|
||
|
return get(g:, 'zig_list_autoclose', 1)
|
||
|
endfunction
|
||
|
|
||
|
function! zig#config#ListHeight() abort
|
||
|
return get(g:, "zig_list_height", 0)
|
||
|
endfunction
|
||
|
|
||
|
function! zig#config#FmtAutosave() abort
|
||
|
return get(g:, "zig_fmt_autosave", 0)
|
||
|
endfunction
|
||
|
|
||
|
function! zig#config#SetFmtAutosave(value) abort
|
||
|
let g:zig_fmt_autosave = a:value
|
||
|
endfunction
|
||
|
|
||
|
function! zig#config#FmtCommand() abort
|
||
|
return get(g:, "zig_fmt_command", ['zig', 'fmt', '--color', 'off'])
|
||
|
endfunction
|
||
|
|
||
|
function! zig#config#FmtFailSilently() abort
|
||
|
return get(g:, "zig_fmt_fail_silently", 0)
|
||
|
endfunction
|
||
|
|
||
|
function! zig#config#FmtExperimental() abort
|
||
|
return get(g:, "zig_fmt_experimental", 0)
|
||
|
endfunction
|
||
|
|
||
|
function! zig#config#Debug() abort
|
||
|
return get(g:, 'zig_debug', [])
|
||
|
endfunction
|