1
0
Fork 0

neovim: Convert all config to Lua

I've been using this with only minimal changes for a few weeks now, so
this seems like a good place to checkpoint it.
This commit is contained in:
Jeremy Kaplan 2022-12-30 21:57:24 -08:00
commit 71d8737447
17 changed files with 1045 additions and 491 deletions

View file

@ -1 +0,0 @@
../vim/colors

1
neovim/colors/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
jdkaplan-temp.lua

View file

@ -0,0 +1,14 @@
vim.opt.background = 'dark'
vim.g.colors_name = 'jdkaplan-cool'
vim.o.termguicolors = true
local pkg = 'jdkaplan.cool_theme'
-- Clear the Lua cache for the theme package to force it to load every time.
package.loaded[pkg] = nil
local lush = require('lush')
local theme = require(pkg)
lush(theme)

View file

@ -0,0 +1,14 @@
vim.opt.background = 'light'
vim.g.colors_name = 'jdkaplan-warm'
vim.o.termguicolors = true
local pkg = 'jdkaplan.warm_theme'
-- Clear the Lua cache for the theme package to force it to load every time.
package.loaded[pkg] = nil
local lush = require('lush')
local theme = require(pkg)
lush(theme)

1
neovim/colors/jdkaplan.vim Symbolic link
View file

@ -0,0 +1 @@
../../vim/colors/jdkaplan.vim