Add moonfly colorscheme
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
077ec08dc1
commit
861fd3c03c
35
colors/moonfly.vim
Normal file
35
colors/moonfly.vim
Normal file
@ -0,0 +1,35 @@
|
||||
" Dark Vim/Neovim colorscheme.
|
||||
"
|
||||
" URL: github.com/bluz71/vim-moonfly-colors
|
||||
" License: MIT (https://opensource.org/licenses/MIT)
|
||||
|
||||
" Clear highlights and reset syntax.
|
||||
highlight clear
|
||||
if exists('syntax_on')
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
" Set colorscheme name.
|
||||
let g:colors_name = 'moonfly'
|
||||
|
||||
" Define theme options.
|
||||
let g:moonflyCursorColor = get(g:, 'moonflyCursorColor', v:false)
|
||||
let g:moonflyItalics = get(g:, 'moonflyItalics', v:true)
|
||||
let g:moonflyNormalPmenu = get(g:, 'moonflyNormalPmenu', v:false)
|
||||
let g:moonflyNormalFloat = get(g:, 'moonflyNormalFloat', v:false)
|
||||
let g:moonflyTerminalColors = get(g:, 'moonflyTerminalColors', v:true)
|
||||
let g:moonflyTransparent = get(g:, 'moonflyTransparent', v:false)
|
||||
let g:moonflyUndercurls = get(g:, 'moonflyUndercurls', v:true)
|
||||
let g:moonflyUnderlineMatchParen = get(g:, 'moonflyUnderlineMatchParen', v:false)
|
||||
let g:moonflyVirtualTextColor = get(g:, 'moonflyVirtualTextColor', v:false)
|
||||
let g:moonflyWinSeparator = get(g:, 'moonflyWinSeparator', 1)
|
||||
|
||||
" Load theme style independently for Neovim and Vim.
|
||||
if has('nvim')
|
||||
lua pcall(function() require("moonfly").style() end)
|
||||
else
|
||||
call moonfly#Style()
|
||||
end
|
||||
|
||||
set background=dark " moonfly is a dark theme
|
||||
set termguicolors " moonfly is a true-color theme
|
||||
3
init.lua
3
init.lua
@ -7,3 +7,6 @@ require("usercmds")
|
||||
require("pack")
|
||||
require("treesitter")
|
||||
require("lsp")
|
||||
|
||||
vim.g.moonflyTransparent = true
|
||||
vim.cmd("colorscheme moonfly")
|
||||
|
||||
1503
lua/moonfly/init.lua
Normal file
1503
lua/moonfly/init.lua
Normal file
File diff suppressed because it is too large
Load Diff
@ -35,6 +35,7 @@ vim.opt.scrolloff = 8
|
||||
|
||||
vim.opt.colorcolumn = "0"
|
||||
vim.opt.signcolumn = "yes"
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
vim.api.nvim_create_autocmd("TextYankPost", {
|
||||
desc = "Highlight when yanking (copying) text",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user