Added copilot status icon to lualine
This commit is contained in:
@@ -53,6 +53,7 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
-- Copilot setup
|
-- Copilot setup
|
||||||
"github/copilot.vim",
|
"github/copilot.vim",
|
||||||
|
"ofseed/copilot-status.nvim",
|
||||||
-- {
|
-- {
|
||||||
-- "zbirenbaum/copilot-cmp",
|
-- "zbirenbaum/copilot-cmp",
|
||||||
-- config = function ()
|
-- config = function ()
|
||||||
@@ -107,8 +108,9 @@ require'nvim-treesitter.configs'.setup {
|
|||||||
-- LuaLine
|
-- LuaLine
|
||||||
require('lualine').setup {
|
require('lualine').setup {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = false,
|
icons_enabled = true,
|
||||||
theme = 'nightfly',
|
theme = 'nightfly',
|
||||||
|
-- theme = 'gruvbox',
|
||||||
section_separators = { left = '', right = '' },
|
section_separators = { left = '', right = '' },
|
||||||
component_separators = { left = '', right = '' }
|
component_separators = { left = '', right = '' }
|
||||||
},
|
},
|
||||||
@@ -123,7 +125,13 @@ require('lualine').setup {
|
|||||||
directory = ' ▶', -- Text to show when the buffer is a directory
|
directory = ' ▶', -- Text to show when the buffer is a directory
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
lualine_x = {
|
||||||
|
"copilot",
|
||||||
|
"encoding",
|
||||||
|
"fileformat",
|
||||||
|
"filetype",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
tabline = {
|
tabline = {
|
||||||
lualine_a = {
|
lualine_a = {
|
||||||
|
Reference in New Issue
Block a user