Squashed 'config/nvim/' content from commit 0bd687c

git-subtree-dir: config/nvim
git-subtree-split: 0bd687c8b69605fa1c7c88222354158b1c2de2f8
This commit is contained in:
neoteny 2021-11-28 22:27:34 +02:00
commit f4858d42a8
36 changed files with 906 additions and 0 deletions

22
lua/plugin/statusline.lua Normal file
View 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