diff --git a/nixos/nixvim/nixvim.nix b/nixos/nixvim/nixvim.nix index c0a008f..c73c708 100644 --- a/nixos/nixvim/nixvim.nix +++ b/nixos/nixvim/nixvim.nix @@ -11,7 +11,9 @@ ./keymaps.nix ]; programs.nixvim = { - nixpkgs.config.allowUnfree = true; + defaultEditor = true; + waylandSupport = true; + nixpkgs.useGlobalPackages = true; enable = true; extraConfigLuaPost = '' local map = vim.keymap.set @@ -31,7 +33,6 @@ nixfmt ]; lsp = { - inlayHints.enable = true; servers = { clangd.enable = true; qmlls.enable = true; diff --git a/nixos/nixvim/plugins/lualine.nix b/nixos/nixvim/plugins/lualine.nix index 3155473..11cd6bd 100644 --- a/nixos/nixvim/plugins/lualine.nix +++ b/nixos/nixvim/plugins/lualine.nix @@ -5,28 +5,27 @@ extensions = [ "toggleterm" ]; options = { section_separators = { - left = "▎"; - right = "▕"; - }; - component_separators = { left = ""; right = ""; }; + component_separators = { + left = "::"; + right = "::"; + }; }; inactive_sections = { lualine_a = [ "mode" ]; - lualine_b = [ - "filename" - ]; + lualine_b = [ "" ]; lualine_c = [ + "filename" "diagnostics" ]; lualine_x = [ "lsp_status" ]; - lualine_y = [ ]; + lualine_y = [ "" ]; lualine_z = [ "location" ]; @@ -35,10 +34,8 @@ lualine_a = [ "mode" ]; - lualine_b = [ - "filetype" - ]; lualine_c = [ + "filename" "diagnostics" ]; lualine_x = [