Code Monkey home page Code Monkey logo

Comments (5)

Enonya avatar Enonya commented on August 15, 2024 1

That's sounds great, thx for using my scheme

from yuyuko.vim.

Enonya avatar Enonya commented on August 15, 2024

Description

So, I'm trying to use your theme together with xiyaowong/transparent.nvim and I noticed that some Tags/words have a background, so I wanted to know if you have an idea of what kind of configuration I'd have to change/override to remove them.

Screenshot

image

Current configuration

{
    'Enonya/yuyuko.vim',
    priority = 1000,
},
{
    'xiyaowong/transparent.nvim',
    config = function()
      local transparent = require 'transparent'

      transparent.setup {
        groups = {
          'Normal',
          'NormalNC',
          'Comment',
          'Constant',
          'Special',
          'Identifier',
          'Statement',
          'PreProc',
          'Type',
          'Underlined',
          'Todo',
          'String',
          'Function',
          'Conditional',
          'Repeat',
          'Operator',
          'Structure',
          'LineNr',
          'NonText',
          'SignColumn',
          'CursorLine',
          'CursorLineNr',
          'StatusLine',
          'StatusLineNC',
          'EndOfBuffer',
      },
      extra_groups = {
          'NormalFloat',
          'NvimTreeNormal', 
      },
  }

  transparent.clear_prefix 'NeoTree'
  end,
}
  • Os: WSL: Ubuntu 22.04 LTS
  • Terminal: Windows-Terminal
  • Neovim version: 0.9.5

you will probably notice a several lines in my scheme:

" function! <SID>SynStack()
  " echo map(synstack(line('.'),col('.')),'synIDattr(v:val, "name")')
" endfunc
" nnoremap <F8> :call <SID>SynStack()<CR>

" You can use this function to help you creating a clear issue.
" Then I can fix the problem as soon as possible.

uncomment these, then run :source %.
move your cursor to 'Tags/words' that you mentioned, call the function and it will return a list of string that tell you what are the specific type like 'xxxx', try to add:

hi xxxxx guifg= guibg= ....

in yuyuko.vim

I'm not using neovim now so propably I cannot reappearance your situation in time.
try what I've mentioned above might be of good help. :)

from yuyuko.vim.

Enonya avatar Enonya commented on August 15, 2024

image
it will like this↑

from yuyuko.vim.

d-kja avatar d-kja commented on August 15, 2024

image

I tried to repeat the steps, but I didn't manage to get anything, unfortunately.

it does work outside of React files

image

Will do some more Googling to see if I can find something based on what you have said. Anyway, thanks for taking some of your time to help!

from yuyuko.vim.

d-kja avatar d-kja commented on August 15, 2024

Welp I found the tag, I had to try a couple of times to find the correct one but I finally did. Any property prefixed TSX wasn't working as intended, but I found an old issue related to react syntax and it gave me a small clue

Solution:

  • for the folders/files: hi netrwPlain guibg=NONE and hi netrwDir guibg=NONE
  • for the tags: hi @tag guibg=NONE

welp I'm stupid... it's literally called tag 🫠

from yuyuko.vim.

Related Issues (3)

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.