diff --git a/deploy_dotfiles.sh b/deploy_dotfiles.sh index f68bbdb..abab7ef 100755 --- a/deploy_dotfiles.sh +++ b/deploy_dotfiles.sh @@ -17,11 +17,6 @@ if ! [ -x "$(command -v zsh)" ]; then MISSING="${MISSING} zsh" fi -if ! [ -x "$(command -v nvim)" ]; then - echo "neovim manque et doit être installé" - MISSING="${MISSING} neovim python3-venv python3-neovim" -fi - if ! [ -x "$(command -v exa)" ]; then echo "exa manque et doit être installé" MISSING="${MISSING} exa" diff --git a/dot_local/bin/executable_nvim b/dot_local/bin/executable_nvim new file mode 100755 index 0000000..3493ab5 Binary files /dev/null and b/dot_local/bin/executable_nvim differ diff --git a/private_dot_config/nvim/.gitignore b/private_dot_config/nvim/.gitignore new file mode 100644 index 0000000..cc5457a --- /dev/null +++ b/private_dot_config/nvim/.gitignore @@ -0,0 +1,8 @@ +tt.* +.tests +doc/tags +debug +.repro +foo.* +*.log +data diff --git a/private_dot_config/nvim/.neoconf.json b/private_dot_config/nvim/.neoconf.json new file mode 100644 index 0000000..aa1b504 --- /dev/null +++ b/private_dot_config/nvim/.neoconf.json @@ -0,0 +1,15 @@ +{ + "neodev": { + "library": { + "enabled": true, + "plugins": true + } + }, + "neoconf": { + "plugins": { + "sumneko_lua": { + "enabled": true + } + } + } +} diff --git a/private_dot_config/nvim/LICENSE b/private_dot_config/nvim/LICENSE new file mode 100644 index 0000000..261eeb9 --- /dev/null +++ b/private_dot_config/nvim/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/private_dot_config/nvim/README.md b/private_dot_config/nvim/README.md new file mode 100644 index 0000000..4a9c00d --- /dev/null +++ b/private_dot_config/nvim/README.md @@ -0,0 +1,45 @@ +# LazyVim + +A starter template for [LazyVim](https://github.com/LazyVim/LazyVim) + +## 🚀 Getting Started + +This repo contains an example setup for +[LazyVim](https://github.com/LazyVim/LazyVim) + +### 1. Make a backup of your current Neovim files: + +```sh +mv ~/.config/nvim ~/.config/nvim.bak +mv ~/.local/share/nvim ~/.local/share/nvim.bak +``` + +### 2. Clone the starter + +```sh +git clone https://github.com/LazyVim/starter ~/.config/nvim +``` + +### 3. Start Neovim! + +```sh +nvim +``` + +Refer to the comments in the files on how to customize **LazyVim**. + +## 📂 File Structure + +
+~/.config/nvim
+├── lua
+│   ├── config
+│   │   ├── autocmds.lua
+│   │   ├── keymaps.lua
+│   │   ├── lazy.lua
+│   │   └── options.lua
+│   └── plugins
+│       └── example.lua
+├── init.lua
+└── stylua.toml
+
diff --git a/private_dot_config/nvim/colors/darkroom.vim b/private_dot_config/nvim/colors/darkroom.vim deleted file mode 100644 index 37c4e62..0000000 --- a/private_dot_config/nvim/colors/darkroom.vim +++ /dev/null @@ -1,38 +0,0 @@ -" Vim WriteRoom/DarkRoom/OmniWrite like colorscheme -" Maintainer: Christian Brabandt -" Last Change: 2012 - -set background=dark -hi clear -if exists("syntax_on") - syntax reset -endif -let g:colors_name="distractfree" - -hi Statement ctermfg=DarkCyan ctermbg=Black guifg=DarkCyan guibg=Black -hi Constant ctermfg=DarkCyan ctermbg=Black guifg=DarkCyan guibg=Black -hi Identifier ctermfg=Green ctermbg=Black guifg=Green guibg=Black -hi Type ctermfg=DarkCyan ctermbg=Black guifg=DarkCyan guibg=Black -hi String ctermfg=Cyan ctermbg=Black guifg=Cyan guibg=Black -hi Boolean ctermfg=DarkCyan ctermbg=Black guifg=DarkCyan guibg=Black -hi Number ctermfg=DarkCyan ctermbg=Black guifg=DarkCyan guibg=Black -hi Special ctermfg=DarkGreen ctermbg=Black guifg=darkGreen guibg=Black -hi Scrollbar ctermfg=DarkCyan ctermbg=Black guifg=DarkCyan guibg=Black -hi Cursor ctermfg=Black ctermbg=Green guifg=Black guibg=Green -hi WarningMsg ctermfg=Yellow ctermbg=Black guifg=Yellow guibg=Black -hi Directory ctermfg=Green ctermbg=DarkBlue guifg=Green guibg=DarkBlue -hi Title ctermfg=White ctermbg=DarkBlue guifg=White guibg=DarkBlue -hi Cursorline ctermfg=Black ctermbg=DarkGreen guibg=darkGreen guifg=black -hi Normal ctermfg=Green ctermbg=Black guifg=Green guibg=Black -hi PreProc ctermfg=DarkGreen ctermbg=Black guifg=DarkGreen guibg=Black -hi Comment ctermfg=darkGreen ctermbg=Black guifg=darkGreen guibg=Black -hi LineNr ctermfg=Green ctermbg=Black guifg=Green guibg=Black -hi ErrorMsg ctermfg=Red ctermbg=Black guifg=Red guibg=Black -hi Visual ctermfg=White ctermbg=DarkGray cterm=underline guifg=White guibg=DarkGray gui=underline -hi Folded ctermfg=DarkCyan ctermbg=Black cterm=underline guifg=DarkCyan guibg=Black gui=underline - -" Reset by distract free -" hi NonText ctermfg=Black ctermbg=Black guifg=black guibg=Black -" hi VertSplit ctermfg=Black ctermbg=Black guifg=black guibg=Black -" hi StatusLine cterm=bold,underline ctermfg=White ctermbg=Black term=bold gui=bold,underline guifg=White guibg=Black -" hi StatusLineNC cterm=bold,underline ctermfg=Gray ctermbg=Black term=bold gui=bold,underline guifg=Gray guibg=Black diff --git a/private_dot_config/nvim/colors/desert-warm-256.vim b/private_dot_config/nvim/colors/desert-warm-256.vim deleted file mode 100644 index 9bc930a..0000000 --- a/private_dot_config/nvim/colors/desert-warm-256.vim +++ /dev/null @@ -1,359 +0,0 @@ -" Vim color file -" Original Author: Henry So, Jr. -" Maintainer: Rainux Luo -" URL: https://github.com/rainux/vim-desert-warm-256 - -" It's a color scheme for Vim, based on the "desert" color scheme by Hans -" Fugal with a few small tweaks. The tweaks are try to make it looks a bit -" warm and be more friendly for my eyes. Using the code from "desert256" to -" make the gui highlight definitions also work with 88 and 256-color xterms. -" -" The original "desert" theme is available as part of the vim distribution or -" at http://hans.fugal.net/vim/colors/. -" -" The "desert256" theme is available at -" http://www.vim.org/scripts/script.php?script_id=1243. -" -" The real feature of this color scheme, with a wink to the "inkpot" theme, is -" the programmatic approximation of the gui colors to the palettes of 88- and -" 256- color xterms. The functions that do this (folded away, for -" readability) are calibrated to the colors used for Thomas E. Dickey's xterm -" (version 200), which is available at http://dickey.his.com/xterm/xterm.html. -" -" Support rgb color names from rgb.txt file. Use a Ruby script to pre-parse -" rgb.txt then convert color names mapping to a Vim dictionary, store it in -" colors/rgb_colors file. -" -" Consider use this color scheme as infrastructure to create new color -" schemes. The benefit is your color schemes will looks nearly the same both -" in gVim and Vim running in 256- color xterms, without any additional effort. - -set background=dark -if version > 580 - " no guarantees for version 5.8 and below, but this makes it stop - " complaining - hi clear - if exists('syntax_on') - syntax reset - endif -endif -let g:colors_name='desert-warm-256' - -exec 'source ' . expand(':p:h') . '/rgb_colors' - -if has('gui_running') || &t_Co == 88 || &t_Co == 256 - " functions {{{ - " returns an approximate grey index for the given grey level - fun grey_number(x) - if &t_Co == 88 - if a:x < 23 - return 0 - elseif a:x < 69 - return 1 - elseif a:x < 103 - return 2 - elseif a:x < 127 - return 3 - elseif a:x < 150 - return 4 - elseif a:x < 173 - return 5 - elseif a:x < 196 - return 6 - elseif a:x < 219 - return 7 - elseif a:x < 243 - return 8 - else - return 9 - endif - else - if a:x < 14 - return 0 - else - let l:n = (a:x - 8) / 10 - let l:m = (a:x - 8) % 10 - if l:m < 5 - return l:n - else - return l:n + 1 - endif - endif - endif - endfun - - " returns the actual grey level represented by the grey index - fun grey_level(n) - if &t_Co == 88 - if a:n == 0 - return 0 - elseif a:n == 1 - return 46 - elseif a:n == 2 - return 92 - elseif a:n == 3 - return 115 - elseif a:n == 4 - return 139 - elseif a:n == 5 - return 162 - elseif a:n == 6 - return 185 - elseif a:n == 7 - return 208 - elseif a:n == 8 - return 231 - else - return 255 - endif - else - if a:n == 0 - return 0 - else - return 8 + (a:n * 10) - endif - endif - endfun - - " returns the palette index for the given grey index - fun grey_color(n) - if &t_Co == 88 - if a:n == 0 - return 16 - elseif a:n == 9 - return 79 - else - return 79 + a:n - endif - else - if a:n == 0 - return 16 - elseif a:n == 25 - return 231 - else - return 231 + a:n - endif - endif - endfun - - " returns an approximate color index for the given color level - fun rgb_number(x) - if &t_Co == 88 - if a:x < 69 - return 0 - elseif a:x < 172 - return 1 - elseif a:x < 230 - return 2 - else - return 3 - endif - else - if a:x < 75 - return 0 - else - let l:n = (a:x - 55) / 40 - let l:m = (a:x - 55) % 40 - if l:m < 20 - return l:n - else - return l:n + 1 - endif - endif - endif - endfun - - " returns the actual color level for the given color index - fun rgb_level(n) - if &t_Co == 88 - if a:n == 0 - return 0 - elseif a:n == 1 - return 139 - elseif a:n == 2 - return 205 - else - return 255 - endif - else - if a:n == 0 - return 0 - else - return 55 + (a:n * 40) - endif - endif - endfun - - " returns the palette index for the given R/G/B color indices - fun rgb_color(x, y, z) - if &t_Co == 88 - return 16 + (a:x * 16) + (a:y * 4) + a:z - else - return 16 + (a:x * 36) + (a:y * 6) + a:z - endif - endfun - - " returns the palette index to approximate the given R/G/B color levels - fun color(r, g, b) - " get the closest grey - let l:gx = grey_number(a:r) - let l:gy = grey_number(a:g) - let l:gz = grey_number(a:b) - - " get the closest color - let l:x = rgb_number(a:r) - let l:y = rgb_number(a:g) - let l:z = rgb_number(a:b) - - if l:gx == l:gy && l:gy == l:gz - " there are two possibilities - let l:dgr = grey_level(l:gx) - a:r - let l:dgg = grey_level(l:gy) - a:g - let l:dgb = grey_level(l:gz) - a:b - let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) - let l:dr = rgb_level(l:gx) - a:r - let l:dg = rgb_level(l:gy) - a:g - let l:db = rgb_level(l:gz) - a:b - let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db) - if l:dgrey < l:drgb - " use the grey - return grey_color(l:gx) - else - " use the color - return rgb_color(l:x, l:y, l:z) - endif - else - " only one possibility - return rgb_color(l:x, l:y, l:z) - endif - endfun - - " returns the palette index to approximate the 'rrggbb' hex string - fun rgb(rgb) - let l:r = ('0x' . strpart(a:rgb, 0, 2)) + 0 - let l:g = ('0x' . strpart(a:rgb, 2, 2)) + 0 - let l:b = ('0x' . strpart(a:rgb, 4, 2)) + 0 - - return color(l:r, l:g, l:b) - endfun - - " sets the highlighting for the given group - " call X(group, fg, bg, attr), bg and attr are optional - fun X(group, fg, ...) - if a:fg != '' - let fg = tolower(a:fg) - let fg_hex = has_key(g:rgb_colors, fg) ? g:rgb_colors[fg] : a:fg - exec 'hi ' . a:group . ' guifg=#' . fg_hex . ' ctermfg=' . rgb(fg_hex) - endif - if a:0 > 0 && a:1 != '' - let bg = tolower(a:1) - let bg_hex = has_key(g:rgb_colors, bg) ? g:rgb_colors[bg] : bg - exec 'hi ' . a:group . ' guibg=#' . bg_hex . ' ctermbg=' . rgb(bg_hex) - endif - if a:0 > 1 && a:2 != '' - let attr = a:2 - exec 'hi ' . a:group . ' gui=' . attr . ' cterm=' . attr - endif - endfun - " }}} - - call X('Normal', 'white', 'grey20') - - " highlight groups - call X('Cursor', 'khaki', 'indianred') - "CursorIM - "Directory - "DiffAdd - "DiffChange - "DiffDelete - "DiffText - "ErrorMsg - call X('VertSplit', 'grey50', 'c2bfa5', 'none') - call X('Folded', 'orange', 'grey30') - call X('FoldColumn', 'tan', 'grey14') - call X('IncSearch', 'slategrey', 'khaki') - call X('LineNr', 'grey70', 'grey17') - call X('ModeMsg', 'goldenrod') - call X('MoreMsg', 'seagreen') - call X('NonText', 'lightblue', 'grey14', 'bold') - call X('Question', 'springgreen') - call X('Search', 'dfffdf', 'grey30') - call X('SpecialKey', 'yellowgreen') - call X('StatusLine', 'grey90', 'grey17', 'none') - call X('StatusLineNC', 'grey40', 'grey17', 'none') - call X('Title', 'indianred') - call X('Visual', 'khaki', 'olivedrab', 'none') - "VisualNOS - call X('WarningMsg', 'salmon', '', '') - "WildMenu - "Menu - call X('Pmenu', 'grey80', 'grey10') - call X('PmenuSel', 'grey80', 'grey25') - "Scrollbar - "Tooltip - call X('MatchParen', 'dfffdf', 'grey30') - - " syntax highlighting groups - call X('Comment', 'skyblue') - call X('Constant', 'ffa0a0') - call X('String', 'e0a5da') - call X('Identifier', 'palegreen', '', 'none') - call X('Statement', 'ffd797', '', 'bold') - call X('PreProc', 'indianred') - call X('Type', 'e9b96e', '', 'bold') - call X('Special', 'navajowhite') - "Underlined - call X('Ignore', 'grey40') - "Error - call X('Todo', 'orangered', 'yellow2') - - " delete functions {{{ - delf X - delf rgb - delf color - delf rgb_color - delf rgb_level - delf rgb_number - delf grey_color - delf grey_level - delf grey_number - " }}} -else - " color terminal definitions - hi SpecialKey ctermfg=darkgreen - hi NonText cterm=bold ctermfg=darkblue - hi Directory ctermfg=darkcyan - hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 - hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green - hi Search cterm=NONE ctermfg=grey ctermbg=blue - hi MoreMsg ctermfg=darkgreen - hi ModeMsg cterm=NONE ctermfg=brown - hi LineNr ctermfg=3 - hi Question ctermfg=green - hi StatusLine cterm=bold,reverse - hi StatusLineNC cterm=reverse - hi VertSplit cterm=reverse - hi Title ctermfg=5 - hi Visual cterm=reverse - hi VisualNOS cterm=bold,underline - hi WarningMsg ctermfg=1 - hi WildMenu ctermfg=0 ctermbg=3 - hi Folded ctermfg=darkgrey ctermbg=NONE - hi FoldColumn ctermfg=darkgrey ctermbg=NONE - hi DiffAdd ctermbg=4 - hi DiffChange ctermbg=5 - hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 - hi DiffText cterm=bold ctermbg=1 - hi Comment ctermfg=darkcyan - hi Constant ctermfg=brown - hi Special ctermfg=5 - hi Identifier ctermfg=6 - hi Statement ctermfg=3 - hi PreProc ctermfg=5 - hi Type ctermfg=2 - hi Underlined cterm=underline ctermfg=5 - hi Ignore ctermfg=darkgrey - hi Error cterm=bold ctermfg=7 ctermbg=1 -endif - -" vim: set fdl=0 fdm=marker sts=4 sw=4: diff --git a/private_dot_config/nvim/colors/inkpot.vim b/private_dot_config/nvim/colors/inkpot.vim deleted file mode 100644 index 1ee5749..0000000 --- a/private_dot_config/nvim/colors/inkpot.vim +++ /dev/null @@ -1,218 +0,0 @@ -" Vim color file -" Name: inkpot.vim -" Maintainer: Ciaran McCreesh -" Homepage: http://github.com/ciaranm/inkpot/ -" -" This should work in the GUI, rxvt-unicode (88 colour mode) and xterm (256 -" colour mode). It won't work in 8/16 colour terminals. -" -" To use a black background, :let g:inkpot_black_background = 1 - -set background=dark -hi clear -if exists("syntax_on") - syntax reset -endif - -let colors_name = "inkpot" - -" map a urxvt cube number to an xterm-256 cube number -fun! M(a) - return strpart("0135", a:a, 1) + 0 -endfun - -" map a urxvt colour to an xterm-256 colour -fun! X(a) - if &t_Co == 88 - return a:a - else - if a:a == 8 - return 237 - elseif a:a < 16 - return a:a - elseif a:a > 79 - return 232 + (3 * (a:a - 80)) - else - let l:b = a:a - 16 - let l:x = l:b % 4 - let l:y = (l:b / 4) % 4 - let l:z = (l:b / 16) - return 16 + M(l:x) + (6 * M(l:y)) + (36 * M(l:z)) - endif - endif -endfun - -if ! exists("g:inkpot_black_background") - let g:inkpot_black_background = 0 -endif - -if has("gui_running") - if ! g:inkpot_black_background - hi Normal gui=NONE guifg=#cfbfad guibg=#1e1e27 - else - hi Normal gui=NONE guifg=#cfbfad guibg=#000000 - endif - - hi CursorLine guibg=#2e2e37 - - hi IncSearch gui=BOLD guifg=#303030 guibg=#cd8b60 - hi Search gui=NONE guifg=#303030 guibg=#ad7b57 - hi ErrorMsg gui=BOLD guifg=#ffffff guibg=#ce4e4e - hi WarningMsg gui=BOLD guifg=#ffffff guibg=#ce8e4e - hi ModeMsg gui=BOLD guifg=#7e7eae guibg=NONE - hi MoreMsg gui=BOLD guifg=#7e7eae guibg=NONE - hi Question gui=BOLD guifg=#ffcd00 guibg=NONE - - hi StatusLine gui=BOLD guifg=#b9b9b9 guibg=#3e3e5e - hi User1 gui=BOLD guifg=#00ff8b guibg=#3e3e5e - hi User2 gui=BOLD guifg=#7070a0 guibg=#3e3e5e - hi StatusLineNC gui=NONE guifg=#b9b9b9 guibg=#3e3e5e - hi VertSplit gui=NONE guifg=#b9b9b9 guibg=#3e3e5e - - hi WildMenu gui=BOLD guifg=#eeeeee guibg=#6e6eaf - - hi MBENormal guifg=#cfbfad guibg=#2e2e3f - hi MBEChanged guifg=#eeeeee guibg=#2e2e3f - hi MBEVisibleNormal guifg=#cfcfcd guibg=#4e4e8f - hi MBEVisibleChanged guifg=#eeeeee guibg=#4e4e8f - - hi DiffText gui=NONE guifg=#ffffcd guibg=#4a2a4a - hi DiffChange gui=NONE guifg=#ffffcd guibg=#306b8f - hi DiffDelete gui=NONE guifg=#ffffcd guibg=#6d3030 - hi DiffAdd gui=NONE guifg=#ffffcd guibg=#306d30 - - hi Cursor gui=NONE guifg=#404040 guibg=#8b8bff - hi lCursor gui=NONE guifg=#404040 guibg=#8fff8b - hi CursorIM gui=NONE guifg=#404040 guibg=#8b8bff - - hi Folded gui=NONE guifg=#cfcfcd guibg=#4b208f - hi FoldColumn gui=NONE guifg=#8b8bcd guibg=#2e2e2e - - hi Directory gui=NONE guifg=#00ff8b guibg=NONE - hi LineNr gui=NONE guifg=#8b8bcd guibg=#2e2e2e - hi NonText gui=BOLD guifg=#8b8bcd guibg=NONE - hi SpecialKey gui=BOLD guifg=#ab60ed guibg=NONE - hi Title gui=BOLD guifg=#af4f4b guibg=NONE - hi Visual gui=NONE guifg=#eeeeee guibg=#4e4e8f - - hi Comment gui=NONE guifg=#cd8b00 guibg=NONE - hi Constant gui=NONE guifg=#ffcd8b guibg=NONE - hi String gui=NONE guifg=#ffcd8b guibg=#404040 - hi Error gui=NONE guifg=#ffffff guibg=#6e2e2e - hi Identifier gui=NONE guifg=#ff8bff guibg=NONE - hi Ignore gui=NONE - hi Number gui=NONE guifg=#f0ad6d guibg=NONE - hi PreProc gui=NONE guifg=#409090 guibg=NONE - hi Special gui=NONE guifg=#c080d0 guibg=NONE - hi SpecialChar gui=NONE guifg=#c080d0 guibg=#404040 - hi Statement gui=NONE guifg=#808bed guibg=NONE - hi Todo gui=BOLD guifg=#303030 guibg=#d0a060 - hi Type gui=NONE guifg=#ff8bff guibg=NONE - hi Underlined gui=BOLD guifg=#df9f2d guibg=NONE - hi TaglistTagName gui=BOLD guifg=#808bed guibg=NONE - - hi perlSpecialMatch gui=NONE guifg=#c080d0 guibg=#404040 - hi perlSpecialString gui=NONE guifg=#c080d0 guibg=#404040 - - hi cSpecialCharacter gui=NONE guifg=#c080d0 guibg=#404040 - hi cFormat gui=NONE guifg=#c080d0 guibg=#404040 - - hi doxygenBrief gui=NONE guifg=#fdab60 guibg=NONE - hi doxygenParam gui=NONE guifg=#fdd090 guibg=NONE - hi doxygenPrev gui=NONE guifg=#fdd090 guibg=NONE - hi doxygenSmallSpecial gui=NONE guifg=#fdd090 guibg=NONE - hi doxygenSpecial gui=NONE guifg=#fdd090 guibg=NONE - hi doxygenComment gui=NONE guifg=#ad7b20 guibg=NONE - hi doxygenSpecial gui=NONE guifg=#fdab60 guibg=NONE - hi doxygenSpecialMultilineDesc gui=NONE guifg=#ad600b guibg=NONE - hi doxygenSpecialOnelineDesc gui=NONE guifg=#ad600b guibg=NONE - - if v:version >= 700 - hi Pmenu gui=NONE guifg=#eeeeee guibg=#4e4e8f - hi PmenuSel gui=BOLD guifg=#eeeeee guibg=#2e2e3f - hi PmenuSbar gui=BOLD guifg=#eeeeee guibg=#6e6eaf - hi PmenuThumb gui=BOLD guifg=#eeeeee guibg=#6e6eaf - - hi SpellBad gui=undercurl guisp=#cc6666 - hi SpellRare gui=undercurl guisp=#cc66cc - hi SpellLocal gui=undercurl guisp=#cccc66 - hi SpellCap gui=undercurl guisp=#66cccc - - hi MatchParen gui=NONE guifg=#cfbfad guibg=#4e4e8f - endif -else - if ! g:inkpot_black_background - " exec "hi Normal cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(80) - exec "hi Normal cterm=NONE ctermfg=" . X(79) . " ctermbg=black" - else - exec "hi Normal cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(16) - exec "hi Normal cterm=NONE ctermfg=" . X(79) . " ctermbg=black" . X(16) - endif - - exec "hi IncSearch cterm=BOLD ctermfg=" . X(80) . " ctermbg=" . X(73) - exec "hi Search cterm=NONE ctermfg=" . X(80) . " ctermbg=" . X(52) - exec "hi ErrorMsg cterm=BOLD ctermfg=" . X(16) . " ctermbg=" . X(48) - exec "hi WarningMsg cterm=BOLD ctermfg=" . X(16) . " ctermbg=" . X(68) - exec "hi ModeMsg cterm=BOLD ctermfg=" . X(38) . " ctermbg=" . "NONE" - exec "hi MoreMsg cterm=BOLD ctermfg=" . X(38) . " ctermbg=" . "NONE" - exec "hi Question cterm=BOLD ctermfg=" . X(52) . " ctermbg=" . "NONE" - - exec "hi StatusLine cterm=BOLD ctermfg=" . X(85) . " ctermbg=" . X(81) - exec "hi User1 cterm=BOLD ctermfg=" . X(28) . " ctermbg=" . X(81) - exec "hi User2 cterm=BOLD ctermfg=" . X(39) . " ctermbg=" . X(81) - exec "hi StatusLineNC cterm=NONE ctermfg=" . X(84) . " ctermbg=" . X(81) - exec "hi VertSplit cterm=NONE ctermfg=" . X(84) . " ctermbg=" . X(81) - - exec "hi WildMenu cterm=BOLD ctermfg=" . X(87) . " ctermbg=" . X(38) - - exec "hi MBENormal ctermfg=" . X(85) . " ctermbg=" . X(81) - exec "hi MBEChanged ctermfg=" . X(87) . " ctermbg=" . X(81) - exec "hi MBEVisibleNormal ctermfg=" . X(85) . " ctermbg=" . X(82) - exec "hi MBEVisibleChanged ctermfg=" . X(87) . " ctermbg=" . X(82) - - exec "hi DiffText cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(34) - exec "hi DiffChange cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(17) - exec "hi DiffDelete cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(32) - exec "hi DiffAdd cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(20) - - exec "hi Folded cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(35) - exec "hi FoldColumn cterm=NONE ctermfg=" . X(39) . " ctermbg=" . X(80) - - exec "hi Directory cterm=NONE ctermfg=" . X(28) . " ctermbg=" . "NONE" - exec "hi LineNr cterm=NONE ctermfg=" . X(39) . " ctermbg=" . X(80) - exec "hi NonText cterm=BOLD ctermfg=" . X(39) . " ctermbg=" . "NONE" - exec "hi SpecialKey cterm=BOLD ctermfg=" . X(55) . " ctermbg=" . "NONE" - exec "hi Title cterm=BOLD ctermfg=" . X(48) . " ctermbg=" . "NONE" - exec "hi Visual cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(38) - - exec "hi Comment cterm=NONE ctermfg=" . X(52) . " ctermbg=" . "NONE" - exec "hi Constant cterm=NONE ctermfg=" . X(73) . " ctermbg=" . "NONE" - exec "hi String cterm=NONE ctermfg=" . X(73) . " ctermbg=" . X(81) - exec "hi Error cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(32) - exec "hi Identifier cterm=NONE ctermfg=" . X(53) . " ctermbg=" . "NONE" - exec "hi Ignore cterm=NONE" - exec "hi Number cterm=NONE ctermfg=" . X(69) . " ctermbg=" . "NONE" - exec "hi PreProc cterm=NONE ctermfg=" . X(25) . " ctermbg=" . "NONE" - exec "hi Special cterm=NONE ctermfg=" . X(55) . " ctermbg=" . "NONE" - exec "hi SpecialChar cterm=NONE ctermfg=" . X(55) . " ctermbg=" . X(81) - exec "hi Statement cterm=NONE ctermfg=" . X(27) . " ctermbg=" . "NONE" - exec "hi Todo cterm=BOLD ctermfg=" . X(16) . " ctermbg=" . X(57) - exec "hi Type cterm=NONE ctermfg=" . X(71) . " ctermbg=" . "NONE" - exec "hi Underlined cterm=BOLD ctermfg=" . X(77) . " ctermbg=" . "NONE" - exec "hi TaglistTagName cterm=BOLD ctermfg=" . X(39) . " ctermbg=" . "NONE" - - if v:version >= 700 - exec "hi Pmenu cterm=NONE ctermfg=" . X(87) . " ctermbg=" . X(82) - exec "hi PmenuSel cterm=BOLD ctermfg=" . X(87) . " ctermbg=" . X(38) - exec "hi PmenuSbar cterm=BOLD ctermfg=" . X(87) . " ctermbg=" . X(39) - exec "hi PmenuThumb cterm=BOLD ctermfg=" . X(87) . " ctermbg=" . X(39) - - exec "hi SpellBad cterm=NONE ctermbg=" . X(32) - exec "hi SpellRare cterm=NONE ctermbg=" . X(33) - exec "hi SpellLocal cterm=NONE ctermbg=" . X(36) - exec "hi SpellCap cterm=NONE ctermbg=" . X(21) - exec "hi MatchParen cterm=NONE ctermbg=" . X(14) . "ctermfg=" . X(25) - endif -endif - -" vim: set et : diff --git a/private_dot_config/nvim/colors/rgb_colors b/private_dot_config/nvim/colors/rgb_colors deleted file mode 100644 index 83037f8..0000000 --- a/private_dot_config/nvim/colors/rgb_colors +++ /dev/null @@ -1,666 +0,0 @@ -" Generated from `rgb.txt` by `bin/generate_rgb_colors` script, don't manually -" modify this file. -" -" This file is intentioned to not have `.vim` extension so it can't be used as -" a regular color scheme. - -let g:rgb_colors = {} -let g:rgb_colors.aliceblue = 'f0f8ff' -let g:rgb_colors.antiquewhite = 'faebd7' -let g:rgb_colors.antiquewhite1 = 'ffefdb' -let g:rgb_colors.antiquewhite2 = 'eedfcc' -let g:rgb_colors.antiquewhite3 = 'cdc0b0' -let g:rgb_colors.antiquewhite4 = '8b8378' -let g:rgb_colors.aquamarine = '7fffd4' -let g:rgb_colors.aquamarine1 = '7fffd4' -let g:rgb_colors.aquamarine2 = '76eec6' -let g:rgb_colors.aquamarine3 = '66cdaa' -let g:rgb_colors.aquamarine4 = '458b74' -let g:rgb_colors.azure = 'f0ffff' -let g:rgb_colors.azure1 = 'f0ffff' -let g:rgb_colors.azure2 = 'e0eeee' -let g:rgb_colors.azure3 = 'c1cdcd' -let g:rgb_colors.azure4 = '838b8b' -let g:rgb_colors.beige = 'f5f5dc' -let g:rgb_colors.bisque = 'ffe4c4' -let g:rgb_colors.bisque1 = 'ffe4c4' -let g:rgb_colors.bisque2 = 'eed5b7' -let g:rgb_colors.bisque3 = 'cdb79e' -let g:rgb_colors.bisque4 = '8b7d6b' -let g:rgb_colors.black = '000000' -let g:rgb_colors.blanchedalmond = 'ffebcd' -let g:rgb_colors.blue = '0000ff' -let g:rgb_colors.blue1 = '0000ff' -let g:rgb_colors.blue2 = '0000ee' -let g:rgb_colors.blue3 = '0000cd' -let g:rgb_colors.blue4 = '00008b' -let g:rgb_colors.blueviolet = '8a2be2' -let g:rgb_colors.brown = 'a52a2a' -let g:rgb_colors.brown1 = 'ff4040' -let g:rgb_colors.brown2 = 'ee3b3b' -let g:rgb_colors.brown3 = 'cd3333' -let g:rgb_colors.brown4 = '8b2323' -let g:rgb_colors.burlywood = 'deb887' -let g:rgb_colors.burlywood1 = 'ffd39b' -let g:rgb_colors.burlywood2 = 'eec591' -let g:rgb_colors.burlywood3 = 'cdaa7d' -let g:rgb_colors.burlywood4 = '8b7355' -let g:rgb_colors.cadetblue = '5f9ea0' -let g:rgb_colors.cadetblue1 = '98f5ff' -let g:rgb_colors.cadetblue2 = '8ee5ee' -let g:rgb_colors.cadetblue3 = '7ac5cd' -let g:rgb_colors.cadetblue4 = '53868b' -let g:rgb_colors.chartreuse = '7fff00' -let g:rgb_colors.chartreuse1 = '7fff00' -let g:rgb_colors.chartreuse2 = '76ee00' -let g:rgb_colors.chartreuse3 = '66cd00' -let g:rgb_colors.chartreuse4 = '458b00' -let g:rgb_colors.chocolate = 'd2691e' -let g:rgb_colors.chocolate1 = 'ff7f24' -let g:rgb_colors.chocolate2 = 'ee7621' -let g:rgb_colors.chocolate3 = 'cd661d' -let g:rgb_colors.chocolate4 = '8b4513' -let g:rgb_colors.coral = 'ff7f50' -let g:rgb_colors.coral1 = 'ff7256' -let g:rgb_colors.coral2 = 'ee6a50' -let g:rgb_colors.coral3 = 'cd5b45' -let g:rgb_colors.coral4 = '8b3e2f' -let g:rgb_colors.cornflowerblue = '6495ed' -let g:rgb_colors.cornsilk = 'fff8dc' -let g:rgb_colors.cornsilk1 = 'fff8dc' -let g:rgb_colors.cornsilk2 = 'eee8cd' -let g:rgb_colors.cornsilk3 = 'cdc8b1' -let g:rgb_colors.cornsilk4 = '8b8878' -let g:rgb_colors.cyan = '00ffff' -let g:rgb_colors.cyan1 = '00ffff' -let g:rgb_colors.cyan2 = '00eeee' -let g:rgb_colors.cyan3 = '00cdcd' -let g:rgb_colors.cyan4 = '008b8b' -let g:rgb_colors.darkblue = '00008b' -let g:rgb_colors.darkcyan = '008b8b' -let g:rgb_colors.darkgoldenrod = 'b8860b' -let g:rgb_colors.darkgoldenrod1 = 'ffb90f' -let g:rgb_colors.darkgoldenrod2 = 'eead0e' -let g:rgb_colors.darkgoldenrod3 = 'cd950c' -let g:rgb_colors.darkgoldenrod4 = '8b6508' -let g:rgb_colors.darkgray = 'a9a9a9' -let g:rgb_colors.darkgreen = '006400' -let g:rgb_colors.darkgrey = 'a9a9a9' -let g:rgb_colors.darkkhaki = 'bdb76b' -let g:rgb_colors.darkmagenta = '8b008b' -let g:rgb_colors.darkolivegreen = '556b2f' -let g:rgb_colors.darkolivegreen1 = 'caff70' -let g:rgb_colors.darkolivegreen2 = 'bcee68' -let g:rgb_colors.darkolivegreen3 = 'a2cd5a' -let g:rgb_colors.darkolivegreen4 = '6e8b3d' -let g:rgb_colors.darkorange = 'ff8c00' -let g:rgb_colors.darkorange1 = 'ff7f00' -let g:rgb_colors.darkorange2 = 'ee7600' -let g:rgb_colors.darkorange3 = 'cd6600' -let g:rgb_colors.darkorange4 = '8b4500' -let g:rgb_colors.darkorchid = '9932cc' -let g:rgb_colors.darkorchid1 = 'bf3eff' -let g:rgb_colors.darkorchid2 = 'b23aee' -let g:rgb_colors.darkorchid3 = '9a32cd' -let g:rgb_colors.darkorchid4 = '68228b' -let g:rgb_colors.darkred = '8b0000' -let g:rgb_colors.darksalmon = 'e9967a' -let g:rgb_colors.darkseagreen = '8fbc8f' -let g:rgb_colors.darkseagreen1 = 'c1ffc1' -let g:rgb_colors.darkseagreen2 = 'b4eeb4' -let g:rgb_colors.darkseagreen3 = '9bcd9b' -let g:rgb_colors.darkseagreen4 = '698b69' -let g:rgb_colors.darkslateblue = '483d8b' -let g:rgb_colors.darkslategray = '2f4f4f' -let g:rgb_colors.darkslategray1 = '97ffff' -let g:rgb_colors.darkslategray2 = '8deeee' -let g:rgb_colors.darkslategray3 = '79cdcd' -let g:rgb_colors.darkslategray4 = '528b8b' -let g:rgb_colors.darkslategrey = '2f4f4f' -let g:rgb_colors.darkturquoise = '00ced1' -let g:rgb_colors.darkviolet = '9400d3' -let g:rgb_colors.deeppink = 'ff1493' -let g:rgb_colors.deeppink1 = 'ff1493' -let g:rgb_colors.deeppink2 = 'ee1289' -let g:rgb_colors.deeppink3 = 'cd1076' -let g:rgb_colors.deeppink4 = '8b0a50' -let g:rgb_colors.deepskyblue = '00bfff' -let g:rgb_colors.deepskyblue1 = '00bfff' -let g:rgb_colors.deepskyblue2 = '00b2ee' -let g:rgb_colors.deepskyblue3 = '009acd' -let g:rgb_colors.deepskyblue4 = '00688b' -let g:rgb_colors.dimgray = '696969' -let g:rgb_colors.dimgrey = '696969' -let g:rgb_colors.dodgerblue = '1e90ff' -let g:rgb_colors.dodgerblue1 = '1e90ff' -let g:rgb_colors.dodgerblue2 = '1c86ee' -let g:rgb_colors.dodgerblue3 = '1874cd' -let g:rgb_colors.dodgerblue4 = '104e8b' -let g:rgb_colors.firebrick = 'b22222' -let g:rgb_colors.firebrick1 = 'ff3030' -let g:rgb_colors.firebrick2 = 'ee2c2c' -let g:rgb_colors.firebrick3 = 'cd2626' -let g:rgb_colors.firebrick4 = '8b1a1a' -let g:rgb_colors.floralwhite = 'fffaf0' -let g:rgb_colors.forestgreen = '228b22' -let g:rgb_colors.gainsboro = 'dcdcdc' -let g:rgb_colors.ghostwhite = 'f8f8ff' -let g:rgb_colors.gold = 'ffd700' -let g:rgb_colors.gold1 = 'ffd700' -let g:rgb_colors.gold2 = 'eec900' -let g:rgb_colors.gold3 = 'cdad00' -let g:rgb_colors.gold4 = '8b7500' -let g:rgb_colors.goldenrod = 'daa520' -let g:rgb_colors.goldenrod1 = 'ffc125' -let g:rgb_colors.goldenrod2 = 'eeb422' -let g:rgb_colors.goldenrod3 = 'cd9b1d' -let g:rgb_colors.goldenrod4 = '8b6914' -let g:rgb_colors.gray = 'bebebe' -let g:rgb_colors.gray0 = '000000' -let g:rgb_colors.gray1 = '030303' -let g:rgb_colors.gray10 = '1a1a1a' -let g:rgb_colors.gray100 = 'ffffff' -let g:rgb_colors.gray11 = '1c1c1c' -let g:rgb_colors.gray12 = '1f1f1f' -let g:rgb_colors.gray13 = '212121' -let g:rgb_colors.gray14 = '242424' -let g:rgb_colors.gray15 = '262626' -let g:rgb_colors.gray16 = '292929' -let g:rgb_colors.gray17 = '2b2b2b' -let g:rgb_colors.gray18 = '2e2e2e' -let g:rgb_colors.gray19 = '303030' -let g:rgb_colors.gray2 = '050505' -let g:rgb_colors.gray20 = '333333' -let g:rgb_colors.gray21 = '363636' -let g:rgb_colors.gray22 = '383838' -let g:rgb_colors.gray23 = '3b3b3b' -let g:rgb_colors.gray24 = '3d3d3d' -let g:rgb_colors.gray25 = '404040' -let g:rgb_colors.gray26 = '424242' -let g:rgb_colors.gray27 = '454545' -let g:rgb_colors.gray28 = '474747' -let g:rgb_colors.gray29 = '4a4a4a' -let g:rgb_colors.gray3 = '080808' -let g:rgb_colors.gray30 = '4d4d4d' -let g:rgb_colors.gray31 = '4f4f4f' -let g:rgb_colors.gray32 = '525252' -let g:rgb_colors.gray33 = '545454' -let g:rgb_colors.gray34 = '575757' -let g:rgb_colors.gray35 = '595959' -let g:rgb_colors.gray36 = '5c5c5c' -let g:rgb_colors.gray37 = '5e5e5e' -let g:rgb_colors.gray38 = '616161' -let g:rgb_colors.gray39 = '636363' -let g:rgb_colors.gray4 = '0a0a0a' -let g:rgb_colors.gray40 = '666666' -let g:rgb_colors.gray41 = '696969' -let g:rgb_colors.gray42 = '6b6b6b' -let g:rgb_colors.gray43 = '6e6e6e' -let g:rgb_colors.gray44 = '707070' -let g:rgb_colors.gray45 = '737373' -let g:rgb_colors.gray46 = '757575' -let g:rgb_colors.gray47 = '787878' -let g:rgb_colors.gray48 = '7a7a7a' -let g:rgb_colors.gray49 = '7d7d7d' -let g:rgb_colors.gray5 = '0d0d0d' -let g:rgb_colors.gray50 = '7f7f7f' -let g:rgb_colors.gray51 = '828282' -let g:rgb_colors.gray52 = '858585' -let g:rgb_colors.gray53 = '878787' -let g:rgb_colors.gray54 = '8a8a8a' -let g:rgb_colors.gray55 = '8c8c8c' -let g:rgb_colors.gray56 = '8f8f8f' -let g:rgb_colors.gray57 = '919191' -let g:rgb_colors.gray58 = '949494' -let g:rgb_colors.gray59 = '969696' -let g:rgb_colors.gray6 = '0f0f0f' -let g:rgb_colors.gray60 = '999999' -let g:rgb_colors.gray61 = '9c9c9c' -let g:rgb_colors.gray62 = '9e9e9e' -let g:rgb_colors.gray63 = 'a1a1a1' -let g:rgb_colors.gray64 = 'a3a3a3' -let g:rgb_colors.gray65 = 'a6a6a6' -let g:rgb_colors.gray66 = 'a8a8a8' -let g:rgb_colors.gray67 = 'ababab' -let g:rgb_colors.gray68 = 'adadad' -let g:rgb_colors.gray69 = 'b0b0b0' -let g:rgb_colors.gray7 = '121212' -let g:rgb_colors.gray70 = 'b3b3b3' -let g:rgb_colors.gray71 = 'b5b5b5' -let g:rgb_colors.gray72 = 'b8b8b8' -let g:rgb_colors.gray73 = 'bababa' -let g:rgb_colors.gray74 = 'bdbdbd' -let g:rgb_colors.gray75 = 'bfbfbf' -let g:rgb_colors.gray76 = 'c2c2c2' -let g:rgb_colors.gray77 = 'c4c4c4' -let g:rgb_colors.gray78 = 'c7c7c7' -let g:rgb_colors.gray79 = 'c9c9c9' -let g:rgb_colors.gray8 = '141414' -let g:rgb_colors.gray80 = 'cccccc' -let g:rgb_colors.gray81 = 'cfcfcf' -let g:rgb_colors.gray82 = 'd1d1d1' -let g:rgb_colors.gray83 = 'd4d4d4' -let g:rgb_colors.gray84 = 'd6d6d6' -let g:rgb_colors.gray85 = 'd9d9d9' -let g:rgb_colors.gray86 = 'dbdbdb' -let g:rgb_colors.gray87 = 'dedede' -let g:rgb_colors.gray88 = 'e0e0e0' -let g:rgb_colors.gray89 = 'e3e3e3' -let g:rgb_colors.gray9 = '171717' -let g:rgb_colors.gray90 = 'e5e5e5' -let g:rgb_colors.gray91 = 'e8e8e8' -let g:rgb_colors.gray92 = 'ebebeb' -let g:rgb_colors.gray93 = 'ededed' -let g:rgb_colors.gray94 = 'f0f0f0' -let g:rgb_colors.gray95 = 'f2f2f2' -let g:rgb_colors.gray96 = 'f5f5f5' -let g:rgb_colors.gray97 = 'f7f7f7' -let g:rgb_colors.gray98 = 'fafafa' -let g:rgb_colors.gray99 = 'fcfcfc' -let g:rgb_colors.green = '00ff00' -let g:rgb_colors.green1 = '00ff00' -let g:rgb_colors.green2 = '00ee00' -let g:rgb_colors.green3 = '00cd00' -let g:rgb_colors.green4 = '008b00' -let g:rgb_colors.greenyellow = 'adff2f' -let g:rgb_colors.grey = 'bebebe' -let g:rgb_colors.grey0 = '000000' -let g:rgb_colors.grey1 = '030303' -let g:rgb_colors.grey10 = '1a1a1a' -let g:rgb_colors.grey100 = 'ffffff' -let g:rgb_colors.grey11 = '1c1c1c' -let g:rgb_colors.grey12 = '1f1f1f' -let g:rgb_colors.grey13 = '212121' -let g:rgb_colors.grey14 = '242424' -let g:rgb_colors.grey15 = '262626' -let g:rgb_colors.grey16 = '292929' -let g:rgb_colors.grey17 = '2b2b2b' -let g:rgb_colors.grey18 = '2e2e2e' -let g:rgb_colors.grey19 = '303030' -let g:rgb_colors.grey2 = '050505' -let g:rgb_colors.grey20 = '333333' -let g:rgb_colors.grey21 = '363636' -let g:rgb_colors.grey22 = '383838' -let g:rgb_colors.grey23 = '3b3b3b' -let g:rgb_colors.grey24 = '3d3d3d' -let g:rgb_colors.grey25 = '404040' -let g:rgb_colors.grey26 = '424242' -let g:rgb_colors.grey27 = '454545' -let g:rgb_colors.grey28 = '474747' -let g:rgb_colors.grey29 = '4a4a4a' -let g:rgb_colors.grey3 = '080808' -let g:rgb_colors.grey30 = '4d4d4d' -let g:rgb_colors.grey31 = '4f4f4f' -let g:rgb_colors.grey32 = '525252' -let g:rgb_colors.grey33 = '545454' -let g:rgb_colors.grey34 = '575757' -let g:rgb_colors.grey35 = '595959' -let g:rgb_colors.grey36 = '5c5c5c' -let g:rgb_colors.grey37 = '5e5e5e' -let g:rgb_colors.grey38 = '616161' -let g:rgb_colors.grey39 = '636363' -let g:rgb_colors.grey4 = '0a0a0a' -let g:rgb_colors.grey40 = '666666' -let g:rgb_colors.grey41 = '696969' -let g:rgb_colors.grey42 = '6b6b6b' -let g:rgb_colors.grey43 = '6e6e6e' -let g:rgb_colors.grey44 = '707070' -let g:rgb_colors.grey45 = '737373' -let g:rgb_colors.grey46 = '757575' -let g:rgb_colors.grey47 = '787878' -let g:rgb_colors.grey48 = '7a7a7a' -let g:rgb_colors.grey49 = '7d7d7d' -let g:rgb_colors.grey5 = '0d0d0d' -let g:rgb_colors.grey50 = '7f7f7f' -let g:rgb_colors.grey51 = '828282' -let g:rgb_colors.grey52 = '858585' -let g:rgb_colors.grey53 = '878787' -let g:rgb_colors.grey54 = '8a8a8a' -let g:rgb_colors.grey55 = '8c8c8c' -let g:rgb_colors.grey56 = '8f8f8f' -let g:rgb_colors.grey57 = '919191' -let g:rgb_colors.grey58 = '949494' -let g:rgb_colors.grey59 = '969696' -let g:rgb_colors.grey6 = '0f0f0f' -let g:rgb_colors.grey60 = '999999' -let g:rgb_colors.grey61 = '9c9c9c' -let g:rgb_colors.grey62 = '9e9e9e' -let g:rgb_colors.grey63 = 'a1a1a1' -let g:rgb_colors.grey64 = 'a3a3a3' -let g:rgb_colors.grey65 = 'a6a6a6' -let g:rgb_colors.grey66 = 'a8a8a8' -let g:rgb_colors.grey67 = 'ababab' -let g:rgb_colors.grey68 = 'adadad' -let g:rgb_colors.grey69 = 'b0b0b0' -let g:rgb_colors.grey7 = '121212' -let g:rgb_colors.grey70 = 'b3b3b3' -let g:rgb_colors.grey71 = 'b5b5b5' -let g:rgb_colors.grey72 = 'b8b8b8' -let g:rgb_colors.grey73 = 'bababa' -let g:rgb_colors.grey74 = 'bdbdbd' -let g:rgb_colors.grey75 = 'bfbfbf' -let g:rgb_colors.grey76 = 'c2c2c2' -let g:rgb_colors.grey77 = 'c4c4c4' -let g:rgb_colors.grey78 = 'c7c7c7' -let g:rgb_colors.grey79 = 'c9c9c9' -let g:rgb_colors.grey8 = '141414' -let g:rgb_colors.grey80 = 'cccccc' -let g:rgb_colors.grey81 = 'cfcfcf' -let g:rgb_colors.grey82 = 'd1d1d1' -let g:rgb_colors.grey83 = 'd4d4d4' -let g:rgb_colors.grey84 = 'd6d6d6' -let g:rgb_colors.grey85 = 'd9d9d9' -let g:rgb_colors.grey86 = 'dbdbdb' -let g:rgb_colors.grey87 = 'dedede' -let g:rgb_colors.grey88 = 'e0e0e0' -let g:rgb_colors.grey89 = 'e3e3e3' -let g:rgb_colors.grey9 = '171717' -let g:rgb_colors.grey90 = 'e5e5e5' -let g:rgb_colors.grey91 = 'e8e8e8' -let g:rgb_colors.grey92 = 'ebebeb' -let g:rgb_colors.grey93 = 'ededed' -let g:rgb_colors.grey94 = 'f0f0f0' -let g:rgb_colors.grey95 = 'f2f2f2' -let g:rgb_colors.grey96 = 'f5f5f5' -let g:rgb_colors.grey97 = 'f7f7f7' -let g:rgb_colors.grey98 = 'fafafa' -let g:rgb_colors.grey99 = 'fcfcfc' -let g:rgb_colors.honeydew = 'f0fff0' -let g:rgb_colors.honeydew1 = 'f0fff0' -let g:rgb_colors.honeydew2 = 'e0eee0' -let g:rgb_colors.honeydew3 = 'c1cdc1' -let g:rgb_colors.honeydew4 = '838b83' -let g:rgb_colors.hotpink = 'ff69b4' -let g:rgb_colors.hotpink1 = 'ff6eb4' -let g:rgb_colors.hotpink2 = 'ee6aa7' -let g:rgb_colors.hotpink3 = 'cd6090' -let g:rgb_colors.hotpink4 = '8b3a62' -let g:rgb_colors.indianred = 'cd5c5c' -let g:rgb_colors.indianred1 = 'ff6a6a' -let g:rgb_colors.indianred2 = 'ee6363' -let g:rgb_colors.indianred3 = 'cd5555' -let g:rgb_colors.indianred4 = '8b3a3a' -let g:rgb_colors.ivory = 'fffff0' -let g:rgb_colors.ivory1 = 'fffff0' -let g:rgb_colors.ivory2 = 'eeeee0' -let g:rgb_colors.ivory3 = 'cdcdc1' -let g:rgb_colors.ivory4 = '8b8b83' -let g:rgb_colors.khaki = 'f0e68c' -let g:rgb_colors.khaki1 = 'fff68f' -let g:rgb_colors.khaki2 = 'eee685' -let g:rgb_colors.khaki3 = 'cdc673' -let g:rgb_colors.khaki4 = '8b864e' -let g:rgb_colors.lavender = 'e6e6fa' -let g:rgb_colors.lavenderblush = 'fff0f5' -let g:rgb_colors.lavenderblush1 = 'fff0f5' -let g:rgb_colors.lavenderblush2 = 'eee0e5' -let g:rgb_colors.lavenderblush3 = 'cdc1c5' -let g:rgb_colors.lavenderblush4 = '8b8386' -let g:rgb_colors.lawngreen = '7cfc00' -let g:rgb_colors.lemonchiffon = 'fffacd' -let g:rgb_colors.lemonchiffon1 = 'fffacd' -let g:rgb_colors.lemonchiffon2 = 'eee9bf' -let g:rgb_colors.lemonchiffon3 = 'cdc9a5' -let g:rgb_colors.lemonchiffon4 = '8b8970' -let g:rgb_colors.lightblue = 'add8e6' -let g:rgb_colors.lightblue1 = 'bfefff' -let g:rgb_colors.lightblue2 = 'b2dfee' -let g:rgb_colors.lightblue3 = '9ac0cd' -let g:rgb_colors.lightblue4 = '68838b' -let g:rgb_colors.lightcoral = 'f08080' -let g:rgb_colors.lightcyan = 'e0ffff' -let g:rgb_colors.lightcyan1 = 'e0ffff' -let g:rgb_colors.lightcyan2 = 'd1eeee' -let g:rgb_colors.lightcyan3 = 'b4cdcd' -let g:rgb_colors.lightcyan4 = '7a8b8b' -let g:rgb_colors.lightgoldenrod = 'eedd82' -let g:rgb_colors.lightgoldenrod1 = 'ffec8b' -let g:rgb_colors.lightgoldenrod2 = 'eedc82' -let g:rgb_colors.lightgoldenrod3 = 'cdbe70' -let g:rgb_colors.lightgoldenrod4 = '8b814c' -let g:rgb_colors.lightgoldenrodyellow = 'fafad2' -let g:rgb_colors.lightgray = 'd3d3d3' -let g:rgb_colors.lightgreen = '90ee90' -let g:rgb_colors.lightgrey = 'd3d3d3' -let g:rgb_colors.lightpink = 'ffb6c1' -let g:rgb_colors.lightpink1 = 'ffaeb9' -let g:rgb_colors.lightpink2 = 'eea2ad' -let g:rgb_colors.lightpink3 = 'cd8c95' -let g:rgb_colors.lightpink4 = '8b5f65' -let g:rgb_colors.lightsalmon = 'ffa07a' -let g:rgb_colors.lightsalmon1 = 'ffa07a' -let g:rgb_colors.lightsalmon2 = 'ee9572' -let g:rgb_colors.lightsalmon3 = 'cd8162' -let g:rgb_colors.lightsalmon4 = '8b5742' -let g:rgb_colors.lightseagreen = '20b2aa' -let g:rgb_colors.lightskyblue = '87cefa' -let g:rgb_colors.lightskyblue1 = 'b0e2ff' -let g:rgb_colors.lightskyblue2 = 'a4d3ee' -let g:rgb_colors.lightskyblue3 = '8db6cd' -let g:rgb_colors.lightskyblue4 = '607b8b' -let g:rgb_colors.lightslateblue = '8470ff' -let g:rgb_colors.lightslategray = '778899' -let g:rgb_colors.lightslategrey = '778899' -let g:rgb_colors.lightsteelblue = 'b0c4de' -let g:rgb_colors.lightsteelblue1 = 'cae1ff' -let g:rgb_colors.lightsteelblue2 = 'bcd2ee' -let g:rgb_colors.lightsteelblue3 = 'a2b5cd' -let g:rgb_colors.lightsteelblue4 = '6e7b8b' -let g:rgb_colors.lightyellow = 'ffffe0' -let g:rgb_colors.lightyellow1 = 'ffffe0' -let g:rgb_colors.lightyellow2 = 'eeeed1' -let g:rgb_colors.lightyellow3 = 'cdcdb4' -let g:rgb_colors.lightyellow4 = '8b8b7a' -let g:rgb_colors.limegreen = '32cd32' -let g:rgb_colors.linen = 'faf0e6' -let g:rgb_colors.magenta = 'ff00ff' -let g:rgb_colors.magenta1 = 'ff00ff' -let g:rgb_colors.magenta2 = 'ee00ee' -let g:rgb_colors.magenta3 = 'cd00cd' -let g:rgb_colors.magenta4 = '8b008b' -let g:rgb_colors.maroon = 'b03060' -let g:rgb_colors.maroon1 = 'ff34b3' -let g:rgb_colors.maroon2 = 'ee30a7' -let g:rgb_colors.maroon3 = 'cd2990' -let g:rgb_colors.maroon4 = '8b1c62' -let g:rgb_colors.mediumaquamarine = '66cdaa' -let g:rgb_colors.mediumblue = '0000cd' -let g:rgb_colors.mediumorchid = 'ba55d3' -let g:rgb_colors.mediumorchid1 = 'e066ff' -let g:rgb_colors.mediumorchid2 = 'd15fee' -let g:rgb_colors.mediumorchid3 = 'b452cd' -let g:rgb_colors.mediumorchid4 = '7a378b' -let g:rgb_colors.mediumpurple = '9370db' -let g:rgb_colors.mediumpurple1 = 'ab82ff' -let g:rgb_colors.mediumpurple2 = '9f79ee' -let g:rgb_colors.mediumpurple3 = '8968cd' -let g:rgb_colors.mediumpurple4 = '5d478b' -let g:rgb_colors.mediumseagreen = '3cb371' -let g:rgb_colors.mediumslateblue = '7b68ee' -let g:rgb_colors.mediumspringgreen = '00fa9a' -let g:rgb_colors.mediumturquoise = '48d1cc' -let g:rgb_colors.mediumvioletred = 'c71585' -let g:rgb_colors.midnightblue = '191970' -let g:rgb_colors.mintcream = 'f5fffa' -let g:rgb_colors.mistyrose = 'ffe4e1' -let g:rgb_colors.mistyrose1 = 'ffe4e1' -let g:rgb_colors.mistyrose2 = 'eed5d2' -let g:rgb_colors.mistyrose3 = 'cdb7b5' -let g:rgb_colors.mistyrose4 = '8b7d7b' -let g:rgb_colors.moccasin = 'ffe4b5' -let g:rgb_colors.navajowhite = 'ffdead' -let g:rgb_colors.navajowhite1 = 'ffdead' -let g:rgb_colors.navajowhite2 = 'eecfa1' -let g:rgb_colors.navajowhite3 = 'cdb38b' -let g:rgb_colors.navajowhite4 = '8b795e' -let g:rgb_colors.navy = '000080' -let g:rgb_colors.navyblue = '000080' -let g:rgb_colors.oldlace = 'fdf5e6' -let g:rgb_colors.olivedrab = '6b8e23' -let g:rgb_colors.olivedrab1 = 'c0ff3e' -let g:rgb_colors.olivedrab2 = 'b3ee3a' -let g:rgb_colors.olivedrab3 = '9acd32' -let g:rgb_colors.olivedrab4 = '698b22' -let g:rgb_colors.orange = 'ffa500' -let g:rgb_colors.orange1 = 'ffa500' -let g:rgb_colors.orange2 = 'ee9a00' -let g:rgb_colors.orange3 = 'cd8500' -let g:rgb_colors.orange4 = '8b5a00' -let g:rgb_colors.orangered = 'ff4500' -let g:rgb_colors.orangered1 = 'ff4500' -let g:rgb_colors.orangered2 = 'ee4000' -let g:rgb_colors.orangered3 = 'cd3700' -let g:rgb_colors.orangered4 = '8b2500' -let g:rgb_colors.orchid = 'da70d6' -let g:rgb_colors.orchid1 = 'ff83fa' -let g:rgb_colors.orchid2 = 'ee7ae9' -let g:rgb_colors.orchid3 = 'cd69c9' -let g:rgb_colors.orchid4 = '8b4789' -let g:rgb_colors.palegoldenrod = 'eee8aa' -let g:rgb_colors.palegreen = '98fb98' -let g:rgb_colors.palegreen1 = '9aff9a' -let g:rgb_colors.palegreen2 = '90ee90' -let g:rgb_colors.palegreen3 = '7ccd7c' -let g:rgb_colors.palegreen4 = '548b54' -let g:rgb_colors.paleturquoise = 'afeeee' -let g:rgb_colors.paleturquoise1 = 'bbffff' -let g:rgb_colors.paleturquoise2 = 'aeeeee' -let g:rgb_colors.paleturquoise3 = '96cdcd' -let g:rgb_colors.paleturquoise4 = '668b8b' -let g:rgb_colors.palevioletred = 'db7093' -let g:rgb_colors.palevioletred1 = 'ff82ab' -let g:rgb_colors.palevioletred2 = 'ee799f' -let g:rgb_colors.palevioletred3 = 'cd6889' -let g:rgb_colors.palevioletred4 = '8b475d' -let g:rgb_colors.papayawhip = 'ffefd5' -let g:rgb_colors.peachpuff = 'ffdab9' -let g:rgb_colors.peachpuff1 = 'ffdab9' -let g:rgb_colors.peachpuff2 = 'eecbad' -let g:rgb_colors.peachpuff3 = 'cdaf95' -let g:rgb_colors.peachpuff4 = '8b7765' -let g:rgb_colors.peru = 'cd853f' -let g:rgb_colors.pink = 'ffc0cb' -let g:rgb_colors.pink1 = 'ffb5c5' -let g:rgb_colors.pink2 = 'eea9b8' -let g:rgb_colors.pink3 = 'cd919e' -let g:rgb_colors.pink4 = '8b636c' -let g:rgb_colors.plum = 'dda0dd' -let g:rgb_colors.plum1 = 'ffbbff' -let g:rgb_colors.plum2 = 'eeaeee' -let g:rgb_colors.plum3 = 'cd96cd' -let g:rgb_colors.plum4 = '8b668b' -let g:rgb_colors.powderblue = 'b0e0e6' -let g:rgb_colors.purple = 'a020f0' -let g:rgb_colors.purple1 = '9b30ff' -let g:rgb_colors.purple2 = '912cee' -let g:rgb_colors.purple3 = '7d26cd' -let g:rgb_colors.purple4 = '551a8b' -let g:rgb_colors.red = 'ff0000' -let g:rgb_colors.red1 = 'ff0000' -let g:rgb_colors.red2 = 'ee0000' -let g:rgb_colors.red3 = 'cd0000' -let g:rgb_colors.red4 = '8b0000' -let g:rgb_colors.rosybrown = 'bc8f8f' -let g:rgb_colors.rosybrown1 = 'ffc1c1' -let g:rgb_colors.rosybrown2 = 'eeb4b4' -let g:rgb_colors.rosybrown3 = 'cd9b9b' -let g:rgb_colors.rosybrown4 = '8b6969' -let g:rgb_colors.royalblue = '4169e1' -let g:rgb_colors.royalblue1 = '4876ff' -let g:rgb_colors.royalblue2 = '436eee' -let g:rgb_colors.royalblue3 = '3a5fcd' -let g:rgb_colors.royalblue4 = '27408b' -let g:rgb_colors.saddlebrown = '8b4513' -let g:rgb_colors.salmon = 'fa8072' -let g:rgb_colors.salmon1 = 'ff8c69' -let g:rgb_colors.salmon2 = 'ee8262' -let g:rgb_colors.salmon3 = 'cd7054' -let g:rgb_colors.salmon4 = '8b4c39' -let g:rgb_colors.sandybrown = 'f4a460' -let g:rgb_colors.seagreen = '2e8b57' -let g:rgb_colors.seagreen1 = '54ff9f' -let g:rgb_colors.seagreen2 = '4eee94' -let g:rgb_colors.seagreen3 = '43cd80' -let g:rgb_colors.seagreen4 = '2e8b57' -let g:rgb_colors.seashell = 'fff5ee' -let g:rgb_colors.seashell1 = 'fff5ee' -let g:rgb_colors.seashell2 = 'eee5de' -let g:rgb_colors.seashell3 = 'cdc5bf' -let g:rgb_colors.seashell4 = '8b8682' -let g:rgb_colors.sienna = 'a0522d' -let g:rgb_colors.sienna1 = 'ff8247' -let g:rgb_colors.sienna2 = 'ee7942' -let g:rgb_colors.sienna3 = 'cd6839' -let g:rgb_colors.sienna4 = '8b4726' -let g:rgb_colors.skyblue = '87ceeb' -let g:rgb_colors.skyblue1 = '87ceff' -let g:rgb_colors.skyblue2 = '7ec0ee' -let g:rgb_colors.skyblue3 = '6ca6cd' -let g:rgb_colors.skyblue4 = '4a708b' -let g:rgb_colors.slateblue = '6a5acd' -let g:rgb_colors.slateblue1 = '836fff' -let g:rgb_colors.slateblue2 = '7a67ee' -let g:rgb_colors.slateblue3 = '6959cd' -let g:rgb_colors.slateblue4 = '473c8b' -let g:rgb_colors.slategray = '708090' -let g:rgb_colors.slategray1 = 'c6e2ff' -let g:rgb_colors.slategray2 = 'b9d3ee' -let g:rgb_colors.slategray3 = '9fb6cd' -let g:rgb_colors.slategray4 = '6c7b8b' -let g:rgb_colors.slategrey = '708090' -let g:rgb_colors.snow = 'fffafa' -let g:rgb_colors.snow1 = 'fffafa' -let g:rgb_colors.snow2 = 'eee9e9' -let g:rgb_colors.snow3 = 'cdc9c9' -let g:rgb_colors.snow4 = '8b8989' -let g:rgb_colors.springgreen = '00ff7f' -let g:rgb_colors.springgreen1 = '00ff7f' -let g:rgb_colors.springgreen2 = '00ee76' -let g:rgb_colors.springgreen3 = '00cd66' -let g:rgb_colors.springgreen4 = '008b45' -let g:rgb_colors.steelblue = '4682b4' -let g:rgb_colors.steelblue1 = '63b8ff' -let g:rgb_colors.steelblue2 = '5cacee' -let g:rgb_colors.steelblue3 = '4f94cd' -let g:rgb_colors.steelblue4 = '36648b' -let g:rgb_colors.tan = 'd2b48c' -let g:rgb_colors.tan1 = 'ffa54f' -let g:rgb_colors.tan2 = 'ee9a49' -let g:rgb_colors.tan3 = 'cd853f' -let g:rgb_colors.tan4 = '8b5a2b' -let g:rgb_colors.thistle = 'd8bfd8' -let g:rgb_colors.thistle1 = 'ffe1ff' -let g:rgb_colors.thistle2 = 'eed2ee' -let g:rgb_colors.thistle3 = 'cdb5cd' -let g:rgb_colors.thistle4 = '8b7b8b' -let g:rgb_colors.tomato = 'ff6347' -let g:rgb_colors.tomato1 = 'ff6347' -let g:rgb_colors.tomato2 = 'ee5c42' -let g:rgb_colors.tomato3 = 'cd4f39' -let g:rgb_colors.tomato4 = '8b3626' -let g:rgb_colors.turquoise = '40e0d0' -let g:rgb_colors.turquoise1 = '00f5ff' -let g:rgb_colors.turquoise2 = '00e5ee' -let g:rgb_colors.turquoise3 = '00c5cd' -let g:rgb_colors.turquoise4 = '00868b' -let g:rgb_colors.violet = 'ee82ee' -let g:rgb_colors.violetred = 'd02090' -let g:rgb_colors.violetred1 = 'ff3e96' -let g:rgb_colors.violetred2 = 'ee3a8c' -let g:rgb_colors.violetred3 = 'cd3278' -let g:rgb_colors.violetred4 = '8b2252' -let g:rgb_colors.wheat = 'f5deb3' -let g:rgb_colors.wheat1 = 'ffe7ba' -let g:rgb_colors.wheat2 = 'eed8ae' -let g:rgb_colors.wheat3 = 'cdba96' -let g:rgb_colors.wheat4 = '8b7e66' -let g:rgb_colors.white = 'ffffff' -let g:rgb_colors.whitesmoke = 'f5f5f5' -let g:rgb_colors.yellow = 'ffff00' -let g:rgb_colors.yellow1 = 'ffff00' -let g:rgb_colors.yellow2 = 'eeee00' -let g:rgb_colors.yellow3 = 'cdcd00' -let g:rgb_colors.yellow4 = '8b8b00' -let g:rgb_colors.yellowgreen = '9acd32' - -" vim: set ft=vim: diff --git a/private_dot_config/nvim/init.lua b/private_dot_config/nvim/init.lua new file mode 100644 index 0000000..2514f9e --- /dev/null +++ b/private_dot_config/nvim/init.lua @@ -0,0 +1,2 @@ +-- bootstrap lazy.nvim, LazyVim and your plugins +require("config.lazy") diff --git a/private_dot_config/nvim/init.vim.tmpl b/private_dot_config/nvim/init.vim.tmpl deleted file mode 100644 index 1886344..0000000 --- a/private_dot_config/nvim/init.vim.tmpl +++ /dev/null @@ -1,219 +0,0 @@ -packadd minpac -call minpac#init() - " minpac must have {'type': 'opt'} so that it can be loaded with `packadd`. - call minpac#add('k-takata/minpac', {'type': 'opt'}) - call minpac#add('honza/vim-snippets', {'type': 'start'}) - call minpac#add('SirVer/ultisnips') - call minpac#add('junegunn/limelight.vim') - call minpac#add('junegunn/goyo.vim') - call minpac#add('junegunn/fzf') - call minpac#add('junegunn/fzf.vim') - call minpac#add('ambv/black') - call minpac#add('davidhalter/jedi-vim') - call minpac#add('vim-airline/vim-airline') - call minpac#add('ap/vim-css-color') - call minpac#add('fatih/vim-go') - call minpac#add('dpelle/vim-Grammalecte') - call minpac#add('ledger/vim-ledger') - call minpac#add('tpope/vim-markdown') - call minpac#add('nfnty/vim-nftables') - call minpac#add('cespare/vim-toml') - call minpac#add('pbrisbin/vim-mkdir') - call minpac#add('tpope/vim-eunuch') - call minpac#add('lambdalisue/suda.vim') - call minpac#add('airblade/vim-gitgutter') - call minpac#add('thaerkh/vim-indentguides') - call minpac#add('Shougo/deoplete.nvim') - call minpac#add('dense-analysis/ale') - -command! PU call minpac#update() -command! PC call minpac#clean() -command! PS call minpac#status() - -cmap w!! w suda://% - -colorscheme desert-warm-256 - -let g:deoplete#enable_at_startup = 1 -let g:UltiSnipsSnippetDirectories=["UltiSnips", "mysnippets"] -let g:indentguides_ignorelist = ['txt','md','help'] -let g:rustfmt_autosave = 1 -let g:netrw_dirhistmax = 0 -let g:airline#extensions#tabline#enabled = 1 -let g:airline_powerline_fonts = 1 -let g:limelight_conceal_ctermfg = 'gray' -let g:snips_author = 'Julien Rabier' -let g:name = 'Julien Rabier' -let g:nickname = 'taziden' -let mapleader="," -set completeopt=menuone,noselect,noinsert -set backup -set backupdir=~/.vim/backup -set hidden -set ignorecase -set lcs:tab:>-,trail:. -set list -set modeline -set number -set showmatch -set spelllang=fr -set statusline+=%#warningmsg# -set statusline+=%* -set undofile -set undodir=~/.vim/undo -"set virtualedit=all -"set clipboard=unnamed -set expandtab -set tabstop=4 -set shiftwidth=4 -set softtabstop=4 -set pastetoggle= -"set formatoptions=tcrqn2w -"set formatlistpat=^\\s*[\\d\\*-]\\+[\\]:.)}\\t\ ]\\s* -"set dictionary=/usr/share/dict/words - -highlight clear SpellBad -highlight SpellBad term=standout ctermfg=1 term=underline cterm=underline -highlight clear SpellCap -highlight SpellCap term=standout ctermfg=3 term=underline cterm=underline -highlight clear SpellRare -highlight SpellRare term=underline cterm=underline -highlight clear SpellLocal -highlight SpellLocal term=underline cterm=underline -highlight RedundantSpaces ctermbg=red guibg=red -match RedundantSpaces /\s\+$\| \+\ze\t\|\t/ - -" Jump to the last position when reopening a file -if has("autocmd") - au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif -endif - -au Filetype yaml silent setlocal foldmethod=marker tw=80 ts=2 sw=2 sts=2 foldlevel=0 - -"inoremap MyCR -" \ mucomplete#ultisnips#expand_snippet("\") -"imap MyCR - -nnoremap -nnoremap -nnoremap -nnoremap -nmap :TagbarToggle -map :!hugo server -Dw -map ,ga :!git add -p -map ,gA :!git add % -map ,gf :!git add -map ,gs :!git status -map ,gc :!git commit -m "" -map ,gC :!git add %:!git commit -m "" -map ,gd :!git diff -map ,gD :!git diff --cached -map ,gp :!git push -map ,gP :!git pull -map ,gb :!git branch -map ,gB :!git branch -map ,gh :!git checkout -map ,gi :!git init -map ,gt :!tig -map :bp " Alt + Left arrow goes to the previous buffer -map :bn " Alt + Right arrow goes to the next buffer -nnoremap :NV - -function! s:goyo_enter() - let b:quitting = 0 - let b:quitting_bang = 0 - autocmd QuitPre let b:quitting = 1 - cabbrev q! let b:quitting_bang = 1 q! -endfunction - -function! s:goyo_leave() - " Quit Vim if this is the only remaining buffer - if b:quitting && len(filter(range(1, bufnr('$')), 'buflisted(v:val)')) == 1 - if b:quitting_bang - qa! - else - qa - endif - endif -endfunction - -autocmd! User GoyoEnter call goyo_enter() -autocmd! User GoyoLeave call goyo_leave() - -command! -bang -nargs=? -complete=dir Files - \ call fzf#vim#files(, fzf#vim#with_preview(), 0) -nnoremap :Files -nnoremap ,ff :RG - -function! RipgrepFzf(query, fullscreen) - let command_fmt = 'rg --column --line-number --no-heading --color=always --smart-case %s || true' - let initial_command = printf(command_fmt, shellescape(a:query)) - let reload_command = printf(command_fmt, '{q}') - let spec = {'options': ['--phony', '--query', a:query, '--bind', 'change:reload:'.reload_command]} - call fzf#vim#grep(initial_command, 1, fzf#vim#with_preview(spec), a:fullscreen) -endfunction - -command! -nargs=* -bang RG call RipgrepFzf(, 0) - -let g:fzf_action = { - \ 'ctrl-s': 'split', - \ 'ctrl-v': 'vsplit', - \ 'ctrl-t': 'edit', - \ 'enter': 'tabedit', - \ } - -nnoremap ,f :FZF - -{{- if eq .chezmoi.osRelease.prettyName "Debian GNU/Linux 10 (buster)" }} -let g:go_version_warning = 0 -{{- end }} - -{{- if eq .chezmoi.hostname "taupo" }} -call minpac#add('alok/notational-fzf-vim') -call minpac#add('rust-lang/rust.vim') -call minpac#add('racer-rust/vim-racer') -call minpac#add('mhinz/vim-crates') -call minpac#add('tpope/vim-dispatch') -call minpac#add('paretje/deoplete-notmuch') -call minpac#add('deoplete-plugins/deoplete-dictionary') -call minpac#add('dpelle/vim-Grammalecte') -call minpac#add('itspriddle/vim-shellcheck') - -let g:grammalecte_cli_py='/home/taziden/prog/grammalecte/grammalecte-cli.py' -let g:racer_experimental_completer = 1 -let g:nv_search_paths = ['./notes', '~/notes', '~/projets/sysnove/notes'] -let g:nv_default_extension = '.md' -let g:nv_create_note_window = 'edit' -map :!pdflatex % -map :!pinpoint % -map :!hugo server -Dw -map ,b :!bash gen.sh -map ,c 2GddOTo: contact@sysnove.frjddOCc: -autocmd BufNewFile,BufRead *.hledger,*.ledger,*.journal setfiletype ledger -autocmd BufNewFile,BufRead *.vim.tmpl setfiletype vim -autocmd BufWritePost devis*.md :Start! bash gen.sh -autocmd Filetype ledger set nospell -autocmd CompleteDone * silent! pclose! - -"autocmd VimEnter * call deoplete#custom#source('dictionary', 'filetypes', ['markdown','mail','txt']) - -" Racer -augroup Racer - autocmd! - autocmd FileType rust nmap gd (rust-def) - autocmd FileType rust nmap gs (rust-def-split) - autocmd FileType rust nmap gx (rust-def-vertical) - autocmd FileType rust nmap gt (rust-def-tab) - autocmd FileType rust nmap gd (rust-doc-tab) - autocmd FileType rust nmap gD (rust-doc) -augroup END - -let g:ale_linters = {'rust': ['analyzer', 'cargo', 'rls', 'rustc']} -let g:ale_fixers = { - \ '*': ['remove_trailing_lines', 'trim_whitespace'], - \ 'rust': ['rustfmt'], - \} -let g:ale_fix_onsave = 1 - -autocmd BufRead Cargo.toml call crates#toggle() -{{- end }} diff --git a/private_dot_config/nvim/lua/config/autocmds.lua b/private_dot_config/nvim/lua/config/autocmds.lua new file mode 100644 index 0000000..27e9e06 --- /dev/null +++ b/private_dot_config/nvim/lua/config/autocmds.lua @@ -0,0 +1,3 @@ +-- Autocmds are automatically loaded on the VeryLazy event +-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua +-- Add any additional autocmds here diff --git a/private_dot_config/nvim/lua/config/keymaps.lua b/private_dot_config/nvim/lua/config/keymaps.lua new file mode 100644 index 0000000..2c134f7 --- /dev/null +++ b/private_dot_config/nvim/lua/config/keymaps.lua @@ -0,0 +1,3 @@ +-- Keymaps are automatically loaded on the VeryLazy event +-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua +-- Add any additional keymaps here diff --git a/private_dot_config/nvim/lua/config/lazy.lua b/private_dot_config/nvim/lua/config/lazy.lua new file mode 100644 index 0000000..8a3b188 --- /dev/null +++ b/private_dot_config/nvim/lua/config/lazy.lua @@ -0,0 +1,40 @@ +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not vim.loop.fs_stat(lazypath) then + -- bootstrap lazy.nvim + -- stylua: ignore + vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath }) +end +vim.opt.rtp:prepend(vim.env.LAZY or lazypath) + +require("lazy").setup({ + spec = { + -- import LazyVim plugins + { "LazyVim/LazyVim", import = "lazyvim.plugins" }, + -- import/override with your plugins + { import = "plugins" }, + -- import any extras modules here + -- { import = "lazyvim.plugins.extras.lang.typescript" }, + -- { import = "lazyvim.plugins.extras.lang.json" }, + }, + defaults = { + lazy = true, -- every plugin is lazy-loaded by default + version = "*", -- try installing the latest stable version for plugins that support semver + }, + install = { colorscheme = { "tokyonight", "habamax" } }, + checker = { enabled = true }, -- automatically check for plugin updates + performance = { + rtp = { + -- disable some rtp plugins + disabled_plugins = { + "gzip", + "matchit", + "matchparen", + "netrwPlugin", + "tarPlugin", + "tohtml", + "tutor", + "zipPlugin", + }, + }, + }, +}) diff --git a/private_dot_config/nvim/lua/config/options.lua b/private_dot_config/nvim/lua/config/options.lua new file mode 100644 index 0000000..3ea1454 --- /dev/null +++ b/private_dot_config/nvim/lua/config/options.lua @@ -0,0 +1,3 @@ +-- Options are automatically loaded before lazy.nvim startup +-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua +-- Add any additional options here diff --git a/private_dot_config/nvim/lua/plugins/example.lua b/private_dot_config/nvim/lua/plugins/example.lua new file mode 100644 index 0000000..edb3ab1 --- /dev/null +++ b/private_dot_config/nvim/lua/plugins/example.lua @@ -0,0 +1,189 @@ +-- since this is just an example spec, don't actually load anything here and return an empty spec +-- stylua: ignore +if true then return {} end + +-- every spec file under config.plugins will be loaded automatically by lazy.nvim +-- +-- In your plugin files, you can: +-- * add extra plugins +-- * disable/enabled LazyVim plugins +-- * override the configuration of LazyVim plugins +return { + -- change trouble config + { + "folke/trouble.nvim", + -- opts will be merged with the parent spec + opts = { use_diagnostic_signs = true }, + }, + + -- disable trouble + { "folke/trouble.nvim", enabled = false }, + + -- add symbols-outline + { + "simrat39/symbols-outline.nvim", + cmd = "SymbolsOutline", + keys = { { "cs", "SymbolsOutline", desc = "Symbols Outline" } }, + config = true, + }, + + -- override nvim-cmp and add cmp-emoji + { + "hrsh7th/nvim-cmp", + dependencies = { "hrsh7th/cmp-emoji" }, + ---@param opts cmp.ConfigSchema + opts = function(_, opts) + local cmp = require("cmp") + opts.sources = cmp.config.sources(vim.list_extend(opts.sources, { { name = "emoji" } })) + end, + }, + + -- change some telescope options and add telescope-fzf-native + { + "nvim-telescope/telescope.nvim", + dependencies = { { "nvim-telescope/telescope-fzf-native.nvim", build = "make" } }, + keys = { + -- add a keymap to browse plugin files + -- stylua: ignore + { + "fp", + function() require("telescope.builtin").find_files({ cwd = require("lazy.core.config").options.root }) end, + desc = "Find Plugin File", + }, + }, + -- change some options + opts = { + defaults = { + layout_strategy = "horizontal", + layout_config = { prompt_position = "top" }, + sorting_strategy = "ascending", + winblend = 0, + }, + }, + -- apply the config and additionally load fzf-native + config = function(_, opts) + local telescope = require("telescope") + telescope.setup(opts) + telescope.load_extension("fzf") + end, + }, + + -- add pyright and setup tsserver with typescript.nvim + { + "neovim/nvim-lspconfig", + dependencies = { + "jose-elias-alvarez/typescript.nvim", + init = function() + require("lazyvim.util").on_attach(function(_, buffer) + -- stylua: ignore + vim.keymap.set( "n", "co", "TypescriptOrganizeImports", { buffer = buffer, desc = "Organize Imports" }) + vim.keymap.set("n", "cR", "TypescriptRenameFile", { desc = "Rename File", buffer = buffer }) + end) + end, + }, + ---@class PluginLspOpts + opts = { + ---@type lspconfig.options + servers = { + -- pyright will be automatically installed with mason and loaded with lspconfig + pyright = {}, + tsserver = {}, + }, + -- you can do any additional lsp server setup here + -- return true if you don't want this server to be setup with lspconfig + ---@type table + setup = { + -- example to setup with typescript.nvim + tsserver = function(_, opts) + require("typescript").setup({ server = opts }) + return true + end, + -- Specify * to use this function as a fallback for any server + -- ["*"] = function(server, opts) end, + }, + }, + }, + + -- for typescript, LazyVim also includes extra specs to properly setup lspconfig, + -- treesitter, mason and typescript.nvim. So instead of the above, you can use: + { import = "lazyvim.plugins.extras.lang.typescript" }, + + -- add more treesitter parsers + { + "nvim-treesitter/nvim-treesitter", + opts = { + ensure_installed = { + "bash", + "help", + "html", + "javascript", + "json", + "lua", + "markdown", + "markdown_inline", + "python", + "query", + "regex", + "tsx", + "typescript", + "vim", + "yaml", + }, + }, + }, + + -- since `vim.tbl_deep_extend`, can only merge tables and not lists, the code above + -- would overwrite `ensure_installed` with the ne value. + -- If you'd rather extend the default config, use the code below instead: + { + "nvim-treesitter/nvim-treesitter", + opts = function(_, opts) + vim.list_extend(opts.ensure_installed, { + -- add tsx and treesitter + ensure_installed = { + "tsx", + "typescript", + }, + }) + end, + }, + + -- the opts function can also be used to change the default opts: + { + "nvim-lualine/lualine.nvim", + event = "VeryLazy", + opts = function(_, opts) + table.insert(opts.sections.lualine_x, "😄") + end, + }, + + -- or you can return new options to override all the defaults + { + "nvim-lualine/lualine.nvim", + event = "VeryLazy", + opts = function() + return { + --[[add your custom lualine config here]] + } + end, + }, + + -- use mini.starter instead of alpha + { import = "lazyvim.plugins.extras.ui.mini-starter" }, + + -- add jsonls and schemastore ans setup treesitter for json, json5 and jsonc + { import = "lazyvim.plugins.extras.lang.json" }, + + -- add any tools you want to have installed below + { + "williamboman/mason.nvim", + opts = { + ensure_installed = { + "stylua", + "shellcheck", + "shfmt", + "flake8", + }, + }, + }, +} diff --git a/private_dot_config/nvim/mysnippets/_.snippets b/private_dot_config/nvim/mysnippets/_.snippets deleted file mode 100644 index 67a204f..0000000 --- a/private_dot_config/nvim/mysnippets/_.snippets +++ /dev/null @@ -1,259 +0,0 @@ -# Global snippets - -snippet BUG - :BUG:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet DEBUG - :DEBUG:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet WARNING - :WARNING:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet TODO - :TODO:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet KLUDGE - :KLUDGE:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet COMMENT - :COMMENT:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet TRICKY - :TRICKY:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet DOC - :DOC:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet EXPIRE - :EXPIRE:`g:nickname`:`strftime("%Y%m%d")`: ${1} - -snippet c) - Copyright `&enc[:2] == "utf" ? "©" : "(c)"` `strftime("%Y")` ${1:`g:snips_author`}. All Rights Reserved. -snippet date - `strftime("%Y-%m-%d")` -snippet ddate - `strftime("%B %d, %Y")` -snippet time - `strftime("%H:%M")` -snippet datetime - `strftime("%Y-%m-%d %H:%M")` -snippet lorem - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -snippet GPL2 - ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see . - - ${0} -snippet LGPL2 - ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This library is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published - by the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with this library; if not, see . - - ${0} -snippet GPL3 - ${1:one line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - - ${0} -snippet LGPL3 - ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This library is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published - by the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with this library; if not, see . - - ${0} -snippet BSD2 - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY - EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - The views and conclusions contained in the software and documentation - are those of the authors and should not be interpreted as representing - official policies, either expressedor implied, of $2. - - ${0} -snippet BSD3 - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - 3. Neither the name of the ${3:organization} nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY - EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ${0} -snippet BSD4 - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - 3. All advertising materials mentioning features or use of this software - must display the following acknowledgement: - This product includes software developed by the ${3:organization}. - 4. Neither the name of the $3 nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY - EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ${0} -snippet MIT - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the "Software"), - to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom the - Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE - OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ${0} -snippet APACHE - ${1:one line to give the program's name and a brief description} - Copyright `strftime("%Y")` ${2:copyright holder} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - ${0} -snippet BEERWARE - ${2:one line to give the program's name and a brief description} - Copyright `strftime("%Y")` ${3:copyright holder} - - Licensed under the "THE BEER-WARE LICENSE" (Revision 42): - ${1:`g:snips_author`} wrote this file. As long as you retain this notice you - can do whatever you want with this stuff. If we meet some day, and you think - this stuff is worth it, you can buy me a beer or coffee in return - - ${0} - -snippet WTFPL - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright `strftime("%Y")` ${0:copyright holder} - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/private_dot_config/nvim/mysnippets/all.snippets b/private_dot_config/nvim/mysnippets/all.snippets deleted file mode 100644 index a563d62..0000000 --- a/private_dot_config/nvim/mysnippets/all.snippets +++ /dev/null @@ -1,6 +0,0 @@ -snippet cd -Cordialement, -endsnippet -snippet bo -Bonjour, -endsnippet diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/.gitignore b/private_dot_config/nvim/pack/minpac/opt/minpac/.gitignore deleted file mode 100644 index 704c173..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*~ -*.sw? -*.orig -*.rej -tags diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/.travis.yml b/private_dot_config/nvim/pack/minpac/opt/minpac/.travis.yml deleted file mode 100644 index 0ce93c8..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/.travis.yml +++ /dev/null @@ -1,75 +0,0 @@ -language: generic -sudo: false - -cache: - directories: - - $HOME/opt - -env: - global: - - OPT=$HOME/opt - - CACHE=$OPT/cache - - BREWCACHE=$HOME/Library/Caches/Homebrew - -matrix: - include: - - os: linux - dist: focal - env: VIM=vim VIMPROG=$OPT/bin/$VIM - - os: linux - dist: focal - env: VIM=nvim VIMPROG=$VIM - - os: osx - osx_image: xcode12 - env: VIM=vim PACKAGE=vim VIMPROG=$VIM - - os: osx - osx_image: xcode12 - env: VIM=nvim PACKAGE=neovim VIMPROG=$VIM - - -install: | - if [ "$TRAVIS_OS_NAME" = "linux" ]; then - if [ "$VIM" = "vim" ]; then - git clone --depth 1 https://github.com/vim/vim - cd vim - echo -n 'Vim version: ' - git describe --tags | tee vim-ver.txt - if [ -e $OPT/vim-ver.txt ]; then - if diff $OPT/vim-ver.txt vim-ver.txt; then - cd - - return - fi - fi - ./configure --prefix=$OPT --with-features=huge --disable-gui - make - make install - cp vim-ver.txt $OPT - cd - - elif [ "$VIM" = "nvim" ]; then - # https://github.com/neovim/bot-ci#setting-up-integration-builds - eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64" - fi - elif [ "$TRAVIS_OS_NAME" = "osx" ]; then - if [ -d $CACHE ]; then - if [ "$(echo $CACHE/*)" != "$CACHE/*" ]; then - cp $CACHE/* $BREWCACHE - fi - else - mkdir $CACHE -p - fi - (cd $BREWCACHE; ls > $HOME/list1.txt) - brew update - #brew upgrade - brew install $PACKAGE - brew cleanup -s - (cd $BREWCACHE; ls > $HOME/list2.txt) - comm -1 -3 $HOME/list1.txt $HOME/list2.txt | (cd $BREWCACHE; xargs -I{} cp {} $CACHE) - comm -2 -3 $HOME/list1.txt $HOME/list2.txt | (cd $CACHE; xargs rm -rf) - $VIM --version - fi - -script: - - cd test - - make VIMPROG=$VIMPROG - -# vim: sw=2 sts=2 et diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/README.md b/private_dot_config/nvim/pack/minpac/opt/minpac/README.md deleted file mode 100644 index ebdda70..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/README.md +++ /dev/null @@ -1,518 +0,0 @@ -[![Build status](https://github.com/k-takata/minpac/workflows/CI/badge.svg)](https://github.com/k-takata/minpac/actions) -[![Build status](https://ci.appveyor.com/api/projects/status/qakftqoyx5m47ns3/branch/master?svg=true)](https://ci.appveyor.com/project/k-takata/minpac/branch/master) - -minpac: A minimal package manager for Vim 8 (and Neovim) -======================================================== - -Overview --------- - -Minpac is a minimal package manager for Vim 8 (and Neovim). This uses the -[packages](http://vim-jp.org/vimdoc-en/repeat.html#packages) feature and -the [jobs](http://vim-jp.org/vimdoc-en/channel.html#job-channel-overview) -feature which have been newly added on Vim 8. - -Concept -------- - -* Utilize Vim 8's packages feature. -* Parallel install/update using Vim 8's jobs feature. -* Simple. -* Fast. - - -Requirements ------------- - -* Vim 8.0.0050+ (or Neovim 0.2+) -* Git 1.9+ -* OS: Windows, Linux or macOS - - -Installation ------------- - -Minpac should be installed under `pack/minpac/opt/` in the first directory -in the `'packpath'` option. -Plugins installed under `pack/*/start/` are automatically added to the `'runtimepath'` after `.vimrc` is sourced. However, minpac needs to be loaded before that. Therefore, minpac should be installed under "opt" directory, and should be loaded using `packadd minpac`. - -### Windows - -Vim: - -```cmd -git clone https://github.com/k-takata/minpac.git %USERPROFILE%\vimfiles\pack\minpac\opt\minpac -``` - -Neovim: - -```cmd -git clone https://github.com/k-takata/minpac.git %LOCALAPPDATA%\nvim\pack\minpac\opt\minpac -``` - -### Linux, macOS - -Vim: - -```sh -git clone https://github.com/k-takata/minpac.git ~/.vim/pack/minpac/opt/minpac -``` - -Neovim (use `$XDG_CONFIG_HOME` in place of `~/.config` if set on your system): - -```sh -git clone https://github.com/k-takata/minpac.git ~/.config/nvim/pack/minpac/opt/minpac -``` - -### Sample .vimrc - -#### Basic sample - -```vim -" Normally this if-block is not needed, because `:set nocp` is done -" automatically when .vimrc is found. However, this might be useful -" when you execute `vim -u .vimrc` from the command line. -if &compatible - " `:set nocp` has many side effects. Therefore this should be done - " only when 'compatible' is set. - set nocompatible -endif - -packadd minpac - -call minpac#init() - -" minpac must have {'type': 'opt'} so that it can be loaded with `packadd`. -call minpac#add('k-takata/minpac', {'type': 'opt'}) - -" Add other plugins here. -call minpac#add('vim-jp/syntax-vim-ex') -... - -" Load the plugins right now. (optional) -"packloadall -``` - -Minpac itself requires 'compatible' to be unset. However, the `if &compatible`-block is optional. - -#### Customizing 'packpath' - -If you want to use `.vim` directory instead of `vimfiles` even on Windows, -you should add `~/.vim` on top of `'packpath'`: - -```vim -set packpath^=~/.vim -packadd minpac - -call minpac#init() -... -``` - -#### Advanced sample - -You can write a .vimrc which can be also used even if minpac is not installed. - -```vim -" Try to load minpac. -packadd minpac - -if !exists('g:loaded_minpac') - " minpac is not available. - - " Settings for plugin-less environment. - ... -else - " minpac is available. - call minpac#init() - call minpac#add('k-takata/minpac', {'type': 'opt'}) - - " Additional plugins here. - ... - - " Plugin settings here. - ... -endif - -" Common settings here. -... -``` - -#### Load minpac on demand - -Very interestingly, minpac doesn't need to be loaded every time when you execute Vim. Unlike other plugin managers, it is needed only when updating, installing or cleaning the plugins. This is because minpac itself doesn't handle the runtime path. - -You can define user commands to load minpac, register the information of plugins, then call `minpac#update()`, `minpac#clean()` or `minpac#status()`. - -```vim -function! PackInit() abort - packadd minpac - - call minpac#init() - call minpac#add('k-takata/minpac', {'type': 'opt'}) - - " Additional plugins here. - call minpac#add('vim-jp/syntax-vim-ex') - call minpac#add('tyru/open-browser.vim') - ... -endfunction - -" Plugin settings here. -... - -" Define user commands for updating/cleaning the plugins. -" Each of them calls PackInit() to load minpac and register -" the information of plugins, then performs the task. -command! PackUpdate call PackInit() | call minpac#update() -command! PackClean call PackInit() | call minpac#clean() -command! PackStatus packadd minpac | call minpac#status() -``` - -If you make your .vimrc reloadable, you can reflect the setting of the .vimrc immediately after you edit it by executing `:so $MYVIMRC | PackUpdate`. Or you can define the commands like this: - -```vim -command! PackUpdate source $MYVIMRC | call PackInit() | call minpac#update() -command! PackClean source $MYVIMRC | call PackInit() | call minpac#clean() -command! PackStatus packadd minpac | call minpac#status() -``` - -To make your .vimrc reloadable: - -* `:set nocompatible` should not be executed twice to avoid side effects. -* `:function!` should be used to define a user function. -* `:command!` should be used to define a user command. -* `:augroup!` should be used properly to avoid the same autogroups are defined twice. - - -Sometimes, you may want to open a shell at the directory where a plugin is installed. The following example defines a command to open a terminal window at the directory of a specified plugin. (Requires Vim 8.0.902 or later.) - -```vim -function! PackList(...) - call PackInit() - return join(sort(keys(minpac#getpluglist())), "\n") -endfunction - -command! -nargs=1 -complete=custom,PackList - \ PackOpenDir call PackInit() | call term_start(&shell, - \ {'cwd': minpac#getpluginfo().dir, - \ 'term_finish': 'close'}) -``` - -If you execute `:PackOpenDir minpac`, it will open a terminal window at `~/.vim/pack/minpac/opt/minpac` (or the directory where minpac is installed). - -To define a command to open the repository of a plugin in a web browser: - -```vim -command! -nargs=1 -complete=custom,PackList - \ PackOpenUrl call PackInit() | call openbrowser#open( - \ minpac#getpluginfo().url) -``` - -This uses [open-browser.vim](https://github.com/tyru/open-browser.vim). - - -Usage ------ - -### Commands - -Minpac doesn't provide any commands. Use the `:call` command to call minpac -functions. E.g.: - -```vim -" To install or update plugins: -call minpac#update() - -" To uninstall unused plugins: -call minpac#clean() - -" To see plugins status: -call minpac#status() -``` - -Or define commands by yourself as described in the previous section. - - -### Functions - -#### minpac#init([{config}]) - -Initialize minpac. - -`{config}` is a Dictionary of options for configuring minpac. - -| option | description | -|-----------|-------------| -| `'dir'` | Base directory. Default: the first directory of the `'packpath'` option. | -| `'package_name'` | Package name. Default: `'minpac'` | -| `'git'` | Git command. Default: `'git'` | -| `'depth'` | Default clone depth. Default: 1 | -| `'jobs'` | Maximum job numbers. If <= 0, unlimited. Default: 8 | -| `'verbose'` | Verbosity level (0 to 4).
0: Show only important messages.
1: Show the result of each plugin.
2: Show error messages from external commands.
3: Show start/end messages for each plugin.
4: Show debug messages.
Default: 2 | -| `'confirm'` | Show interactive confirmation prompts, such as in `minpac#clean()`.
Default: TRUE | -| `'progress_open'` | Specify how to show the progress of `minpac#update()`.
`'none'`: Do not open the progress window. (Compatible with minpac v2.0.x or earlier.)
`'horizontal'`: Open the progress window by splitting horizontally.
`'vertical'`: Open the progress window by splitting vertically.
`'tab'`: Open the progress window in a new tab.
Default: `'horizontal'` | -| `'status_open'` | Default setting for the open option of `minpac#status()`. Default: `'horizontal'` | -| `'status_auto'` | Specify whether the status window will open automatically after `minpac#update()` is finished.
TRUE: Open the status window automatically, when one or more plugins are updated or installed.
FALSE: Do not open the status window automatically.
Default: FALSE | - -All plugins will be installed under the following directories: - - "start" plugins: /pack//start/ - "opt" plugins: /pack//opt/ - - -"start" plugins will be automatically loaded after processing your `.vimrc`, or you can load them explicitly using `:packloadall` command. -"opt" plugins can be loaded with `:packadd` command. -See `:help packages` for detail. - -#### minpac#add({url}[, {config}]) - -Register a plugin. - -`{url}` is a URL of a plugin. It can be a short form (`'/'`) or a valid git URL. If you use the short form, `` should not include the ".git" suffix. -Note: Unlike Vundle, a short form without `/` is not supported. (Because vim-scripts.org is not maintained now.) - -`{config}` is a Dictionary of options for configuring the plugin. - -| option | description | -|------------|-------------| -| `'name'` | Unique name of the plugin (`plugin_name`). Also used as a local directory name. Default: derived from the repository name. | -| `'type'` | Type of the plugin. `'start'` or `'opt'`. Default: `'start'` | -| `'frozen'` | If TRUE, the plugin will not be updated automatically. Default: FALSE | -| `'depth'` | If >= 1, it is used as a depth to be cloned. Only effective when install the plugin newly. Default: 1 or specified value by `minpac#init()`. | -| `'branch'` | Used as a branch name to be cloned. Only effective when install the plugin newly. Default: empty | -| `'rev'` | Commit ID, branch name or tag name to be checked out. If this is specified, `'depth'` will be ignored. Default: empty | -| `'do'` | Post-update hook. See [Post-update hooks](#post-update-hooks). Default: empty | -| `'subdir'` | Subdirectory that contains Vim plugin. Default: empty | -| `'pullmethod'` | Specify how to update the plugin.
Empty: Update with `--ff-only` option.
`'autostash'`: Update with `--rebase --autostash` options.
Default: empty | - -The `'branch'` and `'rev'` options are slightly different. -The `'branch'` option is used only when the plugin is newly installed. It clones the plugin by `git clone --depth= -b `. This is faster at the installation, but it can be slow if you want to change the branch (by the `'rev'` option) later. This cannot specify a commit ID. -The `'rev'` option is used both for installing and updating the plugin. It installs the plugin by `git clone && git checkout ` and updates the plugin by `git fetch && git checkout `. This is slower because it clones the whole repository, but you can change the rev (commit ID, branch or tag) later. -So, if you want to change the branch frequently or want to specify a commit ID, you should use the `'rev'` option. Otherwise you can use the `'branch'` option. - -If you include `*` in `'rev'`, minpac tries to checkout the latest tag name which matches the `'rev'`. - -When `'subdir'` is specified, the plugin will be installed as usual (e.g. in `pack/minpac/start/pluginname`), however, another directory is created and a symlink (or a junction on Windows) will be created in it. E.g.: - -``` -ln -s pack/minpac/start/pluginname/subdir pack/minpac-sub/start/pluginname -``` - -This way, Vim can load the plugin from its subdirectory. - - -#### minpac#update([{name}[, {config}]]) - -Install or update all plugins or the specified plugin. - -`{name}` is a unique name of a plugin (`plugin_name`). - -If `{name}` is omitted or an empty String, all plugins will be installed or updated. Frozen plugins will be installed, but it will not be updated. - -If `{name}` is specified, only specified plugin will be installed or updated. Frozen plugin will be also updated. -`{name}` can also be a list of plugin names. - -`{config}` is a Dictionary of options for configuring the function. - -| option | description | -|--------|-------------| -| `'do'` | Finish-update hook. See [Finish-update hooks](#finish-update-hooks). Default: empty | - -You can check the results with `:message` command. - -Note: This resets the 'more' option temporarily to avoid jobs being interrupted. - -#### minpac#clean([{name}]) - -Remove all plugins which are not registered, or remove the specified plugin. - -`{name}` is a name of a plugin. It can be a unique plugin name (`plugin_name`) or a plugin name with wildcards (`*` and `?` are supported). It can also be a list of plugin names. - -If `{name}` is omitted, all plugins under the `minpac` directory will be checked. If unregistered plugins are found, they are listed and a prompt is shown. If you type `y`, they will be removed. - -When called, matched plugins are listed (even they are registered with `minpac#add()`) and a prompt is shown. If you type `y`, they will be removed. -`{name}` can also be a list of plugin names. If the `'confirm'` option is not |TRUE|, the prompt will not be shown. - -#### minpac#getpluginfo({name}) - -Get information of specified plugin. - -`{name}` is a unique name of a plugin (`plugin_name`). -A dictionary with following items will be returned: - -| item | description | -|------------|-------------| -| `'name'` | Name of the plugin. | -| `'url'` | URL of the plugin repository. | -| `'dir'` | Local directory of the plugin. | -| `'subdir'` | Subdirectory that contains Vim plugin. | -| `'frozen'` | If TRUE, the plugin is frozen. | -| `'type'` | Type of the plugin. | -| `'depth'` | Depth to be cloned. | -| `'branch'` | Branch name to be cloned. | -| `'rev'` | Revision to be checked out. | -| `'do'` | Post-update hook. | -| `'stat'` | Status of last update. | - -#### minpac#getpluglist() - -Get a list of plugin information. Mainly for debugging. - -#### minpac#getpackages([{packname}[, {packtype}[, {plugname}[, {nameonly}]]]]) - -Get a list of plugins under the package directories. - -`{packname}` specifies a package name. Wildcards can be used. If omitted or an empty string is specified, `"*"` is used. - -`{packtype}` is a type of the package. `"*"`, `"start"`, `"opt"` or `"NONE"` can be used. -If `"*"` is specified, both start and opt packages are listed. -If omitted or an empty string is specified, `"*"` is used. -If `"NONE"` is specified, package directories are listed instead of plugin directories. - -`{plugname}` specifies a plugin name. Wildcards can be used. If omitted or an empty string is specified, `"*"` is used. - -If `{nameonly}` is TRUE, plugin (or package) names are listed instead of the directories. Default is FALSE. - -E.g.: - -```vim -" List the all plugin directories under the package directories. -" Includes plugins under "dist" package. -echo minpac#getpackages() - -" List directories of "start" plugins under "minpac" package. -echo minpac#getpackages("minpac", "start") - -" List plugin names under "minpac" package. -echo minpac#getpackages("minpac", "", "", 1) - -" List package names. -echo minpac#getpackages("", "NAME", "", 1) -``` - -#### minpac#status([{config}]) - -Print status of plugins. - -When ran after `minpac#update()`, shows only installed and updated plugins. - -Otherwise, shows the status of the plugin and commits of last update (if any). - -`{config}` is a Dictionary of options for configuring the function. - -| option | description | -|----------|-------------| -| `'open'` | Specify how to open the status window.
`'vertical'`: Open in vertical split.
`'horizontal'`: Open in horizontal split.
`'tab'`: Open in a new tab.
Default: `'horizontal'` or specified value by `minpac#init()`. | - -### Hooks - -Currently, minpac supports two types of hook: Post-update hooks and Finish-update hooks. - - -#### Post-update hooks - -If a plugin requires extra works (e.g. building a native module), you can use the post-update hooks. - -You can specify the hook with the `'do'` item in the option of the `minpac#add()` function. It can be a String or a Funcref. -If a String is specified, it is executed as an Ex command. -If a Funcref is specified, it is called with two arguments; `hooktype` and `name`. - -| argument | description | -|------------|-------------| -| `hooktype` | Type of the hook. `'post-update'` for post-update hooks. | -| `name` | Unique name of the plugin. (`plugin_name`) | - -The current directory is set to the directory of the plugin, when the hook is invoked. - -E.g.: - -```vim -" Execute an Ex command as a hook. -call minpac#add('Shougo/vimproc.vim', {'do': 'silent! !make'}) - -" Execute a lambda function as a hook. -" Parameters for a lambda can be omitted, if you don't need them. -call minpac#add('Shougo/vimproc.vim', {'do': {-> system('make')}}) - -" Of course, you can also use a normal user function as a hook. -function! s:hook(hooktype, name) - echom a:hooktype - " You can use `minpac#getpluginfo()` to get the information about - " the plugin. - echom 'Directory:' minpac#getpluginfo(a:name).dir - call system('make') -endfunction -call minpac#add('Shougo/vimproc.vim', {'do': function('s:hook')}) -``` - -The above examples execute the "make" command synchronously. If you want to execute an external command asynchronously, you should use the `job_start()` function on Vim 8 or the `jobstart()` function on Neovim. -You may also want to use the `minpac#job#start()` function, but this is mainly for internal use and the specification is subject to change without notice. - -#### Finish-update hooks - -If you want to execute extra works after all plugins are updated, you can use the finish-update hooks. - -You can specify the hook with the `'do'` item in the option of the `minpac#update()` function. It can be a String or a Funcref. -If a String is specified, it is executed as an Ex command. -If a Funcref is specified, it is called with three arguments; `hooktype`, `updated` and `installed`. - -| argument | description | -|------------|-------------| -| `hooktype` | Type of the hook. `'finish-update'` for finish-update hooks. | -| `updated` | Number of the updated plugin. | -| `installed`| Number of the newly installed plugin. | - -E.g.: - -```vim -" Quit Vim immediately after all updates are finished. -call minpac#update('', {'do': 'quit'}) -``` - -### Mappings - -List of mappings available only in progress window. - -| mapping | description | -|---------|-------------| -|`s` | Open the status window. | -|`q` | Exit the progress window. | - -List of mappings available only in status window. - -| mapping | description | -|---------|-------------| -|`` | Preview the commit under the cursor. | -|`` | Jump to next package in list. | -|`` | Jump to previous package in list. | -|`q` | Exit the status window.
(Also works for commit preview window) | - - -Similar projects ----------------- - -There are some other plugin managers built on top of the Vim 8's packages feature. - -* [vim-packager](https://github.com/kristijanhusak/vim-packager): written in Vim script -* [pack](https://github.com/maralla/pack): written in Rust -* [infect](https://github.com/csexton/infect): written in Ruby -* [vim-pck](https://github.com/nicodebo/vim-pck): written in Python -* [vim8-pack](https://github.com/mkarpoff/vim8-pack): written in Bash -* [volt](https://github.com/vim-volt/volt): written in Go -* [autopac](https://github.com/meldavis/autopac): modified version of minpac -* [plugpac.vim](https://github.com/bennyyip/plugpac.vim): thin wrapper of minpac, provides vim-plug like experience -* [minPlug](https://github.com/Jorengarenar/minPlug): written in Vim script - - -Credit ------- - -Prabir Shrestha (as the author of [async.vim](https://github.com/prabirshrestha/async.vim)) -Kristijan Husak (status window) - - -License -------- - -VIM License - -(`autoload/minpac/job.vim` is the MIT License.) diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/appveyor.yml b/private_dot_config/nvim/pack/minpac/opt/minpac/appveyor.yml deleted file mode 100644 index 705dfd9..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/appveyor.yml +++ /dev/null @@ -1,25 +0,0 @@ -version: '1.0.{build}' - -shallow_clone: true - -environment: - VIMPROG: '%APPVEYOR_BUILD_FOLDER%\vim-kt-win64\gvim.exe' - AUTH_TOKEN: # for GitHub - secure: ++foun75IPnkSVRkVIbVDMDil/6J+00ysIDrspZrOWwjevlpVpuIumv/A0LsiF1H - API_TOKEN: # for AppVeyor - secure: iUTvK78Ch5hfdoqFtPOMeQj96cGeeyenSfCRJxLb650= - -build_script: - - '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64' - - tools\appveyor-dl.bat - - '%VIMPROG% -u NONE -c "redir @a | ver | 0put a | wq" ver.txt' - - type ver.txt - -test_script: - - cd test - - nmake -f Make_win.mak VIMPROG=%VIMPROG% - -cache: - - downloads -> appveyor.yml - -# vim: sw=2 sts=2 et diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac.vim b/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac.vim deleted file mode 100644 index e28716c..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac.vim +++ /dev/null @@ -1,147 +0,0 @@ -" --------------------------------------------------------------------- -" minpac: A minimal package manager for Vim 8 (and Neovim) -" -" Maintainer: Ken Takata -" Last Change: 2020-08-22 -" License: VIM License -" URL: https://github.com/k-takata/minpac -" --------------------------------------------------------------------- - -" Get a list of package/plugin directories. -function! minpac#getpackages(...) - return call("minpac#impl#getpackages", a:000) -endfunction - - -function! s:ensure_initialization() abort - if !exists('g:minpac#opt') - echohl WarningMsg - echom 'Minpac has not been initialized. Use the default values.' - echohl None - call minpac#init() - endif -endfunction - -" Initialize minpac. -function! minpac#init(...) abort - let l:opt = extend(copy(get(a:000, 0, {})), - \ {'dir': '', 'package_name': 'minpac', 'git': 'git', 'depth': 1, - \ 'jobs': 8, 'verbose': 2, 'confirm': v:true, - \ 'progress_open': 'horizontal', 'status_open': 'horizontal', - \ 'status_auto': v:false}, 'keep') - - let g:minpac#opt = l:opt - let g:minpac#pluglist = {} - - let l:packdir = l:opt.dir - if l:packdir ==# '' - " If 'dir' is not specified, the first directory of 'packpath' is used. - let l:packdir = split(&packpath, ',')[0] - endif - - let l:opt.minpac_dir = l:packdir . '/pack/' . l:opt.package_name - let l:opt.minpac_start_dir = l:opt.minpac_dir . '/start' - let l:opt.minpac_opt_dir = l:opt.minpac_dir . '/opt' - - " directories for 'subdir' - let l:opt.minpac_dir_sub = l:packdir . '/pack/' . l:opt.package_name . '-sub' - let l:opt.minpac_start_dir_sub = l:opt.minpac_dir_sub . '/start' - let l:opt.minpac_opt_dir_sub = l:opt.minpac_dir_sub . '/opt' - - if !isdirectory(l:packdir) - echoerr 'Pack directory not available: ' . l:packdir - return - endif - if !isdirectory(l:opt.minpac_start_dir) - call mkdir(l:opt.minpac_start_dir, 'p') - endif - if !isdirectory(l:opt.minpac_opt_dir) - call mkdir(l:opt.minpac_opt_dir, 'p') - endif -endfunction - - -" Register the specified plugin. -function! minpac#add(plugname, ...) abort - call s:ensure_initialization() - let l:opt = extend(copy(get(a:000, 0, {})), - \ {'name': '', 'type': 'start', 'depth': g:minpac#opt.depth, - \ 'frozen': v:false, 'branch': '', 'rev': '', 'do': '', 'subdir': '', - \ 'pullmethod': '' - \ }, 'keep') - - " URL - if a:plugname =~? '^[-._0-9a-z]\+\/[-._0-9a-z]\+$' - let l:opt.url = 'https://github.com/' . a:plugname . '.git' - else - let l:opt.url = a:plugname - endif - - " Name of the plugin - if l:opt.name ==# '' - let l:opt.name = matchstr(l:opt.url, '[/\\]\zs[^/\\]\+$') - let l:opt.name = substitute(l:opt.name, '\C\.git$', '', '') - endif - if l:opt.name ==# '' - echoerr 'Cannot extract the plugin name. (' . a:plugname . ')' - return - endif - - " Loading type / Local directory - if l:opt.type ==# 'start' - let l:opt.dir = g:minpac#opt.minpac_start_dir . '/' . l:opt.name - elseif l:opt.type ==# 'opt' - let l:opt.dir = g:minpac#opt.minpac_opt_dir . '/' . l:opt.name - else - echoerr a:plugname . ": Wrong type (must be 'start' or 'opt'): " . l:opt.type - return - endif - - " Check pullmethod - if l:opt.pullmethod !=# '' && l:opt.pullmethod !=# 'autostash' - echoerr a:plugname . ": Wrong pullmethod (must be empty or 'autostash'): " . l:opt.pullmethod - return - endif - - " Initialize the status - let l:opt.stat = {'errcode': 0, 'lines': [], 'prev_rev': '', 'installed': -1} - - " Add to pluglist - let g:minpac#pluglist[l:opt.name] = l:opt -endfunction - - -" Update all or specified plugin(s). -function! minpac#update(...) - call s:ensure_initialization() - return call("minpac#impl#update", a:000) -endfunction - - -" Remove plugins that are not registered. -function! minpac#clean(...) - call s:ensure_initialization() - return call("minpac#impl#clean", a:000) -endfunction - -function! minpac#status(...) - call s:ensure_initialization() - let l:opt = extend(copy(get(a:000, 0, {})), - \ {'open': g:minpac#opt.status_open}, 'keep') - return minpac#status#get(l:opt) -endfunction - - -" Get information of specified plugin. Mainly for debugging. -function! minpac#getpluginfo(name) - call s:ensure_initialization() - return g:minpac#pluglist[a:name] -endfunction - - -" Get a list of plugin information. Mainly for debugging. -function! minpac#getpluglist() - return g:minpac#pluglist -endfunction - -" vim: set ts=8 sw=2 et: diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/git.vim b/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/git.vim deleted file mode 100644 index 49c6f24..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/git.vim +++ /dev/null @@ -1,75 +0,0 @@ -" --------------------------------------------------------------------- -" minpac: A minimal package manager for Vim 8 (and Neovim) -" -" Maintainer: Ken Takata -" Last Change: 2020-02-01 -" License: VIM License -" URL: https://github.com/k-takata/minpac -" --------------------------------------------------------------------- - -function! s:isabsolute(dir) abort - return a:dir =~# '^/' || (has('win32') && a:dir =~? '^\%(\\\|[A-Z]:\)') -endfunction - -function! s:get_gitdir(dir) abort - let l:gitdir = a:dir . '/.git' - if isdirectory(l:gitdir) - return l:gitdir - endif - try - let l:line = readfile(l:gitdir)[0] - if l:line =~# '^gitdir: ' - let l:gitdir = l:line[8:] - if !s:isabsolute(l:gitdir) - let l:gitdir = a:dir . '/' . l:gitdir - endif - if isdirectory(l:gitdir) - return l:gitdir - endif - endif - catch - endtry - return '' -endfunction - -function! minpac#git#get_revision(dir) abort - let l:gitdir = s:get_gitdir(a:dir) - if l:gitdir ==# '' - return v:null - endif - try - let l:line = readfile(l:gitdir . '/HEAD')[0] - if l:line =~# '^ref: ' - let l:ref = l:line[5:] - if filereadable(l:gitdir . '/' . l:ref) - return readfile(l:gitdir . '/' . l:ref)[0] - endif - for l:line in readfile(l:gitdir . '/packed-refs') - if l:line =~# ' ' . l:ref - return substitute(l:line, '^\([0-9a-f]*\) ', '\1', '') - endif - endfor - endif - return l:line - catch - endtry - return v:null -endfunction - -function! minpac#git#get_branch(dir) abort - let l:gitdir = s:get_gitdir(a:dir) - if l:gitdir ==# '' - return v:null - endif - try - let l:line = readfile(l:gitdir . '/HEAD')[0] - if l:line =~# '^ref: refs/heads/' - return l:line[16:] - endif - return '' - catch - return v:null - endtry -endfunction - -" vim: set ts=8 sw=2 et: diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/impl.vim b/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/impl.vim deleted file mode 100644 index 4506483..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/impl.vim +++ /dev/null @@ -1,707 +0,0 @@ -" --------------------------------------------------------------------- -" minpac: A minimal package manager for Vim 8 (and Neovim) -" -" Maintainer: Ken Takata -" Last Change: 2020-08-22 -" License: VIM License -" URL: https://github.com/k-takata/minpac -" --------------------------------------------------------------------- - -let s:joblist = [] -let s:remain_jobs = 0 - -" Get a list of package/plugin directories. -function! minpac#impl#getpackages(...) abort - let l:packname = get(a:000, 0, '') - let l:packtype = get(a:000, 1, '') - let l:plugname = get(a:000, 2, '') - let l:nameonly = get(a:000, 3, v:false) - - if l:packname ==# '' | let l:packname = '*' | endif - if l:packtype ==# '' | let l:packtype = '*' | endif - if l:plugname ==# '' | let l:plugname = '*' | endif - - if l:packtype ==# 'NONE' - let l:pat = 'pack/' . l:packname - else - let l:pat = 'pack/' . l:packname . '/' . l:packtype . '/' . l:plugname - endif - - let l:ret = filter(globpath(&packpath, l:pat, 0, 1), {-> isdirectory(v:val)}) - if l:nameonly - call map(l:ret, {-> substitute(v:val, '^.*[/\\]', '', '')}) - endif - return l:ret -endfunction - - -function! s:echox_verbose(level, echocmd, type, msg) abort - if g:minpac#opt.verbose >= a:level - if g:minpac#opt.progress_open ==# 'none' - if a:type ==# 'warning' - echohl WarningMsg - elseif a:type ==# 'error' - echohl ErrorMsg - endif - exec a:echocmd . " '" . substitute(a:msg, "'", "''", "g") . "'" - echohl None - else - call minpac#progress#add_msg(a:type, a:msg) - endif - endif -endfunction - -function! s:echo_verbose(level, type, msg) abort - call s:echox_verbose(a:level, 'echo', a:type, a:msg) -endfunction - -function! s:echom_verbose(level, type, msg) abort - call s:echox_verbose(a:level, 'echom', a:type, a:msg) -endfunction - -function! s:echoerr_verbose(level, msg) abort - call s:echox_verbose(a:level, 'echoerr', 'error', a:msg) -endfunction - - -if has('win32') - function! s:quote_cmds(cmds) abort - " If space (or brace) is found, surround the argument with "". - " Assuming double quotations are not used elsewhere. - " (Brace needs to be quoted for msys2/git.) - return join(map(a:cmds, - \ {-> (v:val =~# '[ {]') ? '"' . v:val . '"' : v:val}), ' ') - endfunction -else - function! s:quote_cmds(cmds) abort - return a:cmds - endfunction -endif - -" Replacement for system(). -" This doesn't open an extra window on MS-Windows. -function! minpac#impl#system(cmds) abort - let l:out = [] - let l:ret = -1 - let l:quote_cmds = s:quote_cmds(a:cmds) - call s:echom_verbose(4, '', 'system: cmds=' . string(l:quote_cmds)) - let l:job = minpac#job#start(l:quote_cmds, - \ {'on_stdout': {id, mes, ev -> extend(l:out, mes)}}) - if l:job > 0 - " It worked! - let l:ret = minpac#job#wait([l:job])[0] - sleep 5m " Wait for out_cb. (not sure this is enough.) - endif - return [l:ret, l:out] -endfunction - -" Execute git command on the specified plugin directory. -function! s:exec_plugin_cmd(name, cmd, mes) abort - let l:pluginfo = g:minpac#pluglist[a:name] - let l:dir = l:pluginfo.dir - let l:res = minpac#impl#system([g:minpac#opt.git, '-C', l:dir] + a:cmd) - if l:res[0] == 0 && len(l:res[1]) > 0 - call s:echom_verbose(4, '', a:mes . ': ' . l:res[1][0]) - return l:res[1][0] - else - " Error - return '' - endif -endfunction - -" Get the revision of the specified plugin. -function! minpac#impl#get_plugin_revision(name) abort - let l:rev = minpac#git#get_revision(g:minpac#pluglist[a:name].dir) - if l:rev != v:null - call s:echom_verbose(4, '', 'revision: ' . l:rev) - return l:rev - endif - return s:exec_plugin_cmd(a:name, ['rev-parse', 'HEAD'], 'revision') -endfunction - -" Get the exact tag name of the specified plugin. -function! s:get_plugin_tag(name) abort - return s:exec_plugin_cmd(a:name, ['describe', '--tags', '--exact-match'], 'tag') -endfunction - -" Get the latest tag name of the specified plugin. Sorted by version number. -function! s:get_plugin_latest_tag(name, tag) abort - return s:exec_plugin_cmd(a:name, ['tag', '--list', '--sort=-version:refname', a:tag], 'latest tag') -endfunction - -" Get the branch name of the specified plugin. -function! s:get_plugin_branch(name) abort - let l:branch = minpac#git#get_branch(g:minpac#pluglist[a:name].dir) - if l:branch != v:null - call s:echom_verbose(4, '', 'branch: ' . l:branch) - return l:branch - endif - return s:exec_plugin_cmd(a:name, ['symbolic-ref', '--short', 'HEAD'], 'branch') -endfunction - - -function! s:decrement_job_count() abort - let s:remain_jobs -= 1 - if s:remain_jobs == 0 - " `minpac#update()` is finished. - call s:invoke_hook('finish-update', [s:updated_plugins, s:installed_plugins], s:finish_update_hook) - - if has('nvim') && exists(':UpdateRemotePlugins') == 2 - \ && (s:updated_plugins > 0 || s:installed_plugins > 0) - UpdateRemotePlugins - endif - - " Show the status. - if s:error_plugins + s:updated_plugins + s:installed_plugins > 0 - if g:minpac#opt.progress_open !=# 'none' - call s:echom_verbose(1, '', '') " empty line - endif - endif - if s:error_plugins > 0 - call s:echom_verbose(1, 'warning', 'Error plugins: ' . s:error_plugins) - else - let l:mes = 'All plugins are up to date.' - if s:updated_plugins + s:installed_plugins > 0 - let l:mes .= ' (Updated: ' . s:updated_plugins . ', Newly installed: ' . s:installed_plugins . ')' - endif - call s:echom_verbose(1, '', l:mes) - endif - if g:minpac#opt.progress_open !=# 'none' - call s:echom_verbose(1, '', '(Type "q" to close this window. Type "s" to open the status window.)') - endif - - " Open the status window. - if s:updated_plugins + s:installed_plugins > 0 - if g:minpac#opt.status_auto - call minpac#status() - endif - endif - - " Restore the pager. - if exists('s:save_more') - let &more = s:save_more - unlet s:save_more - endif - endif -endfunction - -if exists('*chdir') - let s:chdir = function('chdir') -else - function! s:chdir(dir) abort - if has('nvim') - let l:cdcmd = haslocaldir() ? 'lcd' : (haslocaldir(-1, 0) ? 'tcd' : 'cd') - else - let l:cdcmd = haslocaldir() ? ((haslocaldir() == 1) ? 'lcd' : 'tcd') : 'cd' - endif - let l:pwd = getcwd() - execute l:cdcmd fnameescape(a:dir) - return l:pwd - endfunction -endif - -function! s:invoke_hook(hooktype, args, hook) abort - if a:hook ==# '' - return - endif - - if a:hooktype ==# 'post-update' - let l:name = a:args[0] - let l:pluginfo = g:minpac#pluglist[l:name] - noautocmd let l:pwd = s:chdir(l:pluginfo.dir) - endif - try - if type(a:hook) == v:t_func - call call(a:hook, [a:hooktype] + a:args) - elseif type(a:hook) == v:t_string - execute a:hook - endif - catch - call s:echom_verbose(1, 'error', v:throwpoint) - call s:echom_verbose(1, 'error', v:exception) - finally - if a:hooktype ==# 'post-update' - noautocmd call s:chdir(l:pwd) - endif - endtry -endfunction - -function! s:is_helptags_old(dir) abort - let l:txts = glob(a:dir . '/*.txt', 1, 1) + glob(a:dir . '/*.[a-z][a-z]x', 1, 1) - let l:tags = glob(a:dir . '/tags', 1, 1) + glob(a:dir . '/tags-[a-z][a-z]', 1, 1) - let l:txt_newest = max(map(l:txts, {-> getftime(v:val)})) - let l:tag_oldest = min(map(l:tags, {-> getftime(v:val)})) - return l:txt_newest > l:tag_oldest -endfunction - -function! s:generate_helptags(dir) abort - let l:docdir = a:dir . '/doc' - if s:is_helptags_old(l:docdir) - silent! execute 'helptags' fnameescape(l:docdir) - endif -endfunction - -function! s:add_rtp(dir) abort - if empty(&rtp) - let &rtp = a:dir - else - let &rtp .= ',' . a:dir - endif -endfunction - -if has('win32') - function! s:create_link(target, link) abort - if isdirectory(a:target) - call delete(a:target) - endif - call minpac#impl#system(['cmd.exe', '/c', 'mklink', '/J', - \ substitute(a:link, '/', '\', 'g'), - \ substitute(a:target, '/', '\', 'g')]) - endfunction -else - function! s:create_link(target, link) abort - call minpac#impl#system(['ln', '-sf', a:target, a:link]) - endfunction -endif - -function! s:handle_subdir(pluginfo) abort - if a:pluginfo.type ==# 'start' - let l:workdir = g:minpac#opt.minpac_start_dir_sub - else - let l:workdir = g:minpac#opt.minpac_opt_dir_sub - endif - if !isdirectory(l:workdir) - call mkdir(l:workdir, 'p') - endif - noautocmd let l:pwd = s:chdir(l:workdir) - try - if !isdirectory(a:pluginfo.name) - call s:create_link(a:pluginfo.dir . '/' . a:pluginfo.subdir, - \ a:pluginfo.name) - endif - finally - noautocmd call s:chdir(l:pwd) - endtry -endfunction - -function! s:job_exit_cb(id, errcode, event) dict abort - call filter(s:joblist, {-> v:val != a:id}) - - let l:err = 1 - let l:pluginfo = g:minpac#pluglist[self.name] - let l:pluginfo.stat.errcode = a:errcode - if a:errcode == 0 - let l:dir = l:pluginfo.dir - " Check if the plugin directory is available. - if isdirectory(l:dir) - " Check if it is actually updated (or installed). - let l:updated = 1 - if l:pluginfo.stat.prev_rev !=# '' && l:pluginfo.stat.upd_method != 2 - if l:pluginfo.stat.prev_rev ==# minpac#impl#get_plugin_revision(self.name) - let l:updated = 0 - endif - endif - - if l:updated - if l:pluginfo.stat.upd_method == 2 - let l:rev = l:pluginfo.rev - if l:rev ==# '' - " If no branch or tag is specified, consider as the master branch. - let l:rev = 'master' - endif - if self.seq == 0 - " Check out the specified revison (or branch). - if l:rev =~# '\*' - " If it includes '*', consider as the latest matching tag. - let l:rev = s:get_plugin_latest_tag(self.name, l:rev) - if l:rev ==# '' - let s:error_plugins += 1 - call s:echom_verbose(1, 'error', 'Error while updating "' . self.name . '". No tags found.') - call s:decrement_job_count() - return - endif - endif - let l:cmd = [g:minpac#opt.git, '-C', l:dir, 'checkout', - \ l:rev, '--'] - call s:echom_verbose(3, '', 'Checking out the revison: ' . self.name - \ . ': ' . l:rev) - call s:start_job(l:cmd, self.name, self.seq + 1) - return - elseif self.seq == 1 - \ && s:get_plugin_branch(self.name) == l:rev - " Checked out the branch. Update to the upstream. - let l:cmd = [g:minpac#opt.git, '-C', l:dir, 'merge', '--quiet', - \ '--ff-only', '@{u}'] - call s:echom_verbose(3, '', 'Update to the upstream: ' . self.name) - call s:start_job(l:cmd, self.name, self.seq + 1) - return - endif - endif - if l:pluginfo.stat.submod == 0 - let l:pluginfo.stat.submod = 1 - if filereadable(l:dir . '/.gitmodules') - " Update git submodule. - let l:cmd = [g:minpac#opt.git, '-C', l:dir, 'submodule', '--quiet', - \ 'update', '--init', '--recursive'] - call s:echom_verbose(3, '', 'Updating submodules: ' . self.name) - call s:start_job(l:cmd, self.name, self.seq + 1) - return - endif - endif - - call s:generate_helptags(l:dir) - - if l:pluginfo.subdir !=# '' - call s:handle_subdir(l:pluginfo) - endif - - if has('nvim') && isdirectory(l:dir . '/rplugin') - " Required for :UpdateRemotePlugins. - call s:add_rtp(l:dir) - endif - - call s:invoke_hook('post-update', [self.name], l:pluginfo.do) - else - " Even the plugin is not updated, generate helptags if it is not found. - call s:generate_helptags(l:dir) - endif - - if l:pluginfo.stat.installed - if l:updated - let s:updated_plugins += 1 - call s:echom_verbose(1, '', 'Updated: ' . self.name) - else - call s:echom_verbose(3, '', 'Already up-to-date: ' . self.name) - endif - else - let s:installed_plugins += 1 - call s:echom_verbose(1, '', 'Installed: ' . self.name) - endif - let l:err = 0 - endif - endif - if l:err - let s:error_plugins += 1 - call s:echom_verbose(1, 'error', 'Error while updating "' . self.name . '". Error code: ' . a:errcode) - endif - - call s:decrement_job_count() -endfunction - -function! s:job_err_cb(id, message, event) dict abort - let l:mes = copy(a:message) - if len(l:mes) > 0 && l:mes[-1] ==# '' - " Remove the last empty line. It is redundant. - call remove(l:mes, -1) - endif - for l:line in l:mes - let l:line = substitute(l:line, "\t", ' ', 'g') - call add(g:minpac#pluglist[self.name].stat.lines, l:line) - call s:echom_verbose(2, 'warning', self.name . ': ' . l:line) - endfor -endfunction - -function! s:start_job(cmds, name, seq) abort - if len(s:joblist) > 1 - sleep 20m - endif - if g:minpac#opt.jobs > 0 - while len(s:joblist) >= g:minpac#opt.jobs - sleep 500m - endwhile - endif - - let l:quote_cmds = s:quote_cmds(a:cmds) - call s:echom_verbose(4, '', 'start_job: cmds=' . string(l:quote_cmds)) - let l:job = minpac#job#start(l:quote_cmds, { - \ 'on_stderr': function('s:job_err_cb'), - \ 'on_exit': function('s:job_exit_cb'), - \ 'name': a:name, 'seq': a:seq - \ }) - if l:job > 0 - " It worked! - else - call s:echom_verbose(1, 'error', 'Fail to execute: ' . a:cmds[0]) - call s:decrement_job_count() - return 1 - endif - let s:joblist += [l:job] - return 0 -endfunction - -function! s:is_same_commit(a, b) abort - let l:min = min([len(a:a), len(a:b)]) - 1 - return a:a[0 : l:min] ==# a:b[0 : l:min] -endfunction - -" Check the status of the plugin. -" return: 0: No need to update. -" 1: Need to update by pull. -" 2: Need to update by fetch & checkout. -function! s:check_plugin_status(name) abort - let l:pluginfo = g:minpac#pluglist[a:name] - let l:pluginfo.stat.prev_rev = minpac#impl#get_plugin_revision(a:name) - let l:branch = s:get_plugin_branch(a:name) - - if l:pluginfo.rev ==# '' - " No branch or tag is specified. - if l:branch ==# '' - " Maybe a detached head. Need to update by fetch & checkout. - return 2 - else - " Need to update by pull. - return 1 - endif - endif - if l:branch == l:pluginfo.rev - " Same branch. Need to update by pull. - return 1 - endif - if s:get_plugin_tag(a:name) == l:pluginfo.rev - " Same tag. No need to update. - return 0 - endif - if s:is_same_commit(l:pluginfo.stat.prev_rev, l:pluginfo.rev) - " Same commit ID. No need to update. - return 0 - endif - - " Need to update by fetch & checkout. - return 2 -endfunction - -" Check whether the type was changed. If it was changed, rename the directory. -function! s:prepare_plugin_dir(pluginfo) abort - let l:dir = a:pluginfo.dir - if !isdirectory(l:dir) - if a:pluginfo.type ==# 'start' - let l:dirtmp = substitute(l:dir, '/start/\ze[^/]\+$', '/opt/', '') - else - let l:dirtmp = substitute(l:dir, '/opt/\ze[^/]\+$', '/start/', '') - endif - if isdirectory(l:dirtmp) - " The type was changed (start <-> opt). - call rename(l:dirtmp, l:dir) - endif - endif - - " Check subdir. - if a:pluginfo.subdir !=# '' - let l:name = a:pluginfo.name - if a:pluginfo.type ==# 'start' - let l:subdir = g:minpac#opt.minpac_start_dir_sub . '/' . l:name - let l:otherdir = g:minpac#opt.minpac_opt_dir_sub . '/' . l:name - else - let l:subdir = g:minpac#opt.minpac_opt_dir_sub . '/' . l:name - let l:otherdir = g:minpac#opt.minpac_start_dir_sub . '/' . l:name - endif - if isdirectory(l:otherdir) && !isdirectory(l:subdir) - " The type was changed (start <-> opt). - call delete(l:otherdir) - call s:handle_subdir(a:pluginfo) - endif - endif -endfunction - -" Update a single plugin. -function! s:update_single_plugin(name, force) abort - if !has_key(g:minpac#pluglist, a:name) - call s:echoerr_verbose(1, 'Plugin not registered: ' . a:name) - call s:decrement_job_count() - return 1 - endif - - let l:pluginfo = g:minpac#pluglist[a:name] - let l:dir = l:pluginfo.dir - let l:url = l:pluginfo.url - let l:pluginfo.stat.errcode = 0 - let l:pluginfo.stat.lines = [] - let l:pluginfo.stat.prev_rev = '' - let l:pluginfo.stat.submod = 0 - - call s:prepare_plugin_dir(l:pluginfo) - if isdirectory(l:dir) - let l:pluginfo.stat.installed = 1 - if l:pluginfo.frozen && !a:force - call s:echom_verbose(3, '', 'Skipped: ' . a:name) - call s:decrement_job_count() - return 0 - endif - - let l:ret = s:check_plugin_status(a:name) - let l:pluginfo.stat.upd_method = l:ret - if l:ret == 0 - " No need to update. - call s:echom_verbose(3, '', 'Already up-to-date: ' . a:name) - call s:decrement_job_count() - return 0 - elseif l:ret == 1 - " Same branch. Update by pull. - call s:echo_verbose(3, '', 'Updating (pull): ' . a:name) - let l:cmd = [g:minpac#opt.git, '-C', l:dir, 'pull', '--quiet'] - if l:pluginfo.pullmethod ==# 'autostash' - let l:cmd += ['--rebase', '--autostash'] - else - let l:cmd += ['--ff-only', '--rebase=false'] - endif - elseif l:ret == 2 - " Different branch. Update by fetch & checkout. - call s:echo_verbose(3, '', 'Updating (fetch): ' . a:name) - let l:cmd = [g:minpac#opt.git, '-C', l:dir, 'fetch', '--depth', '999999'] - endif - else - let l:pluginfo.stat.installed = 0 - if l:pluginfo.rev ==# '' - let l:pluginfo.stat.upd_method = 1 - else - let l:pluginfo.stat.upd_method = 2 - endif - call s:echo_verbose(3, '', 'Cloning ' . a:name) - - let l:cmd = [g:minpac#opt.git, 'clone', '--quiet', l:url, l:dir, '--no-single-branch'] - if l:pluginfo.depth > 0 && l:pluginfo.rev ==# '' - let l:cmd += ['--depth=' . l:pluginfo.depth] - endif - if l:pluginfo.branch !=# '' - let l:cmd += ['--branch=' . l:pluginfo.branch] - endif - endif - return s:start_job(l:cmd, a:name, 0) -endfunction - -function! s:start_update(names, force, id) abort - for l:name in a:names - call s:update_single_plugin(l:name, a:force) - endfor -endfunction - -" Update all or specified plugin(s). -function! minpac#impl#update(...) abort - if g:minpac#opt.progress_open !=# 'none' - call minpac#progress#open(['## minpac update progress ##', '']) - endif - let l:opt = extend(copy(get(a:000, 1, {})), - \ {'do': ''}, 'keep') - - let l:force = 0 - if a:0 == 0 || (type(a:1) == v:t_string && a:1 ==# '') - let l:names = keys(g:minpac#pluglist) - elseif type(a:1) == v:t_string - let l:names = [a:1] - let l:force = 1 - elseif type(a:1) == v:t_list - let l:names = a:1 - let l:force = 1 - else - call s:echoerr_verbose(1, 'Wrong parameter type. Must be a String or a List of Strings.') - return - endif - - if s:remain_jobs > 0 - call s:echom_verbose(1, '', 'Previous update has not been finished.') - return - endif - let s:remain_jobs = len(l:names) - let s:error_plugins = 0 - let s:updated_plugins = 0 - let s:installed_plugins = 0 - let s:finish_update_hook = l:opt.do - - if g:minpac#opt.progress_open ==# 'none' - " Disable the pager temporarily to avoid jobs being interrupted. - if !exists('s:save_more') - let s:save_more = &more - endif - set nomore - endif - - call timer_start(1, function('s:start_update', [l:names, l:force])) -endfunction - - -" Check if the dir matches specified package name and plugin names. -function! s:match_plugin(dir, packname, plugnames) abort - let l:plugname = '\%(' . join(a:plugnames, '\|') . '\)' - let l:plugname = substitute(l:plugname, '\.', '\\.', 'g') - let l:plugname = substitute(l:plugname, '\*', '.*', 'g') - let l:plugname = substitute(l:plugname, '?', '.', 'g') - if l:plugname =~# '/' - let l:pat = '/pack/' . a:packname . '\%(-sub\)\?' . '/' . l:plugname . '$' - else - let l:pat = '/pack/' . a:packname . '\%(-sub\)\?' . '/\%(start\|opt\)/' . l:plugname . '$' - endif - if has('win32') - let l:pat = substitute(l:pat, '/', '[/\\\\]', 'g') - " case insensitive matching - return a:dir =~? l:pat - else - " case sensitive matching - return a:dir =~# l:pat - endif -endfunction - -" Remove plugins that are not registered. -function! minpac#impl#clean(...) abort - let l:plugin_dirs = minpac#getpackages(g:minpac#opt.package_name) - \ + minpac#getpackages(g:minpac#opt.package_name . '-sub') - - if a:0 > 0 - " Going to remove only specified plugins. - if type(a:1) == v:t_string - let l:names = [a:1] - elseif type(a:1) == v:t_list - let l:names = a:1 - else - echoerr 'Wrong parameter type. Must be a String or a List of Strings.' - return - endif - let l:to_remove = filter(l:plugin_dirs, - \ {-> s:match_plugin(v:val, g:minpac#opt.package_name, l:names)}) - else - " Remove all plugins that are not registered. - let l:safelist = map(keys(g:minpac#pluglist), - \ {-> g:minpac#pluglist[v:val].type . '/' . v:val}) - \ + ['opt/minpac'] " Don't remove itself. - let l:to_remove = filter(l:plugin_dirs, - \ {-> !s:match_plugin(v:val, g:minpac#opt.package_name, l:safelist)}) - endif - - if len(l:to_remove) == 0 - echo 'Already clean.' - return - endif - - " Show the list of plugins to be removed. - for l:item in l:to_remove - echo l:item - endfor - - let l:dir = (len(l:to_remove) > 1) ? 'directories' : 'directory' - - if !g:minpac#opt.confirm || input('Removing the above ' . l:dir . '. [y/N]? ') =~? '^y' - echo "\n" - let err = 0 - for l:item in l:to_remove - if delete(l:item, 'rf') != 0 - echohl ErrorMsg - echom 'Clean failed: ' . l:item - echohl None - let err = 1 - endif - endfor - if has('nvim') && exists(':UpdateRemotePlugins') == 2 - UpdateRemotePlugins - endif - if err == 0 - echo 'Successfully cleaned.' - endif - else - echo "\n" . 'Not cleaned.' - endif -endfunction - -function! minpac#impl#is_update_ran() abort - return exists('s:installed_plugins') -endfunction - -" vim: set ts=8 sw=2 et: diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/job.vim b/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/job.vim deleted file mode 100644 index 9323567..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/job.vim +++ /dev/null @@ -1,268 +0,0 @@ -" Author: Prabir Shrestha -" Website: https://github.com/prabirshrestha/async.vim -" License: The MIT License {{{ -" The MIT License (MIT) -" -" Copyright (c) 2016 Prabir Shrestha -" -" Permission is hereby granted, free of charge, to any person obtaining a copy -" of this software and associated documentation files (the "Software"), to deal -" in the Software without restriction, including without limitation the rights -" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -" copies of the Software, and to permit persons to whom the Software is -" furnished to do so, subject to the following conditions: -" -" The above copyright notice and this permission notice shall be included in all -" copies or substantial portions of the Software. -" -" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -" SOFTWARE. -" }}} - -let s:save_cpo = &cpo -set cpo&vim - -let s:jobidseq = 0 -let s:jobs = {} " { job, opts, type: 'vimjob|nvimjob'} -let s:job_type_nvimjob = 'nvimjob' -let s:job_type_vimjob = 'vimjob' -let s:job_error_unsupported_job_type = -2 " unsupported job type - -function! s:job_supported_types() abort - let l:supported_types = [] - if has('nvim') - let l:supported_types += [s:job_type_nvimjob] - endif - if !has('nvim') && has('job') && has('channel') && has('lambda') - let l:supported_types += [s:job_type_vimjob] - endif - return l:supported_types -endfunction - -function! s:job_supports_type(type) abort - return index(s:job_supported_types(), a:type) >= 0 -endfunction - -function! s:out_cb(jobid, opts, job, data) abort - if has_key(a:opts, 'on_stdout') - call a:opts.on_stdout(a:jobid, split(a:data, "\n", 1), 'stdout') - endif -endfunction - -function! s:err_cb(jobid, opts, job, data) abort - if has_key(a:opts, 'on_stderr') - call a:opts.on_stderr(a:jobid, split(a:data, "\n", 1), 'stderr') - endif -endfunction - -function! s:exit_cb(jobid, opts, job, status) abort - if has_key(a:opts, 'on_exit') - call a:opts.on_exit(a:jobid, a:status, 'exit') - endif - if has_key(s:jobs, a:jobid) - call remove(s:jobs, a:jobid) - endif -endfunction - -function! s:on_stdout(jobid, data, event) abort - if has_key(s:jobs, a:jobid) - let l:jobinfo = s:jobs[a:jobid] - if has_key(l:jobinfo.opts, 'on_stdout') - call l:jobinfo.opts.on_stdout(a:jobid, a:data, a:event) - endif - endif -endfunction - -function! s:on_stderr(jobid, data, event) abort - if has_key(s:jobs, a:jobid) - let l:jobinfo = s:jobs[a:jobid] - if has_key(l:jobinfo.opts, 'on_stderr') - call l:jobinfo.opts.on_stderr(a:jobid, a:data, a:event) - endif - endif -endfunction - -function! s:on_exit(jobid, status, event) abort - if has_key(s:jobs, a:jobid) - let l:jobinfo = s:jobs[a:jobid] - if has_key(l:jobinfo.opts, 'on_exit') - call l:jobinfo.opts.on_exit(a:jobid, a:status, a:event) - endif - endif -endfunction - -function! s:job_start(cmd, opts) abort - let l:jobtypes = s:job_supported_types() - let l:jobtype = '' - - if has_key(a:opts, 'type') - if type(a:opts.type) == type('') - if !s:job_supports_type(a:opts.type) - return s:job_error_unsupported_job_type - endif - let l:jobtype = a:opts.type - else - let l:jobtypes = a:opts.type - endif - endif - - if empty(l:jobtype) - " find the best jobtype - for l:jobtype2 in l:jobtypes - if s:job_supports_type(l:jobtype2) - let l:jobtype = l:jobtype2 - endif - endfor - endif - - if l:jobtype ==? '' - return s:job_error_unsupported_job_type - endif - - if l:jobtype == s:job_type_nvimjob - let l:job = jobstart(a:cmd, { - \ 'on_stdout': function('s:on_stdout'), - \ 'on_stderr': function('s:on_stderr'), - \ 'on_exit': function('s:on_exit'), - \}) - if l:job <= 0 - return l:job - endif - let l:jobid = l:job " nvimjobid and internal jobid is same - let s:jobs[l:jobid] = { - \ 'type': s:job_type_nvimjob, - \ 'opts': a:opts, - \ } - let s:jobs[l:jobid].job = l:job - elseif l:jobtype == s:job_type_vimjob - let s:jobidseq = s:jobidseq + 1 - let l:jobid = s:jobidseq - let l:job = job_start(a:cmd, { - \ 'out_cb': function('s:out_cb', [l:jobid, a:opts]), - \ 'err_cb': function('s:err_cb', [l:jobid, a:opts]), - \ 'exit_cb': function('s:exit_cb', [l:jobid, a:opts]), - \ 'mode': 'raw', - \}) - if job_status(l:job) !=? 'run' - return -1 - endif - let s:jobs[l:jobid] = { - \ 'type': s:job_type_vimjob, - \ 'opts': a:opts, - \ 'job': l:job, - \ 'channel': job_getchannel(l:job), - \ 'buffer': '' - \ } - else - return s:job_error_unsupported_job_type - endif - - return l:jobid -endfunction - -function! s:job_stop(jobid) abort - if has_key(s:jobs, a:jobid) - let l:jobinfo = s:jobs[a:jobid] - if l:jobinfo.type == s:job_type_nvimjob - call jobstop(a:jobid) - elseif l:jobinfo.type == s:job_type_vimjob - call job_stop(s:jobs[a:jobid].job) - endif - if has_key(s:jobs, a:jobid) - call remove(s:jobs, a:jobid) - endif - endif -endfunction - -function! s:job_send(jobid, data) abort - let l:jobinfo = s:jobs[a:jobid] - if l:jobinfo.type == s:job_type_nvimjob - call jobsend(a:jobid, a:data) - elseif l:jobinfo.type == s:job_type_vimjob - let l:jobinfo.buffer .= a:data - call s:flush_vim_sendraw(a:jobid, v:null) - endif -endfunction - -function! s:flush_vim_sendraw(jobid, timer) abort - " https://github.com/vim/vim/issues/2548 - " https://github.com/natebosch/vim-lsc/issues/67#issuecomment-357469091 - let l:jobinfo = s:jobs[a:jobid] - if len(l:jobinfo.buffer) <= 1024 - call ch_sendraw(l:jobinfo.channel, l:jobinfo.buffer) - let l:jobinfo.buffer = '' - else - let l:to_send = l:jobinfo.buffer[:1023] - let l:jobinfo.buffer = l:jobinfo.buffer[1024:] - call ch_sendraw(l:jobinfo.channel, l:to_send) - call timer_start(1, function('s:flush_vim_sendraw', [a:jobid])) - endif -endfunction - -function! s:job_wait_single(jobid, timeout, start) abort - if !has_key(s:jobs, a:jobid) - return -3 - endif - - let l:jobinfo = s:jobs[a:jobid] - if l:jobinfo.type == s:job_type_nvimjob - let l:timeout = a:timeout - reltimefloat(reltime(a:start)) * 1000 - return jobwait([a:jobid], float2nr(l:timeout))[0] - elseif l:jobinfo.type == s:job_type_vimjob - let l:timeout = a:timeout / 1000.0 - try - while l:timeout < 0 || reltimefloat(reltime(a:start)) < l:timeout - let l:info = job_info(l:jobinfo.job) - if l:info.status ==# 'dead' - return l:info.exitval - elseif l:info.status ==# 'fail' - return -3 - endif - sleep 1m - endwhile - catch /^Vim:Interrupt$/ - return -2 - endtry - endif - return -1 -endfunction - -function! s:job_wait(jobids, timeout) abort - let l:start = reltime() - let l:exitcode = 0 - let l:ret = [] - for l:jobid in a:jobids - if l:exitcode != -2 " Not interrupted. - let l:exitcode = s:job_wait_single(l:jobid, a:timeout, l:start) - endif - let l:ret += [l:exitcode] - endfor - return l:ret -endfunction - -" public apis {{{ -function! minpac#job#start(cmd, opts) abort - return s:job_start(a:cmd, a:opts) -endfunction - -function! minpac#job#stop(jobid) abort - call s:job_stop(a:jobid) -endfunction - -function! minpac#job#send(jobid, data) abort - call s:job_send(a:jobid, a:data) -endfunction - -function! minpac#job#wait(jobids, ...) abort - let l:timeout = get(a:000, 0, -1) - return s:job_wait(a:jobids, l:timeout) -endfunction -" }}} - -let &cpo = s:save_cpo -unlet s:save_cpo diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/progress.vim b/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/progress.vim deleted file mode 100644 index 86fc093..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/progress.vim +++ /dev/null @@ -1,74 +0,0 @@ -" --------------------------------------------------------------------- -" minpac: A minimal package manager for Vim 8 (and Neovim) -" -" Maintainer: Ken Takata -" Last Change: 2020-01-28 -" License: VIM License -" URL: https://github.com/k-takata/minpac -" --------------------------------------------------------------------- - -let s:winid = 0 -let s:bufnr = 0 - -" Add a message to the minpac progress window -function! minpac#progress#add_msg(type, msg) abort - " Goes to the minpac progress window. - if !win_gotoid(s:winid) - echom 'warning: minpac progress window not found.' - return - endif - setlocal modifiable - let l:markers = {'': ' ', 'warning': 'W:', 'error': 'E:'} - call append(line('$') - 1, l:markers[a:type] . ' ' . a:msg) - setlocal nomodifiable -endfunction - -" Open the minpac progress window -function! minpac#progress#open(msg) abort - let l:bufname = '[minpac progress]' - if s:bufnr != 0 - exec "silent! bwipe" s:bufnr - endif - if g:minpac#opt.progress_open ==# 'vertical' - vertical topleft new - elseif g:minpac#opt.progress_open ==# 'horizontal' - topleft new - elseif g:minpac#opt.progress_open ==# 'tab' - tabnew - endif - let s:winid = win_getid() - call append(0, a:msg) - - setf minpacprgs - call s:syntax() - call s:mappings() - setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nomodifiable nospell - silent file `=l:bufname` - let s:bufnr = bufnr('') -endfunction - -function! s:syntax() abort - syntax clear - syn match minpacPrgsTitle /^## .* ##/ - syn match minpacPrgsError /^E: .*/ - syn match minpacPrgsWarning /^W: .*/ - syn match minpacPrgsInstalled /^ Installed:/ - syn match minpacPrgsUpdated /^ Updated:/ - syn match minpacPrgsUptodate /^ Already up-to-date:/ - syn region minpacPrgsString start='"' end='"' - - hi def link minpacPrgsTitle Title - hi def link minpacPrgsError ErrorMsg - hi def link minpacPrgsWarning WarningMsg - hi def link minpacPrgsInstalled Constant - hi def link minpacPrgsUpdated Special - hi def link minpacPrgsUptodate Comment - hi def link minpacPrgsString String -endfunction - -function! s:mappings() abort - nnoremap q :q - nnoremap s :call minpac#status() -endfunction - -" vim: set ts=8 sw=2 et: diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/status.vim b/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/status.vim deleted file mode 100644 index 8da3132..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/autoload/minpac/status.vim +++ /dev/null @@ -1,193 +0,0 @@ -" --------------------------------------------------------------------- -" minpac: A minimal package manager for Vim 8 (and Neovim) -" -" Maintainer: Ken Takata -" Created By: Kristijan Husak -" Last Change: 2020-01-28 -" License: VIM License -" URL: https://github.com/k-takata/minpac -" --------------------------------------------------------------------- - -let s:results = [] -let s:bufnr = 0 -let s:git_sign = -1 " Support --no-show-signature option. - -function! minpac#status#get(opt) abort - let l:bufname = '[minpac status]' - if s:bufnr != 0 - exec "silent! bwipe" s:bufnr - endif - let l:is_update_ran = minpac#impl#is_update_ran() - let l:update_count = 0 - let l:install_count = 0 - let l:error_count = 0 - let l:result = [] - for l:name in keys(g:minpac#pluglist) - let l:pluginfo = g:minpac#pluglist[l:name] - let l:dir = l:pluginfo.dir - let l:plugin = {'name': l:name, 'lines': [], 'status': ''} - - if !isdirectory(l:dir) - let l:plugin.status = 'Not installed' - else - let l:cmd = [g:minpac#opt.git, '-C', l:dir, 'log', - \ '--color=never', '--pretty=format:%h <<<<%D>>>> %s (%cr)', 'HEAD...HEAD@{1}' - \ ] - let l:commits = minpac#impl#system(l:cmd + (s:git_sign ? ['--no-show-signature'] : [])) - if s:git_sign == -1 - if l:commits[0] == 128 - let s:git_sign = v:false - let l:commits = minpac#impl#system(l:cmd) - else - let s:git_sign = v:true - endif - endif - - let l:plugin.lines = filter(l:commits[1], {-> v:val !=# ''}) - call map(l:plugin.lines, - \ {-> substitute(v:val, '^[0-9a-f]\{4,} \zs<<<<\(.*\)>>>> ', - \ {m -> m[1] =~# '^tag: ' ? '(' . m[1] . ') ' : ''}, '')}) - - if !l:is_update_ran - let l:plugin.status = 'OK' - elseif l:pluginfo.stat.prev_rev !=# '' && l:pluginfo.stat.prev_rev !=# minpac#impl#get_plugin_revision(l:name) - let l:update_count += 1 - let l:plugin.status = 'Updated' - elseif l:pluginfo.stat.installed == 0 - let l:install_count += 1 - let l:plugin.status = 'Installed' - elseif l:pluginfo.stat.errcode != 0 - let l:error_count += 1 - let l:plugin.status = 'Error (' . l:pluginfo.stat.errcode . ')' - endif - endif - - call add(l:result, l:plugin) - endfor - - " Show items with most lines (commits) first. - call sort(l:result, {first, second -> len(second.lines) - len(first.lines)}) - let s:results = l:result - - let l:content = [] - - if l:is_update_ran - call add(l:content, l:update_count . ' updated. ' . l:install_count . ' installed. ' . l:error_count . ' failed.') - call add(l:content, '') - endif - - for l:item in l:result - if l:item.status ==# '' - continue - endif - - call add(l:content, '- ' . l:item.name . ' - ' . l:item.status) - if l:item.status =~# '^Error' - for l:line in g:minpac#pluglist[l:item.name].stat.lines - call add(l:content, ' msg: ' . l:line) - endfor - else - for l:line in l:item.lines - call add(l:content, ' * ' . l:line) - endfor - endif - call add(l:content, '') - endfor - if len(l:content) > 0 && l:content[-1] ==# '' - call remove(l:content, -1) - endif - - if a:opt.open ==# 'vertical' - vertical topleft new - elseif a:opt.open ==# 'horizontal' - topleft new - elseif a:opt.open ==# 'tab' - tabnew - endif - setf minpac - call append(1, l:content) - 1delete _ - call s:syntax() - call s:mappings() - setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline nomodifiable nospell - silent file `=l:bufname` - let s:bufnr = bufnr('') -endfunction - - -function! s:syntax() abort - syntax clear - syn match minpacDash /^-/ - syn match minpacName /\(^- \)\@<=.*/ contains=minpacStatus - syn match minpacStatus /\(-.*\)\@<=-\s.*$/ contained - syn match minpacStar /^\s\*/ contained - syn match minpacCommit /^\s\*\s[0-9a-f]\{7,9} .*/ contains=minpacRelDate,minpacSha,minpacStar - syn match minpacSha /\(\s\*\s\)\@<=[0-9a-f]\{4,}/ contained nextgroup=minpacTag - syn match minpacTag / (tag: [^)]*)/ contained - syn match minpacRelDate /([^)]*)$/ contained - syn match minpacWarning /^ msg: .*/ - - hi def link minpacDash Special - hi def link minpacStar Boolean - hi def link minpacName Function - hi def link minpacSha Identifier - hi def link minpacTag PreProc - hi def link minpacRelDate Comment - hi def link minpacStatus Constant - hi def link minpacWarning WarningMsg -endfunction - -function! s:mappings() abort - nnoremap :call openSha() - nnoremap q :q - nnoremap :call nextPackage() - nnoremap :call prevPackage() -endfunction - -function! s:nextPackage() abort - return search('^-\s.*$') -endfunction - -function! s:prevPackage() abort - return search('^-\s.*$', 'b') -endfunction - -function! s:openSha() abort - let l:sha = matchstr(getline('.'), '^\s\*\s\zs[0-9a-f]\{7,9}') - if empty(l:sha) - return - endif - - let l:name = s:find_name_by_sha(l:sha) - - if empty(l:name) - return - endif - - let l:pluginfo = g:minpac#pluglist[l:name] - silent exe 'pedit' l:sha - wincmd p - setlocal previewwindow filetype=git buftype=nofile nobuflisted modifiable - let l:sha_content = minpac#impl#system([g:minpac#opt.git, '-C', l:pluginfo.dir, 'show', - \ '--no-color', '--pretty=medium', l:sha - \ ]) - - call append(1, l:sha_content[1]) - 1delete _ - setlocal nomodifiable - nnoremap q :q -endfunction - -function! s:find_name_by_sha(sha) abort - for l:result in s:results - for l:commit in l:result.lines - if l:commit =~? '^' . a:sha - return l:result.name - endif - endfor - endfor - - return '' -endfunction - -" vim: set ts=8 sw=2 et: diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/doc/minpac.txt b/private_dot_config/nvim/pack/minpac/opt/minpac/doc/minpac.txt deleted file mode 100644 index bf71a2c..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/doc/minpac.txt +++ /dev/null @@ -1,603 +0,0 @@ -*minpac.txt* A minimal package manager for Vim 8 (and Neovim) - -Version: 3.0.0 -Author: Ken Takata -License: The Vim License -URL: https://github.com/k-takata/minpac - - -============================================================================== -CONTENTS *minpac-contents* - -OVERVIEW |minpac-overview| -CONCEPT |minpac-concept| -REQUIREMENTS |minpac-requirements| -INSTALLATION |minpac-installation| -USAGE |minpac-usage| - COMMANDS |minpac-commands| - FUNCTIONS |minpac-functions| - HOOKS |minpac-hooks| - MAPPINGS |minpac-mappings| - - -============================================================================== -OVERVIEW *minpac-overview* - -Minpac is a minimal package manager for Vim 8 (and Neovim). This uses the -|packages| feature and the jobs feature (|job-channel-overview|) which have -been newly added on Vim 8. - - -============================================================================== -CONCEPT *minpac-concept* - -* Utilize Vim 8's packages feature. -* Parallel install/update using Vim 8's jobs feature. -* Simple. -* Fast. - - -============================================================================== -REQUIREMENTS *minpac-requirements* - -* Vim 8.0.0050+ (or Neovim 0.2+) -* Git 1.9+ -* OS: Windows, Linux or macOS - - -============================================================================== -INSTALLATION *minpac-installation* - -Minpac should be installed under "pack/minpac/opt/" in the first directory in -the 'packpath' option. -Plugins installed under "pack/*/start/" are automatically added to the -'runtimepath' after .vimrc is sourced. However, minpac needs to be loaded -before that. Therefore, minpac should be installed under "opt" directory, and -should be loaded using `packadd minpac`. - -Windows ~ - -Vim: - > - git clone https://github.com/k-takata/minpac.git ^ - %USERPROFILE%\vimfiles\pack\minpac\opt\minpac -< -Neovim: - > - git clone https://github.com/k-takata/minpac.git ^ - %LOCALAPPDATA%\nvim\pack\minpac\opt\minpac -< - -Linux, macOS ~ - -Vim: - > - git clone https://github.com/k-takata/minpac.git \ - ~/.vim/pack/minpac/opt/minpac -< -Neovim (use `$XDG_CONFIG_HOME` in place of `~/.config` if set on your system): - > - git clone https://github.com/k-takata/minpac.git \ - ~/.config/nvim/pack/minpac/opt/minpac -< - -Sample .vimrc ~ - -Basic sample - > - " Normally this if-block is not needed, because `:set nocp` is done - " automatically when .vimrc is found. However, this might be useful - " when you execute `vim -u .vimrc` from the command line. - if &compatible - " `:set nocp` has many side effects. Therefore this should be done - " only when 'compatible' is set. - set nocompatible - endif - - packadd minpac - - call minpac#init() - - " minpac must have {'type': 'opt'} so that it can be loaded with - " `packadd`. - call minpac#add('k-takata/minpac', {'type': 'opt'}) - - " Add other plugins here. - call minpac#add('vim-jp/syntax-vim-ex') - ... - - " Load the plugins right now. (optional) - "packloadall -< - Minpac itself requires 'compatible' to be unset. However, the - `if &compatible`-block is optional. - -Customizing 'packpath' - - If you want to use ".vim" directory instead of "vimfiles" even on Windows, - you should add "~/.vim" on top of 'packpath': > - - set packpath^=~/.vim - packadd minpac - - call minpac#init() - ... -< -Advanced sample - - You can write a .vimrc which can be also used even if minpac is not - installed. -> - " Try to load minpac. - packadd minpac - - if !exists('g:loaded_minpac') - " minpac is not available. - - " Settings for plugin-less environment. - ... - else - " minpac is available. - call minpac#init() - call minpac#add('k-takata/minpac', {'type': 'opt'}) - - " Additional plugins here. - ... - - " Plugin settings here. - ... - endif - - " Common settings here. - ... -< -Load minpac on demand - - Very interestingly, minpac doesn't need to be loaded every time when you - execute Vim. Unlike other plugin managers, it is needed only when updating, - installing or cleaning the plugins. This is because minpac itself doesn't - handle the runtime path. - - You can define user commands to load minpac, register the information of - plugins, then call |minpac#update()|, |minpac#clean()| or |minpac#status()|. -> - function! PackInit() abort - packadd minpac - - call minpac#init() - call minpac#add('k-takata/minpac', {'type': 'opt'}) - - " Additional plugins here. - call minpac#add('vim-jp/syntax-vim-ex') - call minpac#add('tyru/open-browser.vim') - ... - endfunction - - " Plugin settings here. - ... - - " Define user commands for updating/cleaning the plugins. - " Each of them calls PackInit() to load minpac and register - " the information of plugins, then performs the task. - command! PackUpdate call PackInit() | call minpac#update() - command! PackClean call PackInit() | call minpac#clean() - command! PackStatus packadd minpac | call minpac#status() -< - If you make your .vimrc reloadable, you can reflect the setting of the - .vimrc immediately after you edit it by executing - `:so $MYVIMRC | PackUpdate`. Or you can define the commands like this: > - - command! PackUpdate source $MYVIMRC | call PackInit() | call minpac#update() - command! PackClean source $MYVIMRC | call PackInit() | call minpac#clean() - command! PackStatus packadd minpac | call minpac#status() -< - To make your .vimrc reloadable: - - * `:set nocompatible` should not be executed twice to avoid side effects. - * `:function!` should be used to define a user function. - * `:command!` should be used to define a user command. - * `:augroup!` should be used properly to avoid the same autogroups are - defined twice. - - - Sometimes, you may want to open a shell at the directory where a plugin is - installed. The following example defines a command to open a terminal - window at the directory of a specified plugin. (Requires Vim 8.0.902 or - later.) > - - function! PackList(...) - call PackInit() - return join(sort(keys(minpac#getpluglist())), "\n") - endfunction - - command! -nargs=1 -complete=custom,PackList - \ PackOpenDir call PackInit() | call term_start(&shell, - \ {'cwd': minpac#getpluginfo().dir, - \ 'term_finish': 'close'}) -< - If you execute `:PackOpenDir minpac`, it will open a terminal window at - `~/.vim/pack/minpac/opt/minpac` (or the directory where minpac is installed). - - To define a command to open the repository of a plugin in a web browser: -> - command! -nargs=1 -complete=custom,PackList - \ PackOpenUrl call PackInit() | call openbrowser#open( - \ minpac#getpluginfo().url) -< - This uses open-browser.vim (https://github.com/tyru/open-browser.vim). - - -============================================================================== -USAGE *minpac-usage* - ------------------------------------------------------------------------------- -COMMANDS *minpac-commands* - -Minpac doesn't provide any commands. Use the `:call` command to call minpac -functions. E.g.: > - " To install or update plugins: - call minpac#update() - - " To uninstall unused plugins: - call minpac#clean() - - " To see plugins status: - call minpac#status() -< -Or define commands by yourself as described in the previous section. - - ------------------------------------------------------------------------------- -FUNCTIONS *minpac-functions* - -minpac#init([{config}]) *minpac#init()* - Initialize minpac. - - `{config}` is a Dictionary of options for configuring minpac. - - Option Description ~ - dir Package directory. Default: the first - directory of the 'packpath' option. - package_name Package name. Default: "minpac" - git Git command. Default: "git" - depth Default clone depth. Default: 1 - jobs Maximum job numbers. If <= 0, unlimited. - Default: 8 - verbose Verbosity level (0 to 4). - 0: Show only important messages. - 1: Show the result of each plugin. - 2: Show error messages from external commands. - 3: Show start/end messages for each plugin. - 4: Show debug messages. - Default: 2 - confirm Show interactive confirmation prompts, such as - in |minpac#clean()|. - Default: |TRUE| - progress_open Specify how to show the progress of - |minpac#update()|. - "none": Do not open the progress window. - (Compatible with minpac v2.0.x or earlier.) - "horizontal": Open the progress window by - splitting horizontally. - "vertical": Open the progress window by - splitting vertically. - "tab": Open the progress window in a new tab. - Default: "horizontal" - status_open Default setting for the open option of - |minpac#status()|. - Default: "horizontal" - status_auto Specify whether the status window will open - automatically after |minpac#update()| is - finished. - |TRUE|: Open the status window automatically, - when one or more plugins are updated or - installed. - |FALSE|: Do not open the status window - automatically. - Default: |FALSE| - - All plugins will be installed under the following directories: - - "start" plugins: /pack//start/ - "opt" plugins: /pack//opt/ - - - "start" plugins will be automatically loaded after processing your - |.vimrc|, or you can load them explicitly using `:packloadall` command. - "opt" plugins can be loaded with `:packadd` command. - See |packages| for detail. - - -minpac#add({url}[, {config}]) *minpac#add()* - Register a plugin. - - {url} is a URL of a plugin. It can be a short form - ("/") or a valid git URL. If you use the - short form, should not include the ".git" suffix. - Note: Unlike Vundle, a short form without / is not - supported. (Because vim-scripts.org is not maintained now.) - - {config} is a Dictionary of options for configuring the plugin. - - Option Description ~ - name Unique name of the plugin. *minpac-plugin_name* - Also used as a local directory name. - Default: derived from the repository name. - type Type of the plugin. "start" or "opt". - Default: "start" - frozen If |TRUE|, the plugin will not be updated - automatically. Default: |FALSE| - depth If >= 1, it is used as a depth to be cloned. - Only effective when install the plugin newly. - Default: 1 or specified value by - |minpac#init()|. - branch Used as a branch name to be cloned. - Only effective when install the plugin newly. - Default: empty - rev Commit ID, branch name or tag name to be - checked out. If this is specified, "depth" - will be ignored. - Default: empty - do Post-update hook. - See |minpac-post-update-hooks|. - Default: empty - subdir Subdirectory that contains Vim plugin. - Default: empty - pullmethod Specify how to update the plugin. - Empty: Update with `--ff-only` option. - "autostash": Update with `--rebase --autostash` - options. - Default: empty - - The "branch" and "rev" options are slightly different. - The "branch" option is used only when the plugin is newly installed. - It clones the plugin by `git clone --depth= -b ` . - This is faster at the installation, but it can be slow if you want to - change the branch (by the "rev" option) later. This cannot specify a - commit ID. - The "rev" option is used both for installing and updating the plugin. - It installs the plugin by `git clone && git checkout ` and - updates the plugin by `git fetch && git checkout ` . This is - slower because it clones the whole repository, but you can change the - rev (commit ID, branch or tag) later. - So, if you want to change the branch frequently or want to specify a - commit ID, you should use the "rev" option. Otherwise you can use the - "branch" option. - - If you include "*" in "rev", minpac tries to checkout the latest tag - name which matches the "rev". - - When "subdir"" is specified, the plugin will be installed as usual - (e.g. in `pack/minpac/start/pluginname`), however, another directory - is created and a symlink (or a junction on Windows) will be created in - it. E.g.: > - - ln -s pack/minpac/start/pluginname/subdir \ - pack/minpac-sub/start/pluginname - -< This way, Vim can load the plugin from its subdirectory. - - -minpac#update([{name}[, {config}]]) *minpac#update()* - Install or update all plugins or the specified plugin. - - {name} is a unique name of a plugin (|minpac-plugin_name|). - - If {name} is omitted or an empty String, all plugins will be installed - or updated. Frozen plugins will be installed, but it will not be - updated. - - If {name} is specified, only specified plugin will be installed or - updated. Frozen plugin will be also updated. {name} can also be a - list of plugin names. - - {config} is a Dictionary of options for configuring the function. - - Option Description ~ - do Finish-update hook. - See |minpac-finish-update-hooks|. - Default: empty - - You can check the results with `:message` command. - - Note: This resets the 'more' option temporarily to avoid jobs being - interrupted. - - -minpac#clean([{name}]) *minpac#clean()* - Remove all plugins which are not registered, or remove the specified - plugin. - - {name} is a name of a plugin. It can be a unique plugin name - (|minpac-plugin_name|) or a plugin name with wildcards ("*" and "?" - are supported). It can also be a list of plugin names. - - If {name} is omitted, all plugins under the minpac directory will be - checked. If unregistered plugins are found, they are listed and a - prompt is shown. If you type "y", they will be removed. - - When called, matched plugins are listed (even they are registered with - |minpac#add()|) and a prompt is shown. If you type "y", they will be - removed. If the "confirm" option is not |TRUE|, the prompt will not - be shown. - - -minpac#getpluginfo({name}) *minpac#getpluginfo()* - Get information of specified plugin. - - {name} is a unique name of a plugin (|minpac-plugin_name|). - A dictionary with following items will be returned: - - Item Description ~ - name Name of the plugin. - url URL of the plugin repository. - dir Local directory of the plugin. - subdir Subdirectory that contains Vim plugin. - frozen If |TRUE|, the plugin is frozen. - type Type of the plugin. - depth Depth to be cloned. - branch Branch name to be cloned. - rev Revision to be checked out. - do Post-update hook. - stat Status of last update. - - -minpac#getpluglist() *minpac#getpluglist()* - Get a list of plugin information. Mainly for debugging. - - - *minpac#getpackages()* -minpac#getpackages([{packname}[, {packtype}[, {plugname}[, {nameonly}]]]]) - Get a list of plugins under the package directories. - - {packname} specifies a package name. Wildcards can be used. If omitted - or an empty string is specified, "*" is used. - - {packtype} is a type of the package. "*", "start", "opt" or "NONE" can - be used. - If "*" is specified, both start and opt packages are listed. - If omitted or an empty string is specified, "*" is used. - If "NONE" is specified, package directories are listed instead of - plugin directories. - - {plugname} specifies a plugin name. Wildcards can be used. If omitted - or an empty string is specified, "*" is used. - - If {nameonly} is |TRUE|, plugin (or package) names are listed instead - of the directories. Default is |FALSE|. - - E.g.: > - - " List the all plugin directories under the package directories. - " Includes plugins under "dist" package. - echo minpac#getpackages() - - " List directories of "start" plugins under "minpac" package. - echo minpac#getpackages("minpac", "start") - - " List plugin names under "minpac" package. - echo minpac#getpackages("minpac", "", "", 1) - - " List package names. - echo minpac#getpackages("", "NAME", "", 1) -< -minpac#status([{config}]) *minpac#status()* - Print status of plugins. - When ran after |minpac#update()|, shows only installed and updated - plugins. Otherwise, shows the status of the plugin and commits of last - update (if any). - - {config} is a Dictionary of options for configuring the function. - - Option Description ~ - open Specify how to open the status window. - "vertical": Open in vertical split. - "horizontal": Open in horizontal split. - "tab": Open in a new tab. - Default: "horizontal" or specified value by - |minpac#init()|. - ------------------------------------------------------------------------------- -HOOKS *minpac-hooks* - -Currently, minpac supports two types of hook: Post-update hooks and Finish- -update hooks. - - -POST-UPDATE HOOKS *minpac-post-update-hooks* - -If a plugin requires extra works (e.g. building a native module), you can use -the post-update hooks. - -You can specify the hook with the `'do'` item in the option of the -|minpac#add()| function. It can be a String or a Funcref. -If a String is specified, it is executed as an Ex command. -If a Funcref is specified, it is called with two arguments; {hooktype} and -{name}. - - Argument Description ~ - {hooktype} Type of the hook. 'post-update' for post- - update hooks. - {name} Name of the plugin. |minpac-plugin_name| - -The current directory is set to the directory of the plugin, when the hook is -invoked. - -E.g.: > - - " Execute an Ex command as a hook. - call minpac#add('Shougo/vimproc.vim', {'do': 'silent! !make'}) - - " Execute a lambda function as a hook. - " Parameters for a lambda can be omitted, if you don't need them. - call minpac#add('Shougo/vimproc.vim', {'do': {-> system('make')}}) - - " Of course, you can also use a normal user function as a hook. - function! s:hook(hooktype, name) - echom a:hooktype - " You can use `minpac#getpluginfo()` to get the information about - " the plugin. - echom 'Directory:' minpac#getpluginfo(a:name).dir - call system('make') - endfunction - call minpac#add('Shougo/vimproc.vim', {'do': function('s:hook')}) -< - -The above examples execute the "make" command synchronously. If you want to -execute an external command asynchronously, you should use the |job_start()| -function on Vim 8 or the |jobstart()| function on Neovim. -You may also want to use the `minpac#job#start()` function, but this is mainly -for internal use and the specification is subject to change without notice. - - -FINISH-UPDATE HOOKS *minpac-finish-update-hooks* - -If you want to execute extra works after all plugins are updated, you can use -the finish-update hooks. - -You can specify the hook with the `'do'` item in the option of the -|minpac#update()| function. It can be a String or a Funcref. -If a String is specified, it is executed as an Ex command. -If a Funcref is specified, it is called with three arguments; {hooktype}, -{updated} and {installed}. - - Argument Description ~ - {hooktype} Type of the hook. 'finish-update' for finish- - update hooks. - {updated} Number of the updated plugin. - {installed} Number of the newly installed plugin. - -E.g.: > - - " Quit Vim immediately after all updates are finished. - call minpac#update('', {'do': 'quit'}) -< ------------------------------------------------------------------------------- -MAPPINGS *minpac-mappings* - -List of mappings available only in progress window. - - *minpac-progress-s* -s Open the status window. - - *minpac-progress-q* -q Exit the progress window. - - -List of mappings available only in status window. - - *minpac-status-* - Preview the commit under the cursor. - - *minpac-status-CTRL-j* - Jump to next package in list. - - *minpac-status-CTRL-k* - Jump to previous package in list. - - *minpac-status-q* -q Exit the status window. - (Also works for commit preview window) - -============================================================================== - vim:tw=78:ts=8:ft=help:norl: diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/FETCH_HEAD b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/FETCH_HEAD deleted file mode 100644 index 45c0c14..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/FETCH_HEAD +++ /dev/null @@ -1,8 +0,0 @@ -6cf985065aaeba4c9943c80e9aee61a1b86c1fad branch 'master' of https://github.com/k-takata/minpac -86722338fbd0f948b7f41588b02e81be59ab4114 not-for-merge branch 'appveyor-cache-temp' of https://github.com/k-takata/minpac -e04fbf9d1b96e789c43ac48223d8c11cea0fd347 not-for-merge branch 'appveyor-test' of https://github.com/k-takata/minpac -0fd746b44544f19c2e4ab6dc31f4eb07000b1a0b not-for-merge branch 'ci-enable-neovim-on-ubuntu' of https://github.com/k-takata/minpac -6cf985065aaeba4c9943c80e9aee61a1b86c1fad not-for-merge branch 'devel' of https://github.com/k-takata/minpac -a01f565cd3e24c3e9f4ad9b1c665b782bbc51e91 not-for-merge branch 'improve-ci-temp' of https://github.com/k-takata/minpac -e096a297bbc91b16416b90598b3810df543382db not-for-merge branch 'runtest-upstream' of https://github.com/k-takata/minpac -5351955003b07a747e700c119ff9483c84b248f4 not-for-merge branch 'update-async-vim' of https://github.com/k-takata/minpac diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/HEAD b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/HEAD deleted file mode 100644 index cb089cd..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/HEAD +++ /dev/null @@ -1 +0,0 @@ -ref: refs/heads/master diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/ORIG_HEAD b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/ORIG_HEAD deleted file mode 100644 index ec5720a..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/ORIG_HEAD +++ /dev/null @@ -1 +0,0 @@ -7819b0710d223cacf93887ec5cbc9848eed7625c diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/config b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/config deleted file mode 100644 index 40940bd..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/config +++ /dev/null @@ -1,11 +0,0 @@ -[core] - repositoryformatversion = 0 - filemode = true - bare = false - logallrefupdates = true -[remote "origin"] - url = https://github.com/k-takata/minpac.git - fetch = +refs/heads/*:refs/remotes/origin/* -[branch "master"] - remote = origin - merge = refs/heads/master diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/index b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/index deleted file mode 100644 index 33a836d..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/index and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/HEAD b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/HEAD deleted file mode 100644 index ccdc05a..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/HEAD +++ /dev/null @@ -1,2 +0,0 @@ -0000000000000000000000000000000000000000 7819b0710d223cacf93887ec5cbc9848eed7625c Julien Rabier 1606045328 +0100 clone: from https://github.com/k-takata/minpac.git -7819b0710d223cacf93887ec5cbc9848eed7625c 6cf985065aaeba4c9943c80e9aee61a1b86c1fad Julien Rabier 1630678738 +0200 pull: Fast-forward diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/heads/master b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/heads/master deleted file mode 100644 index ccdc05a..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/heads/master +++ /dev/null @@ -1,2 +0,0 @@ -0000000000000000000000000000000000000000 7819b0710d223cacf93887ec5cbc9848eed7625c Julien Rabier 1606045328 +0100 clone: from https://github.com/k-takata/minpac.git -7819b0710d223cacf93887ec5cbc9848eed7625c 6cf985065aaeba4c9943c80e9aee61a1b86c1fad Julien Rabier 1630678738 +0200 pull: Fast-forward diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/HEAD b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/HEAD deleted file mode 100644 index cd1bb1a..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/HEAD +++ /dev/null @@ -1 +0,0 @@ -0000000000000000000000000000000000000000 7819b0710d223cacf93887ec5cbc9848eed7625c Julien Rabier 1606045328 +0100 clone: from https://github.com/k-takata/minpac.git diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/ci-enable-neovim-on-ubuntu b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/ci-enable-neovim-on-ubuntu deleted file mode 100644 index 2864778..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/ci-enable-neovim-on-ubuntu +++ /dev/null @@ -1 +0,0 @@ -0000000000000000000000000000000000000000 0fd746b44544f19c2e4ab6dc31f4eb07000b1a0b Julien Rabier 1625498078 +0200 pull --quiet --ff-only --rebase=false: storing head diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/devel b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/devel deleted file mode 100644 index 7a1d448..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/devel +++ /dev/null @@ -1,2 +0,0 @@ -7819b0710d223cacf93887ec5cbc9848eed7625c 093f00891aeb04e98ceb5a541885d025c9fae169 Julien Rabier 1608047789 +0100 pull --quiet --ff-only --rebase=false: fast-forward -093f00891aeb04e98ceb5a541885d025c9fae169 6cf985065aaeba4c9943c80e9aee61a1b86c1fad Julien Rabier 1625498078 +0200 pull --quiet --ff-only --rebase=false: fast-forward diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/master b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/master deleted file mode 100644 index 7a1d448..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/master +++ /dev/null @@ -1,2 +0,0 @@ -7819b0710d223cacf93887ec5cbc9848eed7625c 093f00891aeb04e98ceb5a541885d025c9fae169 Julien Rabier 1608047789 +0100 pull --quiet --ff-only --rebase=false: fast-forward -093f00891aeb04e98ceb5a541885d025c9fae169 6cf985065aaeba4c9943c80e9aee61a1b86c1fad Julien Rabier 1625498078 +0200 pull --quiet --ff-only --rebase=false: fast-forward diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/runtest-upstream b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/runtest-upstream deleted file mode 100644 index 23f91a4..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/runtest-upstream +++ /dev/null @@ -1 +0,0 @@ -0069f3e4f5d2d42bb9b790a9cef3729bdfe4eaae e096a297bbc91b16416b90598b3810df543382db Julien Rabier 1625498078 +0200 pull --quiet --ff-only --rebase=false: fast-forward diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/update-async-vim b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/update-async-vim deleted file mode 100644 index 848943b..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/logs/refs/remotes/origin/update-async-vim +++ /dev/null @@ -1 +0,0 @@ -0000000000000000000000000000000000000000 5351955003b07a747e700c119ff9483c84b248f4 Julien Rabier 1625498078 +0200 pull --quiet --ff-only --rebase=false: storing head diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/05/0a032f1acec96c2767d7ee3f56476b49f58968 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/05/0a032f1acec96c2767d7ee3f56476b49f58968 deleted file mode 100644 index 74bacaa..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/05/0a032f1acec96c2767d7ee3f56476b49f58968 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/06/5834c8cb3cb106d3c6de0d8fcda81c56dc0cbd b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/06/5834c8cb3cb106d3c6de0d8fcda81c56dc0cbd deleted file mode 100644 index 907ad96..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/06/5834c8cb3cb106d3c6de0d8fcda81c56dc0cbd and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/09/3f00891aeb04e98ceb5a541885d025c9fae169 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/09/3f00891aeb04e98ceb5a541885d025c9fae169 deleted file mode 100644 index efeefc7..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/09/3f00891aeb04e98ceb5a541885d025c9fae169 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/0b/220f0dd544de6d543af23156b8f844cb67f743 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/0b/220f0dd544de6d543af23156b8f844cb67f743 deleted file mode 100644 index 9a2e682..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/0b/220f0dd544de6d543af23156b8f844cb67f743 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/0e/66b53387c107816461e49b99cc0087e26763f0 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/0e/66b53387c107816461e49b99cc0087e26763f0 deleted file mode 100644 index e5ab99d..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/0e/66b53387c107816461e49b99cc0087e26763f0 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/0f/d746b44544f19c2e4ab6dc31f4eb07000b1a0b b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/0f/d746b44544f19c2e4ab6dc31f4eb07000b1a0b deleted file mode 100644 index 47aca84..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/0f/d746b44544f19c2e4ab6dc31f4eb07000b1a0b and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/11/1e5eebeac29b21121f49626442e66444e1cbc6 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/11/1e5eebeac29b21121f49626442e66444e1cbc6 deleted file mode 100644 index 3bfbb01..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/11/1e5eebeac29b21121f49626442e66444e1cbc6 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/12/948c3d1ae2d5d840d47e8140239c4295d20dfa b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/12/948c3d1ae2d5d840d47e8140239c4295d20dfa deleted file mode 100644 index c86a05a..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/12/948c3d1ae2d5d840d47e8140239c4295d20dfa and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/14/48765d70d4210a36c4782953351b36918d2986 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/14/48765d70d4210a36c4782953351b36918d2986 deleted file mode 100644 index 3b92830..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/14/48765d70d4210a36c4782953351b36918d2986 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/19/46c59039737abe3d7e7b00a1eed84f8dc10dfe b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/19/46c59039737abe3d7e7b00a1eed84f8dc10dfe deleted file mode 100644 index 9c4e103..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/19/46c59039737abe3d7e7b00a1eed84f8dc10dfe and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/19/79af1457e69c251980818da43fc584daa09b00 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/19/79af1457e69c251980818da43fc584daa09b00 deleted file mode 100644 index a00c52d..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/19/79af1457e69c251980818da43fc584daa09b00 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/19/7e8b4b698eae49451a5ed372cff2a81ed7a3be b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/19/7e8b4b698eae49451a5ed372cff2a81ed7a3be deleted file mode 100644 index ec76b2c..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/19/7e8b4b698eae49451a5ed372cff2a81ed7a3be and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/1e/0dbb2202b07d2644d9f61aca78dfb4c9013a3d b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/1e/0dbb2202b07d2644d9f61aca78dfb4c9013a3d deleted file mode 100644 index b58f17b..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/1e/0dbb2202b07d2644d9f61aca78dfb4c9013a3d and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/1e/a95873f302418d6b2808616c0a877ac1a40c0d b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/1e/a95873f302418d6b2808616c0a877ac1a40c0d deleted file mode 100644 index b631c03..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/1e/a95873f302418d6b2808616c0a877ac1a40c0d and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/24/4042ccc712ce57e3e3054207b46eee530e3987 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/24/4042ccc712ce57e3e3054207b46eee530e3987 deleted file mode 100644 index d4b092c..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/24/4042ccc712ce57e3e3054207b46eee530e3987 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/26/b5e4002e9a958aeabcd36157c96cbec8b0b054 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/26/b5e4002e9a958aeabcd36157c96cbec8b0b054 deleted file mode 100644 index ea5ca0e..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/26/b5e4002e9a958aeabcd36157c96cbec8b0b054 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/29/d5a029e3fcdc3c047fe8a9ba5df421d5b7c5dd b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/29/d5a029e3fcdc3c047fe8a9ba5df421d5b7c5dd deleted file mode 100644 index 14a7731..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/29/d5a029e3fcdc3c047fe8a9ba5df421d5b7c5dd and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/2b/527b543b5b78e9e64290c078b9e6e5c66d2d24 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/2b/527b543b5b78e9e64290c078b9e6e5c66d2d24 deleted file mode 100644 index d9ae1c8..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/2b/527b543b5b78e9e64290c078b9e6e5c66d2d24 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/2d/4b3496226a6a4cac40e8900c8387330fafb24c b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/2d/4b3496226a6a4cac40e8900c8387330fafb24c deleted file mode 100644 index 3d0aa9f..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/2d/4b3496226a6a4cac40e8900c8387330fafb24c +++ /dev/null @@ -1,5 +0,0 @@ -xmKs@gͯYJMwW%ST'nAGP8]wԽsYf-D֜+10H(XƊ#$(-5taj~jA,PU`bhHG8* -L*<%Ke jP㉪#bMpy6/LJݱ}c {Ϋ@*+B -2}KZ^;k] ^NW-C??odi6Y -9pml{eldaax7K,ߜCןZQr3cy;1,?.55+HR*&G] vd8;]-㴔'F%`YjV;9/3 +%Q''_2t:w11[3?/8z{ ){eoZw"ĝiI&-[-ό1uW>Ntc' F Waߨn.8•ɷCi[Mkl^?FQoe -"" G \ No newline at end of file diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/57/83a064d223452cb7d617fde915fc002bf5693a b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/57/83a064d223452cb7d617fde915fc002bf5693a deleted file mode 100644 index 84d99a6..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/57/83a064d223452cb7d617fde915fc002bf5693a and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/59/dacc3e0d253c62ee9ea2185a1843be2fb2d6c0 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/59/dacc3e0d253c62ee9ea2185a1843be2fb2d6c0 deleted file mode 100644 index 9d026dc..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/59/dacc3e0d253c62ee9ea2185a1843be2fb2d6c0 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/5d/3dfd46628bd865d8593e3e5ba71ddeef66b070 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/5d/3dfd46628bd865d8593e3e5ba71ddeef66b070 deleted file mode 100644 index 6d25b01..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/5d/3dfd46628bd865d8593e3e5ba71ddeef66b070 +++ /dev/null @@ -1,2 +0,0 @@ -xmQN!W̡WvXă&֨鵁e\HX@fh˚mb\`G PԀ;Y\F##s!> PJ13a??׊,03QV5}w붶[B0!4~ČGK|Cc@`b zYi5Z lum[規cօ^M-1M./yҐj[4`( -9o:N0ÕVgGe{MUSX2Փ خ. \ No newline at end of file diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/5f/3b6d28ee918202b44ac34935ecf9dfb59f7999 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/5f/3b6d28ee918202b44ac34935ecf9dfb59f7999 deleted file mode 100644 index 0b2121c..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/5f/3b6d28ee918202b44ac34935ecf9dfb59f7999 +++ /dev/null @@ -1,3 +0,0 @@ -xeAK0_1P - aOR]%NvRit -̄yӌD%l2oh[hA@KT,{謃YL-zr dx""Wr'dQ_/Ҕ<.=VJj`0EE!ХWyJbsL&RNZOij9FMZz&\ǤFCwOaz \ No newline at end of file diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/60/9ab26adcea068ac4c1cc269cbdf1054f8a748d b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/60/9ab26adcea068ac4c1cc269cbdf1054f8a748d deleted file mode 100644 index 896336d..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/60/9ab26adcea068ac4c1cc269cbdf1054f8a748d and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/62/b4c3db32d689b6cec532d019d5076809634fb9 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/62/b4c3db32d689b6cec532d019d5076809634fb9 deleted file mode 100644 index f24e9cf..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/62/b4c3db32d689b6cec532d019d5076809634fb9 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/63/cd13ecfcf447d65d6e9d85fd09571a991053bd b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/63/cd13ecfcf447d65d6e9d85fd09571a991053bd deleted file mode 100644 index 04f96c3..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/63/cd13ecfcf447d65d6e9d85fd09571a991053bd and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/6c/f985065aaeba4c9943c80e9aee61a1b86c1fad b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/6c/f985065aaeba4c9943c80e9aee61a1b86c1fad deleted file mode 100644 index 5b5d902..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/6c/f985065aaeba4c9943c80e9aee61a1b86c1fad and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/6d/3c5bd31167148c9bc9495da8fc799927e277d1 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/6d/3c5bd31167148c9bc9495da8fc799927e277d1 deleted file mode 100644 index 1f3b6c8..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/6d/3c5bd31167148c9bc9495da8fc799927e277d1 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/6d/56bdcc6b5918f4e615ec7158712cdf4fc3c131 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/6d/56bdcc6b5918f4e615ec7158712cdf4fc3c131 deleted file mode 100644 index 4497d5c..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/6d/56bdcc6b5918f4e615ec7158712cdf4fc3c131 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/70/5dfd91dd705311b7a2edc6b54e8423fe1709b7 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/70/5dfd91dd705311b7a2edc6b54e8423fe1709b7 deleted file mode 100644 index e5bb00c..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/70/5dfd91dd705311b7a2edc6b54e8423fe1709b7 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/70/b1e616c2b7d8628a3c26339b3c2204f9f5b976 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/70/b1e616c2b7d8628a3c26339b3c2204f9f5b976 deleted file mode 100644 index 007717a..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/70/b1e616c2b7d8628a3c26339b3c2204f9f5b976 +++ /dev/null @@ -1 +0,0 @@ -xMK0E]W^i>q+"nĭL{M[Ҽ<=;q+%7Pid0U0jEn &$5۱@"LZ}aJ ^ypƆp?w}ns^( ϲF;a<} ڙ`+: խ{.0rɥ!P)L\/q{oC_x;m"{(L9$Tx Şs"<,;s&#! 9s.J?S }T#ͤg} \r33Mߥ?c2C@'B^VW86>o^(fŚ_޸Q \ No newline at end of file diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/93/23567edc5bf292acecfa8c2646d98d2dbb3762 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/93/23567edc5bf292acecfa8c2646d98d2dbb3762 deleted file mode 100644 index 40fcf90..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/93/23567edc5bf292acecfa8c2646d98d2dbb3762 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/94/e90ed077be0e9f033897527ebbfe045e1b3a9b b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/94/e90ed077be0e9f033897527ebbfe045e1b3a9b deleted file mode 100644 index e2dc7bb..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/94/e90ed077be0e9f033897527ebbfe045e1b3a9b and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/97/9613a004299e3919886f473c6b3767522e2d8d b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/97/9613a004299e3919886f473c6b3767522e2d8d deleted file mode 100644 index 999e9e3..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/97/9613a004299e3919886f473c6b3767522e2d8d and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/9a/d70309d8d18470b61de4b52c844d62f11300c9 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/9a/d70309d8d18470b61de4b52c844d62f11300c9 deleted file mode 100644 index 2f52911..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/9a/d70309d8d18470b61de4b52c844d62f11300c9 +++ /dev/null @@ -1,3 +0,0 @@ -x}νn@Q [EyF~~i~Up.},P:̹ - -}]Z{VT̓g|E,Qĉ[uɧ 9{24+aXq,ᚏ[$D5]E>q\`Z/BF9 \ No newline at end of file diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ab/2a7a38d32f9bed176669b1bf0e5d2c3fbceb22 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ab/2a7a38d32f9bed176669b1bf0e5d2c3fbceb22 deleted file mode 100644 index e2ec3f0..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ab/2a7a38d32f9bed176669b1bf0e5d2c3fbceb22 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ab/cc0f0269ca2378e2481fafc10e6f47f0809ea6 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ab/cc0f0269ca2378e2481fafc10e6f47f0809ea6 deleted file mode 100644 index 45bad31..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ab/cc0f0269ca2378e2481fafc10e6f47f0809ea6 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ac/208e281fa38337fccb740c688f1b0be206a98a b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ac/208e281fa38337fccb740c688f1b0be206a98a deleted file mode 100644 index db2dc7c..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ac/208e281fa38337fccb740c688f1b0be206a98a and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/b0/dc280e7c8705b02fcc849db33d64756499c3ac b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/b0/dc280e7c8705b02fcc849db33d64756499c3ac deleted file mode 100644 index 6938764..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/b0/dc280e7c8705b02fcc849db33d64756499c3ac +++ /dev/null @@ -1 +0,0 @@ -x+)JMU060g040031QK,L/JeBǑ`ec3rYU囘onbÞo~:r&<: .DV|υ+|gOGR`}+kƎ._r$TM+C V{?v,V6uҼ\eB5^9uk=hל5וG8'x"TȠ̼dȭnvMauU>u%eЃR \ No newline at end of file diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/b2/c560faf6a994698c701c74c4434cabab111573 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/b2/c560faf6a994698c701c74c4434cabab111573 deleted file mode 100644 index eab7467..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/b2/c560faf6a994698c701c74c4434cabab111573 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/b9/eb5720c3838a09663591115c14b787323f69c3 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/b9/eb5720c3838a09663591115c14b787323f69c3 deleted file mode 100644 index a7ea706..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/b9/eb5720c3838a09663591115c14b787323f69c3 +++ /dev/null @@ -1,2 +0,0 @@ -xJ0E]+΅$i&MDDa@a?iRWſ3qr=LSbB٦Ge颗l62"Z}mGČ eVjTclkH5ؒoJ'p,pqDFxw|䧰c~eJFÝRp-c/#Vcɷ %l U WXIcZ;@(3!exy}5P7*i¶R_ -^Z \ No newline at end of file diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/be/995e159319a8417ed0a2e3de444038c72c9cc7 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/be/995e159319a8417ed0a2e3de444038c72c9cc7 deleted file mode 100644 index 44499a1..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/be/995e159319a8417ed0a2e3de444038c72c9cc7 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/bf/16892f7147e135657b728e84f275b9bc392800 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/bf/16892f7147e135657b728e84f275b9bc392800 deleted file mode 100644 index 3a94d36..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/bf/16892f7147e135657b728e84f275b9bc392800 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/bf/71a2cd7fe34746126316319a6ff1df2f1057d9 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/bf/71a2cd7fe34746126316319a6ff1df2f1057d9 deleted file mode 100644 index 8ff6f54..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/bf/71a2cd7fe34746126316319a6ff1df2f1057d9 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c3/f1ea0f7fe72aef2cde0196d6f4907e516196c7 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c3/f1ea0f7fe72aef2cde0196d6f4907e516196c7 deleted file mode 100644 index d104a08..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c3/f1ea0f7fe72aef2cde0196d6f4907e516196c7 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c5/d9e1e65fb8a4a567dd92cd6d5a22032c348f5d b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c5/d9e1e65fb8a4a567dd92cd6d5a22032c348f5d deleted file mode 100644 index e05c3ce..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c5/d9e1e65fb8a4a567dd92cd6d5a22032c348f5d and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c6/c02785eda3e2af0cccc9c910be7ef9dcbdfb55 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c6/c02785eda3e2af0cccc9c910be7ef9dcbdfb55 deleted file mode 100644 index eca7271..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c6/c02785eda3e2af0cccc9c910be7ef9dcbdfb55 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c8/63da1444bf906bf49ca3f240faa6ad9b26be8e b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c8/63da1444bf906bf49ca3f240faa6ad9b26be8e deleted file mode 100644 index 6a0294a..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c8/63da1444bf906bf49ca3f240faa6ad9b26be8e and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c9/06e034d70a32008c2b19c903be6531deb33abf b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c9/06e034d70a32008c2b19c903be6531deb33abf deleted file mode 100644 index a119a8a..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/c9/06e034d70a32008c2b19c903be6531deb33abf and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ca/12532ccdf2d86fa685086fc7478165afdb8fa9 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ca/12532ccdf2d86fa685086fc7478165afdb8fa9 deleted file mode 100644 index 69390fa..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ca/12532ccdf2d86fa685086fc7478165afdb8fa9 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ca/b599dff5920e10854e2f9262240a167becf269 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ca/b599dff5920e10854e2f9262240a167becf269 deleted file mode 100644 index 47b00ed..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ca/b599dff5920e10854e2f9262240a167becf269 +++ /dev/null @@ -1,8 +0,0 @@ -xUKo6b-R(&H -EҢNУ=$^e%Ju6C&urC߷Tq"E),M![眩wTɢ#N" u.3$RguTƙAU*K v~m3Re(lǬ2a";r]m^`4PRfEMKp768liϗnsC(T^:2tG0.]}\hpCqBNf ^Dq ])kpmmOh^;Q]=PY 禮Tca{1E+ya%5O"&v -6m;BaTu:AL`N(%Ǹ ]͡6 -tX_9/8Li:18HWP#*)MGaôv=~ٸ/+s}sjq`lf48W?(}bTge0 }j&ou|{ g#mۙ -_L8goy&uQyzL[13WQ;Ժ0~00AF 8fgsf8u)NnOOry&aSU z?L[aLxȪJ|uO8Bg"+Y2;Z4AHp#~z"3*%B>~ň&y(\Kf{߀W+X'M<юxM VN\e e:ZTDD -:+ yb~?֏{CcF-xqP~&v<\tֱȳL79=>wrGd%k,];_{#ϝ̼3 \'Ѭ2\gU`ƬUG_⮍b -y60]PJ2Ug -k5z SQ7 \ No newline at end of file diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/cf/c2a982e712654f4fdd53c2905b928693cf89cb b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/cf/c2a982e712654f4fdd53c2905b928693cf89cb deleted file mode 100644 index 03a172d..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/cf/c2a982e712654f4fdd53c2905b928693cf89cb and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/d8/aed5d169abc7ae2f1d518504af8de2a16ab587 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/d8/aed5d169abc7ae2f1d518504af8de2a16ab587 deleted file mode 100644 index 7c31f8b..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/d8/aed5d169abc7ae2f1d518504af8de2a16ab587 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/da/5856a2e714385aa32b3555a5e88ebe47281f63 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/da/5856a2e714385aa32b3555a5e88ebe47281f63 deleted file mode 100644 index 1b9a4eb..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/da/5856a2e714385aa32b3555a5e88ebe47281f63 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/da/9f750d1d7bb7d320308b690ba5ff36146a4e7d b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/da/9f750d1d7bb7d320308b690ba5ff36146a4e7d deleted file mode 100644 index d9dd32b..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/da/9f750d1d7bb7d320308b690ba5ff36146a4e7d and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/dd/f87187a7848cec9dc93652c14b27a459f4e8e3 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/dd/f87187a7848cec9dc93652c14b27a459f4e8e3 deleted file mode 100644 index cc22481..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/dd/f87187a7848cec9dc93652c14b27a459f4e8e3 +++ /dev/null @@ -1 +0,0 @@ -x+)JMU06e040031QHԫLa(w{/,ͩ_Md0'O \ No newline at end of file diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/de/0dd39f02d9a75287de5f1558c3402857b124b6 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/de/0dd39f02d9a75287de5f1558c3402857b124b6 deleted file mode 100644 index 4898221..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/de/0dd39f02d9a75287de5f1558c3402857b124b6 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e0/522845bafecafde5be7eb8d6a64d8b1a53d072 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e0/522845bafecafde5be7eb8d6a64d8b1a53d072 deleted file mode 100644 index a665d96..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e0/522845bafecafde5be7eb8d6a64d8b1a53d072 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e0/96a297bbc91b16416b90598b3810df543382db b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e0/96a297bbc91b16416b90598b3810df543382db deleted file mode 100644 index d1bc11e..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e0/96a297bbc91b16416b90598b3810df543382db +++ /dev/null @@ -1 +0,0 @@ -xMJ1a9E&鈈[q*fI׸\}m/֥;`s mfר#SsP(Ԫv|H&-FrվJNQUNۀ WWy&7&Z+}&Q‡,x6?k8/>aK \ No newline at end of file diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e1/469b172657a75ca500c9735512c245cc4b9021 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e1/469b172657a75ca500c9735512c245cc4b9021 deleted file mode 100644 index 65c55fa..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e1/469b172657a75ca500c9735512c245cc4b9021 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e4/3dd8d94471b869270442a32af37602bb05cacb b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e4/3dd8d94471b869270442a32af37602bb05cacb deleted file mode 100644 index ab27688..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/e4/3dd8d94471b869270442a32af37602bb05cacb and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/eb/dda704d8443b4563e6989b7536a0d3d97875a9 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/eb/dda704d8443b4563e6989b7536a0d3d97875a9 deleted file mode 100644 index 03b2191..0000000 Binary files a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/eb/dda704d8443b4563e6989b7536a0d3d97875a9 and /dev/null differ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ee/f4285d3cd864d9e0fc44f555d9343ed2652473 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ee/f4285d3cd864d9e0fc44f555d9343ed2652473 deleted file mode 100644 index db3cba0..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/ee/f4285d3cd864d9e0fc44f555d9343ed2652473 +++ /dev/null @@ -1,2 +0,0 @@ -xA -0@Q9ŀ.IL"ܸ/<xLPA)Յbtl2$̙٘&c&1_bFʄ1jc ER]c^9)ExGYjӚ|D7~g1k- Cq>GyB+ \ No newline at end of file diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/f0/614946e6063af3d92dcc9135ebc208ec3843b0 b/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/f0/614946e6063af3d92dcc9135ebc208ec3843b0 deleted file mode 100644 index c4c7f22..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/dot_git/objects/f0/614946e6063af3d92dcc9135ebc208ec3843b0 +++ /dev/null @@ -1,2 +0,0 @@ -x=0 @a;R!nB0r8P> nul ) \ - else ( echo No failures reported > test_result.log ) - $(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages - @echo. - @echo Test results: - @cmd /c type test_result.log - @if exist test.log ( echo TEST FAILURE & exit /b 1 ) \ - else ( echo ALL DONE ) - - -# Execute an individual new style test, e.g.: -# nmake -f Make_dos.mak test_largefile -$(NEW_TESTS): - -if exist $@.res del $@.res - -if exist test.log del test.log - -if exist messages del messages - @$(MAKE) -nologo -f Make_win.mak $@.res VIMPROG=$(VIMPROG) - @type messages - @if exist test.log exit 1 - - -# Delete files that may interfere with running tests. This includes some files -# that may result from working on the tests, not only from running them. -clean: - -if exist *.out del *.out - -if exist *.failed del *.failed - -if exist *.res del *.res - -if exist $(DOSTMP) rd /s /q $(DOSTMP) - -if exist test.in del test.in - -if exist test.ok del test.ok - -if exist Xdir1 rd /s /q Xdir1 - -if exist Xfind rd /s /q Xfind - -if exist XfakeHOME rd /s /q XfakeHOME - -if exist X* del X* - -for /d %i in (X*) do @rd /s/q %i - -if exist viminfo del viminfo - -if exist test.log del test.log - -if exist test_result.log del test_result.log - -if exist messages del messages - -if exist benchmark.out del benchmark.out - -if exist opt_test.vim del opt_test.vim - -nolog: - -if exist test.log del test.log - -if exist test_result.log del test_result.log - -if exist messages del messages - - -# New style of tests uses Vim script with assert calls. These are easier -# to write and a lot easier to read and debug. -# Limitation: Only works with the +eval feature. - -newtests: newtestssilent - @if exist messages type messages - -newtestssilent: $(NEW_TESTS_RES) - -.vim.res: - @echo $(VIMPROG) > vimcmd - $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim - @del vimcmd - -# vim: ts=8 sw=8 sts=8 diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/test/Makefile b/private_dot_config/nvim/pack/minpac/opt/minpac/test/Makefile deleted file mode 100644 index fa0e02f..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/test/Makefile +++ /dev/null @@ -1,76 +0,0 @@ -# -# Makefile to run all tests -# - -VIMPROG = vim - -# Comment out this line to see the verbose output of tests. -# -# Catches SwapExists to avoid hanging at the ATTENTION prompt. -REDIR_TEST_TO_NULL = --cmd 'au SwapExists * let v:swapchoice = "e"' | LC_ALL=C LANG=C LANGUAGE=C awk '/Executing Test_/{match($$0, "Executing Test_[^\\)]*\\)"); print substr($$0, RSTART, RLENGTH) "\r"; fflush()}' - -# The list of tests is common to all systems. -# This defines NEW_TESTS and NEW_TESTS_RES. -include Make_all.mak - - -.SUFFIXES: .res .vim - -all: nolog newtests report - -report: - @# without the +eval feature test_result.log is a copy of test.log - @/bin/sh -c "if test -f test.log; \ - then cp test.log test_result.log; \ - else echo No failures reported > test_result.log; \ - fi" - $(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages $(REDIR_TEST_TO_NULL) - @echo - @echo 'Test results:' - @cat test_result.log - @/bin/sh -c "if test -f test.log; \ - then echo TEST FAILURE; exit 1; \ - else echo ALL DONE; \ - fi" - -# Execute an individual new style test, e.g.: -# make test_largefile -$(NEW_TESTS): - rm -f $@.res test.log messages - @MAKEFLAGS=--no-print-directory $(MAKE) -f Makefile $@.res VIMPROG=$(VIMPROG) XXDPROG=$(XXDPROG) SCRIPTSOURCE=$(SCRIPTSOURCE) - @cat messages - @if test -f test.log; then \ - exit 1; \ - fi - -# Delete files that may interfere with running tests. This includes some files -# that may result from working on the tests, not only from running them. -clean: - -rm -rf *.out *.failed *.res *.rej *.orig XfakeHOME Xdir1 Xfind - -rm -f opt_test.vim test.log test_result.log messages - -rm -f $(RM_ON_RUN) $(RM_ON_START) - -rm -f valgrind.* - -rm -f asan.* - -nolog: - -rm -f test.log test_result.log messages - - -# New style of tests uses Vim script with assert calls. These are easier -# to write and a lot easier to read and debug. -# Limitation: Only works with the +eval feature. -RUN_VIMTEST = $(VIMPROG) -u NONE - -newtests: newtestssilent - @if test -f messages; then cat messages; fi - -newtestssilent: $(NEW_TESTS_RES) - - -.vim.res: - @echo "$(VIMPROG)" > vimcmd - @echo "$(RUN_VIMTEST)" >> vimcmd - $(RUN_VIMTEST) $(NO_INITS) -S runtest.vim $*.vim $(REDIR_TEST_TO_NULL) - @rm vimcmd - -# vim: ts=8 sw=8 sts=8 diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/test/README b/private_dot_config/nvim/pack/minpac/opt/minpac/test/README deleted file mode 100644 index 89da903..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/test/README +++ /dev/null @@ -1,3 +0,0 @@ -Tests in this directory are based on Vim 8.0's tests. - -See: https://github.com/vim/vim/blob/master/src/testdir/ diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/test/runtest.vim b/private_dot_config/nvim/pack/minpac/opt/minpac/test/runtest.vim deleted file mode 100644 index c5d9e1e..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/test/runtest.vim +++ /dev/null @@ -1,495 +0,0 @@ -" This script is sourced while editing the .vim file with the tests. -" When the script is successful the .res file will be created. -" Errors are appended to the test.log file. -" -" To execute only specific test functions, add a second argument. It will be -" matched against the names of the Test_ function. E.g.: -" ../vim -u NONE -S runtest.vim test_channel.vim open_delay -" The output can be found in the "messages" file. -" -" If the environment variable $TEST_FILTER is set then only test functions -" matching this pattern are executed. E.g. for sh/bash: -" export TEST_FILTER=Test_channel -" For csh: -" setenv TEST_FILTER Test_channel -" -" While working on a test you can make $TEST_NO_RETRY non-empty to not retry: -" export TEST_NO_RETRY=yes -" -" To ignore failure for tests that are known to fail in a certain environment, -" set $TEST_MAY_FAIL to a comma separated list of function names. E.g. for -" sh/bash: -" export TEST_MAY_FAIL=Test_channel_one,Test_channel_other -" The failure report will then not be included in the test.log file and -" "make test" will not fail. -" -" The test script may contain anything, only functions that start with -" "Test_" are special. These will be invoked and should contain assert -" functions. See test_assert.vim for an example. -" -" It is possible to source other files that contain "Test_" functions. This -" can speed up testing, since Vim does not need to restart. But be careful -" that the tests do not interfere with each other. -" -" If an error cannot be detected properly with an assert function add the -" error to the v:errors list: -" call add(v:errors, 'test foo failed: Cannot find xyz') -" -" If preparation for each Test_ function is needed, define a SetUp function. -" It will be called before each Test_ function. -" -" If cleanup after each Test_ function is needed, define a TearDown function. -" It will be called after each Test_ function. -" -" When debugging a test it can be useful to add messages to v:errors: -" call add(v:errors, "this happened") - - -" Without the +eval feature we can't run these tests, bail out. -silent! while 0 - qa! -silent! endwhile - -" In the GUI we can always change the screen size. -if has('gui_running') - set columns=80 lines=25 -endif - -" Check that the screen size is at least 24 x 80 characters. -if &lines < 24 || &columns < 80 - let error = 'Screen size too small! Tests require at least 24 lines with 80 characters, got ' .. &lines .. ' lines with ' .. &columns .. ' characters' - echoerr error - split test.log - $put =error - write - split messages - call append(line('$'), '') - call append(line('$'), 'From ' . expand('%') . ':') - call append(line('$'), error) - write - qa! -endif - -if has('reltime') - let s:start_time = reltime() -endif - -" Common with all tests on all systems. -source setup.vim - -" For consistency run all tests with 'nocompatible' set. -" This also enables use of line continuation. -set nocp viminfo+=nviminfo - -" Use utf-8 by default, instead of whatever the system default happens to be. -" Individual tests can overrule this at the top of the file and use -" g:orig_encoding if needed. -let g:orig_encoding = &encoding -set encoding=utf-8 - -" REDIR_TEST_TO_NULL has a very permissive SwapExists autocommand which is for -" the test_name.vim file itself. Replace it here with a more restrictive one, -" so we still catch mistakes. -let s:test_script_fname = expand('%') -au! SwapExists * call HandleSwapExists() -func HandleSwapExists() - if exists('g:ignoreSwapExists') - return - endif - " Ignore finding a swap file for the test script (the user might be - " editing it and do ":make test_name") and the output file. - " Report finding another swap file and chose 'q' to avoid getting stuck. - if expand('') == 'messages' || expand('') =~ s:test_script_fname - let v:swapchoice = 'e' - else - call assert_report('Unexpected swap file: ' .. v:swapname) - let v:swapchoice = 'q' - endif -endfunc - -" Avoid stopping at the "hit enter" prompt -set nomore - -" Output all messages in English. -lang mess C - -" suppress menu translation -if has('gui_running') && exists('did_install_default_menus') - source $VIMRUNTIME/delmenu.vim - set langmenu=none - source $VIMRUNTIME/menu.vim -endif - -" Always use forward slashes. -set shellslash - -let s:srcdir = expand('%:p:h:h') - -if has('win32') - " avoid prompt that is long or contains a line break - let $PROMPT = '$P$G' - " On MS-Windows t_md and t_me are Vim specific escape sequences. - let s:t_bold = "\x1b[1m" - let s:t_normal = "\x1b[m" -else - let s:t_bold = &t_md - let s:t_normal = &t_me -endif - -if has('mac') - " In MacOS, when starting a shell in a terminal, a bash deprecation warning - " message is displayed. This breaks the terminal test. Disable the warning - " message. - let $BASH_SILENCE_DEPRECATION_WARNING = 1 -endif - -" Prepare for calling test_garbagecollect_now(). -let v:testing = 1 - -" Support function: get the alloc ID by name. -function GetAllocId(name) - exe 'split ' . s:srcdir . '/alloc.h' - let top = search('typedef enum') - if top == 0 - call add(v:errors, 'typedef not found in alloc.h') - endif - let lnum = search('aid_' . a:name . ',') - if lnum == 0 - call add(v:errors, 'Alloc ID ' . a:name . ' not defined') - endif - close - return lnum - top - 1 -endfunc - -func RunTheTest(test) - if exists(":echoconsole") == 2 - echoconsole 'Executing ' . a:test - else - echo 'Executing ' . a:test - endif - if has('reltime') - let func_start = reltime() - endif - - " Avoid stopping at the "hit enter" prompt - set nomore - - " Avoid a three second wait when a message is about to be overwritten by the - " mode message. - set noshowmode - - " Clear any overrides. - if exists("*test_override") - call test_override('ALL', 0) - endif - - " Some tests wipe out buffers. To be consistent, always wipe out all - " buffers. - %bwipe! - - " The test may change the current directory. Save and restore the - " directory after executing the test. - let save_cwd = getcwd() - - if exists("*SetUp") - try - call SetUp() - catch - call add(v:errors, 'Caught exception in SetUp() before ' . a:test . ': ' . v:exception . ' @ ' . v:throwpoint) - endtry - endif - - if a:test =~ 'Test_nocatch_' - " Function handles errors itself. This avoids skipping commands after the - " error. - let g:skipped_reason = '' - exe 'call ' . a:test - if g:skipped_reason != '' - call add(s:messages, ' Skipped') - call add(s:skipped, 'SKIPPED ' . a:test . ': ' . g:skipped_reason) - endif - else - try - au VimLeavePre * call EarlyExit(g:testfunc) - exe 'call ' . a:test - au! VimLeavePre - catch /^\cskipped/ - call add(s:messages, ' Skipped') - call add(s:skipped, 'SKIPPED ' . a:test . ': ' . substitute(v:exception, '^\S*\s\+', '', '')) - catch - call add(v:errors, 'Caught exception in ' . a:test . ': ' . v:exception . ' @ ' . v:throwpoint) - endtry - endif - - " In case 'insertmode' was set and something went wrong, make sure it is - " reset to avoid trouble with anything else. - set noinsertmode - - if exists("*TearDown") - try - call TearDown() - catch - call add(v:errors, 'Caught exception in TearDown() after ' . a:test . ': ' . v:exception . ' @ ' . v:throwpoint) - endtry - endif - - " Clear any autocommands and put back the catch-all for SwapExists. - au! - au SwapExists * call HandleSwapExists() - - " Check for and close any stray popup windows. - if has('popupwin') - call assert_equal([], popup_list()) - call popup_clear(1) - endif - - " Close any extra tab pages and windows and make the current one not modified. - while tabpagenr('$') > 1 - let winid = win_getid() - quit! - if winid == win_getid() - echoerr 'Could not quit window' - break - endif - endwhile - - while 1 - let wincount = winnr('$') - if wincount == 1 - break - endif - bwipe! - if wincount == winnr('$') - " Did not manage to close a window. - only! - break - endif - endwhile - - exe 'cd ' . save_cwd - - let message = 'Executed ' . a:test - if has('reltime') - let message ..= repeat(' ', 50 - len(message)) - let time = reltime(func_start) - if has('float') && reltimefloat(time) > 0.1 - let message = s:t_bold .. message - endif - let message ..= ' in ' .. reltimestr(time) .. ' seconds' - if has('float') && reltimefloat(time) > 0.1 - let message ..= s:t_normal - endif - endif - call add(s:messages, message) - let s:done += 1 -endfunc - -func AfterTheTest(func_name) - if len(v:errors) > 0 - if match(s:may_fail_list, '^' .. a:func_name) >= 0 - let s:fail_expected += 1 - call add(s:errors_expected, 'Found errors in ' . g:testfunc . ':') - call extend(s:errors_expected, v:errors) - else - let s:fail += 1 - call add(s:errors, 'Found errors in ' . g:testfunc . ':') - call extend(s:errors, v:errors) - endif - let v:errors = [] - endif -endfunc - -func EarlyExit(test) - " It's OK for the test we use to test the quit detection. - if a:test != 'Test_zz_quit_detected()' - call add(v:errors, 'Test caused Vim to exit: ' . a:test) - endif - - call FinishTesting() -endfunc - -" This function can be called by a test if it wants to abort testing. -func FinishTesting() - call AfterTheTest('') - - " Don't write viminfo on exit. - set viminfo= - - " Clean up files created by setup.vim - call delete('XfakeHOME', 'rf') - - if s:fail == 0 && s:fail_expected == 0 - " Success, create the .res file so that make knows it's done. - exe 'split ' . fnamemodify(g:testname, ':r') . '.res' - write - endif - - if len(s:errors) > 0 - " Append errors to test.log - split test.log - call append(line('$'), '') - call append(line('$'), 'From ' . g:testname . ':') - call append(line('$'), s:errors) - write - endif - - if s:done == 0 - if s:filtered > 0 - let message = "NO tests match $TEST_FILTER: '" .. $TEST_FILTER .. "'" - else - let message = 'NO tests executed' - endif - else - if s:filtered > 0 - call add(s:messages, "Filtered " .. s:filtered .. " tests with $TEST_FILTER") - endif - let message = 'Executed ' . s:done . (s:done > 1 ? ' tests' : ' test') - endif - if s:done > 0 && has('reltime') - let message = s:t_bold .. message .. repeat(' ', 40 - len(message)) - let message ..= ' in ' .. reltimestr(reltime(s:start_time)) .. ' seconds' - let message ..= s:t_normal - endif - echo message - call add(s:messages, message) - if s:fail > 0 - let message = s:fail . ' FAILED:' - echo message - call add(s:messages, message) - call extend(s:messages, s:errors) - endif - if s:fail_expected > 0 - let message = s:fail_expected . ' FAILED (matching $TEST_MAY_FAIL):' - echo message - call add(s:messages, message) - call extend(s:messages, s:errors_expected) - endif - - " Add SKIPPED messages - call extend(s:messages, s:skipped) - - " Append messages to the file "messages" - split messages - call append(line('$'), '') - call append(line('$'), 'From ' . g:testname . ':') - call append(line('$'), s:messages) - write - - qall! -endfunc - -" Source the test script. First grab the file name, in case the script -" navigates away. g:testname can be used by the tests. -let g:testname = expand('%') -let s:done = 0 -let s:fail = 0 -let s:fail_expected = 0 -let s:errors = [] -let s:errors_expected = [] -let s:messages = [] -let s:skipped = [] -if expand('%') =~ 'test_vimscript.vim' - " this test has intentional errors, don't use try/catch. - source % -else - try - source % - catch /^\cskipped/ - call add(s:messages, ' Skipped') - call add(s:skipped, 'SKIPPED ' . expand('%') . ': ' . substitute(v:exception, '^\S*\s\+', '', '')) - catch - let s:fail += 1 - call add(s:errors, 'Caught exception: ' . v:exception . ' @ ' . v:throwpoint) - endtry -endif - -" Names of flaky tests. -let s:flaky_tests = [ - \ ] - -" Locate Test_ functions and execute them. -redir @q -silent function /^Test_ -redir END -let s:tests = split(substitute(@q, '\(function\|def\) \(\k*()\)', '\2', 'g')) - -" If there is an extra argument filter the function names against it. -if argc() > 1 - let s:tests = filter(s:tests, 'v:val =~ argv(1)') -endif - -" If the environment variable $TEST_FILTER is set then filter the function -" names against it. -let s:filtered = 0 -if $TEST_FILTER != '' - let s:filtered = len(s:tests) - let s:tests = filter(s:tests, 'v:val =~ $TEST_FILTER') - let s:filtered -= len(s:tests) -endif - -let s:may_fail_list = [] -if $TEST_MAY_FAIL != '' - " Split the list at commas and add () to make it match g:testfunc. - let s:may_fail_list = split($TEST_MAY_FAIL, ',')->map({i, v -> v .. '()'}) -endif - -" Execute the tests in alphabetical order. -for g:testfunc in sort(s:tests) - " Silence, please! - silent! set belloff=all - let prev_error = '' - let total_errors = [] - let g:run_nr = 1 - - " A test can set g:test_is_flaky to retry running the test. - let g:test_is_flaky = 0 - - call RunTheTest(g:testfunc) - - " Repeat a flaky test. Give up when: - " - $TEST_NO_RETRY is not empty - " - it fails again with the same message - " - it fails five times (with a different message) - if len(v:errors) > 0 - \ && $TEST_NO_RETRY == '' - \ && (index(s:flaky_tests, g:testfunc) >= 0 - \ || g:test_is_flaky) - while 1 - call add(s:messages, 'Found errors in ' . g:testfunc . ':') - call extend(s:messages, v:errors) - - call add(total_errors, 'Run ' . g:run_nr . ':') - call extend(total_errors, v:errors) - - if g:run_nr == 5 || prev_error == v:errors[0] - call add(total_errors, 'Flaky test failed too often, giving up') - let v:errors = total_errors - break - endif - - call add(s:messages, 'Flaky test failed, running it again') - - " Flakiness is often caused by the system being very busy. Sleep a - " couple of seconds to have a higher chance of succeeding the second - " time. - sleep 2 - - let prev_error = v:errors[0] - let v:errors = [] - let g:run_nr += 1 - - call RunTheTest(g:testfunc) - - if len(v:errors) == 0 - " Test passed on rerun. - break - endif - endwhile - endif - - call AfterTheTest(g:testfunc) -endfor - -call FinishTesting() - -" vim: shiftwidth=2 sts=2 expandtab diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/test/setup.vim b/private_dot_config/nvim/pack/minpac/opt/minpac/test/setup.vim deleted file mode 100644 index e69de29..0000000 diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/test/summarize.vim b/private_dot_config/nvim/pack/minpac/opt/minpac/test/summarize.vim deleted file mode 100644 index da5856a..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/test/summarize.vim +++ /dev/null @@ -1,62 +0,0 @@ -set cpo&vim -if 1 - " This is executed only with the eval feature - set nocompatible - set viminfo= - func Count(match, type) - if a:type ==# 'executed' - let g:executed += (a:match+0) - elseif a:type ==# 'failed' - let g:failed += a:match+0 - elseif a:type ==# 'skipped' - let g:skipped += 1 - call extend(g:skipped_output, ["\t" .. a:match]) - endif - endfunc - - let g:executed = 0 - let g:skipped = 0 - let g:failed = 0 - let g:skipped_output = [] - let g:failed_output = [] - let output = [""] - - if $TEST_FILTER != '' - call extend(g:skipped_output, ["\tAll tests not matching $TEST_FILTER: '" .. $TEST_FILTER .. "'"]) - endif - - try - " This uses the :s command to just fetch and process the output of the - " tests, it doesn't actually replace anything. - " And it uses "silent" to avoid reporting the number of matches. - silent %s/Executed\s\+\zs\d\+\ze\s\+tests\?/\=Count(submatch(0),'executed')/egn - silent %s/^SKIPPED \zs.*/\=Count(submatch(0), 'skipped')/egn - silent %s/^\(\d\+\)\s\+FAILED:/\=Count(submatch(1), 'failed')/egn - - call extend(output, ["Skipped:"]) - call extend(output, skipped_output) - - call extend(output, [ - \ "", - \ "-------------------------------", - \ printf("Executed: %5d Tests", g:executed), - \ printf(" Skipped: %5d Tests", g:skipped), - \ printf(" %s: %5d Tests", g:failed == 0 ? 'Failed' : 'FAILED', g:failed), - \ "", - \ ]) - if filereadable('test.log') - " outputs and indents the failed test result - call extend(output, ["", "Failures: "]) - let failed_output = filter(readfile('test.log'), { v,k -> !empty(k)}) - call extend(output, map(failed_output, { v,k -> "\t".k})) - " Add a final newline - call extend(output, [""]) - endif - - catch " Catch-all - finally - call writefile(output, 'test_result.log') " overwrites an existing file - endtry -endif - -q! diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/test/test_minpac.vim b/private_dot_config/nvim/pack/minpac/opt/minpac/test/test_minpac.vim deleted file mode 100644 index 59b546f..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/test/test_minpac.vim +++ /dev/null @@ -1,292 +0,0 @@ -" Tests for minpac. - -set rtp^=.. -set packpath=. -runtime plugin/minpac.vim - - -" Tests for minpac#init() -func Test_minpac_init() - call delete('pack', 'rf') - - " NOTE: The variables g:minpac#opt and g:minpac#pluglist are not the part - " of public APIs. Users should not access these variables. They should - " be used only for testing and/or debugging. - - " Default setting - call minpac#init() - call assert_true(isdirectory('pack/minpac/start')) - call assert_true(isdirectory('pack/minpac/opt')) - call assert_equal('git', g:minpac#opt.git) - call assert_equal(1, g:minpac#opt.depth) - call assert_equal(8, g:minpac#opt.jobs) - call assert_equal(2, g:minpac#opt.verbose) - call assert_equal('horizontal', g:minpac#opt.progress_open) - call assert_equal('horizontal', g:minpac#opt.status_open) - call assert_equal(v:false, g:minpac#opt.status_auto) - call assert_equal({}, minpac#getpluglist()) - - let g:minpac#pluglist.foo = 'bar' - - " Change settings - call minpac#init({'package_name': 'm', 'git': 'foo', 'depth': 10, 'jobs': 2, 'verbose': 1, 'progress_open': 'tab', 'status_open': 'vertical', 'status_auto': v:true}) - call assert_true(isdirectory('pack/m/start')) - call assert_true(isdirectory('pack/m/opt')) - call assert_equal('foo', g:minpac#opt.git) - call assert_equal(10, g:minpac#opt.depth) - call assert_equal(2, g:minpac#opt.jobs) - call assert_equal(1, g:minpac#opt.verbose) - call assert_equal('tab', g:minpac#opt.progress_open) - call assert_equal('vertical', g:minpac#opt.status_open) - call assert_equal(v:true, g:minpac#opt.status_auto) - call assert_equal({}, minpac#getpluglist()) - - call delete('pack', 'rf') -endfunc - -" Tests for minpac#add() and minpac#getpluginfo() -func Test_minpac_add() - call delete('pack', 'rf') - - call minpac#init() - - " Default - call minpac#add('k-takata/minpac') - let p = minpac#getpluginfo('minpac') - call assert_equal('https://github.com/k-takata/minpac.git', p.url) - call assert_match('/pack/minpac/start/minpac$', p.dir) - call assert_equal(v:false, p.frozen) - call assert_equal('start', p.type) - call assert_equal('', p.branch) - call assert_equal(1, p.depth) - call assert_equal('', p.do) - call assert_equal('', p.rev) - call assert_equal('', p.subdir) - call assert_equal('', p.pullmethod) - - " With configuration - call minpac#add('k-takata/minpac', {'type': 'opt', 'frozen': v:true, 'branch': 'master', 'depth': 10, 'rev': 'abcdef', 'subdir': 'dir', 'pullmethod': 'autostash'}) - let p = minpac#getpluginfo('minpac') - call assert_equal('https://github.com/k-takata/minpac.git', p.url) - call assert_match('/pack/minpac/opt/minpac$', p.dir) - call assert_equal(v:true, p.frozen) - call assert_equal('opt', p.type) - call assert_equal('master', p.branch) - call assert_equal(10, p.depth) - call assert_equal('', p.do) - call assert_equal('abcdef', p.rev) - call assert_equal('dir', p.subdir) - call assert_equal('autostash', p.pullmethod) - - " SSH URL - call minpac#add('git@github.com:k-takata/minpac.git', {'name': 'm'}) - let p = minpac#getpluginfo('m') - call assert_equal('git@github.com:k-takata/minpac.git', p.url) - call assert_match('/pack/minpac/start/m$', p.dir) - - " Non GitHub URL with ".git" - call minpac#add('https://example.com/foo.git') - let p = minpac#getpluginfo('foo') - call assert_equal('https://example.com/foo.git', p.url) - - " Non GitHub URL w/o ".git" - call minpac#add('https://example.com/bar') - let p = minpac#getpluginfo('bar') - call assert_equal('https://example.com/bar', p.url) - - " Wrong type - try - call minpac#add('k-takata/minpac', {'type': 'foo'}) - catch - call assert_exception('echoerr') - endtry - - call delete('pack', 'rf') -endfunc - -" Tests for minpac#getpackages() -func s:getnames(plugs) - return sort(map(a:plugs, {-> substitute(v:val, '^.*[/\\]', '', '')})) -endfunc -func Test_minpac_getpackages() - call delete('pack', 'rf') - - let plugs = [ - \ './pack/minpac/start/plug0', - \ './pack/minpac/start/plug1', - \ './pack/minpac/opt/plug2', - \ './pack/minpac/opt/plug3', - \ './pack/foo/start/plug4', - \ './pack/foo/start/plug5', - \ './pack/foo/opt/plug6', - \ './pack/foo/opt/plug7', - \ ] - for dir in plugs - call mkdir(dir, 'p') - endfor - - " All plugins - let p = minpac#getpackages() - let exp = plugs[:] - call assert_equal(sort(exp), sort(p)) - " name only - let p = minpac#getpackages('', '', '', 1) - call assert_equal(s:getnames(exp), sort(p)) - - " All packages - let p = minpac#getpackages('', 'NONE') - let exp = ['./pack/foo', './pack/minpac'] - call assert_equal(sort(exp), sort(p)) - " name only - let p = minpac#getpackages('', 'NONE', '', 1) - call assert_equal(s:getnames(exp), sort(p)) - - " Plugins under minpac - let p = minpac#getpackages('minpac') - let exp = plugs[0 : 3] - call assert_equal(sort(exp), sort(p)) - " name only - let p = minpac#getpackages('minpac', '', '', 1) - call assert_equal(s:getnames(exp), sort(p)) - - " 'start' plugins - let p = minpac#getpackages('', 'start') - let exp = plugs[0 : 1] + plugs[4 : 5] - call assert_equal(sort(exp), sort(p)) - " name only - let p = minpac#getpackages('', 'start', '', 1) - call assert_equal(s:getnames(exp), sort(p)) - - " 'opt' plugins - let p = minpac#getpackages('*', 'opt', '') - let exp = plugs[2 : 3] + plugs[6 : 7] - call assert_equal(sort(exp), sort(p)) - " name only - let p = minpac#getpackages('*', 'opt', '', 1) - call assert_equal(s:getnames(exp), sort(p)) - - " Plugins with 'plug1*' name - let p = minpac#getpackages('', '', 'plug1*') - let exp = plugs[1 : 1] - call assert_equal(sort(exp), sort(p)) - " name only - let p = minpac#getpackages('', '', 'plug1', 1) - call assert_equal(s:getnames(exp), sort(p)) - - " No match - let p = minpac#getpackages('minpac', 'opt', 'plug1*') - let exp = [] - call assert_equal(sort(exp), sort(p)) - " name only - let p = minpac#getpackages('minpac', 'opt', 'plug1*', 1) - call assert_equal(s:getnames(exp), sort(p)) - - call delete('pack', 'rf') -endfunc - -" Tests for minpac#update() -func Test_minpac_update() - call delete('pack', 'rf') - - call minpac#init() - - " minpac#update() with hooks using Strings. - call minpac#add('k-takata/minpac', {'type': 'opt', - \ 'do': 'let g:post_update = 1'}) - let g:post_update = 0 - let g:finish_update = 0 - call minpac#update('', {'do': 'let g:finish_update = 1'}) - while g:finish_update == 0 - sleep 100m - endwhile - call assert_equal(1, g:post_update) - call assert_true(isdirectory('pack/minpac/opt/minpac')) - - " minpac#update() with hooks using Funcrefs. - let l:post_update = 0 - call minpac#add('k-takata/hg-vim', {'do': {hooktype, name -> [ - \ assert_equal('post-update', hooktype, 'hooktype'), - \ assert_equal('hg-vim', name, 'name'), - \ execute('let l:post_update = 1'), - \ l:post_update - \ ]}}) - let l:finish_update = 0 - call minpac#update('', {'do': {hooktype, updated, installed -> [ - \ assert_equal('finish-update', hooktype, 'hooktype'), - \ assert_equal(0, updated, 'updated'), - \ assert_equal(1, installed, 'installed'), - \ execute('let l:finish_update = 1'), - \ l:finish_update - \ ]}}) - while l:finish_update == 0 - sleep 100m - endwhile - call assert_equal(1, l:post_update) - call assert_true(isdirectory('pack/minpac/start/hg-vim')) - - call delete('pack', 'rf') -endfunc - -" Tests for minpac#clean() -func Test_minpac_clean() - call delete('pack', 'rf') - - call minpac#init() - - let plugs = [ - \ 'pack/minpac/start/plug0', - \ 'pack/minpac/start/plug1', - \ 'pack/minpac/opt/plug2', - \ 'pack/minpac/opt/plug3', - \ 'pack/minpac/start/minpac', - \ 'pack/minpac/opt/minpac', - \ ] - for dir in plugs - call mkdir(dir, 'p') - endfor - - " Just type Enter. All plugins should not be removed. - call feedkeys(":call minpac#clean()\\", 'x') - for dir in plugs - call assert_true(isdirectory(dir)) - endfor - - " Register some plugins - call minpac#add('foo', {'name': 'plug0'}) - call minpac#add('bar/plug2', {'type': 'opt'}) - call minpac#add('baz/plug3') - - " Type y and Enter. Unregistered plugins should be removed. - " 'opt/minpac' should not be removed even it is not registered. - call feedkeys(":call minpac#clean()\y\", 'x') - call assert_equal(1, isdirectory(plugs[0])) - call assert_equal(0, isdirectory(plugs[1])) - call assert_equal(1, isdirectory(plugs[2])) - call assert_equal(0, isdirectory(plugs[3])) - call assert_equal(0, isdirectory(plugs[4])) - call assert_equal(1, isdirectory(plugs[5])) - - " Specify a plugin. It should be removed even it is registered. - call feedkeys(":call minpac#clean('plug0')\y\", 'x') - call assert_equal(0, isdirectory(plugs[0])) - call assert_equal(1, isdirectory(plugs[2])) - call assert_equal(1, isdirectory(plugs[5])) - - " 'opt/minpac' can be also removed when it is specified. - call minpac#add('k-takata/minpac', {'type': 'opt'}) - call feedkeys(":call minpac#clean('minpa?')\y\", 'x') - call assert_equal(1, isdirectory(plugs[2])) - call assert_equal(0, isdirectory(plugs[5])) - - " Type can be also specified. - " Not match - call minpac#clean('start/plug2') - call assert_equal(1, isdirectory(plugs[2])) - " Match - call feedkeys(":call minpac#clean('opt/plug*')\y\", 'x') - call assert_equal(0, isdirectory(plugs[2])) - - call delete('pack', 'rf') -endfunc - -" vim: ts=8 sw=2 sts=2 diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/tools/appveyor-dl.bat b/private_dot_config/nvim/pack/minpac/opt/minpac/tools/appveyor-dl.bat deleted file mode 100644 index f2527d2..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/tools/appveyor-dl.bat +++ /dev/null @@ -1,31 +0,0 @@ -@echo off - -set CACHED=yes -set DL=yes -py tools\dl-vim-kt.py -c > release-info.txt -if ERRORLEVEL 1 ( - rem Maybe this is a PR build and reaches the limit rate of GitHub API. - set DL=no -) else if exist downloads\release-info.txt ( - \cygwin64\bin\diff downloads\release-info.txt release-info.txt > nul - if not ERRORLEVEL 1 set DL=no -) else ( - mkdir downloads - set CACHED=no -) -if "%DL%"=="yes" ( - echo Download the latest Vim. - py tools\dl-vim-kt.py --arch win64 --filename vim.zip --force --noprogress - if not ERRORLEVEL 1 ( - move /y vim.zip downloads > nul - copy /y release-info.txt downloads > nul - if "%CACHED%"=="yes" ( - rem It doesn't seem that AppVeyor updates the cache. - rem Invalidate the cache for a workaround. - curl -X DELETE -i -H "Authorization: Bearer %API_TOKEN%" https://ci.appveyor.com/api/projects/%APPVEYOR_ACCOUNT_NAME%/%APPVEYOR_PROJECT_SLUG%/buildcache > nul - ) - ) -) else ( - echo Use cached version of Vim. -) -7z x downloads\vim.zip > nul diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/tools/dl-vim-kt.py b/private_dot_config/nvim/pack/minpac/opt/minpac/tools/dl-vim-kt.py deleted file mode 100644 index dc62d33..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/tools/dl-vim-kt.py +++ /dev/null @@ -1,136 +0,0 @@ -#!/usr/bin/python3 - -# Download the latest vim-kt from the GitHub releases - -import argparse -import calendar -import io -import json -import os -import sys -import time -import urllib.request, urllib.error - -# Repository Name -repo_name = 'k-takata/vim-kt' -gh_releases_url = 'https://api.github.com/repos/' + repo_name + '/releases' - -# Asset name checker -def does_skip_asset(asset): - return asset['name'].find('pdb') >= 0 or asset['name'].find('zip') >= 0 - -# Arguments properties -arg_desc = 'Download the latest vim-kt from the GitHub releases' -arg_archs = ['all', 'win32', 'win64'] -arg_default_arch = 'all' -arg_allow_prerelease = False - - -# Parse arguments -def parse_args(): - global parser - parser = argparse.ArgumentParser(description=arg_desc) - parser.add_argument('-c', '--check', action='store_true', - help='only check the information of the latest release') - parser.add_argument('--noprogress', action='store_true', - help="Don't show the progress") - parser.add_argument('-f', '--force', action='store_true', - help='overwrite the download file') - parser.add_argument('-n', '--filename', type=str, action='store', - help='filename to save') - parser.add_argument('-p', '--prerelease', action='store_true', - default=arg_allow_prerelease, - help='Allow downloading prerelease') - parser.add_argument('-a', '--arch', type=str, action='store', - choices=arg_archs, default=arg_default_arch, - help='architecture to download') - parser.add_argument('--auth', type=str, action='store', - default=os.getenv('AUTH_TOKEN'), - metavar="TOKEN", help='GitHub API token (Environment variable AUTH_TOKEN can be also used.)') - return parser.parse_args() - -# Get information of GitHub release -# see: https://developer.github.com/v3/repos/releases/ -def get_rel_info(url, auth): - if auth: - # Unauthenticated requests are limited up to 60 requests per hour. - # Authenticated requests are allowed up to 5,000 requests per hour. - # See: https://developer.github.com/v3/#rate-limiting - request = urllib.request.Request(url) - request.add_header("Authorization", "token " + auth) - else: - request = url - try: - response = urllib.request.urlopen(request) - except urllib.error.HTTPError as err: - print('GitHub release not found. (%s)' % err.reason, file=sys.stderr) - exit(1) - return json.load(io.StringIO(str(response.read(), 'utf-8'))) - -# Show progress -def reporthook(count, blocksize, totalsize): - size = count * blocksize - if totalsize <= 0: - print("\r{:,}".format(size)) - else: - size = min(size, totalsize) - print("\r{:,} / {:,} ({:.1%})".format(size, totalsize, size / totalsize), end='') - -# Download the files -def download(args, rel_info): - for asset in rel_info['assets']: - if args.filename: - name = args.filename - else: - name = asset['name'] - if does_skip_asset(asset): - continue - if args.arch != 'all' and asset['name'].find(args.arch) < 0: - continue - if os.path.isfile(name) and not args.force: - print('File exists:', name) - continue - print('Downloading from:', asset['browser_download_url']) - print('Downloading to:', name) - if args.noprogress: - hook = None - else: - hook = reporthook - urllib.request.urlretrieve(asset['browser_download_url'], name, hook) - # Set timestamp - asset_time = time.strptime(asset['updated_at'], '%Y-%m-%dT%H:%M:%SZ') - os.utime(name, times=(time.time(), calendar.timegm(asset_time))) - if not args.noprogress: - print() - -def main(): - args = parse_args() - if args.filename and args.arch == 'all': - parser.error('-a must be specified when you specify -n.') - - if args.prerelease: - rels_info = get_rel_info(gh_releases_url, args.auth) - for rel in rels_info: - if rel['draft']: - continue - gh_release_url = rel['url'] - break - else: - print('GitHub release not found.', file=sys.stderr) - exit(1) - else: - gh_release_url = gh_releases_url + '/latest' - - rel_info = get_rel_info(gh_release_url, args.auth) - print('Last release:', rel_info['name']) - print('Created at:', rel_info['created_at']) - - if args.check: - exit(0) - - download(args, rel_info) - exit(0) - - -if __name__ == "__main__": - main() diff --git a/private_dot_config/nvim/pack/minpac/opt/minpac/tools/pull-async-vim.sh b/private_dot_config/nvim/pack/minpac/opt/minpac/tools/pull-async-vim.sh deleted file mode 100644 index 0c489f5..0000000 --- a/private_dot_config/nvim/pack/minpac/opt/minpac/tools/pull-async-vim.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -git subtree pull --prefix autoload/minpac https://github.com/prabirshrestha/async.vim.git master --squash diff --git a/private_dot_config/nvim/pack/minpac/start/.keep b/private_dot_config/nvim/pack/minpac/start/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/private_dot_config/nvim/snippets/_.snippets b/private_dot_config/nvim/snippets/_.snippets deleted file mode 100644 index 67a204f..0000000 --- a/private_dot_config/nvim/snippets/_.snippets +++ /dev/null @@ -1,259 +0,0 @@ -# Global snippets - -snippet BUG - :BUG:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet DEBUG - :DEBUG:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet WARNING - :WARNING:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet TODO - :TODO:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet KLUDGE - :KLUDGE:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet COMMENT - :COMMENT:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet TRICKY - :TRICKY:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet DOC - :DOC:`g:nickname`:`strftime("%Y%m%d")`: ${1} -snippet EXPIRE - :EXPIRE:`g:nickname`:`strftime("%Y%m%d")`: ${1} - -snippet c) - Copyright `&enc[:2] == "utf" ? "©" : "(c)"` `strftime("%Y")` ${1:`g:snips_author`}. All Rights Reserved. -snippet date - `strftime("%Y-%m-%d")` -snippet ddate - `strftime("%B %d, %Y")` -snippet time - `strftime("%H:%M")` -snippet datetime - `strftime("%Y-%m-%d %H:%M")` -snippet lorem - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -snippet GPL2 - ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see . - - ${0} -snippet LGPL2 - ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This library is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published - by the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with this library; if not, see . - - ${0} -snippet GPL3 - ${1:one line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - - ${0} -snippet LGPL3 - ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This library is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published - by the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with this library; if not, see . - - ${0} -snippet BSD2 - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY - EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - The views and conclusions contained in the software and documentation - are those of the authors and should not be interpreted as representing - official policies, either expressedor implied, of $2. - - ${0} -snippet BSD3 - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - 3. Neither the name of the ${3:organization} nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY - EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ${0} -snippet BSD4 - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - 3. All advertising materials mentioning features or use of this software - must display the following acknowledgement: - This product includes software developed by the ${3:organization}. - 4. Neither the name of the $3 nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY - EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ${0} -snippet MIT - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the "Software"), - to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom the - Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE - OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ${0} -snippet APACHE - ${1:one line to give the program's name and a brief description} - Copyright `strftime("%Y")` ${2:copyright holder} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - ${0} -snippet BEERWARE - ${2:one line to give the program's name and a brief description} - Copyright `strftime("%Y")` ${3:copyright holder} - - Licensed under the "THE BEER-WARE LICENSE" (Revision 42): - ${1:`g:snips_author`} wrote this file. As long as you retain this notice you - can do whatever you want with this stuff. If we meet some day, and you think - this stuff is worth it, you can buy me a beer or coffee in return - - ${0} - -snippet WTFPL - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright `strftime("%Y")` ${0:copyright holder} - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/private_dot_config/nvim/stylua.toml b/private_dot_config/nvim/stylua.toml new file mode 100644 index 0000000..5d6c50d --- /dev/null +++ b/private_dot_config/nvim/stylua.toml @@ -0,0 +1,3 @@ +indent_type = "Spaces" +indent_width = 2 +column_width = 120 \ No newline at end of file