1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-04 09:59:25 +00:00

[neovim] Minimal refactor

This commit is contained in:
2024-02-16 16:37:22 +01:00
parent d1c002183f
commit 5d6b68c0bd
9 changed files with 70 additions and 44 deletions

View File

@ -54,7 +54,7 @@ local get_filetype = function()
if ft == "yaml" then
local schema = require("yaml-companion").get_buf_schema(0)
if schema.result[1].name == "none" then
if not schema or not schema.result or not schema.result[1].name then
return ft
end
@ -98,7 +98,20 @@ require("lualine").setup({
return true
end,
},
"copilot",
{
"copilot",
symbols = {
status = {
icons = {
enabled = "",
sleep = "",
disabled = "",
warning = "",
unknown = "",
},
},
},
},
lsp_progress,
{
require("noice").api.status.search.get,