Skip to content

daedlock/cryptoline.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

cryptoline.nvim

🚀 Neovim plugin to show real time crypto price right into your lualine 🚀


Installation

Packer

use 'daedlock/cryptoline.vim'

Configuration

Lualine

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'
            }

        }
    }
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages