mirror of
https://github.com/kmein/niveum
synced 2026-03-28 23:31:07 +01:00
Compare commits
2 Commits
5d80f6ec0f
...
edce4538d8
| Author | SHA1 | Date | |
|---|---|---|---|
| edce4538d8 | |||
| d1dd41bc6b |
@@ -102,6 +102,7 @@ in {
|
|||||||
lmodern
|
lmodern
|
||||||
merriweather
|
merriweather
|
||||||
ocr-a
|
ocr-a
|
||||||
|
montserrat
|
||||||
roboto
|
roboto
|
||||||
roboto-mono
|
roboto-mono
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user