Merge branch 'main' of github.com:siduck76/neovim-dots

This commit is contained in:
siduck76 2021-03-17 20:07:13 +05:30
commit b0e65ea039
3 changed files with 22 additions and 10 deletions

View file

@ -37,20 +37,21 @@ require("mappings.lua")
cmd("hi LineNr guibg=NONE") cmd("hi LineNr guibg=NONE")
cmd("hi SignColumn guibg=NONE") cmd("hi SignColumn guibg=NONE")
cmd("hi VertSplit guibg=NONE") cmd("hi VertSplit guibg=NONE")
cmd("highlight DiffAdd guifg=#81A1C1 guibg = none") cmd("hi DiffAdd guifg=#81A1C1 guibg = none")
cmd("highlight DiffChange guifg =#3A3E44 guibg = none") cmd("hi DiffChange guifg =#3A3E44 guibg = none")
cmd("highlight DiffModified guifg = #81A1C1 guibg = none") cmd("hi DiffModified guifg = #81A1C1 guibg = none")
cmd("hi EndOfBuffer guifg=#282c34") cmd("hi EndOfBuffer guifg=#282c34")
cmd("highlight TelescopeBorder guifg=#3e4451") cmd("hi TelescopeBorder guifg=#3e4451")
cmd("highlight TelescopePromptBorder guifg=#3e4451") cmd("hi TelescopePromptBorder guifg=#3e4451")
cmd("highlight TelescopeResultsBorder guifg=#3e4451") cmd("hi TelescopeResultsBorder guifg=#3e4451")
cmd("highlight TelescopePreviewBorder guifg=#525865") cmd("hi TelescopePreviewBorder guifg=#525865")
cmd("highlight PmenuSel guibg=#98c379") cmd("hi PmenuSel guibg=#98c379")
-- tree folder name , icon color -- tree folder name , icon color
cmd("highlight NvimTreeFolderIcon guifg = #61afef") cmd("hi NvimTreeFolderIcon guifg = #61afef")
cmd("highlight NvimTreeFolderName guifg = #61afef") cmd("hi NvimTreeFolderName guifg = #61afef")
cmd("hi NvimTreeIndentMarker guifg=#545862")
require("nvim-autopairs").setup() require("nvim-autopairs").setup()

View file

@ -72,4 +72,5 @@ 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)
vim.api.nvim_set_keymap("n", "<C-a>", [[ <Cmd> %y+<CR>]], opt) vim.api.nvim_set_keymap("n", "<C-a>", [[ <Cmd> %y+<CR>]], opt)

View file

@ -56,6 +56,16 @@ require "nvim-web-devicons".setup {
icon = "", icon = "",
color = "#DE6B74", color = "#DE6B74",
name = "lock" name = "lock"
},
zip = {
icon = "",
color = "#EBCB8B",
name = "zip"
},
xz = {
icon = "",
color = "#EBCB8B",
name = "xz"
} }
} }
} }