Skip to content

Instantly share code, notes, and snippets.

View bjorntrondsen's full-sized avatar

Bjørn Trondsen bjorntrondsen

View GitHub Profile
@bjorntrondsen
bjorntrondsen / copilot-lualine.md
Last active March 28, 2024 17:18
Copilot lualine component

Works in Neovim 0.9.5 if you have copilot enabled by default and toggle it with :Copilot disable/enable. enabled disabled

Create a lualine component file {nvim-dir}/lua/lualine/components/copilot_status.lua

local M = require('lualine.component'):extend()
local highlight = require("lualine.highlight")

function M:init(options)