Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-snippets / Readme.md
index e7e06a9f691a8977be828297b3ae6dd86f9682e6..1ffa942fa3068b00c92af7a3620da9b89de54852 100644 (file)
@@ -28,6 +28,13 @@ It's capable of:
 - Improved match for complete items with TextEdit support.
 - Edit snippets of current buffer by `:CocList snippets`, sorted by mru.
 
+## Supporting
+
+If you like my work, consider supporting me on Patreon or PayPal:
+
+<a href="https://www.patreon.com/chemzqm"><img src="https://c5.patreon.com/external/logo/become_a_patron_button.png" alt="Patreon donate button" /> </a>
+<a href="https://www.paypal.com/paypalme/chezqm"><img src="https://werwolv.net/assets/paypal_banner.png" alt="PayPal donate button" /> </a>
+
 ## Install
 
 In your vim/neovim, run command:
@@ -53,6 +60,9 @@ let g:coc_snippet_prev = '<c-k>'
 
 " Use <C-j> for both expand and jump (make expand higher priority.)
 imap <C-j> <Plug>(coc-snippets-expand-jump)
+
+" Use <leader>x for convert visual selected code to snippet
+xmap <leader>x  <Plug>(coc-convert-snippet)
 ```
 
 Make `<tab>` used for trigger completion, completion confirm, snippet expand and jump like VSCode.
@@ -119,7 +129,6 @@ some regex patterns can't be supported by javascript, including
 - `snippets.autoTrigger`: enable auto trigger for auto trigger ultisnips snippets, default `true`.
 - `snippets.triggerCharacters`: trigger characters for completion, default `[]`.
 - `snippets.loadFromExtensions`: load snippets from coc.nvim extensions, default: `true`.
-- `snippets.convertToSnippetsAction`: Add convert to snippet to code action list.
 - `snippets.textmateSnippetsRoots`: absolute directories that contains textmate/VSCode snippets to load.
 - `snippets.ultisnips.enable`: enable load UltiSnips snippets, default `true`.
 - `snippets.ultisnips.usePythonx`: use `pythonx` for eval python code when possible, default `true`.
@@ -128,7 +137,7 @@ some regex patterns can't be supported by javascript, including
 - `snippets.ultisnips.directories`: directories that searched for snippet files,
   could be subfolder in every \$runtimepath or absolute paths, default: `["UltiSnips"]`
 - `snippets.snipmate.enable`: enable load snipmate snippets, default `true`.
-- `snippets.snippets.author`: author name used for `g:snips_author`
+- `snippets.snipmate.author`: author name used for `g:snips_author`
 
 ## Commands