Implement font features (#94)

This commit is contained in:
daa
2018-05-06 15:22:38 +03:00
parent 2dc10aa611
commit ad0ea04f93
9 changed files with 94 additions and 22 deletions

View File

@@ -52,8 +52,10 @@ function s:GuiFontCommand(fname, bang) abort
else
call GuiFont(a:fname, a:bang ==# '!')
endif
endfunction
command! -nargs=? -bang Guifont call s:GuiFontCommand("<args>", "<bang>")
endfunction
command! -nargs=1 -bang Guifont call s:GuiFontCommand("<args>", "<bang>")
command! -nargs=1 -bang GuiFont call s:GuiFontCommand("<args>", "<bang>")
command! -nargs=? GuiFontFeatures call rpcnotify(1, 'Gui', 'FontFeatures', <q-args>)
command! NGToggleSidebar call rpcnotify(1, 'Gui', 'Command', 'ToggleSidebar')