kristijanhusak / completion-tags

Tags completion for completion-nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

completion-tags

Tags autocompletion source for completion-nvim

It works almost the same as built-in tags completion, with additional floating window that contains paths where tag is pulled from.

screenshot

Installation

Use your favorite plugin manager to install it, and add tags to the chain completion list:

function! PackagerInit()
  call packager#add('kristijanhusak/vim-packager')
  call packager#add('nvim-lua/completion-nvim')
  call packager#add('kristijanhusak/completion-tags')
endfunction

let g:completion_chain_complete_list = {
      \ 'default': [
      \    {'complete_items': ['lsp']},
      \    {'complete_items': ['tags']},
      \  ]}

" Or combine with lsp
let g:completion_chain_complete_list = {
      \ 'default': [
      \    {'complete_items': ['lsp', 'tags']},
      \  ]}

About

Tags completion for completion-nvim

License:MIT License


Languages

Language:Lua 98.6%Language:Vim Script 1.4%