From 1e8fe87d57674f4f92deae89fa1a8fff5baf2988 Mon Sep 17 00:00:00 2001 From: tiago Date: Sun, 24 Sep 2023 16:01:00 +0100 Subject: [PATCH] nvim fix icons --- .config/fish/config.fish | 1 + .config/fish/fish_variables | 2 +- .config/nvim/after/plugin/cmp.lua | 32 ++++++++++++------------- .config/nvim/plugin/packer_compiled.lua | 4 ++-- 4 files changed, 19 insertions(+), 20 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 5fef7f7..6b63958 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -16,6 +16,7 @@ export MANPAGER="sh -c 'col -bx | bat -l man -p'" set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /home/tsousa/.ghcup/bin $PATH # ghcup-env fish_add_path $HOME/.local/share/nvim/mason/bin/ fish_add_path $HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin +fish_add_path $HOME/.cargo/bin/ starship init fish | source diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 7a02493..5816dc5 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -40,4 +40,4 @@ SETUVAR fish_pager_color_selected_background:\x1d SETUVAR fish_pager_color_selected_completion:\x1d SETUVAR fish_pager_color_selected_description:\x1d SETUVAR fish_pager_color_selected_prefix:\x1d -SETUVAR fish_user_paths:/home/tsousa/\x2elocal/share/nvim/mason/bin\x1e/home/tsousa/\x2erustup/toolchains/nightly\x2dx86_64\x2dunknown\x2dlinux\x2dgnu/bin +SETUVAR fish_user_paths:/home/tsousa/\x2ecargo/bin\x1e/home/tsousa/\x2elocal/share/nvim/mason/bin\x1e/home/tsousa/\x2erustup/toolchains/nightly\x2dx86_64\x2dunknown\x2dlinux\x2dgnu/bin diff --git a/.config/nvim/after/plugin/cmp.lua b/.config/nvim/after/plugin/cmp.lua index 115991c..5a63acb 100644 --- a/.config/nvim/after/plugin/cmp.lua +++ b/.config/nvim/after/plugin/cmp.lua @@ -15,33 +15,33 @@ local check_backspace = function() return col == 0 or vim.fn.getline("."):sub(col, col):match "%s" end ---   פּ ﯟ   some other good icons +-- 󰃐 󰆩 󰙅 󰛡  󰅲 some other good icons local kind_icons = { - Text = "", + Text = "󰉿", Method = "m", - Function = "", + Function = "󰊕", Constructor = "", Field = "", - Variable = "", - Class = "", + Variable = "󰆧", + Class = "󰌗", Interface = "", Module = "", Property = "", Unit = "", - Value = "", + Value = "󰎠", Enum = "", - Keyword = "", + Keyword = "󰌋", Snippet = "", - Color = "", - File = "", + Color = "󰏘", + File = "󰈙", Reference = "", - Folder = "", + Folder = "󰉋", EnumMember = "", - Constant = "", + Constant = "󰇽", Struct = "", Event = "", - Operator = "", - TypeParameter = "", + Operator = "󰆕", + TypeParameter = "󰊄", } -- find more here: https://www.nerdfonts.com/cheat-sheet @@ -153,14 +153,12 @@ cmp.setup { { name = 'nvim_lua' }, { name = 'luasnip' }, { name = 'nvim_lsp_signature_help' }, - { name = "path" }, + { name = 'path' }, + { name = 'orgmode' } }, { --This sources will only show up if there aren't any sources from the other list { name = "buffer", keyword_length = 5 }, - }, - { - { name = "orgmode" } } ), confirm_opts = { diff --git a/.config/nvim/plugin/packer_compiled.lua b/.config/nvim/plugin/packer_compiled.lua index 5e86f77..03a4969 100644 --- a/.config/nvim/plugin/packer_compiled.lua +++ b/.config/nvim/plugin/packer_compiled.lua @@ -49,8 +49,8 @@ local function save_profiles(threshold) end time([[Luarocks path setup]], true) -local package_path_str = "/home/tsousa/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/home/tsousa/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" +local package_path_str = "/home/tsousa/.cache/nvim/packer_hererocks/2.1.1694285958/share/lua/5.1/?.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.1694285958/share/lua/5.1/?/init.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.1694285958/lib/luarocks/rocks-5.1/?.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.1694285958/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/tsousa/.cache/nvim/packer_hererocks/2.1.1694285958/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end