TLDR; no, libuv doesn't work in Cygwin just yet, see at the bottom.
I tested using the master branch (9d3449852bd35c9283948186d0259c1bf73b8579 or later)
I installed the following in the cygwin setup
- gcc-c++ make cmake pkg-config libtool
| # An example global gitignore file | |
| # | |
| # Place a copy if this at ~/.gitignore_global | |
| # Run `git config --global core.excludesfile ~/.gitignore_global` | |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll |
| " Specify a directory for plugins | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
| Plug 'scrooloose/nerdtree' | |
| "Plug 'tsony-tsonev/nerdtree-git-plugin' | |
| Plug 'Xuyuanp/nerdtree-git-plugin' | |
| Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
| Plug 'ryanoasis/vim-devicons' | |
| Plug 'airblade/vim-gitgutter' |
| " Specify a directory for plugins | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
| Plug 'scrooloose/nerdtree' | |
| "Plug 'tsony-tsonev/nerdtree-git-plugin' | |
| Plug 'Xuyuanp/nerdtree-git-plugin' | |
| Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
| Plug 'ryanoasis/vim-devicons' | |
| Plug 'airblade/vim-gitgutter' |
| # Basic console colors -------------------------------------------------------- | |
| [console]::backgroundcolor = "White" | |
| [console]::foregroundcolor = "Black" | |
| # Syntax highlighting colors -------------------------------------------------- | |
| set-PSReadlineOption -TokenKind command -ForegroundColor "DarkGray" | |
| Set-PSReadlineOption -TokenKind comment -ForegroundColor "DarkGray" | |
| Set-PSReadlineOption -TokenKind parameter -ForegroundColor "DarkGray" |
| #!/usr/bin/env python3 | |
| from functools import lru_cache | |
| class Singleton: | |
| @lru_cache | |
| def __new__(cls, *args, **kwargs): | |
| return super().__new__(cls) |
| :term "C:\Program Files\Git\bin\bash.exe" |
| #Reference: http://michaellwest.blogspot.com/2013/03/add-font-to-powershell-console.html | |
| #Reference: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q247815 This explains why we name it 000 | |
| Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont' #Get the properties of TTF | |
| Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont' -Name 000 -Value 'Source Code Pro' #Set it to SCP | |
| Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont' #Check to see if we properly set it so that SCP is an option |
| "{ Auto commands | |
| " Do not use smart case in command line mode, | |
| " extracted from https://goo.gl/vCTYdK | |
| augroup dynamic_smartcase | |
| autocmd! | |
| autocmd CmdLineEnter : set nosmartcase | |
| autocmd CmdLineLeave : set smartcase | |
| augroup END | |
| " Set textwidth for text file types |