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

View File

@@ -31,7 +31,7 @@ return function()
documentation = { documentation = {
border = { '', '', '', ' ', '', '', '', ' ' }, 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))), maxwidth = math.floor((WIDE_HEIGHT * 2) * (vim.o.columns / (WIDE_HEIGHT * 2 * 16 / 9))),
maxheight = math.floor(WIDE_HEIGHT * (WIDE_HEIGHT / vim.o.lines)), maxheight = math.floor(WIDE_HEIGHT * (WIDE_HEIGHT / vim.o.lines)),
}, },

View File

@@ -15,11 +15,3 @@ vim.cmd [[
augroup END 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