mirror of
https://github.com/rizzatti/dash.vim.git
synced 2026-03-03 18:24:03 +01:00
18 lines
447 B
VimL
18 lines
447 B
VimL
" Description: Search Dash.app from Vim
|
|
" Author: José Otávio Rizzatti <zehrizzatti@gmail.com>
|
|
" License: MIT
|
|
|
|
let s:class = funcoo#object#class.extend()
|
|
let s:proto = {}
|
|
|
|
function! s:proto.constructor(name, keyword, docsets) dict abort "{{{
|
|
let self.name = a:name
|
|
let self.keyword = tolower(substitute(a:keyword, ':', '', ''))
|
|
let self.docsets = a:docsets
|
|
endfunction
|
|
"}}}
|
|
|
|
call s:class.include(s:proto)
|
|
|
|
let dash#profile#class = s:class
|