🪴 my neovim config:)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lylla: fix components

robin 27f441e4 244535bf

+10 -2
+10 -2
config/config/lylla.lua
··· 53 53 end) 54 54 55 55 local H = require("lylla.tabline") 56 + local components = require("lylla.components") 56 57 local lylla = require("lylla") 57 58 58 59 lylla.setup({ ··· 86 87 utils.getfilepath(), 87 88 utils.getfilename(), 88 89 { " " }, 89 - "%h%w%m%r", 90 + { "%h%w%m%r", "StatusLine" }, 90 91 { section = false }, 91 92 { sl_right_sep, sections.b_rev }, 92 93 } ··· 117 118 }), 118 119 { " " }, 119 120 lylla.component(function() 121 + local clients = components.lsp_clients({ 122 + filter = function(c) 123 + return vim.iter(ipairs(c.config.filetypes)):any(function(_, ft) 124 + return ft == vim.bo.filetype 125 + end) 126 + end, 127 + }) 120 128 return { 121 - { { "lsp :: " }, { utils.get_client() or "none" } }, 129 + { { "lsp :: " }, { clients or "none" } }, 122 130 { " | ", "NonText" }, 123 131 { { "fmt :: " }, { get_fmt() or "none" } }, 124 132 { " | ", "NonText" },