Comments (7)
You are probably having a load order issue, where those highlights are being set then the theme is loading overwriting your changes, so it seems you have 2 options to resolve this:
- Setup and autocmd that will set your highlights every time a theme is set.
- Most themes including Astrotheme have settings that allow you to override the themes highlights.
I'll be closing this now as the original issue is resolved.
from astrotheme.
oh i think i know what might be wrong.
EDIT: nope actually this error would error in lazy as well, that's confusing
from astrotheme.
If there is any further info you need let me know
from astrotheme.
I can't really test with packer right now, does packer run require("astrotheme").setup()
automatically ?
Could you also try to run colorscheme astrotheme
edit: it seems like for what ever reason the setup logic is unable to find the palettes folder that is really strange.
from astrotheme.
Last night is when I first started playing around with neovim and configuring it, so I'm not sure what you mean. Here is my nvim/lua/user/packer.lua
file contents so far:
-- This file can be loaded by calling `lua require('plugins')` from your init.vim
-- Only required if you have packer configured as `opt`
vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
use "AstroNvim/astrotheme"
--[[ Used this theme to test whether it was a general problem with my setup, or just with that specific theme.
Nightfly works fine
use { "bluz71/vim-nightfly-colors", as = "nightfly" }
vim.cmd [[colorscheme nightfly ]]
--]]
use {
'nvim-telescope/telescope.nvim', tag = '0.1.1',
-- or , branch = '0.1.x',
requires = { {'nvim-lua/plenary.nvim'} }
}
use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
end)
Also, running the command colorscheme astrotheme
give me the error in my original issue post. However, if I try to use tab completion after typing :colorscheme
astrotheme does show up in the list, as well as astrolight and astrodark.
from astrotheme.
try
use {
"AstroNvim/astrotheme",
config = function()
require("astrotheme").setup()
end,
}
from astrotheme.
That seems to work, however previously I had the following lines for transparency:
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
to make the background transparent in a colors.lua file in the after/ directory. The only way the astrotheme will enable on starting nvim is if I comment those lines out. Any idea why that is, and how I can get transparency to work with this theme?
Thank you.
from astrotheme.
Related Issues (20)
- Golang syntax highlighting isn't as good as other languages HOT 6
- Floats blend with main window (no borders or different bg color) HOT 13
- Normal and highlight colors swapped HOT 4
- Is `crust` a bit too warm for this cool theme? HOT 6
- Feature Request - Monochrome palette HOT 2
- Value of italic_comments not respected HOT 4
- Update images on README HOT 1
- Highlight group modifications don't persist after reloading colorschemes HOT 2
- lazygit color HOT 4
- Global highlight customizations not working on v2.2.0 HOT 4
- Contrast issue with light theme HOT 5
- Brackets not highlighted HOT 6
- Previous dark colorscheme HOT 3
- Current buffer highlight group? HOT 4
- No Highlight colors? HOT 5
- Loading a palette which is not in the config table crashes HOT 4
- zsh autosuggestions text color is overridden in terminal buffer HOT 1
- Changes to astrotheme don't apply. HOT 2
- Neogit support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astrotheme.