From 88ea8b767aa2a82c65c6fd96e612b3c6a82b428f Mon Sep 17 00:00:00 2001 From: JimKarpodinis Date: Fri, 5 Aug 2022 08:42:25 +0300 Subject: [PATCH] change colorscheme and highlight method --- lua/user/colorscheme.lua | 2 +- lua/user/lsp/handlers.lua | 3 --- lua/user/plugins.lua | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lua/user/colorscheme.lua b/lua/user/colorscheme.lua index 51e3fef..f6d1fb7 100644 --- a/lua/user/colorscheme.lua +++ b/lua/user/colorscheme.lua @@ -1,6 +1,6 @@ vim.cmd [[ try - colorscheme delek + colorscheme nightfox catch /^Vim\%((\a\+)\)\=:E185/ colorscheme default set background=dark diff --git a/lua/user/lsp/handlers.lua b/lua/user/lsp/handlers.lua index f299094..4abeef9 100644 --- a/lua/user/lsp/handlers.lua +++ b/lua/user/lsp/handlers.lua @@ -82,9 +82,6 @@ local function lsp_keymaps(bufnr) vim.api.nvim_buf_set_keymap(bufnr, "n", "]d", 'lua vim.diagnostic.goto_next({ border = "rounded" })', opts) vim.api.nvim_buf_set_keymap(bufnr, "n", "q", "lua vim.diagnostic.setloclist()", opts) vim.cmd [[ command! Format execute 'lua vim.lsp.buf.formatting()' ]] - vim.cmd [[ hi LspReferenceText cterm=bold gui=bold ]] - vim.cmd [[ hi LspReferenceRead cterm=bold gui=bold ]] - vim.cmd [[ hi LspReferenceWrite cterm=bold gui=bold ]] end M.on_attach = function(client, bufnr) diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index 532a556..5f3202f 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -48,7 +48,7 @@ return packer.startup(function(use) -- Colorschemes -- use "lunarvim/colorschemes" -- A bunch of colorschemes you can try out use "lunarvim/darkplus.nvim" - + use "EdenEast/nightfox.nvim" -- cmp plugins use "hrsh7th/nvim-cmp" -- The completion plugin use "hrsh7th/cmp-buffer" -- buffer completions