change lualine config
This commit is contained in:
parent
0b1fe90ab8
commit
16de1cc410
2 changed files with 11 additions and 13 deletions
|
|
@ -11,7 +11,9 @@
|
||||||
./keymaps.nix
|
./keymaps.nix
|
||||||
];
|
];
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
nixpkgs.config.allowUnfree = true;
|
defaultEditor = true;
|
||||||
|
waylandSupport = true;
|
||||||
|
nixpkgs.useGlobalPackages = true;
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfigLuaPost = ''
|
extraConfigLuaPost = ''
|
||||||
local map = vim.keymap.set
|
local map = vim.keymap.set
|
||||||
|
|
@ -31,7 +33,6 @@
|
||||||
nixfmt
|
nixfmt
|
||||||
];
|
];
|
||||||
lsp = {
|
lsp = {
|
||||||
inlayHints.enable = true;
|
|
||||||
servers = {
|
servers = {
|
||||||
clangd.enable = true;
|
clangd.enable = true;
|
||||||
qmlls.enable = true;
|
qmlls.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -5,28 +5,27 @@
|
||||||
extensions = [ "toggleterm" ];
|
extensions = [ "toggleterm" ];
|
||||||
options = {
|
options = {
|
||||||
section_separators = {
|
section_separators = {
|
||||||
left = "▎";
|
|
||||||
right = "▕";
|
|
||||||
};
|
|
||||||
component_separators = {
|
|
||||||
left = "";
|
left = "";
|
||||||
right = "";
|
right = "";
|
||||||
};
|
};
|
||||||
|
component_separators = {
|
||||||
|
left = "::";
|
||||||
|
right = "::";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
inactive_sections = {
|
inactive_sections = {
|
||||||
lualine_a = [
|
lualine_a = [
|
||||||
"mode"
|
"mode"
|
||||||
];
|
];
|
||||||
lualine_b = [
|
lualine_b = [ "" ];
|
||||||
"filename"
|
|
||||||
];
|
|
||||||
lualine_c = [
|
lualine_c = [
|
||||||
|
"filename"
|
||||||
"diagnostics"
|
"diagnostics"
|
||||||
];
|
];
|
||||||
lualine_x = [
|
lualine_x = [
|
||||||
"lsp_status"
|
"lsp_status"
|
||||||
];
|
];
|
||||||
lualine_y = [ ];
|
lualine_y = [ "" ];
|
||||||
lualine_z = [
|
lualine_z = [
|
||||||
"location"
|
"location"
|
||||||
];
|
];
|
||||||
|
|
@ -35,10 +34,8 @@
|
||||||
lualine_a = [
|
lualine_a = [
|
||||||
"mode"
|
"mode"
|
||||||
];
|
];
|
||||||
lualine_b = [
|
|
||||||
"filetype"
|
|
||||||
];
|
|
||||||
lualine_c = [
|
lualine_c = [
|
||||||
|
"filename"
|
||||||
"diagnostics"
|
"diagnostics"
|
||||||
];
|
];
|
||||||
lualine_x = [
|
lualine_x = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue