diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-06-15 08:27:33 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-06-15 08:27:33 +0200 |
| commit | fa4c1b824baa744562679f25715e7027c7704ab8 (patch) | |
| tree | 8ad1499a9290338eb64dafe704aa4561d740d591 /nvim/lua/config/statusline.lua | |
| parent | 2d4a82ab20c70787a2af2f5b31233e6df41cdcd6 (diff) | |
| download | dotfiles-fa4c1b824baa744562679f25715e7027c7704ab8.tar.gz dotfiles-fa4c1b824baa744562679f25715e7027c7704ab8.tar.bz2 dotfiles-fa4c1b824baa744562679f25715e7027c7704ab8.zip | |
feat: remove copilot plugin, keymaps and statusline indicator
Diffstat (limited to 'nvim/lua/config/statusline.lua')
| -rw-r--r-- | nvim/lua/config/statusline.lua | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/nvim/lua/config/statusline.lua b/nvim/lua/config/statusline.lua index fe27cd5..0ec6579 100644 --- a/nvim/lua/config/statusline.lua +++ b/nvim/lua/config/statusline.lua | |||
| @@ -145,22 +145,6 @@ local function position() | |||
| 145 | return string.format(" %d:%d ", vim.fn.line("."), vim.fn.col(".")) | 145 | return string.format(" %d:%d ", vim.fn.line("."), vim.fn.col(".")) |
| 146 | end | 146 | end |
| 147 | 147 | ||
| 148 | ------------------------------------------------------------------------- | ||
| 149 | -- Copilot-Status (buffer-lokal, kein redraw-spam) | ||
| 150 | ------------------------------------------------------------------------- | ||
| 151 | |||
| 152 | local function copilot() | ||
| 153 | if vim.fn.exists("*copilot#Enabled") == 0 then return "" end | ||
| 154 | |||
| 155 | if vim.fn["copilot#Enabled"]() == 0 then return " OFF " end | ||
| 156 | |||
| 157 | if vim.b.copilot_suggestion and vim.b.copilot_suggestion.is_visible then return " SUG " end | ||
| 158 | |||
| 159 | if vim.b.copilot_suggestion_auto_trigger == false then return " MAN " end | ||
| 160 | |||
| 161 | return " ON " | ||
| 162 | end | ||
| 163 | |||
| 164 | ---------------------------------------------------------------------- | 148 | ---------------------------------------------------------------------- |
| 165 | -- Öffentliche Statusline-Funktion | 149 | -- Öffentliche Statusline-Funktion |
| 166 | ---------------------------------------------------------------------- | 150 | ---------------------------------------------------------------------- |
| @@ -178,7 +162,6 @@ function M.statusline() | |||
| 178 | "%=", | 162 | "%=", |
| 179 | 163 | ||
| 180 | -- RIGHT: Feedback & Meta | 164 | -- RIGHT: Feedback & Meta |
| 181 | copilot(), | ||
| 182 | diagnostics(), | 165 | diagnostics(), |
| 183 | treesitter(), | 166 | treesitter(), |
| 184 | fileinfo(), | 167 | fileinfo(), |
