Added typescript-doc
This commit is contained in:
parent
3fa38c6a95
commit
1ae67ff4aa
18
init.vim
18
init.vim
|
@ -30,20 +30,10 @@ Plug 'Shougo/deoplete.nvim'
|
|||
Plug 'Shougo/neosnippet.vim' | Plug 'Shougo/neosnippet-snippets'
|
||||
" Python highlight
|
||||
Plug 'hdima/python-syntax'
|
||||
" Search files
|
||||
" Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | Plug 'junegunn/fzf.vim'
|
||||
" Real-time collaborative editing
|
||||
" Plug 'Floobits/floobits-neovim'
|
||||
" An asynchronous markdown preview plugin for Neovim (requires Rust and Cargo)
|
||||
" function! BuildComposer(info)
|
||||
" if a:info.status != 'unchanged' || a:info.force
|
||||
" !cargo build --release
|
||||
" UpdateRemotePlugins
|
||||
" endif
|
||||
" endfunction
|
||||
" Plug 'euclio/vim-markdown-composer', {'do': function('BuildComposer')}
|
||||
" Git stuff
|
||||
Plug 'tpope/vim-fugitive'
|
||||
" Typescript-doc
|
||||
Plug 'https://gogs.tforgione.fr/tforgione/typescript-doc.git'
|
||||
" Add plugins to &runtimepath
|
||||
call plug#end()
|
||||
" }}}
|
||||
|
@ -204,6 +194,10 @@ endif
|
|||
" Markdown : do not open browser if i'm not telling you
|
||||
let g:instant_markdown_autostart = 0
|
||||
|
||||
nnoremap <silent><F4> :call InsertTypeScriptDoc()<CR>
|
||||
inoremap <silent><F4> :call InsertTypeScriptDoc()<CR>
|
||||
vnoremap <silent><F4> :call InsertTypeScriptDoc()<CR>
|
||||
|
||||
autocmd BufWritePost * :silent execute ':w! ' ."$HOME/.vim/backups/" . escape(substitute(expand('%:p'), "/", "%", "g"), "%")
|
||||
|
||||
autocmd BufEnter,BufNew *.pgsql set filetype=pgsql.
|
||||
|
|
Loading…
Reference in New Issue