Coder Social home page Coder Social logo

Comments (9)

daa84 avatar daa84 commented on August 14, 2024

Currently highlight is exists and works for me. But it implemented as some css style change inside application, maybe this does not work for some themes... can't say.

from neovim-gtk.

Dasmark avatar Dasmark commented on August 14, 2024

Doesn't work for none of the vim themes. Or do you mean GTK-themes?

from neovim-gtk.

daa84 avatar daa84 commented on August 14, 2024

Yes, I mean gtk theme

from neovim-gtk.

Dasmark avatar Dasmark commented on August 14, 2024

So I tried 5 different GTK themes and for none of them hiliting worked. Interestingly, the background-color of the popup gets styled according to the vim colorscheme and not to the GTK-theme. Which GTK-theme do you use where this works for?

from neovim-gtk.

daa84 avatar daa84 commented on August 14, 2024

I use ubuntu default theme. Currently style for selected item looks like this

.view {color: {}; background-color: {};}

maybe something wrong with this...
code is here

".view {{ color: {}; background-color: {};}}",

from neovim-gtk.

Dasmark avatar Dasmark commented on August 14, 2024

If I comment out that whole gtk::CssProviderExt::load_from_data() block, the selected popup entry get hilited according to the system GTK theme. If I replace bg.to_hex() with "red" it gets a red background. So I'm assuming, that

let bg = color_model.pmenu_bg_sel();
let fg = color_model.pmenu_fg_sel();

is not reading the colorscheme properly.

from neovim-gtk.

daa84 avatar daa84 commented on August 14, 2024

what version of neovim do you use? is it > 0.2.1?
Is there some error messages in console when you start application or change colorscheme in neovim?

from neovim-gtk.

Dasmark avatar Dasmark commented on August 14, 2024

Currently using 0.2.1

If I dump bg and fg I get the explicit values for the regular fg and bg, not the PMenu ones

from neovim-gtk.

Dasmark avatar Dasmark commented on August 14, 2024

Okay, compiled 0.2.2 manually and it works. Sorry for bothering you :o(

from neovim-gtk.

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.