From 0de4c4c3be11c812cd3da8d086d83e6712756181 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Mon, 7 Feb 2022 13:27:36 +0200 Subject: [PATCH] feat: working devicons and stuff --- dotfiles/neovim/lua/my/plugins/telescope.lua | 4 ++-- modules/applications/alacritty.nix | 2 +- modules/applications/neovim.nix | 4 ++-- modules/theme/fonts.nix | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dotfiles/neovim/lua/my/plugins/telescope.lua b/dotfiles/neovim/lua/my/plugins/telescope.lua index 6ea6859..3c23125 100644 --- a/dotfiles/neovim/lua/my/plugins/telescope.lua +++ b/dotfiles/neovim/lua/my/plugins/telescope.lua @@ -26,10 +26,10 @@ local bindings = { function M.setup() for action, keybind in pairs(bindings) do -- Maps the keybind to the action - mapSilent('n', keybind, "lua require('telescope.builtint')." .. action .. "()") + mapSilent('n', keybind, "lua require('telescope.builtin')." .. action .. "()") end - require("telescope").setup {defaults = {mappings = {i = {[""] = "which-key"}}}} + require("telescope").setup {defaults = {mappings = {i = {[""] = "which_key"}}}} end return M diff --git a/modules/applications/alacritty.nix b/modules/applications/alacritty.nix index 1b9e798..29dc4a0 100644 --- a/modules/applications/alacritty.nix +++ b/modules/applications/alacritty.nix @@ -24,7 +24,7 @@ in # transparent bg:) # background_opacity = 0.6; - fonts.normal.family = "Source Code Pro"; + fonts.normal.family = "Nerd Font Source Code Pro"; }; }; } diff --git a/modules/applications/neovim.nix b/modules/applications/neovim.nix index d2a890c..b3438c8 100644 --- a/modules/applications/neovim.nix +++ b/modules/applications/neovim.nix @@ -5,8 +5,7 @@ let name = "config-nvim"; src = ../../dotfiles/neovim; }; -in -{ +in { home-manager.users.adrielus.programs.neovim = { enable = true; package = pkgs.neovim-nightly; @@ -45,6 +44,7 @@ in nvim-treesitter # use treesitter for syntax highlighting startup-nvim # splash screen vim-devicons # nice looking icons + plenary-nvim # async utility lib it seems? ]; }; } diff --git a/modules/theme/fonts.nix b/modules/theme/fonts.nix index 9b2d080..9025719 100644 --- a/modules/theme/fonts.nix +++ b/modules/theme/fonts.nix @@ -10,9 +10,9 @@ in fonts.fontconfig.enable = true; home.packages = with pkgs; [ - # fira-code - # fira-code-symbols - # source-code-pro + fira-code + fira-code-symbols + source-code-pro corefonts nerdfonts ];