Giter Site home page Giter Site logo

Comments (7)

shadmansaleh avatar shadmansaleh commented on July 3, 2024 1

@hoob3rt remove line (64-67) and (69-71)
And change this line to

separator = highlight_name .. (separator or '')

This should most likely fix this issue without causing any new . I can't create a pr now so see if it solves it .
Or @1bharat you can see if making these changes solve the issue if it does you can create a pull request with the changes to fix it :)

from lualine.nvim.

hoob3rt avatar hoob3rt commented on July 3, 2024 1

@1bharat thank you for reporting and @shadmansaleh thank you for providing a possible fix. I will take a look into it as soon as I can. It is probably also related to another bug I experienced a few days ago and started working on. Will link a pr when it's up

from lualine.nvim.

hoob3rt avatar hoob3rt commented on July 3, 2024

This will probably take a while but I will try to setup proper tests in lualine through busted in #127. This bug annoys me as well so I might push a quickfix directly to master after I find the cause 😄

from lualine.nvim.

shadmansaleh avatar shadmansaleh commented on July 3, 2024

@hoob3rt could you reproduce this one ? I thought it was because component separators were disabled . But I can't get it to occur on my device .

@1bharat can you provide your entire lualine config ?

from lualine.nvim.

zenobht avatar zenobht commented on July 3, 2024

@hoob3rt below is the config.

getLualineTheme() is just a function that returns the colour config found in the theme files of lualine.

  use {
    'hoob3rt/lualine.nvim',
    config = function()
      local lualine = require('lualine')
      lualine.options.theme = require('helpers').getLualineTheme()
      lualine.options.icons_enabled = false
      lualine.options.section_separators = nil
      lualine.options.component_separators = nil
      lualine.separator = '|'
      lualine.sections = {
        lualine_a = { 'mode' },
        lualine_b = { 'branch' },
        lualine_c = { 'filename', 'diff', 'g:coc_status' },
        lualine_x = { 'encoding', 'fileformat', 'filetype' },
        lualine_y = { 'progress' },
        lualine_z = { 'location' },
      }
      lualine.inactive_sections = {
        lualine_a = {  },
        lualine_b = { 'branch' },
        lualine_c = { 'filename' },
        lualine_x = {  },
        lualine_y = {  },
        lualine_z = { 'location' }
      }
      lualine.extensions = { 'fzf' }
      lualine.status()
    end
  }

from lualine.nvim.

shadmansaleh avatar shadmansaleh commented on July 3, 2024

@1bharat can you checkout if #128 fixes the issue for you ?

from lualine.nvim.

zenobht avatar zenobht commented on July 3, 2024

@shadmansaleh thanks. I checked out your commit and test it. It seems to have fixed it.

image

from lualine.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.