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:
parent
5f39cefc85
commit
71d8737447
17 changed files with 1045 additions and 491 deletions
|
|
@ -1 +0,0 @@
|
|||
../vim/colors
|
||||
1
neovim/colors/.gitignore
vendored
Normal file
1
neovim/colors/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
jdkaplan-temp.lua
|
||||
14
neovim/colors/jdkaplan-cool.lua
Normal file
14
neovim/colors/jdkaplan-cool.lua
Normal 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)
|
||||
14
neovim/colors/jdkaplan-warm.lua
Normal file
14
neovim/colors/jdkaplan-warm.lua
Normal 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
1
neovim/colors/jdkaplan.vim
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../vim/colors/jdkaplan.vim
|
||||
Loading…
Add table
Add a link
Reference in a new issue