This commit is contained in:
2023-02-25 17:49:50 +01:00
parent 2f600e438b
commit 7fd8d51ec5
6 changed files with 20 additions and 20 deletions

View File

@@ -67,4 +67,4 @@ local default = {
telescope.setup(default)
telescope.load_extension("notify")
telescope.load_extension("persisted") -- To load the telescope extension
-- telescope.load_extension("persisted") -- To load the telescope extension

View File

@@ -22,7 +22,6 @@ autocmd({ "BufWinLeave" }, {
pattern = "*.*",
callback = function()
vim.cmd.mkview()
vim.cmd("SessionSave")
end,
group = save_fold,
})
@@ -42,7 +41,6 @@ autocmd({ "BufWinEnter", "BufAdd" }, {
if vim.bo[opts.buf].filetype == 'NvimTree' or vim.bo[opts.buf].filetype == "neo-tree" then
vim.opt.statuscolumn = ''
else
-- vim.o.statuscolumn = '%=%r%s%#FoldColumn#%{foldlevel(v:lnum) > foldlevel(v:lnum - 1) ? (foldclosed(v:lnum) == -1 ? "" : "") : " " } %*'
vim.opt.statuscolumn = [[%!v:lua.Status.column()]]
end
end,
@@ -65,5 +63,3 @@ autocmd("BufReadPost", {
end
end,
})

View File

@@ -31,6 +31,16 @@ local plugins = {
version = false,
event = "VeryLazy",
config = function()
-- require("mini.sessions").setup({
-- autoread = true,
-- directory = "session",
-- file = "",
-- verbose = { read = true, write = true, delete = true },
-- })
require("mini.comment").setup({
})
require("mini.pairs").setup({
})
@@ -143,13 +153,6 @@ local plugins = {
require("max.configs.dashboard")
end,
}, -- startup screen
{
"numToStr/Comment.nvim",
event = "BufReadPost",
config = function()
require("Comment").setup()
end,
},
---------------------
-- Code Navigation --
---------------------
@@ -314,7 +317,7 @@ local plugins = {
require("max.configs.session")
end,
},
-- Dap Debugger -- Have not yet been able to set this up
--Dap Debugger -- Have not yet been able to set this up
{
"mfussenegger/nvim-dap",
dependencies = {

View File

@@ -5,6 +5,7 @@ return {
opts = {
-- transparent_background = true,
flavour = "mocha", -- latte, frappe, macchiato, mocha
term_colors = true,
compile = {
enabled = true,
path = vim.fn.stdpath("cache") .. "/catppuccin",
@@ -21,7 +22,7 @@ return {
lsp_saga = true,
notify = true,
neotree = {
enabled = true,
enabled = false,
show_root = false,
},
dap = {