Skip to content

Commit

Permalink
Merge pull request #322 from izumin5210/izumin5210/show-fileicon-on-l…
Browse files Browse the repository at this point in the history
…ualine

chore(neovim): show file type icon on lualine
  • Loading branch information
izumin5210 authored Apr 7, 2024
2 parents 3bd003e + 7252d58 commit 3c09ead
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/.config/nvim/lua/pluginconfig/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ function M.setup()
options = {
icons_enabled = true,
theme = 'catppuccin',
component_separators = '',
},
sections = {
lualine_a = { 'mode' },
Expand All @@ -23,8 +24,9 @@ function M.setup()
cond = require('pluginconfig.dap').is_loaded,
color = { fg = palette.teal }
},
'filename',
{ 'aerial', sep = '', dence = true }, -- the same as copmonent separator
{ 'filetype', icon_only = true, separator = '', padding = { left = 1, right = 0 } },
{ 'filename', padding = { left = 0, right = 1 } },
{ 'aerial', dence = true }, -- the same as copmonent separator
},
lualine_x = { 'encoding' },
lualine_y = { 'progress' },
Expand Down

0 comments on commit 3c09ead

Please sign in to comment.