Skip to content

A source for ddc.vim to gather candidates from nvim-treesitter

Notifications You must be signed in to change notification settings

delphinus/ddc-treesitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'},
      \ })

About

A source for ddc.vim to gather candidates from nvim-treesitter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published