Coder Social home page Coder Social logo

ddc-source-omni's Introduction

ddc-source-omni

Omnifunc completion for ddc.vim

This source collects items from 'omnifunc'.

Note: It does not support all of 'omnifunc'.

Required

denops.vim

https://github.com/vim-denops/denops.vim

ddc.vim

https://github.com/Shougo/ddc.vim

Configuration

call ddc#custom#patch_global('sources', ['omni'])

call ddc#custom#patch_global('sourceOptions', #{
      \   omni: #{ mark: 'O' },
      \ })

" Example: Use vimtex
"call vimtex#init()
"call ddc#custom#patch_filetype(['tex'], 'sourceOptions', #{
"      \   omni: #{
"      \     forceCompletionPattern: g:vimtex#re#deoplete,
"      \   },
"      \ })
"call ddc#custom#patch_filetype(['tex'], 'sourceParams', #{
"      \   omni: #{ omnifunc: 'vimtex#complete#omnifunc' },
"      \ })

ddc-source-omni's People

Contributors

keimoriyama avatar lumakernel avatar shougo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ddc-source-omni's Issues

Invalid sources are detected when using basic suggested setup

NVIM: NVIM v0.7.0-dev+1254-g6dc2c8293
denops: d01a89773b158255073cefa88f6527fb9f522e59
ddc: a2ee2f7e70fbd1a5e093e733e108183fc4cffafb
ddc-omni: 5bc143c

When using these versions with the basic suggested setup, I get the following error from vim when I add the omni source. It does not give an error on startup, but only after some completion has been triggered.

[ddc] Invalid sources are detected!
[ddc] ['omni']

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.