Code Monkey home page Code Monkey logo

Comments (6)

thordossche avatar thordossche commented on July 26, 2024 2

Well i can assure you I LOVE the theme!! Great work!

from onedarkpro.nvim.

thordossche avatar thordossche commented on July 26, 2024 1

I finally found it... Its really stupid:
so i source files in my init.vim something like:

source plugins
source colorscheme
source settings
...

I changed the order and sourced my colorscheme as last and it seemed to work so i checked my settings file and there was the culprit: highlight LineNr guifg=#fcc4ff guibg=NONE
I have absolutely no idea how that line got there xp

So the issue is fixed thanks for the help and sorry to waste your time for this...

from onedarkpro.nvim.

olimorris avatar olimorris commented on July 26, 2024 1

Not a waste of time at all. I want people to enjoy using the theme as much as I do 😄 .

from onedarkpro.nvim.

olimorris avatar olimorris commented on July 26, 2024

Hey @thordossche 👋🏼 .

That is really odd. Have you installed a new plugin which is hijacking the LineNr highlight group? I haven't touched that line in months, unfortunately.

from onedarkpro.nvim.

thordossche avatar thordossche commented on July 26, 2024

The change happened when i installed nvim-tree and was trying to change the colorgroups (which did not work strangely enough). The moment the linenumbers changed color was when i changed the cursorline option to false.

I removed all my plugins and reinstalled onedarkpro and treesitter but the purple linenumbers still appear even with the default config. I tried to change the color of LineNr to the standard gray: LineNr = { fg = "#7D828D" }, but it does not apply.

For CursorLineNr: I can change the color of the CursorLineNr only when i enable the cursorline option.

from onedarkpro.nvim.

olimorris avatar olimorris commented on July 26, 2024

Bizarre. If I follow your config:

  local ok, onedarkpro = om.safe_require("onedarkpro", { silent = true })
  if not ok then
    return
  end
  local utils = require("onedarkpro.utils")

  onedarkpro.setup({
    plugins = { nvim_tree = false},
    options = {
      transparency = true,
      window_unfocussed_color = false,
    },
    colors = {
      yellow = "#FFF000",
    },
    hlgroups = {
      LineNr = { fg = "${yellow}" }, -- Make command line text darker
    },
  })
  onedarkpro.load()

I can see it works:

Screen Shot 2022-03-15 at 13 09 50@2x

Some follow-up questions from myself:

  • What happens if you set transparency = false?
  • Can you try removing all of your plugins and just leave onedarkpro and see what happens?

from onedarkpro.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.