Code Monkey home page Code Monkey logo

ddc-treesitter's Introduction

ddc-treesitter

Treesitter completion for ddc.vim

This source collects candidates from nvim-treesitter.

NOTE: This plugin needs Neovim >=v0.5.0

Required

denops.vim

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

ddc.vim

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

nvim-treesitter

https://github.com/nvim-treesitter/nvim-treesitter

Configuration

" Use treesitter source.
call ddc#custom#patch_global('sources', ['treesitter'])

" Change source options
call ddc#custom#patch_global('sourceOptions', {
      \ 'treesitter': {'mark': 'T'},
      \ })

ddc-treesitter's People

Contributors

delphinus avatar octaltree avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

ddc-treesitter's Issues

Support for ddc.vim v3.0.0

Hi,

sorry, I'm not capable of saying what needs to be done to be compatible with the new DDC.vim v3, but it seems some work is necessary as I get the message:

"Sources not found or don't support the ddc version" within vim.

Thus this should be more seen as a note that ddc brought out a new major version and without further work it seems that ddc-sources might no longer be compatible which seems to hold true for this nice ddc source.

Ignore incomplete Word in Completions

I always see the part of the word I'm trying to complete in the options:
image

In this example I typed Ex and then opened the completions - it's now suggesting Ex as a completion option.

Is there a way around this? Did I configure something wrong?

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.