A dark and earthy colorscheme for Neovim. (mirror) github.com/ptdewey/darkearth-nvim
neovim neovim-colorscheme fennel

fix: lua treesitter property highlighting tweak to avoid change at lsp attach

ptdewey 8ab70411 10440691

+7 -3
+3 -1
colors/darkearth.lua
··· 191 191 theme["@markup.list"] = {link = "Operator"} 192 192 theme["@markup.link"] = {fg = "#77824A", underline = true} 193 193 theme["@punctuation.special.markdown"] = {link = "Comment"} 194 + theme["@property.lua"] = {link = "Normal"} 194 195 theme["LazyNormal"] = {link = "Normal"} 195 196 theme["LazyButtonActive"] = {bg = "#77824A", fg = "#212121"} 196 197 theme["LazyH1"] = {fg = "#77824A"} ··· 221 222 theme["GitSignsDelete"] = {link = "Removed"} 222 223 vim.cmd("highlight clear") 223 224 vim.cmd("set t_Co=256") 224 - vim.cmd("let g:colors_name='darkearth'") 225 + vim.g.colors_name = "darkearth" 226 + vim.o.background = "dark" 225 227 for group, attr in pairs(theme) do 226 228 vim.api.nvim_set_hl(0, group, attr) 227 229 end
docs/darkearth-nvim.txt

This is a binary file and will not be displayed.

+4 -2
fnl/darkearth/init.fnl
··· 299 299 (ln "@markup.list" Operator) 300 300 (hl "@markup.link" :fg (green) :underline true) 301 301 (ln "@punctuation.special.markdown" Comment) 302 + (ln "@property.lua" Normal) 302 303 303 304 ;; 304 305 ;; Plugin groups ··· 344 345 (ln GitSignsChange Changed) 345 346 (ln GitSignsDelete Removed) 346 347 347 - ;; Colorscheme setup 348 + ; Colorscheme setup 348 349 (vim.cmd "highlight clear") 349 350 (vim.cmd "set t_Co=256") 350 - (vim.cmd "let g:colors_name='darkearth'") 351 + (set vim.g.colors_name :darkearth) 352 + (set vim.o.background :dark) 351 353 (each [group attr (pairs theme)] (vim.api.nvim_set_hl 0 group attr))