1
0
mirror of https://github.com/kmein/niveum synced 2026-03-29 16:51:07 +02:00

2 Commits

2 changed files with 5 additions and 6 deletions

View File

@@ -102,6 +102,7 @@ in {
lmodern lmodern
merriweather merriweather
ocr-a ocr-a
montserrat
roboto roboto
roboto-mono roboto-mono
noto-fonts noto-fonts

View File

@@ -129,9 +129,7 @@ autocmd! User GoyoEnter Limelight
autocmd! User GoyoLeave Limelight! autocmd! User GoyoLeave Limelight!
" Disable Copilot for files larger than 100kb " Disable Copilot by default
autocmd BufReadPre * let b:copilot_enabled = v:false
\ let f=getfsize(expand("<afile>")) " keymap to toggle it enabled
\ | if f > 100000 || f == -2 nnoremap <leader>gc :let b:copilot_enabled = !b:copilot_enabled<CR>
\ | let b:copilot_enabled = v:false
\ | endif