Reduce use of VimL (#168)
* perf(context): reduce use of `cmd` and `fn` * perf(float): reduce use of `cmd` and `fn` * perf(init): reduce use of `cmd` and `fn` * perf(menu): reduce use of `cmd` and `fn` * perf(plugin): reduce use of `cmd` and `fn` * docs(README): reduce use of `cmd` and `fn`
This commit is contained in:
@@ -16,10 +16,10 @@ vim.cmd [[
|
||||
]]
|
||||
|
||||
if vim.fn.hlexists('CmpDocumentation') == 0 then
|
||||
vim.cmd [[highlight link CmpDocumentation NormalFloat]]
|
||||
vim.api.nvim_command [[highlight link CmpDocumentation NormalFloat]]
|
||||
end
|
||||
|
||||
if vim.fn.hlexists('CmpDocumentationBorder') == 0 then
|
||||
vim.cmd [[highlight link CmpDocumentationBorder NormalFloat]]
|
||||
vim.api.nvim_command [[highlight link CmpDocumentationBorder NormalFloat]]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user