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