1
- plug.txt plug Last change: May 15 2024
1
+ plug.txt plug Last change: Jun 1 2024
2
2
PLUG - TABLE OF CONTENTS *plug* *plug-toc*
3
3
==============================================================================
4
4
@@ -121,11 +121,11 @@ The following examples demonstrate the additional features of vim-plug.
121
121
122
122
" Make sure you use single quotes
123
123
124
- " Shorthand notation for GitHub; translates to https://github.com/junegunn/vim-easy-align
125
- Plug 'junegunn/vim-easy-align '
124
+ " Shorthand notation for GitHub; translates to https://github.com/junegunn/seoul256. vim.git
125
+ Plug 'junegunn/seoul256. vim'
126
126
127
127
" Any valid git URL is allowed
128
- Plug 'https://github.com/junegunn/seoul256. vim.git'
128
+ Plug 'https://github.com/junegunn/vim-easy-align .git'
129
129
130
130
" Using a tagged release; wildcard allowed (requires git 1.9.2 or above)
131
131
Plug 'fatih/vim-go', { 'tag': '*' }
@@ -160,6 +160,10 @@ The following examples demonstrate the additional features of vim-plug.
160
160
" You can revert the settings after the call like so:
161
161
" filetype indent off " Disable file-type-specific indentation
162
162
" syntax off " Disable syntax highlighting
163
+
164
+ " Color schemes should be loaded after plug#end().
165
+ " We prepend it with 'silent!' to ignore errors when it's not yet installed.
166
+ silent! colorscheme seoul256
163
167
<
164
168
165
169
< Lua example for Neovim >____________________________________________________~
@@ -174,11 +178,11 @@ example above.
174
178
175
179
vim.call('plug#begin')
176
180
177
- -- Shorthand notation for GitHub; translates to https://github.com/junegunn/vim-easy-align
178
- Plug('junegunn/vim-easy-align ')
181
+ -- Shorthand notation for GitHub; translates to https://github.com/junegunn/seoul256. vim.git
182
+ Plug('junegunn/seoul256. vim')
179
183
180
184
-- Any valid git URL is allowed
181
- Plug('https://github.com/junegunn/seoul256. vim.git')
185
+ Plug('https://github.com/junegunn/vim-easy-align .git')
182
186
183
187
-- Using a tagged release; wildcard allowed (requires git 1.9.2 or above)
184
188
Plug('fatih/vim-go', { ['tag'] = '*' })
@@ -210,6 +214,10 @@ example above.
210
214
Plug('~/my-prototype-plugin')
211
215
212
216
vim.call('plug#end')
217
+
218
+ -- Color schemes should be loaded after plug#end().
219
+ -- We prepend it with 'silent!' to ignore errors when it's not yet installed.
220
+ vim.cmd('silent! colorscheme seoul256')
213
221
<
214
222
215
223
COMMANDS *plug-commands*
0 commit comments