Skip to content

pze/lualine-copilot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lualine-copilot

A simple lualine component to show github copilot status.

Screenshots

Copilot enabled image

Copilot disabled image

Installation

-- lua
use { "1478zhcy/lualine-copilot" }
" vimscript
Plug '1478zhcy/lualine-copilot'

Usage

-- lua
require("lualine").setup {
  sections = {
    lualine_x = {
      {
        "copilot",
        -- default is true.
        show_running = true,
        symbols = {
          running = "🚀",
        }
      },
    }
  }
}

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. My configuration is

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

TODO

  • Mouse support (Neovim Nightly)
  • Optimize startup speed
  • Add different highlights
  • Add custom configuration options
  • Change the logic for getting status information
  • Show offline status

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%