add wakatime, fix cokeline config after update

master
Drake 2 years ago
parent 0656d65d01
commit 9b2b0fb3b5

@ -22,6 +22,7 @@ require('paq')({
'hrsh7th/cmp-nvim-lua',
'hrsh7th/vim-vsnip',
'hrsh7th/cmp-vsnip',
'wakatime/vim-wakatime',
})
require('colorscheme')
require('config')

@ -45,14 +45,21 @@ require('lualine').setup({
-- Credit to the original author of cokeline for creating most of this config
require('cokeline').setup({
default_hl = {
focused = {
--[[focused = {
fg = get_hex('Normal', 'fg'),
bg = get_hex('Background', 'bg'),
},
unfocused = {
fg = get_hex('Comment', 'fg'),
bg = get_hex('Background', 'bg'),
},
},--]]
fg = function (buffer)
if buffer.is_focused then
return get_hex('Normal', 'fg')
end
return get_hex('Comment', 'fg')
end,
bg = function(_) return get_hex('Background', 'bg') end
},
components = {

Loading…
Cancel
Save