Compare commits

...

4 Commits

Author SHA1 Message Date
012caa5c90
refactor(waybar): improve wifi formatting of icons
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 33s
2024-11-03 22:38:36 -06:00
692912782d
fix(nvim): correctly disable headlines.nvim in markdown files 2024-11-03 22:38:26 -06:00
530351d083
refactor(nvim): replace typst lsp with tinymist 2024-11-03 22:38:14 -06:00
88d4b13f91
refactor(nvim): more aggressively shorten fname in winbar 2024-11-03 22:37:59 -06:00
4 changed files with 11 additions and 7 deletions

View File

@ -23,7 +23,10 @@ return {
}
local headlines = require("headlines")
headlines.setup({
markdown = false,
markdown = {
bullets = false,
query = false,
},
rmd = {
bullets = bullets,
bullet_highlights = bullet_highlights,

View File

@ -208,7 +208,7 @@ return {
else
---@diagnostic disable-next-line: cast-local-type
filename = vim.fn.fnamemodify(self.filename, ":~:.")
if not conditions.width_percent_below(#filename, 0.5, true) then
if not conditions.width_percent_below(#filename, 0.3, true) then
filename = vim.fn.pathshorten(filename)
end
end

View File

@ -526,9 +526,10 @@ return {
},
})
lspconfig.typst_lsp.setup({
lspconfig.tinymist.setup({
settings = {
exportPdf = "onType",
formatterMode = "typstyle",
},
})

View File

@ -122,9 +122,9 @@
"format-disabled": "󰀝 Wireless Networking Disabled",
"tooltip-format": "{ifname}: {ipaddr}/{cidr} 󰌹 {gwaddr}",
"format-icons": {
"ethernet": "󰈀",
"disconnected": "",
"wifi": ""
"ethernet": "󰈀 ",
"disconnected": " ",
"wifi": " "
},
"tooltip": true,
"max-length": 60,
@ -237,4 +237,4 @@
"icon-size": 14
}
}
]
]