From 4fd28ae5fc5d1d4e1b1500bba03802881edb7896 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Tue, 16 Mar 2021 09:22:39 +0530 Subject: [PATCH] minor changes --- init.lua | 21 +++++++++++---------- lua/telescope-nvim/lua.lua | 1 + 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/init.lua b/init.lua index 05d783b..a6aa6e0 100644 --- a/init.lua +++ b/init.lua @@ -37,20 +37,21 @@ require("mappings.lua") cmd("hi LineNr guibg=NONE") cmd("hi SignColumn guibg=NONE") cmd("hi VertSplit guibg=NONE") -cmd("highlight DiffAdd guifg=#81A1C1 guibg = none") -cmd("highlight DiffChange guifg =#3A3E44 guibg = none") -cmd("highlight DiffModified guifg = #81A1C1 guibg = none") +cmd("hi DiffAdd guifg=#81A1C1 guibg = none") +cmd("hi DiffChange guifg =#3A3E44 guibg = none") +cmd("hi DiffModified guifg = #81A1C1 guibg = none") cmd("hi EndOfBuffer guifg=#282c34") -cmd("highlight TelescopeBorder guifg=#3e4451") -cmd("highlight TelescopePromptBorder guifg=#3e4451") -cmd("highlight TelescopeResultsBorder guifg=#3e4451") -cmd("highlight TelescopePreviewBorder guifg=#525865") -cmd("highlight PmenuSel guibg=#98c379") +cmd("hi TelescopeBorder guifg=#3e4451") +cmd("hi TelescopePromptBorder guifg=#3e4451") +cmd("hi TelescopeResultsBorder guifg=#3e4451") +cmd("hi TelescopePreviewBorder guifg=#525865") +cmd("hi PmenuSel guibg=#98c379") -- tree folder name , icon color -cmd("highlight NvimTreeFolderIcon guifg = #61afef") -cmd("highlight NvimTreeFolderName guifg = #61afef") +cmd("hi NvimTreeFolderIcon guifg = #61afef") +cmd("hi NvimTreeFolderName guifg = #61afef") +cmd("hi NvimTreeIndentMarker guifg=#545862") require("nvim-autopairs").setup() diff --git a/lua/telescope-nvim/lua.lua b/lua/telescope-nvim/lua.lua index df9dca1..00f6ae3 100644 --- a/lua/telescope-nvim/lua.lua +++ b/lua/telescope-nvim/lua.lua @@ -72,4 +72,5 @@ vim.api.nvim_set_keymap("n", "fb", [[lua require('telescope.builtin vim.api.nvim_set_keymap("n", "fh", [[lua require('telescope.builtin').help_tags()]], opt) vim.api.nvim_set_keymap("n", "fo", [[lua require('telescope.builtin').oldfiles()]], opt) vim.api.nvim_set_keymap("n", "fm", [[ Neoformat]], opt) + vim.api.nvim_set_keymap("n", "", [[ %y+]], opt)