change colorscheme and highlight method

pull/208/head
JimKarpodinis 2 years ago
parent ad67c6b9dc
commit 88ea8b767a

@ -1,6 +1,6 @@
vim.cmd [[ vim.cmd [[
try try
colorscheme delek colorscheme nightfox
catch /^Vim\%((\a\+)\)\=:E185/ catch /^Vim\%((\a\+)\)\=:E185/
colorscheme default colorscheme default
set background=dark set background=dark

@ -82,9 +82,6 @@ local function lsp_keymaps(bufnr)
vim.api.nvim_buf_set_keymap(bufnr, "n", "]d", '<cmd>lua vim.diagnostic.goto_next({ border = "rounded" })<CR>', opts) vim.api.nvim_buf_set_keymap(bufnr, "n", "]d", '<cmd>lua vim.diagnostic.goto_next({ border = "rounded" })<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>q", "<cmd>lua vim.diagnostic.setloclist()<CR>", opts) vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>q", "<cmd>lua vim.diagnostic.setloclist()<CR>", opts)
vim.cmd [[ command! Format execute 'lua vim.lsp.buf.formatting()' ]] 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 end
M.on_attach = function(client, bufnr) M.on_attach = function(client, bufnr)

@ -48,7 +48,7 @@ return packer.startup(function(use)
-- Colorschemes -- Colorschemes
-- use "lunarvim/colorschemes" -- A bunch of colorschemes you can try out -- use "lunarvim/colorschemes" -- A bunch of colorschemes you can try out
use "lunarvim/darkplus.nvim" use "lunarvim/darkplus.nvim"
use "EdenEast/nightfox.nvim"
-- cmp plugins -- cmp plugins
use "hrsh7th/nvim-cmp" -- The completion plugin use "hrsh7th/nvim-cmp" -- The completion plugin
use "hrsh7th/cmp-buffer" -- buffer completions use "hrsh7th/cmp-buffer" -- buffer completions

Loading…
Cancel
Save