|
@@ -1,4 +1,4 @@
|
|
|
-plug.txt plug Last change: May 15 2024
|
|
|
|
|
|
|
+plug.txt plug Last change: Jun 1 2024
|
|
|
PLUG - TABLE OF CONTENTS *plug* *plug-toc*
|
|
PLUG - TABLE OF CONTENTS *plug* *plug-toc*
|
|
|
==============================================================================
|
|
==============================================================================
|
|
|
|
|
|
|
@@ -121,11 +121,11 @@ The following examples demonstrate the additional features of vim-plug.
|
|
|
|
|
|
|
|
" Make sure you use single quotes
|
|
" Make sure you use single quotes
|
|
|
|
|
|
|
|
- " Shorthand notation for GitHub; translates to https://github.com/junegunn/vim-easy-align
|
|
|
|
|
- Plug 'junegunn/vim-easy-align'
|
|
|
|
|
|
|
+ " Shorthand notation for GitHub; translates to https://github.com/junegunn/seoul256.vim.git
|
|
|
|
|
+ Plug 'junegunn/seoul256.vim'
|
|
|
|
|
|
|
|
" Any valid git URL is allowed
|
|
" Any valid git URL is allowed
|
|
|
- Plug 'https://github.com/junegunn/seoul256.vim.git'
|
|
|
|
|
|
|
+ Plug 'https://github.com/junegunn/vim-easy-align.git'
|
|
|
|
|
|
|
|
" Using a tagged release; wildcard allowed (requires git 1.9.2 or above)
|
|
" Using a tagged release; wildcard allowed (requires git 1.9.2 or above)
|
|
|
Plug 'fatih/vim-go', { 'tag': '*' }
|
|
Plug 'fatih/vim-go', { 'tag': '*' }
|
|
@@ -160,6 +160,10 @@ The following examples demonstrate the additional features of vim-plug.
|
|
|
" You can revert the settings after the call like so:
|
|
" You can revert the settings after the call like so:
|
|
|
" filetype indent off " Disable file-type-specific indentation
|
|
" filetype indent off " Disable file-type-specific indentation
|
|
|
" syntax off " Disable syntax highlighting
|
|
" syntax off " Disable syntax highlighting
|
|
|
|
|
+
|
|
|
|
|
+ " Color schemes should be loaded after plug#end().
|
|
|
|
|
+ " We prepend it with 'silent!' to ignore errors when it's not yet installed.
|
|
|
|
|
+ silent! colorscheme seoul256
|
|
|
<
|
|
<
|
|
|
|
|
|
|
|
< Lua example for Neovim >____________________________________________________~
|
|
< Lua example for Neovim >____________________________________________________~
|
|
@@ -174,11 +178,11 @@ example above.
|
|
|
|
|
|
|
|
vim.call('plug#begin')
|
|
vim.call('plug#begin')
|
|
|
|
|
|
|
|
- -- Shorthand notation for GitHub; translates to https://github.com/junegunn/vim-easy-align
|
|
|
|
|
- Plug('junegunn/vim-easy-align')
|
|
|
|
|
|
|
+ -- Shorthand notation for GitHub; translates to https://github.com/junegunn/seoul256.vim.git
|
|
|
|
|
+ Plug('junegunn/seoul256.vim')
|
|
|
|
|
|
|
|
-- Any valid git URL is allowed
|
|
-- Any valid git URL is allowed
|
|
|
- Plug('https://github.com/junegunn/seoul256.vim.git')
|
|
|
|
|
|
|
+ Plug('https://github.com/junegunn/vim-easy-align.git')
|
|
|
|
|
|
|
|
-- Using a tagged release; wildcard allowed (requires git 1.9.2 or above)
|
|
-- Using a tagged release; wildcard allowed (requires git 1.9.2 or above)
|
|
|
Plug('fatih/vim-go', { ['tag'] = '*' })
|
|
Plug('fatih/vim-go', { ['tag'] = '*' })
|
|
@@ -210,6 +214,10 @@ example above.
|
|
|
Plug('~/my-prototype-plugin')
|
|
Plug('~/my-prototype-plugin')
|
|
|
|
|
|
|
|
vim.call('plug#end')
|
|
vim.call('plug#end')
|
|
|
|
|
+
|
|
|
|
|
+ -- Color schemes should be loaded after plug#end().
|
|
|
|
|
+ -- We prepend it with 'silent!' to ignore errors when it's not yet installed.
|
|
|
|
|
+ vim.cmd('silent! colorscheme seoul256')
|
|
|
<
|
|
<
|
|
|
|
|
|
|
|
COMMANDS *plug-commands*
|
|
COMMANDS *plug-commands*
|