Changed highlight colors and got rid of devicons

This commit is contained in:
Dreaded_X 2022-02-08 04:48:24 +01:00
parent 9f0048bfb2
commit 1037c5c229
Signed by: Dreaded_X
GPG Key ID: 76BDEC4E165D8AD9
3 changed files with 23 additions and 24 deletions

View File

@ -84,8 +84,8 @@ nnoremap <C-b> <cmd>Bdelete<cr>
nnoremap <F3> <cmd>TroubleToggle workspace_diagnostics<cr> nnoremap <F3> <cmd>TroubleToggle workspace_diagnostics<cr>
nnoremap <F4> <cmd>call ToggleQuickfixList()<cr> nnoremap <F4> <cmd>call ToggleQuickfixList()<cr>
nnoremap <F1> <cmd>noh<cr> nnoremap <F1> <cmd>noh<cr>
nnoremap <S-j> 10j map <S-j> 10j
nnoremap <S-k> 10k map <S-k> 10k
nnoremap <leader>ff <cmd>Telescope find_files<cr> nnoremap <leader>ff <cmd>Telescope find_files<cr>
nnoremap <leader>fg <cmd>Telescope live_grep<cr> nnoremap <leader>fg <cmd>Telescope live_grep<cr>
@ -98,5 +98,8 @@ nnoremap <leader>ll <cmd>lua vim.lsp.buf.
nnoremap <leader>lh <cmd>lua vim.lsp.buf.hover()<cr> nnoremap <leader>lh <cmd>lua vim.lsp.buf.hover()<cr>
nnoremap <leader>lf <cmd>lua vim.lsp.buf.formatting()<cr> nnoremap <leader>lf <cmd>lua vim.lsp.buf.formatting()<cr>
highlight! CmpItemAbbrMatch ctermfg=cyan highlight! CmpItemAbbrMatch ctermfg=Cyan
highlight! CmpItemAbbrMatchFuzzy ctermfg=cyan highlight! CmpItemAbbrMatchFuzzy ctermfg=Cyan
highlight! NvimTreeFolderName ctermfg=Blue
highlight! NvimTreeOpenedFolderName ctermfg=Blue cterm=bold
highlight! NvimTreeEmptyFolderName ctermfg=Blue

View File

@ -17,7 +17,6 @@ require('packer').startup(function()
use { use {
'kyazdani42/nvim-tree.lua', 'kyazdani42/nvim-tree.lua',
requires = { requires = {
'kyazdani42/nvim-web-devicons', -- optional, for file icon
}, },
config = function() require'nvim-tree'.setup { config = function() require'nvim-tree'.setup {
auto_close = true, auto_close = true,
@ -45,7 +44,6 @@ require('packer').startup(function()
use 'ray-x/lsp_signature.nvim' use 'ray-x/lsp_signature.nvim'
use { use {
"folke/trouble.nvim", "folke/trouble.nvim",
requires = "kyazdani42/nvim-web-devicons",
config = function() config = function()
require("trouble").setup { require("trouble").setup {
signs = { signs = {
@ -76,15 +74,17 @@ vim.api.nvim_set_keymap('n', 'k', "v:count == 0 ? 'gk' : 'k'", { noremap = true,
vim.api.nvim_set_keymap('n', 'j', "v:count == 0 ? 'gj' : 'j'", { noremap = true, expr = true, silent = true }) vim.api.nvim_set_keymap('n', 'j', "v:count == 0 ? 'gj' : 'j'", { noremap = true, expr = true, silent = true })
require('telescope').setup { require('telescope').setup {
extensions = { defaults = {
fzf = { },
fuzzy = true, -- false will only do exact matching extensions = {
override_generic_sorter = true, -- override the generic sorter fzf = {
override_file_sorter = true, -- override the file sorter fuzzy = true, -- false will only do exact matching
case_mode = "smart_case", -- or "ignore_case" or "respect_case" override_generic_sorter = true, -- override the generic sorter
-- the default case_mode is "smart_case" override_file_sorter = true, -- override the file sorter
} case_mode = "smart_case", -- or "ignore_case" or "respect_case"
} -- the default case_mode is "smart_case"
}
}
} }
-- To get fzf loaded and working with telescope, you need to call -- To get fzf loaded and working with telescope, you need to call
-- load_extension, somewhere after setup function: -- load_extension, somewhere after setup function:
@ -249,6 +249,7 @@ cmp.setup {
formatting = { formatting = {
format = lspkind.cmp_format({ format = lspkind.cmp_format({
with_text = true, with_text = true,
mode = "text",
menu = ({ menu = ({
buffer = "[Buffer]", buffer = "[Buffer]",
nvim_lsp = "[LSP]", nvim_lsp = "[LSP]",

View File

@ -155,11 +155,6 @@ _G.packer_plugins = {
path = "/home/tim/.local/share/nvim/site/pack/packer/start/nvim-ts-context-commentstring", path = "/home/tim/.local/share/nvim/site/pack/packer/start/nvim-ts-context-commentstring",
url = "https://github.com/JoosepAlviste/nvim-ts-context-commentstring" url = "https://github.com/JoosepAlviste/nvim-ts-context-commentstring"
}, },
["nvim-web-devicons"] = {
loaded = true,
path = "/home/tim/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
url = "https://github.com/kyazdani42/nvim-web-devicons"
},
["packer.nvim"] = { ["packer.nvim"] = {
loaded = true, loaded = true,
path = "/home/tim/.local/share/nvim/site/pack/packer/start/packer.nvim", path = "/home/tim/.local/share/nvim/site/pack/packer/start/packer.nvim",
@ -244,14 +239,14 @@ _G.packer_plugins = {
} }
time([[Defining packer_plugins]], false) time([[Defining packer_plugins]], false)
-- Config for: nvim-tree.lua
time([[Config for nvim-tree.lua]], true)
try_loadstring("\27LJ\1\2J\0\0\2\0\4\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0>\0\2\1G\0\1\0\1\0\1\15auto_close\2\nsetup\14nvim-tree\frequire\0", "config", "nvim-tree.lua")
time([[Config for nvim-tree.lua]], false)
-- Config for: trouble.nvim -- Config for: trouble.nvim
time([[Config for trouble.nvim]], true) time([[Config for trouble.nvim]], true)
try_loadstring("\27LJ\1\2<EFBFBD>\1\0\0\3\0\6\0\t4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\4\0003\2\3\0:\2\5\1>\0\2\1G\0\1\0\nsigns\1\0\0\1\0\4\16information\tinfo\thint\thint\fwarning\twarn\nerror\nerror\nsetup\ftrouble\frequire\0", "config", "trouble.nvim") try_loadstring("\27LJ\1\2<EFBFBD>\1\0\0\3\0\6\0\t4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\4\0003\2\3\0:\2\5\1>\0\2\1G\0\1\0\nsigns\1\0\0\1\0\4\16information\tinfo\thint\thint\fwarning\twarn\nerror\nerror\nsetup\ftrouble\frequire\0", "config", "trouble.nvim")
time([[Config for trouble.nvim]], false) time([[Config for trouble.nvim]], false)
-- Config for: nvim-tree.lua
time([[Config for nvim-tree.lua]], true)
try_loadstring("\27LJ\1\2J\0\0\2\0\4\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0>\0\2\1G\0\1\0\1\0\1\15auto_close\2\nsetup\14nvim-tree\frequire\0", "config", "nvim-tree.lua")
time([[Config for nvim-tree.lua]], false)
if should_profile then save_profiles() end if should_profile then save_profiles() end
end) end)