2024-06-13 14:45:08 +02:00
|
|
|
-- Settings
|
|
|
|
require 'opt.options'
|
|
|
|
|
2024-05-27 16:35:03 +02:00
|
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
|
|
vim.fn.system({
|
|
|
|
"git",
|
|
|
|
"clone",
|
|
|
|
"--filter=blob:none",
|
|
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
|
|
"--branch=stable", -- latest stable release
|
|
|
|
lazypath,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
|
2024-07-23 12:54:35 +02:00
|
|
|
-- vim.api.nvim_command('autocmd VimEnter * lua require("lualine").hide()')
|
2024-05-30 22:05:42 +02:00
|
|
|
|
2024-05-27 16:35:03 +02:00
|
|
|
require("lazy").setup("plugins")
|
|
|
|
|
|
|
|
-- Keybindsings
|
|
|
|
require 'keybindings.keymap'
|
|
|
|
|
|
|
|
-- Configuration of plugins
|
|
|
|
require 'plugin.telescope'
|
|
|
|
require 'plugin.fzf_lsp'
|
|
|
|
require 'plugin.lsp_config'
|
|
|
|
require 'plugin.treesitter'
|
|
|
|
require 'plugin.cmp'
|
2024-05-30 17:05:02 +02:00
|
|
|
require 'plugin.auto_session'
|
2024-05-30 21:50:56 +02:00
|
|
|
require 'plugin.lualine'
|
2024-05-27 16:35:03 +02:00
|
|
|
|
2024-07-23 12:54:35 +02:00
|
|
|
vim.o.termguicolors = true
|
2024-10-22 14:27:19 +02:00
|
|
|
vim.cmd('colorscheme catppuccin-mocha')
|
|
|
|
|