first commit
This commit is contained in:
commit
15e643aa8e
41 changed files with 1623 additions and 0 deletions
36
lua/plugins/lualine-nvim.lua
Normal file
36
lua/plugins/lualine-nvim.lua
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
-- Status line
|
||||
return {
|
||||
-- https://github.com/nvim-lualine/lualine.nvim
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = {
|
||||
-- https://github.com/nvim-tree/nvim-web-devicons
|
||||
'nvim-tree/nvim-web-devicons', -- fancy icons
|
||||
-- https://github.com/linrongbin16/lsp-progress.nvim
|
||||
'linrongbin16/lsp-progress.nvim', -- LSP loading progress
|
||||
},
|
||||
opts = {
|
||||
options = {
|
||||
-- For more themes, see https://github.com/nvim-lualine/lualine.nvim/blob/master/THEMES.md
|
||||
theme = "codedark", -- "auto, tokyonight, catppuccin, codedark, nord"
|
||||
},
|
||||
sections = {
|
||||
lualine_c = {
|
||||
{
|
||||
-- Customize the filename part of lualine to be parent/filename
|
||||
'filename',
|
||||
file_status = true, -- Displays file status (readonly status, modified status)
|
||||
newfile_status = false, -- Display new file status (new file means no write after created)
|
||||
path = 4, -- 0: Just the filename
|
||||
-- 1: Relative path
|
||||
-- 2: Absolute path
|
||||
-- 3: Absolute path, with tilde as the home directory
|
||||
-- 4: Filename and parent dir, with tilde as the home directory
|
||||
symbols = {
|
||||
modified = '[+]', -- Text to show when the file is modified.
|
||||
readonly = '[-]', -- Text to show when the file is non-modifiable or readonly.
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue