mirror of
https://github.com/amix/vimrc
synced 2025-06-30 11:54:59 +08:00
Updated plugins
This commit is contained in:
@ -2,14 +2,13 @@
|
||||
|
||||
#### Install
|
||||
|
||||
These are the default instructions using Vim 8's `|packages|` feature. See
|
||||
sections below, if you use other plugin managers.
|
||||
These are the default instructions using Vim 8's `|packages|` feature. See sections below, if you use other plugin managers.
|
||||
|
||||
1. Create theme folder (in case you don't have it yet):
|
||||
|
||||
- `\*nix`:
|
||||
|
||||
- \*nix:
|
||||
```
|
||||
```bash
|
||||
# vim 8.2+
|
||||
mkdir -p ~/.vim/pack/themes/start
|
||||
# vim 8.0
|
||||
@ -21,9 +20,9 @@ mkdir -p ~/.vim/pack/themes/opt
|
||||
|
||||
2. Navigate to the folder above:
|
||||
|
||||
- `\*nix`:
|
||||
|
||||
- \*nix:
|
||||
```
|
||||
```bash
|
||||
# vim 8.2+
|
||||
cd ~/.vim/pack/themes/start
|
||||
# vim 8.0
|
||||
@ -34,9 +33,10 @@ cd ~/.vim/pack/themes/opt
|
||||
|
||||
3. Clone the repository using the "dracula" name:
|
||||
|
||||
```
|
||||
```bash
|
||||
git clone https://github.com/dracula/vim.git dracula
|
||||
```
|
||||
|
||||
(Or use your favorite GUI client, or download the ZIP)
|
||||
|
||||
4. Edit your `vimrc` file with the following content:
|
||||
@ -50,16 +50,19 @@ colorscheme dracula
|
||||
```
|
||||
|
||||
The location of the `vimrc` varies between platforms:
|
||||
- \*nix: `~/.vim/vimrc` or `~/.vimrc`
|
||||
|
||||
- `\*nix`: `~/.vim/vimrc` or `~/.vimrc`
|
||||
- Windows: `$HOME\vimfiles\vimrc` or `$HOME\_vimrc`
|
||||
|
||||
#### Install using other plugin managers
|
||||
|
||||
- If you [use vim + pathogen + submodules](http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/):
|
||||
|
||||
Navigate to your vim directory (\*nix: `~/.vim`; Windows: `$HOME\vimfiles`)
|
||||
Navigate to your vim directory (`\*nix`: `~/.vim`; Windows: `$HOME\vimfiles`)
|
||||
|
||||
git submodule add git@github.com:dracula/vim.git bundle/dracula
|
||||
```bash
|
||||
git submodule add git@github.com:dracula/vim.git bundle/dracula
|
||||
```
|
||||
|
||||
Place `colorscheme dracula` after `execute pathogen#infect()`.
|
||||
|
||||
@ -73,7 +76,7 @@ Plugin 'dracula/vim', { 'name': 'dracula' }
|
||||
Place `colorscheme dracula` after `call vundle#end()`.
|
||||
|
||||
- If you [use vim-plug](https://github.com/junegunn/vim-plug) (\`as\` will install
|
||||
the plugin in a directory called 'dracula' instead of just 'vim'):
|
||||
the plugin in a directory called 'dracula' instead of just 'vim'):
|
||||
|
||||
```vim
|
||||
Plug 'dracula/vim', { 'as': 'dracula' }
|
||||
@ -83,7 +86,7 @@ Plug 'dracula/vim', { 'as': 'dracula' }
|
||||
Place `colorscheme dracula` after `call plug#end()`.
|
||||
|
||||
- If you [use spacevim](https://spacevim.org), put the
|
||||
following in `~/.SpaceVim.d/init.toml`:
|
||||
following in `~/.SpaceVim.d/init.toml`:
|
||||
|
||||
```toml
|
||||
[options]
|
||||
|
@ -4,8 +4,7 @@
|
||||
|
||||

|
||||
|
||||
Screenshot taken with the [pangloss/vim-javascript](https://github.com/pangloss/vim-javascript)
|
||||
syntax plugin for javascript.
|
||||
Screenshot taken with the [pangloss/vim-javascript](https://github.com/pangloss/vim-javascript) syntax plugin for javascript.
|
||||
|
||||
## Install
|
||||
|
||||
@ -26,6 +25,10 @@ This theme is maintained by the following person(s) and a bunch of
|
||||
- [GitHub](https://github.com/dracula/dracula-theme/discussions) - Best for asking questions and discussing issues.
|
||||
- [Discord](https://draculatheme.com/discord-invite) - Best for hanging out with the community.
|
||||
|
||||
## Dracula PRO
|
||||
|
||||
[](https://draculatheme.com/pro)
|
||||
|
||||
## License
|
||||
|
||||
[MIT License](./LICENSE)
|
||||
|
@ -210,6 +210,7 @@ else
|
||||
endif
|
||||
|
||||
call s:h('DraculaDiffText', s:bg, s:orange)
|
||||
call s:h('DraculaInlayHint', s:comment, s:bgdark)
|
||||
|
||||
" }}}2
|
||||
|
||||
@ -283,6 +284,7 @@ if has('nvim')
|
||||
hi! link LspDiagnosticsUnderlineHint DiagnosticUnderlineHint
|
||||
hi! link LspDiagnosticsUnderlineInformation DiagnosticUnderlineInfo
|
||||
hi! link LspDiagnosticsUnderlineWarning DiagnosticUnderlineWarn
|
||||
hi! link LspInlayHint DraculaInlayHint
|
||||
|
||||
hi! link DiagnosticInfo DraculaCyan
|
||||
hi! link DiagnosticHint DraculaCyan
|
||||
@ -294,6 +296,24 @@ if has('nvim')
|
||||
hi! link DiagnosticUnderlineWarn DraculaWarnLine
|
||||
|
||||
hi! link WinSeparator DraculaWinSeparator
|
||||
|
||||
if has('nvim-0.9')
|
||||
hi! link @lsp.type.class DraculaCyan
|
||||
hi! link @lsp.type.decorator DraculaGreen
|
||||
hi! link @lsp.type.enum DraculaCyan
|
||||
hi! link @lsp.type.enumMember DraculaPurple
|
||||
hi! link @lsp.type.function DraculaGreen
|
||||
hi! link @lsp.type.interface DraculaCyan
|
||||
hi! link @lsp.type.macro DraculaCyan
|
||||
hi! link @lsp.type.method DraculaGreen
|
||||
hi! link @lsp.type.namespace DraculaCyan
|
||||
hi! link @lsp.type.parameter DraculaOrangeItalic
|
||||
hi! link @lsp.type.property DraculaOrange
|
||||
hi! link @lsp.type.struct DraculaCyan
|
||||
hi! link @lsp.type.type DraculaCyanItalic
|
||||
hi! link @lsp.type.typeParameter DraculaPink
|
||||
hi! link @lsp.type.variable DraculaFg
|
||||
endif
|
||||
else
|
||||
hi! link SpecialKey DraculaPink
|
||||
endif
|
||||
|
BIN
sources_non_forked/dracula/dracula-pro.png
Normal file
BIN
sources_non_forked/dracula/dracula-pro.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 331 KiB |
Reference in New Issue
Block a user