Advertise a bit

This commit is contained in:
hrsh7th
2021-09-14 13:08:04 +09:00
parent 445179dca8
commit 2c92fef040
3 changed files with 3 additions and 11 deletions

View File

@@ -13,8 +13,7 @@ Can be used. Feedback wanted!
Concept
====================
- Provides a completion engine to handle completion sources
- Support pairs-wise plugin automatically
- Works properly
- Fully customizable via Lua functions
- Fully supported LSP's Completion capabilities
- Snippets
@@ -26,6 +25,7 @@ Concept
- Execute commands (Some LSP server needs it to auto-importing. e.g. `sumneko_lua` or `purescript-language-server`)
- Preselect
- CompletionItemTags
- Support pairs-wise plugin automatically
Setup

View File

@@ -31,7 +31,7 @@ return function()
documentation = {
border = { '', '', '', ' ', '', '', '', ' ' },
winhighlight = 'NormalFloat:CmpDocumentation,FloatBorder:CmpDocumentationBorder',
winhighlight = 'NormalFloat:NormalFloat,FloatBorder:NormalFloat',
maxwidth = math.floor((WIDE_HEIGHT * 2) * (vim.o.columns / (WIDE_HEIGHT * 2 * 16 / 9))),
maxheight = math.floor(WIDE_HEIGHT * (WIDE_HEIGHT / vim.o.lines)),
},

View File

@@ -15,11 +15,3 @@ vim.cmd [[
augroup END
]]
if vim.fn.hlexists('CmpDocumentation') == 0 then
vim.api.nvim_command [[highlight link CmpDocumentation NormalFloat]]
end
if vim.fn.hlexists('CmpDocumentationBorder') == 0 then
vim.api.nvim_command [[highlight link CmpDocumentationBorder NormalFloat]]
end