This commit is contained in:
Adrian Bakke 2024-07-05 11:22:18 +02:00
parent f225b78889
commit 909b3864dc
1 changed files with 6 additions and 3 deletions

View File

@ -500,7 +500,7 @@ require('lazy').setup({
-- Execute a code action, usually your cursor needs to be on top of an error
-- or a suggestion from your LSP for this to activate.
map('<leader>ca', vim.lsp.buf.code_action, '[C]ode [A]ction')
map('<C-Space>', vim.lsp.buf.code_action, '[C]ode [A]ction')
-- Opens a popup that displays documentation about the word under your cursor
-- See `:help K` for why this keymap.
@ -783,12 +783,13 @@ require('lazy').setup({
--
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
'folke/tokyonight.nvim',
--'Mofiqul/vscode.nvim',
priority = 1000, -- Make sure to load this before all the other start plugins.
init = function()
-- Load the colorscheme here.
-- Like many other themes, this one has different styles, and you could load
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
vim.cmd.colorscheme 'default'
vim.cmd.colorscheme 'tokyonight-night'
-- You can configure highlights by doing something like:
--vim.cmd.hi 'Comment gui=none'
@ -814,7 +815,7 @@ require('lazy').setup({
-- - saiw) - [S]urround [A]dd [I]nner [W]ord [)]Paren
-- - sd' - [S]urround [D]elete [']quotes
-- - sr)' - [S]urround [R]eplace [)] [']
require('mini.surround').setup()
-- require('mini.surround').setup()
-- Simple and easy statusline.
-- You could remove this setup call if you don't like it,
@ -882,6 +883,8 @@ require('lazy').setup({
-- require 'kickstart.plugins.lint',
-- require 'kickstart.plugins.autopairs',
require 'kickstart.plugins.neo-tree',
-- vim.keymap.set('n', '<C-b>', ':Neotree toggle<CR>', { noremap = true, silent = true, desc = 'Toggle Neo-tree' }),
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`