Browse Source

drop vscode configs in favour of using setting sync plugin

master
ojizero 8 months ago
parent
commit
a10fbf84ca
100 changed files with 5 additions and 9388 deletions
  1. 5
    5
      .gitignore
  2. 0
    16
      .vscode/argv.json
  3. 0
    9
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/.prettierrc.js
  4. 0
    42
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/.vsixmanifest
  5. 0
    138
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/CHANGELOG.md
  6. 0
    21
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/LICENSE.txt
  7. 0
    411
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/README.md
  8. BIN
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/images/easy-motion-vscode.png
  9. BIN
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/images/multicursor.gif
  10. BIN
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/images/wildmenu.gif
  11. 0
    24
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/.jshintrc
  12. 0
    5
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/.travis.yml
  13. 0
    16
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/CHANGELOG.md
  14. 0
    19
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/LICENSE
  15. 0
    1720
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/README.md
  16. 0
    40
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/bower.json
  17. 0
    17
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/component.json
  18. 0
    1283
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/lib/async.js
  19. 0
    57
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/package.json
  20. 0
    53
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/support/sync-package-managers.js
  21. 0
    6
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/.travis.yml
  22. 0
    23
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/MIT-LICENSE.txt
  23. 0
    167
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/ReadMe.md
  24. 0
    74
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/examples/normal-usage.js
  25. 0
    76
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/examples/safe-string.js
  26. 0
    176
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/colors.js
  27. 0
    45
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/custom/trap.js
  28. 0
    104
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/custom/zalgo.js
  29. 0
    118
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/extendStringPrototype.js
  30. 0
    12
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/index.js
  31. 0
    12
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/maps/america.js
  32. 0
    13
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/maps/rainbow.js
  33. 0
    8
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/maps/random.js
  34. 0
    5
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/maps/zebra.js
  35. 0
    77
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/styles.js
  36. 0
    61
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/system/supports-colors.js
  37. 0
    21
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/package.json
  38. 0
    9
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/safe.js
  39. BIN
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/screenshots/colors.png
  40. 0
    50
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/tests/basic-test.js
  41. 0
    45
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/tests/safe-test.js
  42. 0
    12
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/themes/generic-logging.js
  43. 0
    49
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/cycle/README.md
  44. 0
    170
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/cycle/cycle.js
  45. 0
    12
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/cycle/package.json
  46. 0
    3
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/.npmignore
  47. 0
    9
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/.travis.yml
  48. 0
    22
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/LICENSE
  49. 0
    36
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/Makefile
  50. 0
    85
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/README.md
  51. 0
    20
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/assets/jsdoc.css
  52. 0
    1
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/dist/event-lite.min.js
  53. 0
    180
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/event-lite.js
  54. 0
    43
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/package.json
  55. 0
    112
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/test/10.event.js
  56. 0
    119
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/test/11.mixin.js
  57. 0
    57
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/test/12.listeners.js
  58. 0
    23
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/test/90.fix.js
  59. 0
    4
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/event-lite/test/zuul/ie.html
  60. 0
    20
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/eyes/LICENSE
  61. 0
    4
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/eyes/Makefile
  62. 0
    73
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/eyes/README.md
  63. 0
    236
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/eyes/lib/eyes.js
  64. 0
    14
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/eyes/package.json
  65. 0
    56
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/eyes/test/eyes-test.js
  66. 0
    2
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/fast-diff/.travis.yml
  67. 0
    24
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/fast-diff/README.md
  68. 0
    774
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/fast-diff/diff.js
  69. 0
    26
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/fast-diff/package.json
  70. 0
    334
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/fast-diff/test.js
  71. 0
    11
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/ieee754/LICENSE
  72. 0
    53
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/ieee754/README.md
  73. 0
    84
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/ieee754/index.js
  74. 0
    37
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/ieee754/package.json
  75. 0
    6
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/.npmignore
  76. 0
    16
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/.travis.yml
  77. 0
    18
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/.zuul.yml
  78. 0
    22
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/LICENSE
  79. 0
    43
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/Makefile
  80. 0
    250
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/README.md
  81. 0
    31
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/bower.json
  82. 0
    1
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/dist/int64-buffer.min.js
  83. 0
    293
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/int64-buffer.js
  84. 0
    57
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/package.json
  85. 0
    23
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/test/test.html
  86. 0
    656
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/test/test.js
  87. 0
    4
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/int64-buffer/test/zuul/ie.html
  88. 0
    1
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isarray/.npmignore
  89. 0
    4
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isarray/.travis.yml
  90. 0
    6
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isarray/Makefile
  91. 0
    60
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isarray/README.md
  92. 0
    19
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isarray/component.json
  93. 0
    5
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isarray/index.js
  94. 0
    45
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isarray/package.json
  95. 0
    20
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isarray/test.js
  96. 0
    2
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isexe/.npmignore
  97. 0
    15
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isexe/LICENSE
  98. 0
    51
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isexe/README.md
  99. 0
    57
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isexe/index.js
  100. 0
    0
      .vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/isexe/mode.js

+ 5
- 5
.gitignore View File

@@ -17,11 +17,11 @@
*_REMOTE_*.txt

### VisualStudioCode ###
# .vscode/*
# !.vscode/settings.json
# !.vscode/tasks.json
# !.vscode/launch.json
# !.vscode/extensions.json
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

### VisualStudioCode Patch ###
# Ignore all local history of files

+ 0
- 16
.vscode/argv.json View File

@@ -1,16 +0,0 @@
// This configuration file allows you to pass permanent command line arguments to VS Code.
// Only a subset of arguments is currently supported to reduce the likelyhood of breaking
// the installation.
//
// PLEASE DO NOT CHANGE WITHOUT UNDERSTANDING THE IMPACT
//
// NOTE: Changing this file requires a restart of VS Code.
{
// Use software rendering instead of hardware accelerated rendering.
// This can help in cases where you see rendering issues in VS Code.
// "disable-hardware-acceleration": true,

// Enabled by default by VS Code to resolve color issues in the renderer
// See https://github.com/Microsoft/vscode/issues/51791 for details
"disable-color-correct-rendering": true
}

+ 0
- 9
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/.prettierrc.js View File

@@ -1,9 +0,0 @@
module.exports = {
semi: true,
trailingComma: "all",
singleQuote: true,
printWidth: 120,
tabWidth: 4,
singleQuote: false
};


+ 0
- 42
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/.vsixmanifest View File

@@ -1,42 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Language="en-US" Id="vscode-neovim" Version="0.0.45" Publisher="asvetliakov"/>
<DisplayName>Neo Vim</DisplayName>
<Description xml:space="preserve">Real VIM in your Visual Studio Code</Description>
<Tags>keybindings,vi,vim,neovim</Tags>
<Categories>Other,Keymaps</Categories>
<GalleryFlags>Public</GalleryFlags>
<Badges></Badges>
<Properties>
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="^1.40.0" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionDependencies" Value="" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionPack" Value="" />
<Property Id="Microsoft.VisualStudio.Code.LocalizedLanguages" Value="" />
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/asvetliakov/vscode-neovim" />
<Property Id="Microsoft.VisualStudio.Services.Links.Getstarted" Value="https://github.com/asvetliakov/vscode-neovim" />
<Property Id="Microsoft.VisualStudio.Services.Links.GitHub" Value="https://github.com/asvetliakov/vscode-neovim" />
<Property Id="Microsoft.VisualStudio.Services.Links.Support" Value="https://github.com/asvetliakov/vscode-neovim/issues" />
<Property Id="Microsoft.VisualStudio.Services.GitHubFlavoredMarkdown" Value="true" />
</Properties>
<License>extension/LICENSE.txt</License>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Code"/>
</Installation>
<Dependencies/>
<Assets>
<Asset Type="Microsoft.VisualStudio.Code.Manifest" Path="extension/package.json" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Content.Details" Path="extension/README.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.Changelog" Path="extension/CHANGELOG.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.License" Path="extension/LICENSE.txt" Addressable="true" />
</Assets>
</PackageManifest>

+ 0
- 138
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/CHANGELOG.md View File

@@ -1,138 +0,0 @@
# Change Log

## [0.0.45]

- Fix VIM filetype detection ( [#115](https://github.com/asvetliakov/vscode-neovim/issues/115) ). This means `FileType` autocmd should work correctly now. Also fixes `vim-matchup` plugin. This may introduce some side effects from previously disabled filetype plugins - just fill an issue if something doesn't work
- Fix broken cursor position in insert mode for special keys (such as `del`/`backspace`/etc) if you had recorded a macro in insert mode previously

## [0.0.44]

- Hotfix broken `VSCodeCallRange` (commenting/formatting didn't work because of this)

## [0.0.43]

- Visual modes DON'T produce vscode selections right now. These were implemented through various workarounds, gave really small value and were constant origin of headache. Also this fixes few issues related to visual modes ( [#105](https://github.com/asvetliakov/vscode-neovim/issues/105), [#118](https://github.com/asvetliakov/vscode-neovim/issues/118) ). To round the corners, invoking vscode's command palette (by using default vscode hotkeys) from visual mode will convert neovim visual selection to vscode visual selection, this should cover most use cases. Also, there are `VScodeNotifyRange`/`VSCodeCallRange`/`VSCodeNotifyRangePos`/`VSCodeCallRangePos` vim functions if you need to call vscode command with selection. See [this for example](https://github.com/asvetliakov/vscode-neovim/blob/e61832119988bb1e73b81df72956878819426ce2/vim/vscode-code-actions.vim#L42-L54) and [mapping](https://github.com/asvetliakov/vscode-neovim/blob/e61832119988bb1e73b81df72956878819426ce2/vim/vscode-code-actions.vim#L98) if you're doing custom mappings and assuming there is some vscode selection exist. Use `VSCodeNotifyRange` when you don't need a column pos (e.g. for visual line mode) and `VSCodeNotifyRangePos` when you need them (e.g for visual mode).
- Refactored vscode<->neovim cursor syncrhonization
- Fix `ma`/`mi` not working when selecting lines upward ( [#117](https://github.com/asvetliakov/vscode-neovim/issues/117) )
- Changed `ma`/`mi` to skip empty lines. Added `mA`/`mI` for the previous behavior
- Macro recording fixes
- Refactored & optimized HL provider (highlight should be faster now)
- Override default keybindings only when neovim was initialized succesfully ( [#112](https://github.com/asvetliakov/vscode-neovim/issues/112) )
- Don't preselect `'<,'>` marks when invoking cmdline from visual line ( [#111](https://github.com/asvetliakov/vscode-neovim/issues/111) )
- Implemented commandline history ( [#88](https://github.com/asvetliakov/vscode-neovim/issues/88) )
- Add the option to start the visual mode with mouse selection ( [#94](https://github.com/asvetliakov/vscode-neovim/issues/94) )

## [0.0.42]

- Disabled jj/jk escape keys by default

## [0.0.40]

- Fix cursor/highlight not working with multi-byte width characters (Russian, Chinese, Japanese, etc...), i.e the extension should work normally with them (#68, [#91](https://github.com/asvetliakov/vscode-neovim/issues/91))
- Fix incorrect vim highlight when using tab indentation (#81)
- Removed multiple cursors by default from visual line/block modes (visual block mode still spawns cursors but they are pruly visual) (#59, [#61](https://github.com/asvetliakov/vscode-neovim/issues/61)). Previous behavior is still accessible by ```mi``` or ```ma``` keybindings while in visual line/block modes
- Allow to override keys/mappings set by extension (previously they have been set after user config loaded)
- Allow to identify if neovim is running through vscode extension by checking ```if exists('g:vscode')``` (#83)
- Added ```<C-[>``` and ```Escape``` as escape keys (#74)
- Added ```<C-n>``` and ```<C-p>``` to select next autocomplete suggestion/show next/prev parameter hint
- Added ```jj``` and ```jk``` as escape keys from the insert mode (#75)
- Pass ```<C-/>``` to neovim and call VSCodeCommentary (still recommended to bind it to own keys) (#89)
- Pass ```<S-Tab>``` to neovim
- Allow to pass additional ctrl keys to neovim (see Readme)
- Added workaround for ```gk```/```gj``` motions
- Corrected ```gf```/```gF``` keybindings. Add ```<C-]>``` as go-to-def (works in help too) (#77). Add ```gd```/```gD``` as secondary mappings to go-to-def/peek-def. Add ```<C-w>gd``` to reveal definition aside


## [0.0.39]

- Fix bug with incorrect buffer edits
- Fix cursor jumping after pressing something like ```cw``` and fast typing text in large file

## [0.0.38]

- Fix cursor position after deleting a line and possibly other operations

## [0.0.37]

- Fix performance of o/O. If you're using custom bindings for them, you might need to rebind them to call new action. See vscode-insert.vim

## [0.0.36]

- Fix macros with insert mode
- Big performance improvements, fix undo & macros performance
- Allow to use neovim installed in WSL. Tick useWSL conf checkbox and specify linux path to neovim

## [0.0.35]

- Use VIM jumplist for ```<C-o>```/```<C-i>```/```<Tab>```

## [0.0.33-0.0.34]

- Fix extension for linux/macos users
- Fix buffer-vscode desynchornization after redo

## [0.0.32]

- Cmdline fixes/improvements (#50, [#51](https://github.com/asvetliakov/vscode-neovim/issues/51))

## [0.0.31]

- Fix crazy cursor jumping when having opened multiple editors panes

## [0.0.30]

- Implemented nvim's ext_multigrid support. This solves almost all problems with vim highlighting and potentially enables easymotion's overwin motions (they still don't work however). Window management still should be performed by vscode
- Removed vim-style cursor following on editor scrolling. This totally screwed vscode jumplist, so better to have working jumplist than such minor feature.
- Cursor position fixes
- ```:e [filepath]``` works again

## [0.0.29]

- Fix selection is being reset in visual mode after typing ```vk$``` (#48)
- Fix not cleaning incsearch highlight after canceling the incsearch (#46)
- Fix incorrect cursor after switching the editor to the same document but in different editor column (#49)

## [0.0.28]

- Use non-blocking rpc requests when communicatings with vscode for file management operations (closing, opening, etc...). Should eliminate the issue when vim is 'stuck' and doesn't respond anymore
- Fix incorrect cursor positions after opening ```:help something``` (#44)
- Fix visual block selection for single column in multiple rows (#42)
- Enable VIM syntax highlighting for help files and external buffers like ```:PlugStatus```. It's slow and sometimes buggy but better than nothing in meantime

## [0.0.27]

- Fix incsearch and allow to use ```<C-t>```/```<C-g>``` with it
- Reworked/Refactored command line. Now with wildmenu completion support. Also keys like ```<C-w>``` or ```<C-u>``` are working fine now in cmdline now

## [0.0.26]

- Partially revert [#41](https://github.com/asvetliakov/vscode-neovim/issues/41)

## [0.0.25]

- Tab management commands & keys, like ```gt``` or ```tabo[nly]```
- Window management commands & keys like ```sp[lit]```/```vs[plit]``` and ```<C-w> j/k/l/h``` keys
- Bind scroll commands in neovim instead of vscode extension ([#41](https://github.com/asvetliakov/vscode-neovim/issues/41))

## [0.0.24]

- File management commands, like ```:w``` or ```:q``` (bound to vscode actions)
- Fix [#40](https://github.com/asvetliakov/vscode-neovim/issues/40)

## [0.0.1-0.0.23]

- A bunch of development versions. 0.0.23 has the following features
- Correct editing and the cursor management
- Control keys in the insert & normal/visual modes
- Visual mode produces vscode selections
- Working VIM highlighting (most of a default VIM HL groups are ignored since they don't make sense in VSCode, but non standard groups are processed, so things like vim-easymotion or vim-highlight are working fine)
- Scrolling commands (scrolling is done by vscode so things are slighly different here)
- Special vim-easymotion fork to use vscode text decorators instead of replacing text (as original vim-easymotion does)
- Analogue of vim-commentary (original vim-commentary works fine too)
- Working external vim buffers, like ```:help``` or ```:PlugStatus```
- Multiple cursors for visual line/visual block modes


## [0.0.1]

- Initial release

+ 0
- 21
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/LICENSE.txt View File

@@ -1,21 +0,0 @@
MIT License

Copyright (c) 2019 Alexey Svetliakov

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
- 411
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/README.md View File

@@ -1,411 +0,0 @@
# Neo Vim (VS Code Neovim)

Neovim integration for Visual Studio Code

For those who don't know [Neovim](https://neovim.io/) is the fork of VIM to allow greater VIM extensibility and embeddability. The extension is using full embedded neovim instance as backend (with the exception of the insert mode and window/buffer/file management), no more half-complete VIM emulation

VSCodeVim has neovim integration but it doesn't use it for anything but ex-commands (e.g. commands like ```:normal```) and relying for own emulated implementation for anything else.

Please report any issues/suggestions to [vscode-neovim repository](https://github.com/asvetliakov/vscode-neovim)

## Installation

* Install [vscode-neovim](https://marketplace.visualstudio.com/items?itemName=asvetliakov.vscode-neovim) extension
* Install [Neovim](https://github.com/neovim/neovim/wiki/Installing-Neovim) Required version 0.4.2 or greater

## Features

* Almost fully feature-complete VIM integration by utilizing neovim
* First-class VSCode insert mode. The plugin unbinds self from the ```type``` event in the insert mode, so no typing lag and freezing anymore when long completion popup appears.
* Fully working VSCode features - autocompletion/go to definition/snippets/multiple cursors/etc...
* vimrc/vim plugins/etc are supported (few plugins don't make sense with vscode, such as nerdtree)

## Requirements

Neovim 0.4.2 or greater

* Set neovim path in the extension settings and you're good to go. **Important** you must specify full path to neovim, like ```C:\Neovim\bin\nvim.exe``` or ```/usr/local/bin/nvim```

## Important

* Visual modes are not producing real vscode selections (few versions had this feature previously, but it was implemented through ugly & hacky workarounds). Any vscode commands expecting selection won't work. To round the corners, invoking VSCode command picker through the default hotkeys (`f1`/`ctrl/cmd+shift+p`) from visual mode converts vim selection to real vscode selection. Also commenting/indenting/formatting works out of the box too. If you're using some custom mapping for calling vscode commands and depends on real vscode selection, you can use `VSCodeNotifyRange`/`VSCodeNotifyRangePos` (the first one linewise, the latter characterwise) functions which will convert visual mode selection to vscode selection before calling the command. See [this for example](https://github.com/asvetliakov/vscode-neovim/blob/e61832119988bb1e73b81df72956878819426ce2/vim/vscode-code-actions.vim#L42-L54) and [mapping](https://github.com/asvetliakov/vscode-neovim/blob/e61832119988bb1e73b81df72956878819426ce2/vim/vscode-code-actions.vim#L98)
* The extenison for now works best if ```editor.scrollBeyondLastLine``` is disabled.
* When you type some commands they may be substituted for the another, like ```:write``` will be replaced by ```:Write```. This is normal.
* File/tab/window management (```:w```/```q```/etc...) commands are substituted and mapped to vscode actions. If you're using some custom commands/custom mappings to them, you might need to rebind them to call vscode actions instead. See reference links below for examples if you want to use custom keybindngs/commands. **DO NOT** use vim ```:w```, etc... in scripts/keybindings, they won't work.
* It's better to use spaces instead of tabs for file indent. `<C-v>` is broken for tab indents

## VSCode specific features and differences

* O, o keys mapped to vscode ```editor.action.insertLineBefore/insertLineAfter``` command thus dont support count prefix
* =, == are mapped to ```editor.action.formatSelection```
* It's possible to call vscode commands from neovim. See ```VSCodeCall/VSCodeNotify``` vim functions in ```vscode-neovim.vim``` file. ```VSCodeCall``` is blocking request, while ```VSCodeNotify``` is not (see below)
* Scrolling is done by VSCode side. ```<C-d>/<C-u>/etc...``` are slighly different
* File management commands such as ```e``` / ```w``` / ```q``` etc are mapped to corresponding vscode commands and behavior may be different (see below)
* ```gf```/```gd```/```<C-]``` are mapped to ```editor.action.revealDefinition``` (Shortcut ```F12```). also ```<C-]>``` works in vim helps files
* ```gF```/```gD``` are mapped to ```editor.action.peekDefinition``` (opens definition in peek)
* ```<C-w>gF```/```<C-w>gf```/```<C-w>gd``` are mapped to ```editor.action.revealDefinitionAside``` (original vim command - open new tab and go to the file under cursor, but vscode/vim window/tabs metaphors are completely different, so it's useful to do slighlty different thing here)

## Enabling jj or jk as escape keys from the insert mode

Put into your keybindings.json:

for `jj`

```json
{
"command": "vscode-neovim.compositeEscape1",
"key": "j",
"when": "neovim.mode == insert",
"args": "j"
}
```

to enable `jk` add also:
```json
{
"command": "vscode-neovim.compositeEscape2",
"key": "k",
"when": "neovim.mode == insert",
"args": "k"
}
```

## Determining if running in vscode in your init.vim

This should do the trick:
```vim
if exists('g:vscode')
" VSCode extension
else
" ordinary neovim
endif
```

## Invoking vscode actions from neovim

There are [few helper functions](https://github.com/asvetliakov/vscode-neovim/blob/ecd361ff1968e597e2500e8ce1108830e918cfb8/vim/vscode-neovim.vim#L17-L39) that could be used to invoke any vscode commands:

* `VSCodeNotify(command, ...)`/`VSCodeCall(command, ...)` - invokes vscode command with optional arguments
* `VSCodeNotifyRange(command, line1, line2, leaveSelection ,...)`/`VSCodeCallRange(command, line1, line2, leaveSelection, ...)` - produces real vscode selection from line1 to line2 and invokes vscode command. Linewise. Put 1 for `leaveSelection` argument to leave vscode selection after invoking the command
* `VSCodeNotifyRangePos(command, line1, line2, pos1, pos2, leaveSelection ,...)`/`VSCodeCallRangePos(command, line1, line2, pos1, pos2, leaveSelection, ...)` - produces real vscode selection from line1.pos1 to line2.pos2 and invokes vscode command. Characterwise

Functions with `Notify` in name are non-blocking, the ones with `Call` are blocking. Generally **use Notify** unless you really need a blocking call

*Examples*:

Produce linewise selection and show vscode commands (default binding)
```
function! s:showCommands()
normal! gv
let startLine = line("v")
let endLine = line(".")
call VSCodeNotifyRange("workbench.action.showCommands", startLine, endLine, 1)
endfunction

xnoremap <silent> <C-P> :<C-u>call <SID>showCommands()<CR>
```

Produce characterwise selection and show vscode commands (default binding):
```
function! s:showCommands()
normal! gv
let startPos = getpos("v")
let endPos = getpos(".")
call VSCodeNotifyRangePos("workbench.action.showCommands", startPos[1], endPos[1], startPos[2], endPos[2], 1)
endfunction

xnoremap <silent> <C-P> :<C-u>call <SID>showCommands()<CR>
```

Run Find in files for word under cursor in vscode:
```
nnoremap <silent> ? :<C-u>call VSCodeNotify('workbench.action.findInFiles', { 'query': expand('<cword>')})<CR>
```

Open definition aside (default binding):
```
nnoremap <silent> <C-w>gd :<C-u>call VSCodeNotify('editor.action.revealDefinitionAside')<CR>
```


## Jumplist

Jumplist lifetime is mapped to vscode's view column lifetime and not persisted between restarts. Also jumplist is not inherited for ```split```/etc... commands

## Wildmenu completion

Command menu has the wildmenu completion on type. The completion options appear after 1.5s (to not bother you when you write ```:w``` or ```:noh```). ```<C-n>/<C-p>``` selects the option and ```<Tab>``` accepts it. See the gif:

![wildmenu](https://github.com/asvetliakov/vscode-neovim/raw/master/images/wildmenu.gif)

## Multiple cursors

Multiple cursors work in:
1. Insert mode
2. (Optional) Visual line mode
3. (Optional) Visual block mode

To spawn multiple cursors from visual line/block modes type `ma`/`mA` or `mi`/`mI` (by default). The effect differs:
* For visual line mode `mi` will start insert mode on each selected line on the first non whitespace characeter and `ma` will on the end of line
* For visual block mode `mi` will start insert on each selected line before the cursor block and `ma` after
* `mA`/`mI` versions account empty lines too (only for visual line mode, for visual block mode they're same as ma/mi)

See gif in action:

![multicursors](https://github.com/asvetliakov/vscode-neovim/raw/master/images/multicursor.gif)

## Custom keymaps for scrolling/window/tab/etc... management

* See [vscode-scrolling.vim](https://github.com/asvetliakov/vscode-neovim/blob/master/vim/vscode-scrolling.vim) for scrolling commands reference
* See [vscode-file-commands.vim](https://github.com/asvetliakov/vscode-neovim/blob/master/vim/vscode-file-commands.vim) for file commands reference
* See [vscode-tab-commands.vim](https://github.com/asvetliakov/vscode-neovim/blob/master/vim/vscode-tab-commands.vim) for tab commands reference
* See [vscode-window-commands.vim](https://github.com/asvetliakov/vscode-neovim/blob/master/vim/vscode-window-commands.vim) for window commands reference


## File/Tab management commands

```:e[dit]``` or ```ex```
* ```:e``` without argument and without bang (```!```) - opens quickopen window
* ```:e!``` without argument and with bang - opens open file dialog
* ```:e [filename]``` , e.g. ```:e $MYVIMRC``` - opens a file in new tab. The file must exist
* ```:e! [filename]```, e.g. ```:e! $MYVIMRC``` - closes current file (discard any changes) and opens a file. The file must exist

```ene[w]```
* ```enew``` Creates new untitled document in vscode
* ```enew!``` closes current file (discard any changes) and creates new untitled document

```fin[d]```
* Opens vscode's quick open window. Arguments and count are not supported

```w[rite]```
* Without bang (```!```) saves current file
* With bang opens 'save as' dialog

```sav[eas]```
* Opens 'save as' dialog

```wa[ll]```
* Saves all files. Bang is not doing anything

```q[uit]``` or keys ```<C-w> q``` / ```<C-w> c```
* Closes the active editor

```wq```
* Saves and closes the active editor

```qa[ll]```
* Closes all editors, but doesn't quit vscode. Acts like ```qall!```, so beware for a nonsaved changes

```wqa[ll]```/```xa[ll]```
* Saves all editors & close

```tabe[dit]```
* Similar to ```e[dit]```. Without argument opens quickopen, with argument opens the file in new tab

```tabnew```
* Opens new untitled file

```tabf[ind]```
* Opens quickopen window

```tab```/```tabs```
* Not supported. Doesn't make sense with vscode

```tabc[lose]```
* Closes active editor (tab)

```tabo[nly]```
* Closes other tabs in vscode **group** (pane). This differs from vim where a `tab` is a like a new window, but doesn't make sense in vscode.

```tabn[ext]``` or key ```gt```
* Switches to next (or ```count``` tabs if argument is given) in the active vscode **group** (pane)

```tabp[revious]``` or key ```gT```
* Switches to previous (or ```count``` tabs if argument is given) in the active vscode **group** (pane)

```tabfir[st]```
* Switches to the first tab in the active editor group

```tabl[ast]```
* Switches to the last tab in the active edtior group

```tabm[ove]```
* Not supported yet

Keys ```ZZ``` and ```ZQ``` are bound to ```:wq``` and ```q!``` respectively

## Buffer/window management commands

*Note*: split size distribution is controlled by ```workbench.editor.splitSizing``` setting. By default it's `distribute`, which is mapped to vim's ```equalalways``` and ```eadirection = 'both'``` (default)

```sp[lit]``` or key ```<C-w> s```
* Split editor horizontally. When argument given opens the specified file in the argument, e.g ```:sp $MYVIMRC```. File must exist

```vs[plit]``` or key ```<C-w> v```
* Split editor vertically. When argument given opens the specified file in the argument. File must exist

```new``` or key ```<C-w> n```
* Like ```sp[lit]``` but creates new untitled file if no argument given

```vne[w]```
* Like ```vs[plit]``` but creates new untitled file if no argument given

```<C-w> ^```
* Not supported yet

```vert[ical]```/```lefta[bove]```/etc...
* Not supported yet

```on[ly]``` or key ```<C-w> o```
* Without bang (```!```) Merges all editor groups into the one. **Doesn't** close editors
* With bang closes all editors from all groups except current one

```<C-w> j/k/h/l```
* Focus group below/above/left/right

```<C-w> <C-j>/<C-i>/<C-h>/<C-l>```
* Move editor to group below/above/left/right. Vim doesn't have analogue mappings. **Note**: ```<C-w> <C-i>``` moves editor up. Logically it should be ```<C-w> <C-k>``` but vscode has many commands mapped to ```<C-k> [key]``` and doesn't allow to use ```<C-w> <C-k>``` without unbinding them first

```<C-w> r/R/x```
* Not supported use ```<C-w> <C-j>``` and similar to move editors

```<C-w> w``` or ```<C-w> <C-w>```
* Focus next group. The behavior may differ than in vim

```<C-w> W``` or ```<C-w> p```
* Focus previous group. The behavior may differ than in vim. ```<C-w> p``` is completely different than in vim

```<C-w> t```
* Focus first editor group (most top-left)

```<C-w> b```
* Focus last editor group (most bottom-right)

```<C-w> H/K/J/L```
* Not supported yet

```<C-w> =```
* Align all editors to have the same width

```[count]<C-w> >``` or ```[count]<C-w> +```
* Increase editor size by count. Both width & height are increased since in vscode it's not possible to control individual width/height

```[count]<C-w> <``` or ```[count]<C-w> -```
* Decrease editor size by count. Both width & height are increased since in vscode it's not possible to control individual width/height

```<C-w> _```
* Toggle maximized editor size. Pressing again will restore the size

## Insert mode special keys

Enabled by ```useCtrlKeysForInsertMode = true``` (default true)

Key | Desc | Status
--- | ---- | ------
```CTRL-r [0-9a-z"%#*+:.-=]``` | Paste from register | Works
```CTRL-a``` | Paste previous inserted content | Works
```CTRL-u``` | Delete all text till begining of line, if empty - delete newline | Bound to VSCode key
```CTRL-w``` | Delete word left | Bound to VSCode key
```CTRL-h``` | Delete character left | Bound to VSCode key
```CTRL-t``` | Indent lines right | Bound to VSCode indent line
```CTRL-d``` | Indent lines left | Bound to VSCode outindent line
```CTRL-j``` | Insert line | Bound to VSCode insert line after

Other keys are not supported in insert mode

## Normal mode control keys

Enabled by ```useCtrlKeysForNormalMode = true``` (default true)

Refer to vim manual to get help what they're doing

* CTRL-a
* CTRL-b
* CTRL-c
* CTRL-d
* CTRL-e
* CTRL-f
* CTRL-i
* CTRL-o
* CTRL-r
* CTRL-u
* CTRL-v
* CTRL-w
* CTRL-x
* CTRL-y
* CTRL-]
* CTRL-j
* CTRL-k
* CTRL-l
* CTRL-h
* CTRL-/

Other control keys are not being sent (Usually useless with vscode)

## Cmdline control keys (always enabled)

* CTRL-h (delete one character left)
* CTRL-w (delete word left)
* CTRL-u (clear line)
* CTRL-g / CTRL-t (in incsearch mode moves to next/previous result)
* CTRL-l (add next character under the cursor to incsearch)
* CTRL-n / CTRL-p (select next/previous wildmenu completion)
* Tab - Select suggestion

## Pass additional keys to neovim or disable existing ctrl keys mappings

### To pass additional ctrl key sequence, for example <C-Tab> add to your keybindings.json:

```json
{
"command": "vscode-neovim.send",
"key": "ctrl+tab",
"when": "editorTextFocus && neovim.mode != insert",
"args": "<C-Tab>"
}
```

### To disable existing ctrl key sequence, for example Ctrl+A add to your keybindings.json

```json
{
"command": "-vscode-neovim.send",
"key": "ctrl+a"
}
```


## Vim-easymotion

Speaking honestly, original [vim-easymotion](https://github.com/easymotion/vim-easymotion) works fine and as expected... except one thing: it really replaces your text with markers then restores back. It may work for VIM but for VS Code it leads to broken text and many errors reported while you're jumping. For this reason i created the special [vim-easymotion fork](https://github.com/asvetliakov/vim-easymotion) which doesn't touch your text and instead use vscode text decorations. Just add my fork to your ```vim-plug``` block or by using your favorite vim plugin installer and delete original vim-easymotion. Also overwin motions won't work (obviously) so don't use them. Happy jumping!

![easymotion](https://github.com/asvetliakov/vscode-neovim/raw/master/images/easy-motion-vscode.png)

## Vim-commentary
You can use [vim-commentary](https://github.com/tpope/vim-commentary) if you like it. But vscode already has such functionality so why don't use it? Add to your init.vim/init.nvim

```
xmap gc <Plug>VSCodeCommentary
nmap gc <Plug>VSCodeCommentary
omap gc <Plug>VSCodeCommentary
nmap gcc <Plug>VSCodeCommentaryLine
```

Similar to vim-commentary, gcc is comment line (accept count), use gc with motion/in visual mode. ```VSCodeCommentary``` is just a simple function which calls ```editor.action.commentLine```


## Known Issues

See [Issues section](https://github.com/asvetliakov/vscode-neovim/issues)

## How it works

* VScode connects to neovim instance
* When opening a some file, a scratch buffer is created in nvim and being init with text content from vscode
* Normal/visual mode commands are being sent directly to neovim. The extension listens for buffer events and applies edits from neovim
* When entering the insert mode, the extensions stops listen for keystroke events and delegates typing mode to vscode (no neovim communication is being performed here)
* After pressing escape key from the insert mode, extension sends changes obtained from the insert mode to neovim

## Credits & External Resources
* [vim-altercmd](https://github.com/kana/vim-altercmd) - Used for rebinding default commands to call vscode command
* [neovim nodejs client](https://github.com/neovim/node-client) - NodeJS library for communicating with Neovim

BIN
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/images/easy-motion-vscode.png View File


BIN
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/images/multicursor.gif View File


BIN
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/images/wildmenu.gif View File


+ 0
- 24
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/.jshintrc View File

@@ -1,24 +0,0 @@
{
// Enforcing options
"eqeqeq": false,
"forin": true,
"indent": 4,
"noarg": true,
"undef": true,
"trailing": true,
"evil": true,
"laxcomma": true,

// Relaxing options
"onevar": false,
"asi": false,
"eqnull": true,
"expr": false,
"loopfunc": true,
"sub": true,
"browser": true,
"node": true,
"globals": {
"define": true
}
}

+ 0
- 5
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/.travis.yml View File

@@ -1,5 +0,0 @@
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"

+ 0
- 16
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/CHANGELOG.md View File

@@ -1,16 +0,0 @@
# v1.0.0

No known breaking changes, we are simply complying with semver from here on out.

Changes:

- Start using a changelog!
- Add `forEachOf` for iterating over Objects (or to iterate Arrays with indexes available) (#168 #704 #321)
- Detect deadlocks in `auto` (#663)
- Better support for require.js (#527)
- Throw if queue created with concurrency `0` (#714)
- Fix unneeded iteration in `queue.resume()` (#758)
- Guard against timer mocking overriding `setImmediate` (#609 #611)
- Miscellaneous doc fixes (#542 #596 #615 #628 #631 #690 #729)
- Use single noop function internally (#546)
- Optimize internal `_each`, `_map` and `_keys` functions.

+ 0
- 19
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/LICENSE View File

@@ -1,19 +0,0 @@
Copyright (c) 2010-2014 Caolan McMahon

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
- 1720
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/README.md
File diff suppressed because it is too large
View File


+ 0
- 40
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/bower.json View File

@@ -1,40 +0,0 @@
{
"name": "async",
"description": "Higher-order functions and common patterns for asynchronous code",
"version": "1.0.0",
"main": "lib/async.js",
"keywords": [
"async",
"callback",
"utility",
"module"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/caolan/async.git"
},
"devDependencies": {
"benchmark": "~1.0.0",
"jshint": "~2.7.0",
"lodash": ">=2.4.1",
"mkdirp": "~0.5.1",
"nodeunit": ">0.0.0",
"uglify-js": "1.2.x"
},
"moduleType": [
"amd",
"globals",
"node"
],
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"authors": [
"Caolan McMahon"
]
}

+ 0
- 17
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/component.json View File

@@ -1,17 +0,0 @@
{
"name": "async",
"description": "Higher-order functions and common patterns for asynchronous code",
"version": "1.0.0",
"keywords": [
"async",
"callback",
"utility",
"module"
],
"license": "MIT",
"main": "lib/async.js",
"repository": "caolan/async",
"scripts": [
"lib/async.js"
]
}

+ 0
- 1283
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/lib/async.js
File diff suppressed because it is too large
View File


+ 0
- 57
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/package.json View File

@@ -1,57 +0,0 @@
{
"name": "async",
"description": "Higher-order functions and common patterns for asynchronous code",
"main": "lib/async.js",
"author": "Caolan McMahon",
"version": "1.0.0",
"keywords": [
"async",
"callback",
"utility",
"module"
],
"repository": {
"type": "git",
"url": "https://github.com/caolan/async.git"
},
"bugs": {
"url": "https://github.com/caolan/async/issues"
},
"license": "MIT",
"devDependencies": {
"benchmark": "~1.0.0",
"jshint": "~2.7.0",
"lodash": ">=2.4.1",
"mkdirp": "~0.5.1",
"nodeunit": ">0.0.0",
"uglify-js": "1.2.x"
},
"jam": {
"main": "lib/async.js",
"include": [
"lib/async.js",
"README.md",
"LICENSE"
],
"categories": [
"Utilities"
]
},
"scripts": {
"test": "npm run-script lint && nodeunit test/test-async.js",
"lint": "jshint lib/*.js test/*.js perf/*.js"
},
"spm": {
"main": "lib/async.js"
},
"volo": {
"main": "lib/async.js",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
}

+ 0
- 53
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/async/support/sync-package-managers.js View File

@@ -1,53 +0,0 @@
#!/usr/bin/env node

// This should probably be its own module but complaints about bower/etc.
// support keep coming up and I'd rather just enable the workflow here for now
// and figure out where this should live later. -- @beaugunderson

var fs = require('fs');
var _ = require('lodash');

var packageJson = require('../package.json');

var IGNORES = ['**/.*', 'node_modules', 'bower_components', 'test', 'tests'];
var INCLUDES = ['lib/async.js', 'README.md', 'LICENSE'];
var REPOSITORY_NAME = 'caolan/async';

packageJson.jam = {
main: packageJson.main,
include: INCLUDES,
categories: ['Utilities']
};

packageJson.spm = {
main: packageJson.main
};

packageJson.volo = {
main: packageJson.main,
ignore: IGNORES
};

var bowerSpecific = {
moduleType: ['amd', 'globals', 'node'],
ignore: IGNORES,
authors: [packageJson.author]
};

var bowerInclude = ['name', 'description', 'version', 'main', 'keywords',
'license', 'homepage', 'repository', 'devDependencies'];

var componentSpecific = {
repository: REPOSITORY_NAME,
scripts: [packageJson.main]
};

var componentInclude = ['name', 'description', 'version', 'keywords',
'license', 'main'];

var bowerJson = _.merge({}, _.pick(packageJson, bowerInclude), bowerSpecific);
var componentJson = _.merge({}, _.pick(packageJson, componentInclude), componentSpecific);

fs.writeFileSync('./bower.json', JSON.stringify(bowerJson, null, 2));
fs.writeFileSync('./component.json', JSON.stringify(componentJson, null, 2));
fs.writeFileSync('./package.json', JSON.stringify(packageJson, null, 2));

+ 0
- 6
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/.travis.yml View File

@@ -1,6 +0,0 @@
language: node_js
node_js:
- "0.11"
- "0.10"
- "0.8"
- "0.6"

+ 0
- 23
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/MIT-LICENSE.txt View File

@@ -1,23 +0,0 @@
Original Library
- Copyright (c) Marak Squires

Additional Functionality
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)

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
- 167
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/ReadMe.md View File

@@ -1,167 +0,0 @@
# colors.js

## get color and style in your node.js console

<img src="https://github.com/Marak/colors.js/raw/master/screenshots/colors.png"/>

## Installation

npm install colors

## colors and styles!

### text colors

- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
- gray
- grey

### background colors



- bgBlack
- bgRed
- bgGreen
- bgYellow
- bgBlue
- bgMagenta
- bgCyan
- bgWhite

### styles

- reset
- bold
- dim
- italic
- underline
- inverse
- hidden
- strikethrough

### extras

- rainbow
- zebra
- america
- trap
- random


## Usage

By popular demand, `colors` now ships with two types of usages!

The super nifty way

```js
var colors = require('colors');

console.log('hello'.green); // outputs green text
console.log('i like cake and pies'.underline.red) // outputs red underlined text
console.log('inverse the color'.inverse); // inverses the color
console.log('OMG Rainbows!'.rainbow); // rainbow
console.log('Run the trap'.trap); // Drops the bass

```

or a slightly less nifty way which doesn't extend `String.prototype`

```js
var colors = require('colors/safe');

console.log(colors.green('hello')); // outputs green text
console.log(colors.red.underline('i like cake and pies')) // outputs red underlined text
console.log(colors.inverse('inverse the color')); // inverses the color
console.log(colors.rainbow('OMG Rainbows!')); // rainbow
console.log(colors.trap('Run the trap')); // Drops the bass

```

I prefer the first way. Some people seem to be afraid of extending `String.prototype` and prefer the second way.

If you are writing good code you will never have an issue with the first approach. If you really don't want to touch `String.prototype`, the second usage will not touch `String` native object.

## Disabling Colors

To disable colors you can pass the following arguments in the command line to your application:

```bash
node myapp.js --no-color
```

## Console.log [string substitution](http://nodejs.org/docs/latest/api/console.html#console_console_log_data)

```js
var name = 'Marak';
console.log(colors.green('Hello %s'), name);
// outputs -> 'Hello Marak'
```

## Custom themes

### Using standard API

```js

var colors = require('colors');

colors.setTheme({
silly: 'rainbow',
input: 'grey',
verbose: 'cyan',
prompt: 'grey',
info: 'green',
data: 'grey',
help: 'cyan',
warn: 'yellow',
debug: 'blue',
error: 'red'
});

// outputs red text
console.log("this is an error".error);

// outputs yellow text
console.log("this is a warning".warn);
```

### Using string safe API

```js
var colors = require('colors/safe');

// set single property
var error = colors.red;
error('this is red');

// set theme
colors.setTheme({
silly: 'rainbow',
input: 'grey',
verbose: 'cyan',
prompt: 'grey',
info: 'green',
data: 'grey',
help: 'cyan',
warn: 'yellow',
debug: 'blue',
error: 'red'
});

// outputs red text
console.log(colors.error("this is an error"));

// outputs yellow text
console.log(colors.warn("this is a warning"));
```

*Protip: There is a secret undocumented style in `colors`. If you find the style you can summon him.*

+ 0
- 74
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/examples/normal-usage.js View File

@@ -1,74 +0,0 @@
var colors = require('../lib/index');

console.log("First some yellow text".yellow);

console.log("Underline that text".yellow.underline);

console.log("Make it bold and red".red.bold);

console.log(("Double Raindows All Day Long").rainbow)

console.log("Drop the bass".trap)

console.log("DROP THE RAINBOW BASS".trap.rainbow)


console.log('Chains are also cool.'.bold.italic.underline.red); // styles not widely supported

console.log('So '.green + 'are'.underline + ' ' + 'inverse'.inverse + ' styles! '.yellow.bold); // styles not widely supported
console.log("Zebras are so fun!".zebra);

//
// Remark: .strikethrough may not work with Mac OS Terminal App
//
console.log("This is " + "not".strikethrough + " fun.");

console.log('Background color attack!'.black.bgWhite)
console.log('Use random styles on everything!'.random)
console.log('America, Heck Yeah!'.america)


console.log('Setting themes is useful')

//
// Custom themes
//
console.log('Generic logging theme as JSON'.green.bold.underline);
// Load theme with JSON literal
colors.setTheme({
silly: 'rainbow',
input: 'grey',
verbose: 'cyan',
prompt: 'grey',
info: 'green',
data: 'grey',
help: 'cyan',
warn: 'yellow',
debug: 'blue',
error: 'red'
});

// outputs red text
console.log("this is an error".error);

// outputs yellow text
console.log("this is a warning".warn);

// outputs grey text
console.log("this is an input".input);

console.log('Generic logging theme as file'.green.bold.underline);

// Load a theme from file
colors.setTheme(__dirname + '/../themes/generic-logging.js');

// outputs red text
console.log("this is an error".error);

// outputs yellow text
console.log("this is a warning".warn);

// outputs grey text
console.log("this is an input".input);

//console.log("Don't summon".zalgo)

+ 0
- 76
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/examples/safe-string.js View File

@@ -1,76 +0,0 @@
var colors = require('../safe');

console.log(colors.yellow("First some yellow text"));

console.log(colors.yellow.underline("Underline that text"));

console.log(colors.red.bold("Make it bold and red"));

console.log(colors.rainbow("Double Raindows All Day Long"))

console.log(colors.trap("Drop the bass"))

console.log(colors.rainbow(colors.trap("DROP THE RAINBOW BASS")));

console.log(colors.bold.italic.underline.red('Chains are also cool.')); // styles not widely supported


console.log(colors.green('So ') + colors.underline('are') + ' ' + colors.inverse('inverse') + colors.yellow.bold(' styles! ')); // styles not widely supported

console.log(colors.zebra("Zebras are so fun!"));

console.log("This is " + colors.strikethrough("not") + " fun.");


console.log(colors.black.bgWhite('Background color attack!'));
console.log(colors.random('Use random styles on everything!'))
console.log(colors.america('America, Heck Yeah!'));

console.log('Setting themes is useful')

//
// Custom themes
//
//console.log('Generic logging theme as JSON'.green.bold.underline);
// Load theme with JSON literal
colors.setTheme({
silly: 'rainbow',
input: 'grey',
verbose: 'cyan',
prompt: 'grey',
info: 'green',
data: 'grey',
help: 'cyan',
warn: 'yellow',
debug: 'blue',
error: 'red'
});

// outputs red text
console.log(colors.error("this is an error"));

// outputs yellow text
console.log(colors.warn("this is a warning"));

// outputs grey text
console.log(colors.input("this is an input"));


// console.log('Generic logging theme as file'.green.bold.underline);

// Load a theme from file
colors.setTheme(__dirname + '/../themes/generic-logging.js');

// outputs red text
console.log(colors.error("this is an error"));

// outputs yellow text
console.log(colors.warn("this is a warning"));

// outputs grey text
console.log(colors.input("this is an input"));

// console.log(colors.zalgo("Don't summon him"))




+ 0
- 176
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/colors.js View File

@@ -1,176 +0,0 @@
/*

The MIT License (MIT)

Original Library
- Copyright (c) Marak Squires

Additional functionality
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)

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.

*/

var colors = {};
module['exports'] = colors;

colors.themes = {};

var ansiStyles = colors.styles = require('./styles');
var defineProps = Object.defineProperties;

colors.supportsColor = require('./system/supports-colors');

if (typeof colors.enabled === "undefined") {
colors.enabled = colors.supportsColor;
}

colors.stripColors = colors.strip = function(str){
return ("" + str).replace(/\x1B\[\d+m/g, '');
};


var stylize = colors.stylize = function stylize (str, style) {
return ansiStyles[style].open + str + ansiStyles[style].close;
}

var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
var escapeStringRegexp = function (str) {
if (typeof str !== 'string') {
throw new TypeError('Expected a string');
}
return str.replace(matchOperatorsRe, '\\$&');
}

function build(_styles) {
var builder = function builder() {
return applyStyle.apply(builder, arguments);
};
builder._styles = _styles;
// __proto__ is used because we must return a function, but there is
// no way to create a function with a different prototype.
builder.__proto__ = proto;
return builder;
}

var styles = (function () {
var ret = {};
ansiStyles.grey = ansiStyles.gray;
Object.keys(ansiStyles).forEach(function (key) {
ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g');
ret[key] = {
get: function () {
return build(this._styles.concat(key));
}
};
});
return ret;
})();

var proto = defineProps(function colors() {}, styles);

function applyStyle() {
var args = arguments;
var argsLen = args.length;
var str = argsLen !== 0 && String(arguments[0]);
if (argsLen > 1) {
for (var a = 1; a < argsLen; a++) {
str += ' ' + args[a];
}
}

if (!colors.enabled || !str) {
return str;
}

var nestedStyles = this._styles;

var i = nestedStyles.length;
while (i--) {
var code = ansiStyles[nestedStyles[i]];
str = code.open + str.replace(code.closeRe, code.open) + code.close;
}

return str;
}

function applyTheme (theme) {
for (var style in theme) {
(function(style){
colors[style] = function(str){
return colors[theme[style]](str);
};
})(style)
}
}

colors.setTheme = function (theme) {
if (typeof theme === 'string') {
try {
colors.themes[theme] = require(theme);
applyTheme(colors.themes[theme]);
return colors.themes[theme];
} catch (err) {
console.log(err);
return err;
}
} else {
applyTheme(theme);
}
};

function init() {
var ret = {};
Object.keys(styles).forEach(function (name) {
ret[name] = {
get: function () {
return build([name]);
}
};
});
return ret;
}

var sequencer = function sequencer (map, str) {
var exploded = str.split(""), i = 0;
exploded = exploded.map(map);
return exploded.join("");
};

// custom formatter methods
colors.trap = require('./custom/trap');
colors.zalgo = require('./custom/zalgo');

// maps
colors.maps = {};
colors.maps.america = require('./maps/america');
colors.maps.zebra = require('./maps/zebra');
colors.maps.rainbow = require('./maps/rainbow');
colors.maps.random = require('./maps/random')

for (var map in colors.maps) {
(function(map){
colors[map] = function (str) {
return sequencer(colors.maps[map], str);
}
})(map)
}

defineProps(colors, init());

+ 0
- 45
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/custom/trap.js View File

@@ -1,45 +0,0 @@
module['exports'] = function runTheTrap (text, options) {
var result = "";
text = text || "Run the trap, drop the bass";
text = text.split('');
var trap = {
a: ["\u0040", "\u0104", "\u023a", "\u0245", "\u0394", "\u039b", "\u0414"],
b: ["\u00df", "\u0181", "\u0243", "\u026e", "\u03b2", "\u0e3f"],
c: ["\u00a9", "\u023b", "\u03fe"],
d: ["\u00d0", "\u018a", "\u0500" , "\u0501" ,"\u0502", "\u0503"],
e: ["\u00cb", "\u0115", "\u018e", "\u0258", "\u03a3", "\u03be", "\u04bc", "\u0a6c"],
f: ["\u04fa"],
g: ["\u0262"],
h: ["\u0126", "\u0195", "\u04a2", "\u04ba", "\u04c7", "\u050a"],
i: ["\u0f0f"],
j: ["\u0134"],
k: ["\u0138", "\u04a0", "\u04c3", "\u051e"],
l: ["\u0139"],
m: ["\u028d", "\u04cd", "\u04ce", "\u0520", "\u0521", "\u0d69"],
n: ["\u00d1", "\u014b", "\u019d", "\u0376", "\u03a0", "\u048a"],
o: ["\u00d8", "\u00f5", "\u00f8", "\u01fe", "\u0298", "\u047a", "\u05dd", "\u06dd", "\u0e4f"],
p: ["\u01f7", "\u048e"],
q: ["\u09cd"],
r: ["\u00ae", "\u01a6", "\u0210", "\u024c", "\u0280", "\u042f"],
s: ["\u00a7", "\u03de", "\u03df", "\u03e8"],
t: ["\u0141", "\u0166", "\u0373"],
u: ["\u01b1", "\u054d"],
v: ["\u05d8"],
w: ["\u0428", "\u0460", "\u047c", "\u0d70"],
x: ["\u04b2", "\u04fe", "\u04fc", "\u04fd"],
y: ["\u00a5", "\u04b0", "\u04cb"],
z: ["\u01b5", "\u0240"]
}
text.forEach(function(c){
c = c.toLowerCase();
var chars = trap[c] || [" "];
var rand = Math.floor(Math.random() * chars.length);
if (typeof trap[c] !== "undefined") {
result += trap[c][rand];
} else {
result += c;
}
});
return result;

}

+ 0
- 104
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/custom/zalgo.js View File

@@ -1,104 +0,0 @@
// please no
module['exports'] = function zalgo(text, options) {
text = text || " he is here ";
var soul = {
"up" : [
'̍', '̎', '̄', '̅',
'̿', '̑', '̆', '̐',
'͒', '͗', '͑', '̇',
'̈', '̊', '͂', '̓',
'̈', '͊', '͋', '͌',
'̃', '̂', '̌', '͐',
'̀', '́', '̋', '̏',
'̒', '̓', '̔', '̽',
'̉', 'ͣ', 'ͤ', 'ͥ',
'ͦ', 'ͧ', 'ͨ', 'ͩ',
'ͪ', 'ͫ', 'ͬ', 'ͭ',
'ͮ', 'ͯ', '̾', '͛',
'͆', '̚'
],
"down" : [
'̖', '̗', '̘', '̙',
'̜', '̝', '̞', '̟',
'̠', '̤', '̥', '̦',
'̩', '̪', '̫', '̬',
'̭', '̮', '̯', '̰',
'̱', '̲', '̳', '̹',
'̺', '̻', '̼', 'ͅ',
'͇', '͈', '͉', '͍',
'͎', '͓', '͔', '͕',
'͖', '͙', '͚', '̣'
],
"mid" : [
'̕', '̛', '̀', '́',
'͘', '̡', '̢', '̧',
'̨', '̴', '̵', '̶',
'͜', '͝', '͞',
'͟', '͠', '͢', '̸',
'̷', '͡', ' ҉'
]
},
all = [].concat(soul.up, soul.down, soul.mid),
zalgo = {};

function randomNumber(range) {
var r = Math.floor(Math.random() * range);
return r;
}

function is_char(character) {
var bool = false;
all.filter(function (i) {
bool = (i === character);
});
return bool;
}

function heComes(text, options) {
var result = '', counts, l;
options = options || {};
options["up"] = options["up"] || true;
options["mid"] = options["mid"] || true;
options["down"] = options["down"] || true;
options["size"] = options["size"] || "maxi";
text = text.split('');
for (l in text) {
if (is_char(l)) {
continue;
}
result = result + text[l];
counts = {"up" : 0, "down" : 0, "mid" : 0};
switch (options.size) {
case 'mini':
counts.up = randomNumber(8);
counts.min = randomNumber(2);
counts.down = randomNumber(8);
break;
case 'maxi':
counts.up = randomNumber(16) + 3;
counts.min = randomNumber(4) + 1;
counts.down = randomNumber(64) + 3;
break;
default:
counts.up = randomNumber(8) + 1;
counts.mid = randomNumber(6) / 2;
counts.down = randomNumber(8) + 1;
break;
}

var arr = ["up", "mid", "down"];
for (var d in arr) {
var index = arr[d];
for (var i = 0 ; i <= counts[index]; i++) {
if (options[index]) {
result = result + soul[index][randomNumber(soul[index].length)];
}
}
}
}
return result;
}
// don't summon him
return heComes(text);
}

+ 0
- 118
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/extendStringPrototype.js View File

@@ -1,118 +0,0 @@
var colors = require('./colors'),
styles = require('./styles');

module['exports'] = function () {

//
// Extends prototype of native string object to allow for "foo".red syntax
//
var addProperty = function (color, func) {
String.prototype.__defineGetter__(color, func);
};

var sequencer = function sequencer (map, str) {
return function () {
var exploded = this.split(""), i = 0;
exploded = exploded.map(map);
return exploded.join("");
}
};

var stylize = function stylize (str, style) {
return styles[style].open + str + styles[style].close;
}

addProperty('strip', function () {
return colors.strip(this);
});

addProperty('stripColors', function () {
return colors.strip(this);
});

addProperty("trap", function(){
return colors.trap(this);
});

addProperty("zalgo", function(){
return colors.zalgo(this);
});

addProperty("zebra", function(){
return colors.zebra(this);
});

addProperty("rainbow", function(){
return colors.rainbow(this);
});

addProperty("random", function(){
return colors.random(this);
});

addProperty("america", function(){
return colors.america(this);
});

//
// Iterate through all default styles and colors
//
var x = Object.keys(colors.styles);
x.forEach(function (style) {
addProperty(style, function () {
return stylize(this, style);
});
});

function applyTheme(theme) {
//
// Remark: This is a list of methods that exist
// on String that you should not overwrite.
//
var stringPrototypeBlacklist = [
'__defineGetter__', '__defineSetter__', '__lookupGetter__', '__lookupSetter__', 'charAt', 'constructor',
'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf', 'charCodeAt',
'indexOf', 'lastIndexof', 'length', 'localeCompare', 'match', 'replace', 'search', 'slice', 'split', 'substring',
'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toUpperCase', 'trim', 'trimLeft', 'trimRight'
];

Object.keys(theme).forEach(function (prop) {
if (stringPrototypeBlacklist.indexOf(prop) !== -1) {
console.log('warn: '.red + ('String.prototype' + prop).magenta + ' is probably something you don\'t want to override. Ignoring style name');
}
else {
if (typeof(theme[prop]) === 'string') {
colors[prop] = colors[theme[prop]];
addProperty(prop, function () {
return colors[theme[prop]](this);
});
}
else {
addProperty(prop, function () {
var ret = this;
for (var t = 0; t < theme[prop].length; t++) {
ret = exports[theme[prop][t]](ret);
}
return ret;
});
}
}
});
}

colors.setTheme = function (theme) {
if (typeof theme === 'string') {
try {
colors.themes[theme] = require(theme);
applyTheme(colors.themes[theme]);
return colors.themes[theme];
} catch (err) {
console.log(err);
return err;
}
} else {
applyTheme(theme);
}
};

};

+ 0
- 12
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/index.js View File

@@ -1,12 +0,0 @@
var colors = require('./colors');
module['exports'] = colors;

// Remark: By default, colors will add style properties to String.prototype
//
// If you don't wish to extend String.prototype you can do this instead and native String will not be touched
//
// var colors = require('colors/safe);
// colors.red("foo")
//
//
var extendStringPrototype = require('./extendStringPrototype')();

+ 0
- 12
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/maps/america.js View File

@@ -1,12 +0,0 @@
var colors = require('../colors');

module['exports'] = (function() {
return function (letter, i, exploded) {
if(letter === " ") return letter;
switch(i%3) {
case 0: return colors.red(letter);
case 1: return colors.white(letter)
case 2: return colors.blue(letter)
}
}
})();

+ 0
- 13
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/maps/rainbow.js View File

@@ -1,13 +0,0 @@
var colors = require('../colors');

module['exports'] = (function () {
var rainbowColors = ['red', 'yellow', 'green', 'blue', 'magenta']; //RoY G BiV
return function (letter, i, exploded) {
if (letter === " ") {
return letter;
} else {
return colors[rainbowColors[i++ % rainbowColors.length]](letter);
}
};
})();


+ 0
- 8
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/maps/random.js View File

@@ -1,8 +0,0 @@
var colors = require('../colors');

module['exports'] = (function () {
var available = ['underline', 'inverse', 'grey', 'yellow', 'red', 'green', 'blue', 'white', 'cyan', 'magenta'];
return function(letter, i, exploded) {
return letter === " " ? letter : colors[available[Math.round(Math.random() * (available.length - 1))]](letter);
};
})();

+ 0
- 5
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/maps/zebra.js View File

@@ -1,5 +0,0 @@
var colors = require('../colors');

module['exports'] = function (letter, i, exploded) {
return i % 2 === 0 ? letter : colors.inverse(letter);
};

+ 0
- 77
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/styles.js View File

@@ -1,77 +0,0 @@
/*
The MIT License (MIT)

Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)

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.

*/

var styles = {};
module['exports'] = styles;

var codes = {
reset: [0, 0],

bold: [1, 22],
dim: [2, 22],
italic: [3, 23],
underline: [4, 24],
inverse: [7, 27],
hidden: [8, 28],
strikethrough: [9, 29],

black: [30, 39],
red: [31, 39],
green: [32, 39],
yellow: [33, 39],
blue: [34, 39],
magenta: [35, 39],
cyan: [36, 39],
white: [37, 39],
gray: [90, 39],
grey: [90, 39],

bgBlack: [40, 49],
bgRed: [41, 49],
bgGreen: [42, 49],
bgYellow: [43, 49],
bgBlue: [44, 49],
bgMagenta: [45, 49],
bgCyan: [46, 49],
bgWhite: [47, 49],

// legacy styles for colors pre v1.0.0
blackBG: [40, 49],
redBG: [41, 49],
greenBG: [42, 49],
yellowBG: [43, 49],
blueBG: [44, 49],
magentaBG: [45, 49],
cyanBG: [46, 49],
whiteBG: [47, 49]

};

Object.keys(codes).forEach(function (key) {
var val = codes[key];
var style = styles[key] = [];
style.open = '\u001b[' + val[0] + 'm';
style.close = '\u001b[' + val[1] + 'm';
});

+ 0
- 61
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/lib/system/supports-colors.js View File

@@ -1,61 +0,0 @@
/*
The MIT License (MIT)

Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)

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.

*/

var argv = process.argv;

module.exports = (function () {
if (argv.indexOf('--no-color') !== -1 ||
argv.indexOf('--color=false') !== -1) {
return false;
}

if (argv.indexOf('--color') !== -1 ||
argv.indexOf('--color=true') !== -1 ||
argv.indexOf('--color=always') !== -1) {
return true;
}

if (process.stdout && !process.stdout.isTTY) {
return false;
}

if (process.platform === 'win32') {
return true;
}

if ('COLORTERM' in process.env) {
return true;
}

if (process.env.TERM === 'dumb') {
return false;
}

if (/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)) {
return true;
}

return false;
})();

+ 0
- 21
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/package.json View File

@@ -1,21 +0,0 @@
{
"name": "colors",
"description": "get colors in your node.js console",
"version": "1.0.3",
"author": "Marak Squires",
"homepage": "https://github.com/Marak/colors.js",
"bugs": "https://github.com/Marak/colors.js/issues",
"keywords": [ "ansi", "terminal", "colors" ],
"repository": {
"type": "git",
"url": "http://github.com/Marak/colors.js.git"
},
"license": "MIT",
"scripts": {
"test": "node tests/basic-test.js && node tests/safe-test.js"
},
"engines": {
"node": ">=0.1.90"
},
"main": "./lib/index"
}

+ 0
- 9
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/safe.js View File

@@ -1,9 +0,0 @@
//
// Remark: Requiring this file will use the "safe" colors API which will not touch String.prototype
//
// var colors = require('colors/safe);
// colors.red("foo")
//
//
var colors = require('./lib/colors');
module['exports'] = colors;

BIN
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/screenshots/colors.png View File


+ 0
- 50
.vscode/extensions/asvetliakov.vscode-neovim-0.0.45/node_modules/colors/tests/basic-test.js View File

@@ -1,50 +0,0 @@
var assert = require('assert'),
colors = require('../lib/index');

var s = 'string';

function a(s, code) {
return '\x1B[' + code.toString() + 'm' + s + '\x1B[39m';
}

function aE(s, color, code) {
assert.equal(s[color], a(s, code));
assert.equal(colors[color](s), a(s, code));
assert.equal(s[color], colors[color](s));
assert.equal(s[color].strip, s);
assert.equal(s[color].strip, colors.strip(s));
}

function h(s, color) {
return '<span style="color:' + color + ';">' + s + '</span>';
}