cmp-cmdline icon indicating copy to clipboard operation
cmp-cmdline copied to clipboard

Can't complete `:tag` with `tagfunc` set to `v:lua.vim.lsp.tagfunc`

Open diktomat opened this issue 2 years ago • 2 comments

When using the LSP for tagfunc (see :h vim.lsp.tagfunc()), cmp complains that there's no tags file when using the :tag command. As this command is fully functioning without a tags file, this should not throw errors and instead complete just fine.

image

diktomat avatar May 13 '22 14:05 diktomat

I have the same issue. That happens with ts (tree sitter) command too

Spo0on avatar May 24 '22 12:05 Spo0on

Yes. It seems like no tagfunc works and the plugin goes straight for the tagfile. Does anyone know if it is possible to ignore a list of command or a regular expression to disable completion for it?

EDIT: Okay, this plugin is very slim and simply relies on the inbuilt :help getcompletion() function. 🤔

weilbith avatar Aug 29 '22 05:08 weilbith