1
Fork 0

feat: working devicons and stuff

This commit is contained in:
Matei Adriel 2022-02-07 13:27:36 +02:00
parent 1b15804fea
commit 0de4c4c3be
4 changed files with 8 additions and 8 deletions

View file

@ -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, "<cmd>lua require('telescope.builtint')." .. action .. "()<CR>")
mapSilent('n', keybind, "<cmd>lua require('telescope.builtin')." .. action .. "()<CR>")
end
require("telescope").setup {defaults = {mappings = {i = {["<C-h>"] = "which-key"}}}}
require("telescope").setup {defaults = {mappings = {i = {["<C-h>"] = "which_key"}}}}
end
return M

View file

@ -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";
};
};
}

View file

@ -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?
];
};
}

View file

@ -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
];