diff --git a/lazy-lock.json b/lazy-lock.json index 850d50f..45238e3 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,4 +1,7 @@ { "gruvbox.nvim": { "branch": "main", "commit": "5e0a460d8e0f7f669c158dedd5f9ae2bcac31437" }, - "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" } + "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, + "lualine-spell-status": { "branch": "main", "commit": "aa81c2c9a71e3ed3552c6cd75e150414ff9ac664" }, + "lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" }, + "nvim-web-devicons": { "branch": "master", "commit": "6e51ca170563330e063720449c21f43e27ca0bc1" } } diff --git a/lua/plugins/spec/lualine.lua b/lua/plugins/spec/lualine.lua new file mode 100644 index 0000000..cf15e65 --- /dev/null +++ b/lua/plugins/spec/lualine.lua @@ -0,0 +1,46 @@ +return { + "nvim-lualine/lualine.nvim", + dependencies = { + { "nvim-tree/nvim-web-devicons", opt = true }, + "sherlock5512/lualine-spell-status", + }, + opts = { + options = { + theme = "auto", + component_separators = { left = "|", right = "|" }, + section_separators = { left = "", right = "" }, + disabled_filetypes = {}, + always_divide_middle = true, + globalstatus = true, + }, + sections = { + lualine_a = { + "mode", + "spell_status", + }, + lualine_b = { + "branch", + "diff", + "diagnostics", + }, + lualine_c = { + { "filename", path = 1 }, + { "filetype", icon_only = true }, + }, + lualine_x = { + "encoding", + "fileformat", + "filetype", + { require("lazy.status").updates, cond = require("lazy.status").has_updates }, + }, + lualine_y = { + "progress", + "searchcount", + }, + lualine_z = { + "location", + }, + }, + tabline = {}, + }, +}