Better colors
This commit is contained in:
parent
8426dda4c0
commit
7306520201
5 changed files with 79 additions and 24 deletions
32
nvim/.config/colors/minimal.vim
Normal file
32
nvim/.config/colors/minimal.vim
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
" Name: Minimal Theme
|
||||||
|
" Author: Nicole Tietz-Sokolskaya <me@ntietz.com>
|
||||||
|
" Maintainer: Nicole Tietz-Sokolskaya <me@ntietz.com>
|
||||||
|
" License: Vim License (see `:help license`)
|
||||||
|
" Last Updated: Sun 13 Aug 2023 10:21:15 PM EDT
|
||||||
|
|
||||||
|
" Generated by Colortemplate v2.2.3
|
||||||
|
|
||||||
|
set background=light
|
||||||
|
|
||||||
|
hi clear
|
||||||
|
let g:colors_name = 'minimal'
|
||||||
|
|
||||||
|
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||||
|
|
||||||
|
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||||
|
let g:terminal_ansi_colors = ['#fafafa', '#fafafa', '#fafafa', '#fafafa', '#fafafa', '#fafafa', '#fafafa', '#fafafa', '#333333', '#333333', '#333333', '#333333', '#333333', '#333333', '#333333', '#333333']
|
||||||
|
endif
|
||||||
|
hi Normal guifg=#fafafa guibg=#333333 gui=NONE cterm=NONE
|
||||||
|
|
||||||
|
if s:t_Co >= 256
|
||||||
|
hi Normal ctermfg=231 ctermbg=236 cterm=NONE
|
||||||
|
unlet s:t_Co
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Background: light
|
||||||
|
" Color: myblack #333333 ~
|
||||||
|
" Color: mywhite #fafafa ~
|
||||||
|
" Term colors: mywhite mywhite mywhite mywhite mywhite mywhite mywhite mywhite
|
||||||
|
" Term colors: myblack myblack myblack myblack myblack myblack myblack myblack
|
||||||
|
" vim: et ts=8 sw=2 sts=2
|
|
@ -1,3 +1,5 @@
|
||||||
set termguicolors
|
set termguicolors
|
||||||
set background=light
|
set background=light
|
||||||
colorscheme one
|
|
||||||
|
colorscheme base16-grayscale-light
|
||||||
|
"colorscheme off
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
let $FZF_DEFAULT_COMMAND='rg --files --follow --hidden -g "!{node_modules/*,.git/*,.styles/*}"'
|
let $FZF_DEFAULT_COMMAND='rg --files --follow --hidden -g "!{node_modules/*,.git/*,.styles/*}"'
|
||||||
|
|
||||||
source $HOME/.config/nvim/coq.vim
|
" source $HOME/.config/nvim/coq.vim
|
||||||
source $HOME/.config/nvim/plug/plug.vim
|
source $HOME/.config/nvim/plug/plug.vim
|
||||||
source $HOME/.config/nvim/plugs.vim
|
source $HOME/.config/nvim/plugs.vim
|
||||||
|
|
||||||
source $HOME/.config/nvim/treesitter.lua
|
" source $HOME/.config/nvim/treesitter.lua
|
||||||
source $HOME/.config/nvim/rust.lua
|
" source $HOME/.config/nvim/rust.lua
|
||||||
source $HOME/.config/nvim/completion.lua
|
" source $HOME/.config/nvim/completion.lua
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
augroup filetypedetect
|
"augroup filetypedetect
|
||||||
au! BufRead,BufNewFile *.hurl setfiletype hurl
|
" au! BufRead,BufNewFile *.hurl setfiletype hurl
|
||||||
augroup END
|
"augroup END
|
||||||
|
|
||||||
" Nice navigaton shortcuts
|
" Nice navigaton shortcuts
|
||||||
map <C-n> :NERDTreeToggle<CR>
|
map <C-n> :NERDTreeToggle<CR>
|
||||||
|
@ -38,7 +38,7 @@ au FileChangedShell * checktime
|
||||||
au CursorHold * checktime
|
au CursorHold * checktime
|
||||||
au CursorHoldI * checktime
|
au CursorHoldI * checktime
|
||||||
|
|
||||||
" Line numnbmers are cool
|
" Line numbers are cool
|
||||||
set number
|
set number
|
||||||
set relativenumber
|
set relativenumber
|
||||||
" Always show the signcolumn, otherwise it would shift the text each time
|
" Always show the signcolumn, otherwise it would shift the text each time
|
||||||
|
@ -51,10 +51,10 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Turn off polyglot for some langs so they play nice
|
" Turn off polyglot for some langs so they play nice
|
||||||
if exists('g:loaded_polyglot')
|
" if exists('g:loaded_polyglot')
|
||||||
let g:polyglot_disabled = ['go', 'rst', 'tla']
|
" let g:polyglot_disabled = ['go', 'rst', 'tla']
|
||||||
endif
|
" endif
|
||||||
au BufRead,BufNewFile *.tla setf tla
|
" au BufRead,BufNewFile *.tla setf tla
|
||||||
|
|
||||||
" I like pretty things
|
" I like pretty things
|
||||||
source $HOME/.config/nvim/colors.vim
|
source $HOME/.config/nvim/colors.vim
|
||||||
|
|
|
@ -15,10 +15,10 @@ Plug 'tpope/vim-obsession'
|
||||||
Plug 'tpope/vim-fugitive' " whose fault is it
|
Plug 'tpope/vim-fugitive' " whose fault is it
|
||||||
|
|
||||||
" Language support
|
" Language support
|
||||||
Plug 'nvim-treesitter/nvim-treesitter', { 'do': ':TSUpdate' }
|
" Plug 'nvim-treesitter/nvim-treesitter', { 'do': ':TSUpdate' }
|
||||||
Plug 'ntietz/tla.vim'
|
" Plug 'ntietz/tla.vim'
|
||||||
Plug 'fatih/vim-go'
|
" Plug 'fatih/vim-go'
|
||||||
Plug 'pest-parser/pest.vim'
|
" Plug 'pest-parser/pest.vim'
|
||||||
|
|
||||||
" Use common config to setup tab depth
|
" Use common config to setup tab depth
|
||||||
Plug 'editorconfig/editorconfig-vim'
|
Plug 'editorconfig/editorconfig-vim'
|
||||||
|
@ -28,23 +28,28 @@ Plug 'editorconfig/editorconfig-vim'
|
||||||
Plug 'rafi/awesome-vim-colorschemes'
|
Plug 'rafi/awesome-vim-colorschemes'
|
||||||
|
|
||||||
" Completions <3
|
" Completions <3
|
||||||
Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' }
|
" Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' }
|
||||||
Plug 'hrsh7th/cmp-nvim-lsp', { 'branch': 'main' }
|
" Plug 'hrsh7th/cmp-nvim-lsp', { 'branch': 'main' }
|
||||||
Plug 'hrsh7th/cmp-buffer', { 'branch': 'main' }
|
" Plug 'hrsh7th/cmp-buffer', { 'branch': 'main' }
|
||||||
Plug 'L3MON4D3/LuaSnip', {'tag': 'v1.*'}
|
" Plug 'L3MON4D3/LuaSnip', {'tag': 'v1.*'}
|
||||||
|
|
||||||
" Rust support
|
" Rust support
|
||||||
Plug 'simrat39/rust-tools.nvim'
|
" Plug 'simrat39/rust-tools.nvim'
|
||||||
|
|
||||||
Plug 'neovim/nvim-lspconfig'
|
" Plug 'neovim/nvim-lspconfig'
|
||||||
Plug 'nvim-lua/plenary.nvim'
|
Plug 'nvim-lua/plenary.nvim'
|
||||||
|
|
||||||
" Nice hovers
|
" Nice hovers
|
||||||
Plug 'stevearc/dressing.nvim'
|
Plug 'stevearc/dressing.nvim'
|
||||||
|
|
||||||
" Our new AI overlords 🤖
|
" Our new AI overlords 🤖
|
||||||
Plug 'github/copilot.vim', { 'branch': 'release' }
|
" Plug 'github/copilot.vim', { 'branch': 'release' }
|
||||||
" Uncomment this line to disable copilot
|
" Uncomment this line to disable copilot
|
||||||
"let g:copilot_enabled = 0
|
"let g:copilot_enabled = 0
|
||||||
|
|
||||||
|
Plug 'chriskempson/base16-vim'
|
||||||
|
Plug 'pbrisbin/vim-colors-off', { 'branch': 'main' }
|
||||||
|
Plug 'vim-scripts/zenesque.vim'
|
||||||
|
Plug 't184256/vim-boring'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
16
nvim/.config/templates/light.colortemplate
Normal file
16
nvim/.config/templates/light.colortemplate
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
Full name: Minimal Theme
|
||||||
|
Short name: minimal
|
||||||
|
Author: Nicole Tietz-Sokolskaya <me@ntietz.com>
|
||||||
|
|
||||||
|
Variant: gui 256
|
||||||
|
Background: light
|
||||||
|
|
||||||
|
; Color palette
|
||||||
|
Color: myblack #333333 ~
|
||||||
|
Color: mywhite #fafafa ~
|
||||||
|
|
||||||
|
; Highlight group definitions
|
||||||
|
Normal mywhite myblack
|
||||||
|
|
||||||
|
Term colors: mywhite mywhite mywhite mywhite mywhite mywhite mywhite mywhite
|
||||||
|
Term colors: myblack myblack myblack myblack myblack myblack myblack myblack
|
Loading…
Reference in a new issue