fix(log): improve logging
This commit is contained in:
parent
62af1965f8
commit
a925686a17
10 changed files with 144 additions and 225 deletions
|
|
@ -5,7 +5,7 @@ local logger = require('cp.log')
|
|||
local snippets = require('cp.snippets')
|
||||
|
||||
if not vim.fn.has('nvim-0.10.0') then
|
||||
logger.log('[cp.nvim]: requires nvim-0.10.0+', vim.log.levels.ERROR)
|
||||
logger.log('Requires nvim-0.10.0+', vim.log.levels.ERROR)
|
||||
return {}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue