mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
Merge commit 'f4858d42a8' as 'config/nvim'
This commit is contained in:
commit
a6d1f45fd6
36 changed files with 906 additions and 0 deletions
22
config/nvim/lua/plugin/statusline.lua
Normal file
22
config/nvim/lua/plugin/statusline.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
require("lualine").setup {
|
||||
options = {
|
||||
theme = "codedark",
|
||||
component_separators = { "", "" },
|
||||
section_separators = { "", "" },
|
||||
disabled_filetypes = { "NvimTree", "Telescope" },
|
||||
},
|
||||
sections = {
|
||||
lualine_a = { "branch", "diff" },
|
||||
lualine_b = { "filename" },
|
||||
lualine_c = {},
|
||||
lualine_x = {},
|
||||
lualine_y = { { "diagnostics", sources = { "nvim_lsp" } } },
|
||||
lualine_z = { "location" },
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue