1
0
mirror of https://github.com/amix/vimrc synced 2025-07-13 06:35:01 +08:00

Updated plugins

This commit is contained in:
Amir
2024-10-06 10:25:50 +02:00
parent ee7e062909
commit 46294d589d
202 changed files with 306918 additions and 203617 deletions

View File

@ -78,6 +78,10 @@ Include bold attributes in highlighting >
Include italic attributes in highlighting >
let g:dracula_italic = 1
* *g:dracula_strikethrough*
Include strikethrough attributes in highlighting >
let g:dracula_strikethrough = 1
* *g:dracula_underline*
Include underline attributes in highlighting >
let g:dracula_underline = 1
@ -110,19 +114,44 @@ Include background fill colors >
CUSTOMIZATION *dracula-customization*
Like all colorschemes, Dracula is easy to customize with |autocmd|. Make use
of the |ColorScheme| event as in the following examples.
of the |ColorScheme| event as in the following examples. Like all autocommands,
it's best to put all of your personal changes in an |augroup|: >
It would be a good idea to put all of your personal changes in an |augroup|,
which you can do with the following code: >
augroup dracula_customization
au!
" autocmds...
augroup DraculaCustomization
autocmd!
" Change the highlight group used with vim-gitgutter.
autocmd ColorScheme dracula highlight! link GitGutterDelete DraculaRed
augroup END
>
- To add underline styling to |hl-CursorLine|, you can use the following: >
autocmd ColorScheme dracula hi CursorLine cterm=underline term=underline
colorscheme dracula
<
The autocommand must be defined before the colorscheme is set. To overwrite
any highlight link that is already established in `colors/dracula.vim`, you
will need to use the bang (!) modifier on the |hi-link| command.
For more than one customization, it will be easier to define a function that
can be called from the autocommand: >
function! s:customize_dracula() abort
" Link a highlight group to a predefined highlight group.
" See `colors/dracula.vim` for all predefined highlight groups.
" To overwrite a highlight link created in `colors/dracula.vim`, you
" will need to use the bang (!) modifier
highlight! link GitGutterDelete DraculaRed
" Customize existing highlight groups, for example adding underline.
highlight CursorLine cterm=underline term=underline
endfunction
augroup DraculaCustomization
autocmd!
autocmd ColorScheme dracula call s:customize_dracula()
augroup END
colorscheme dracula
<
==============================================================================
LICENSE *dracula-license*