X-Git-Url: https://git.josue.xyz/?p=dotfiles%2F.git;a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-snippets%2FReadme.md;h=1ffa942fa3068b00c92af7a3620da9b89de54852;hp=e7e06a9f691a8977be828297b3ae6dd86f9682e6;hb=4d07c77cf4d78cab8639e13ddc3c22495e585b0b;hpb=b3950616b54221c40a7dab9099bda675007e5b6e diff --git a/.config/coc/extensions/node_modules/coc-snippets/Readme.md b/.config/coc/extensions/node_modules/coc-snippets/Readme.md index e7e06a9f..1ffa942f 100644 --- a/.config/coc/extensions/node_modules/coc-snippets/Readme.md +++ b/.config/coc/extensions/node_modules/coc-snippets/Readme.md @@ -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: + +Patreon donate button +PayPal donate button + ## Install In your vim/neovim, run command: @@ -53,6 +60,9 @@ let g:coc_snippet_prev = '' " Use for both expand and jump (make expand higher priority.) imap (coc-snippets-expand-jump) + +" Use x for convert visual selected code to snippet +xmap x (coc-convert-snippet) ``` Make `` 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