feat(nvim): add formatting for tabnine
Add completion formatting for the cmp_tabnine source so that its suggestions are easily identifiable.
This commit is contained in:
parent
3c0d75b7e6
commit
506b1d3286
|
@ -36,6 +36,7 @@ cmp.setup {
|
||||||
formatting = {
|
formatting = {
|
||||||
format = require("lspkind").cmp_format({with_text = true, menu = ({
|
format = require("lspkind").cmp_format({with_text = true, menu = ({
|
||||||
buffer = "[buf]",
|
buffer = "[buf]",
|
||||||
|
cmp_tabnine = "[tn]",
|
||||||
luasnip = "[snip]",
|
luasnip = "[snip]",
|
||||||
nvim_lsp = "[lsp]",
|
nvim_lsp = "[lsp]",
|
||||||
nvim_lua = "[lua]",
|
nvim_lua = "[lua]",
|
||||||
|
|
Loading…
Reference in a new issue