vim: disable lazy loading, remove yaml stuff, add new plugins

This commit is contained in:
fanyx 2024-04-17 15:31:27 +02:00
parent 68b46c4db8
commit 21479030d5
7 changed files with 16 additions and 10 deletions

View File

@ -15,7 +15,7 @@ vim.opt.rtp:prepend(lazypath)
vim.g.mapleader = " "
require("lazy").setup("plugins", {
defaults = { lazy = true },
defaults = { lazy = false },
install = { colorscheme = { "tokyonight" } },
checker = { enabled = false },
change_detection = { notify = false },

View File

@ -1,5 +1,5 @@
require("config.settings")
require("config.yaml")
-- require("config.yaml")
-- Remaps
vim.keymap.set("n", "<leader><C-e>", vim.cmd.Ex)

View File

@ -1,6 +0,0 @@
vim.api.nvim_create_autocmd("FileType", {
pattern = "yaml",
callback = function()
vim.opt_local.expandtab = false
end
})

View File

@ -0,0 +1,6 @@
local fugitive = {
'tpope/vim-fugitive',
}
return fugitive

View File

@ -0,0 +1,6 @@
local gitsigns = {
'lewis6991/gitsigns.nvim',
}
return gitsigns

View File

@ -1,10 +1,9 @@
local monokai = {
'tanvirtin/monokai.nvim',
lazy = false,
priority = 1000,
config = function()
vim.cmd([[colorscheme monokai]])
end
}
return { monokai }

View File

@ -6,3 +6,4 @@ local telescope = {
}
return { telescope }