Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 73 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,78 +1,102 @@
# Welcome User

This is my onw neovim configuration, I hope u like it

## Preview

### New Preview
![](https://github.com/sssimxn/nvim4win/blob/stable/newpreview.png)

![](https://github.com/sssimxn/nvim4win/blob/dev/newpreview.png)

### Old Preview
![](https://github.com/sssimxn/nvim4win/blob/stable/preview.png)

![](https://github.com/sssimxn/nvim4win/blob/dev/preview.png)

## Install.ps1

A script that install everything automatically \
*Soon*

## Support

This configuration its ready to use with these languages:

<div align="center">
<table>
<thead>
<tr>
<th>Language</th>
<th>Lsp</th>
<th>LSP</th>
<th>CoC</th>
<th>Extras...</th>
<th>Extras</th>
<th>Issues</th>
</tr>
</thead>
<tbody>
<tr>
<td>JavaScript</td>
<td>Javascript</td>
<td>true</td>
<td>false</td>
<td>All features</td>
<td>- All features</td>
<td></td>
</tr>
<tr>
<td>TypeScript</td>
<td>Typescript</td>
<td>true</td>
<td>false</td>
<td>- All features</td>
<td></td>
</tr>
<td>React</td>
<td>true</td>
<td>false</td>
<td>All features</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Html</td>
<td>HTML</td>
<td>false</td>
<td>true</td>
<td>All "coc" features</td>
<td>- All "CoC" features</td>
<td></td>
</tr>
<tr>
<td>Css</td>
<td>CSS/SASS/(LESS)</td>
<td>false</td>
<td>true</td>
<td>All "coc" features</td>
<td></td>
<td>- All "CoC" features <br>- Sass compiler shortcut (F5)</td>
<td>- Less just have autocompletion</td>
</tr>
<tr>
<td>Python</td>
<td>true</td>
<td>false</td>
<td>Python compiler no setup yet</td>
<td>- Python compiler shotcut (F5)</td>
<td></td>
</tr>
<tr>
<td>C/C++</td>
<td>true</td>
<td>false</td>
<td>MinGw compiler</td>
<td>Problems for integrated new includes</td>
<td>- MinGW compiler shortcut (F5) <br> - MSVC compiler coming soon</td>
<td>- Conan and CMake for external libraries<br>- Bad linting for external libreries with CMake</td>
</tr>
<tr>
<td>Obj-C/C++</td>
<td>true</td>
<td>false</td>
<td></td>
<td>- I dont used it, but i have it</td>
</tr>
<tr>
<td>Java</td>
<td>false</td>
<td>false</td>
<td>Soon...</td>
<td>A little bit hard to setup Java in (neo)vim</td>
<td>- A little bit hard to setup Java in (neo)vim</td>
</tr>
<tr>
<td>VimScript</td>
<td>Vimscript</td>
<td>false</td>
<td>true</td>
<td></td>
Expand All @@ -85,30 +109,53 @@ This is my onw neovim configuration, I hope u like it
<td></td>
<td></td>
</tr>
<tr>
<td>Php</td>
<td>true</td>
<td>false</td>
<td></td>
<td></td>
</tr>
<tr>
<td>SQL</td>
<td>true</td>
<td>false</td>
<td></td>
<td></td>
</tr>
<tr>
<td>CMake</td>
<td>true</td>
<td>false</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>

## Requirements

1. [Git](https://git-scm.com/downloads)
2. [Node.js](https://nodejs.org/es/download/)
3. [Python3](https://www.python.org/downloads/)
4. [pynvim](https://github.com/neovim/pynvim)
3. [Python3](https://www.python.org/downloads/)
4. [pynvim](https://github.com/neovim/pynvim)
5. [Neovim nightly](https://github.com/neovim/neovim/releases/tag/nightly)

To install all of this, I prefer use Chocolatey (package manager)
https://chocolatey.org/install
```bash

```powershell
# Git
PS> choco install git
choco install git
# Python pre-realease
PS> choco install python --pre
choco install python --pre
# Node.js
PS> choco install nodejs
choco install nodejs
# pynvim
PS> pip3 install pynvim
pip3 install pynvim
# Neovim nightly
PS> choco install neovim --pre
choco install neovim --pre
```

## Custom Shortcuts
Expand Down
12 changes: 2 additions & 10 deletions autoload/lightline/colorscheme/pinkple.vim
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
" =============================================================================
" Filename: ./autoload/lightline/pinkple
" License: MIT License
" Author: @sssimxn
" Last Change: 2021/08/01 13:18:40
" (based on https://github.com/cseelus/vim-colors-lucid)
" =============================================================================

let s:rock = [ '#181320', 233 ]
let s:white = [ '#f8f8f2', 234 ]
let s:sky = [ '#48ff9f', 118 ]
Expand All @@ -21,7 +13,7 @@ let s:p.normal.right = [ [ s:pink, s:rock ], [ s:rock, s:pink ] ]
let s:p.normal.error = [ [ s:pink, s:rock ] ]
let s:p.normal.warning = [ [ s:yellow, s:rock ] ]
let s:p.insert.left = [ [ s:rock, s:sky ], [ s:sky, s:rock ] ]
let s:p.insert.right = [ [ s:pink, s:rock ], [ s:rock, s:sky ] ]
let s:p.insert.right = [ [ s:pink, s:rock ], [ s:rock, s:sky ] ]
let s:p.visual.left = [ [ s:rock, s:yellow ], [ s:yellow, s:rock ] ]
let s:p.visual.right = [ [ s:pink, s:rock ], [ s:rock, s:yellow ] ]
let s:p.replace.left = [ [ s:rock, s:red ], [ s:red, s:rock ] ]
Expand All @@ -34,4 +26,4 @@ let s:p.tabline.middle = [ [ s:pink, s:rock] ]
let s:p.tabline.right = copy(s:p.normal.right)
let s:p.tabline.tabsel = [ [ s:rock, s:pink ] ]

let g:lightline#colorscheme#pinkple#palette = lightline#colorscheme#flatten(s:p)
let g:lightline#colorscheme#purpledepth#palette = lightline#colorscheme#flatten(s:p)
68 changes: 38 additions & 30 deletions coc-settings.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,40 @@
{
"suggest.floatEnable": true,
"suggest.enablePreview": false,
"suggest.noselect": false,
"coc.preferences.formatOnType": true,
"coc.preferences.formatOnSaveFiletypes": [
"javascript",
"json",
"javascriptreact",
"typescript.tsx",
"css",
"html",
"xhtml",
"xml",
"python"
],
"prettier.printWidth": 100,
"prettier.tabWidth": 3,
"prettier.singleQuote": true,
"prettier.trailingComma": "es5",
"prettier.bracketSpacing": true,
"prettier.jsxBracketSameLine": false,
"prettier.parser": "flow",
"prettier.semi": false,
"prettier.useTabs": true,
"prettier.proseWrap": "preserve",
"prettier.arrowParens": "avoid",

"diagnostic.errorSign": "",
"diagnostic.warningSign": "",
"diagnostic.infoSign": ""
"codeLens.enable": true,
"diagnostic.errorSign": "",
"diagnostic.warningSign": "",
"diagnostic.infoSign": "",
"diagnostic.enableMessage": "jump",
"diagnostic.virtualText": false,
"diagnostic.virtualTextCurrentLineOnly": false,
"suggest.noselect": true,
"suggest.enablePreselect": true,
"suggest.completionItemKindLabels": {
"keyword": "\uf1de", //  sliders
"variable": "\ue79b", //  isometric box
"value": "\uf89f", //  digits 123
"operator": "\u03a8", // Ψ greek letter psi
"constructor": "\uf0ad", //  wrench
"function": "\u0192", // ƒ latin small letter F
"reference": "\ufa46", // 渚 retweet symbol
"constant": "\uf8fe", //  greek letter pi
"method": "\uf09a", //  facebook "f"
"struct": "\ufb44", // פּ file tree
"class": "\uf0e8", //  hierarchy / site map
"interface": "\uf417", //  git commit / line interrupted by circle
"text": "\ue612", //  left-justified lines
"enum": "\uf02c", //  pair of tags
"enumMember": "\uf02b", //  tag
"module": "\uf40d", //  code file / page showing angle brackets
"color": "\ue22b", //  palette
"property": "\ue624", //  predator dots
"field": "\uf9be", // 料 left-justified sorted lines
"unit": "\uf475", //  negative-space ellipsis
"event": "\ufacd", // 鬒 clock alert / clock with exclamation mark
"file": "\uf15b", //  file / blank page
"folder": "\uf07b", //  folder
"snippet": "\ue60b", //  pair of curly braces
"typeParameter": "\uf728", //  file presentation box
"default": "\uf29c" //  question mark in circle
},
"snippets.userSnippetsDirectory": "~/AppData/Local/nvim/snippets"
}
Loading