• Stars
    star
    296
  • Rank 139,760 (Top 3 %)
  • Language
    Vim Script
  • License
    MIT License
  • Created almost 4 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A bunch of generated colorschemes (treesitter supported)

NVCode Colorscheme

React pic

Included Themes

Credit

The generate script comes from this repo: https://github.com/felipec/vim-felipec

Requirements

This color scheme requires treesitter and Neovim > 0.5.

Installing

With Vim-plug

Plug 'christianchiarulli/nvcode-color-schemes.vim'
Plug 'nvim-treesitter/nvim-treesitter'

Configuring

Add this to your init.vim file

" configure treesitter
lua << EOF
require'nvim-treesitter.configs'.setup {
  ensure_installed = "all", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
  highlight = {
    enable = true,              -- false will disable the whole extension
    disable = { "c", "rust" },  -- list of language that will be disabled
  },
}
EOF

" configure nvcode-color-schemes
let g:nvcode_termcolors=256

syntax on
colorscheme nvcode " Or whatever colorscheme you make


" checks if your terminal has 24-bit color support
if (has("termguicolors"))
    set termguicolors
    hi LineNr ctermbg=NONE guibg=NONE
endif

Contributing

  • Create a YAML file
  • Modify the highlight groups with custom colors
  • Run the generate script and save the output to the colors directory
    • generate colorscheme_name.yml > ./colors/colorscheme_name.vim
  • Create a PR

Below are the treesitter highlight groups; modify these to take advantage of treesitter highlighting.

" Misc
highlight TSError guifg=#F44747
highlight TSPunctDelimiter guifg=#ABB2BF
highlight TSPunctBracket guifg=#ABB2BF
highlight TSPunctSpecial guifg=#ABB2BF

" Constants
highlight TSConstant guifg=#DCDCAA
highlight TSConstBuiltin guifg=#569CD6
" Not sure about this guy
highlight TSConstMacro guifg=#4EC9B0
highlight TSString guifg=#CE9178
highlight TSStringRegex guifg=#CE9178
highlight TSStringEscape guifg=#D7BA7D
highlight TSCharacter guifg=#CE9178
highlight TSNumber guifg=#B5CEA8
highlight TSBoolean guifg=#569CD6
highlight TSFloat guifg=#B5CEA8
highlight TSAnnotation guifg=#DCDCAA
highlight TSAttribute guifg=#FF00FF
highlight TSNamespace guifg=#FF00FF


" Functions
" highlight TSFuncBuiltin guifg=#4EC9B0
highlight TSFuncBuiltin guifg=#DCDCAA
highlight TSFunction guifg=#DCDCAA
highlight TSFuncMacro guifg=#DCDCAA
highlight TSParameter guifg=#9CDCFE
highlight TSParameterReference guifg=#9CDCFE
highlight TSMethod guifg=#DCDCAA
highlight TSField guifg=#9CDCFE
highlight TSProperty guifg=#9CDCFE
highlight TSConstructor guifg=#4EC9B0

" Keywords
highlight TSConditional guifg=#C586C0
highlight TSRepeat guifg=#C586C0
highlight TSLabel guifg=#FF00FF
" Does not work for yield and return they should be diff then class and def
highlight TSKeyword guifg=#569CD6
highlight TSKeywordFunction guifg=#FF00FF
highlight TSKeywordOperator guifg=#569CD6
highlight TSOperator guifg=#ABB2BF
highlight TSException guifg=#C586C0
highlight TSType guifg=#4EC9B0
highlight TSTypeBuiltin guifg=#FF00FF
highlight TSStructure guifg=#FF00FF
highlight TSInclude guifg=#C586C0

" Variable
highlight TSVariable guifg=#9CDCFE
highlight TSVariableBuiltin guifg=#9CDCFE

" Text
highlight TSText guifg=#FF00FF
highlight TSStrong guifg=#FF00FF
highlight TSEmphasis guifg=#FF00FF
highlight TSUnderline guifg=#FF00FF
highlight TSTitle guifg=#FF00FF
highlight TSLiteral guifg=#FF00FF
highlight TSURI guifg=#FF00FF

" Tags
highlight TSTag guifg=#569CD6
highlight TSTagDelimiter guifg=#5C6370

More Repositories

1

nvim

My neovim config
Lua
938
star
2

machfiles

The dotfiles you see in all my videos
Shell
664
star
3

lvim

My config for LunarVim
Lua
276
star
4

intro-fullstack-ethereum

⛓️ Introductory fullstack ethereum dapp using: solidity, hardhat, react.js, ethers.js
JavaScript
79
star
5

blog

My blog created with React, Gatsby & Markdown
Less
62
star
6

dwm

dwm rice
C
32
star
7

bookmark.nvim

Bookmark and jump between lines in the current file
Lua
31
star
8

wallpapers

The wallpapers from my videos
28
star
9

Altech-Freedom-Checklist

I am tracking my progress towards freedom here
23
star
10

nostr.nvim

📡 Social network for Neovim
JavaScript
22
star
11

ChristianChiarulli

18
star
12

chrisatmachine.com

My personal website created with Astro 🧑‍🚀
Astro
17
star
13

old_website

🌐 chris@machine website, created with Next.js
Astro
13
star
14

onedark.nvim

My take on the iconic Onedark colorscheme
Lua
13
star
15

lsp-inlay-hints

An experiment with LSP hints
Lua
12
star
16

Bitcoin-FullNode-Setup

Tutorial for Setting up and Interacting with a Bitcoin FullNode
10
star
17

BlockchainDevRoadmap

My path to learning blockchain development
10
star
18

st

A terminal that sucks less
C
9
star
19

leetcode

Python
9
star
20

colorblender

A python script to blend hex values
Python
7
star
21

cnn-tutorial

Convolutional Neural Network tutorial with Tensorflow2 & Keras
Jupyter Notebook
7
star
22

BeginnerFullStackEthereum

A simple Fullstack Ethereum Application using Hardhat, ethers.js React
JavaScript
5
star
23

todolist

Python
5
star
24

enough-haskell

Haskell
5
star
25

vscode-easymotion

Vim motions on speed!
Vim Script
5
star
26

nvim.old

Lua
4
star
27

Machstrap

Script to bootstrap my dotfiles
Shell
4
star
28

InstallScripts

Installs various programs I frequently use
Shell
4
star
29

tauri-blog-app

A blog app for your desktop with nostr
TypeScript
4
star
30

pytest_example

This repo is a companion to the debugging and testing in python for LunarVim.
Python
4
star
31

nostrings.news

I've got no strings to hold me down, to make me fret, or make me frown.
TypeScript
4
star
32

github-finder

JavaScript
3
star
33

weather_app

3
star
34

Corona_AI

The beginnings of of a voice assistant
Python
3
star
35

contact-keeper

JavaScript
3
star
36

dmenu-old

My cool dmenu
C
3
star
37

novadocs

A documentation starter for astro.js
TypeScript
3
star
38

solidity-tutorial

Tutorials for the Solidity programming language
Solidity
3
star
39

java-http-client-examples

Some examples for using the native java http client
Java
3
star
40

resolvr-test

TypeScript
3
star
41

programmingbitcoin_notes

My notes for Programming Bitcoin by Jimmy Song
2
star
42

Emacs

makes sure to clone into current directory
Emacs Lisp
2
star
43

food-app

JavaScript
2
star
44

FastAi

Repository for deep learning for coders by fastai
Jupyter Notebook
2
star
45

Java101

Repo for my Java class
Java
2
star
46

ML-Techniques

Jupyter Notebook
2
star
47

testsvg

2
star
48

lsp-inlayhints.nvim

Lua
2
star
49

java-debug

Java
2
star
50

NeoTweet

TypeScript
2
star
51

marksman-example

Some example notes for interacting with the marksman language server
1
star
52

Firecode

Python
1
star
53

blog_comments

A repo holding all of the comments for my blog
1
star
54

SpringBootIntro

Spring Boot Intro
Java
1
star
55

Python101

Python basics
Python
1
star
56

SimpleStorage

A simple Smart Contract you can deploy with brownie
Python
1
star
57

java-snippets

Java Snippets VSCode style
1
star
58

HandsOn_MachineLearning

Repository for the Jupyter projects from the book Hands on machine learning with scikit learn and tensorflow
Jupyter Notebook
1
star
59

Statistics

Statistics
Jupyter Notebook
1
star
60

idk

Python
1
star
61

Documents

Documents folder
1
star
62

C

C examples
C
1
star
63

mac_bootstrap

Shell
1
star
64

Pytorch

Some things for pytorch
Jupyter Notebook
1
star
65

DataStructuresCPP

Data Structures for C++
C++
1
star
66

python-snippets

Python snippets vscode style
1
star
67

DeepSpeechBrowserDemo

JavaScript
1
star
68

html-snippets

1
star
69

eclipse.jdt.ls

Putting this here since I can't build on Mac
Java
1
star
70

React

HTML
1
star
71

EmbeddedSystems

Repo for my Embedded Systems class
VHDL
1
star
72

web-boilerplate

A collection of config files and code I don't want to put in a library
JavaScript
1
star
73

BioInformatics

Jupyter Notebook
1
star
74

MLFlaskAPP

Experimenting with frontends with ML backend
HTML
1
star
75

DataComm

DataComm Repo
1
star
76

TensorflowExamples

Jupyter Notebook
1
star
77

Counter-Hardhat

JavaScript
1
star
78

Digicomm

Material mostly for my digital communications course
MATLAB
1
star
79

IntroToDeepLearning

Udacity AI course
Python
1
star
80

hardhat-intro

JavaScript
1
star
81

ts-library-template

Testing deploying a typescript library
TypeScript
1
star
82

nostr-issues-test

publish github issues to nostr
TypeScript
1
star
83

signingapp

a tauri app that will sign nostr events for desktop apps
TypeScript
1
star
84

opencv-tutorial

Jupyter Notebook
1
star
85

DataStructures

Repo for 2168 at Temple U
Java
1
star
86

Signal-Analysis

Jupyter Notebook
1
star