summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-12-31 18:44:37 -0800
committerXiao Pan <xyz@flylightning.xyz>2024-12-31 18:44:37 -0800
commit4aba219998db8b88f3daf6eff4c7fa82c818cebb (patch)
tree4fc2194e9107595d478555cb854325c9661120d0 /home
parent256c20fb3ab454fef4c7fead9d80b2a1f3b4d2bd (diff)
upstream colorscheme seems changed fold title to yellow which is more readable, so no need to customize by myself
Diffstat (limited to 'home')
-rw-r--r--home/xyz/.config/nvim/init.vim11
1 files changed, 0 insertions, 11 deletions
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim
index 3571215b..e32ca3c9 100644
--- a/home/xyz/.config/nvim/init.vim
+++ b/home/xyz/.config/nvim/init.vim
@@ -53,15 +53,6 @@ function! Autocmd_set_fenc() abort
endif
endfunction
-" https://github.com/tinted-theming/base16-vim?tab=readme-ov-file#customization
-function! s:base16_customize() abort
- " make fold title more contrast and readable, by reverting some changes from:
- " https://github.com/tinted-theming/base16-vim/pull/43/files
- " tested with base16-tomorrow-night theme
- call Tinted_Hi("FoldColumn", g:tinted_gui0C, g:tinted_gui01, g:tinted_cterm0C, g:tinted_cterm01, "", "")
- call Tinted_Hi("Folded", g:tinted_gui03, g:tinted_gui01, g:tinted_cterm03, g:tinted_cterm01, "", "")
-endfunction
-
function! Md_toggle_fold() abort
" &markdown_folding won't work because markdown_folding is not an option
" two ways to check if g:markdown_folding variable exists and is true:
@@ -109,8 +100,6 @@ augroup mycmd
"" https://stackoverflow.com/q/158968/9008720
" or use setlocal cc=
autocmd FileType mail,gitcommit setlocal colorcolumn=72
- " https://github.com/tinted-theming/base16-vim?tab=readme-ov-file#customization
- autocmd ColorScheme * call s:base16_customize()
" open file readonly if it already been open
" nvim seems change default from '' to 'e', but I prefer 'o'
" :h w325 e325 SwapExists swapchoice default-autocmds