feat: warn ansi colors unset on fail
This commit is contained in:
parent
f60f6dd5bb
commit
f3321f269d
2 changed files with 10 additions and 11 deletions
|
|
@ -8,7 +8,7 @@ local scrape = require('cp.scrape')
|
|||
local snippets = require('cp.snippets')
|
||||
|
||||
if not vim.fn.has('nvim-0.10.0') then
|
||||
vim.notify('[cp.nvim]: requires nvim-0.10.0+', vim.log.levels.ERROR)
|
||||
logger.log('[cp.nvim]: requires nvim-0.10.0+', vim.log.levels.ERROR)
|
||||
return {}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue