Advertise a bit
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)),
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user