nvim-lualine / lualine.nvim

A blazing fast and easy to configure neovim statusline plugin written in pure lua.
MIT License
5.89k stars 459 forks source link

How does one hide the platform icon (Windows/Linux/Mac) on the right? #984

Closed caldwell-63 closed 1 year ago

caldwell-63 commented 1 year ago

I use default sections:

  sections = {
    lualine_a = { 'mode' },
    lualine_b = { 'branch', 'diff', 'diagnostics' },
    lualine_c = { 'filename' },
    lualine_x = { 'encoding', 'fileformat', 'filetype' },
    lualine_y = { 'progress' },
    lualine_z = { 'location' }
  },

I read about components but there's nothing about "platform", is this like a built-in?

shadmansaleh commented 1 year ago

It's not platform icon. It's showing the fileformat. remove that component from your config and you won't get it.