mirror of
https://github.com/maxmx03/solarized.nvim.git
synced 2026-09-10 07:26:26 -04:00
The "Solarized Neo" theme, which included both light and dark variants, has been dropped. The light variant of "Neo" is now the "Solarized Light" theme. The original "Solarized" by Ethan Schoonover, which also had light and dark versions, is now solely represented as the "Solarized Dark" theme.
14 lines
366 B
Lua
14 lines
366 B
Lua
vim.api.nvim_create_user_command('Solarized', function(args)
|
|
require('solarized.command').load(args.fargs[1], vim.list_slice(args.fargs, 2))
|
|
end, {
|
|
range = true,
|
|
nargs = '+',
|
|
complete = function(arg)
|
|
local list = require('solarized.command').list()
|
|
|
|
return vim.tbl_filter(function(s)
|
|
return string.match(s, '^' .. arg)
|
|
end, list)
|
|
end,
|
|
})
|