🚀 Neovim plugin to show real time crypto price right into your lualine 🚀
use 'daedlock/cryptoline.vim'
The plugin exposes btc_price
and eth_price
global functions. You can use them in your lualine configuration as the below example
local cryptoline = require "cryptoline"
require('lualine').setup({
sections = {
lualine_c = {
'filename', 'lsp_progress'
},
lualine_x = {
{
crypto_ticker.btc_price,
color = { bg = '#ffb86c', fg = '#4b361f', gui = 'bold' }
},
{
crypto_ticker.eth_price,
color = { bg = '#8be9fd', fg = '#365b63', gui = 'bold' }
},
{
'filetype'
}
}
}
})