nvim: lualine fancy plugin
This commit is contained in:
parent
39e9b52938
commit
4bdfa8f7bb
@ -12,6 +12,16 @@
|
||||
pkgs.vimPlugins.polyglot
|
||||
pkgs.vimPlugins.sonokai
|
||||
pkgs.vimPlugins.vim-better-whitespace
|
||||
(pkgs.vimUtils.buildVimPlugin {
|
||||
pname = "lualine-so-fancy.nvim";
|
||||
version = "HEAD";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "meuter";
|
||||
repo = "lualine-so-fancy.nvim";
|
||||
rev = "45197358e5274d301d98638bf079f3437d6eacf8";
|
||||
sha256 = "sha256-j6XI4cw1ouYEvSiKdam8RAqxefDqeLwe37Qir/UO+8g=";
|
||||
};
|
||||
})
|
||||
];
|
||||
globals = {
|
||||
mapleader = ",";
|
||||
@ -84,6 +94,14 @@
|
||||
lsp-lines.enable = true; # Display LSP hints in lines
|
||||
lsp-signature.enable = true; # Show function signature when typing
|
||||
lualine.enable = true; # Status line
|
||||
lualine.settings.sections = {
|
||||
lualine_a = [ "fancy_mode" ];
|
||||
lualine_b = [ "fancy_branch" "fancy_diff" ];
|
||||
lualine_c = [ "fancy_cwd" ];
|
||||
lualine_x = [ "fancy_diagnostics" "fancy_searchcount" "fancy_location" ];
|
||||
lualine_y = [ "fancy_filetype" ];
|
||||
lualine_z = [ "fancy_lsp_servers" ];
|
||||
};
|
||||
render-markdown.enable = true;
|
||||
treesitter.enable = true;
|
||||
web-devicons.enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user