remove plugin highlights from init.lua

This commit is contained in:
siduck76 2021-04-11 08:44:56 +05:30
parent 3aadee1106
commit b375c43dc3
5 changed files with 24 additions and 22 deletions

View File

@ -55,30 +55,14 @@ cmd "hi EndOfBuffer guifg=#1e222a"
cmd "hi PmenuSel guibg=#98c379" cmd "hi PmenuSel guibg=#98c379"
cmd "hi Pmenu guibg=#282c34" cmd "hi Pmenu guibg=#282c34"
-- telescope stuff and popupmenu
require "telescope.lua"
cmd "hi TelescopeBorder guifg=#2a2e36"
cmd "hi TelescopePromptBorder guifg=#2a2e36"
cmd "hi TelescopeResultsBorder guifg=#2a2e36"
cmd "hi TelescopePreviewBorder guifg=#525865"
-- nvim tree color for folder name and icon
require "nvimTree.lua"
cmd "hi NvimTreeFolderIcon guifg = #61afef"
cmd "hi NvimTreeFolderName guifg = #61afef"
cmd "hi NvimTreeIndentMarker guifg=#383c44"
cmd "hi Normal guibg=NONE ctermbg=NONE" cmd "hi Normal guibg=NONE ctermbg=NONE"
require "telescope.lua"
require "nvimTree.lua"
-- git signs -- git signs
require "gitsigns.lua" require "gitsigns.lua"
cmd "hi DiffAdd guifg=#81A1C1 guibg = none"
cmd "hi DiffChange guifg =#3A3E44 guibg = none"
cmd "hi DiffModified guifg = #81A1C1 guibg = none"
require("nvim-autopairs").setup() require("nvim-autopairs").setup()
require("lspkind").init( require("lspkind").init(

View File

@ -25,3 +25,9 @@ require("gitsigns").setup {
sign_priority = 5, sign_priority = 5,
status_formatter = nil -- Use default status_formatter = nil -- Use default
} }
local cmd = vim.cmd
cmd "hi DiffAdd guifg=#81A1C1 guibg = none"
cmd "hi DiffChange guifg =#3A3E44 guibg = none"
cmd "hi DiffModified guifg = #81A1C1 guibg = none"

View File

@ -15,6 +15,3 @@ map("n", "<C-x>", [[<Cmd> split term://bash | resize 10 <CR>]], opt) -- open ter
-- COPY EVERYTHING -- -- COPY EVERYTHING --
map("n", "<C-a>", [[ <Cmd> %y+<CR>]], opt) map("n", "<C-a>", [[ <Cmd> %y+<CR>]], opt)
-- toggle line number
map("n", "<S-n>", [[ <Cmd> set nu! <CR>]], opt)

View File

@ -84,3 +84,9 @@ g.nvim_tree_bindings = {
["-"] = get_lua_cb("dir_up"), ["-"] = get_lua_cb("dir_up"),
["q"] = get_lua_cb("close") ["q"] = get_lua_cb("close")
} }
local cmd = vim.cmd
cmd "hi NvimTreeFolderIcon guifg = #61afef"
cmd "hi NvimTreeFolderName guifg = #61afef"
cmd "hi NvimTreeIndentMarker guifg=#383c44"

View File

@ -73,3 +73,12 @@ vim.api.nvim_set_keymap("n", "<Leader>fb", [[<Cmd>lua require('telescope.builtin
vim.api.nvim_set_keymap("n", "<Leader>fh", [[<Cmd>lua require('telescope.builtin').help_tags()<CR>]], opt) vim.api.nvim_set_keymap("n", "<Leader>fh", [[<Cmd>lua require('telescope.builtin').help_tags()<CR>]], opt)
vim.api.nvim_set_keymap("n", "<Leader>fo", [[<Cmd>lua require('telescope.builtin').oldfiles()<CR>]], opt) vim.api.nvim_set_keymap("n", "<Leader>fo", [[<Cmd>lua require('telescope.builtin').oldfiles()<CR>]], opt)
vim.api.nvim_set_keymap("n", "<Leader>fm", [[<Cmd> Neoformat<CR>]], opt) vim.api.nvim_set_keymap("n", "<Leader>fm", [[<Cmd> Neoformat<CR>]], opt)
-- highlights
local cmd = vim.cmd
cmd "hi TelescopeBorder guifg=#2a2e36"
cmd "hi TelescopePromptBorder guifg=#2a2e36"
cmd "hi TelescopeResultsBorder guifg=#2a2e36"
cmd "hi TelescopePreviewBorder guifg=#525865"