Skip to content

leisurelicht/lualine-copilot.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lualine-copilot.nvim

A lualine component to show github copilot status, you can toggle the enabled state by clicking

This is a fork of the excellent lualine-copilot. deferent is this plugins depends on the copilot.lua not copilot.vim

Screenshots

Copilot enabled image

Copilot disabled image

Installation

lazy.nvim

-- lua
{ "leisurelicht/lualine-copilot.nvim" }
-- lua
use { "leisurelicht/lualine-copilot.nvim" }

Usage

Default values for lualine configuration is

lualine_x = {
  'encoding',
  'fileformat',
  'filetype'
}

So I recommend that you can add it to this table and arrange them in a reasonable order. Like is

lualine_x = {
  "copilot",
  "filetype",
  "fileformat",
  "encoding",
},

Or you can custom icons. k

-- lua
require("lualine").setup {
  sections = {
    lualine_x = {
      {
        "copilot",
        -- default is true.
        symbols = {
          -- use your icons to replace
          enabled = "",
          disabled = "",
        }
      },
    }
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages