Added plugins
This commit is contained in:
parent
7af594fd31
commit
79005e5771
10 changed files with 141 additions and 8 deletions
29
lua/custom/plugins/obsidian.lua
Normal file
29
lua/custom/plugins/obsidian.lua
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
return {
|
||||
"epwalsh/obsidian.nvim",
|
||||
version = "*", -- recommended, use latest release instead of latest commit
|
||||
lazy = true,
|
||||
ft = "markdown",
|
||||
-- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault:
|
||||
-- event = {
|
||||
-- -- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'.
|
||||
-- -- E.g. "BufReadPre " .. vim.fn.expand "~" .. "/my-vault/**.md"
|
||||
-- "BufReadPre path/to/my-vault/**.md",
|
||||
-- "BufNewFile path/to/my-vault/**.md",
|
||||
-- },
|
||||
dependencies = {
|
||||
-- Required.
|
||||
"nvim-lua/plenary.nvim",
|
||||
|
||||
-- see below for full list of optional dependencies 👇
|
||||
},
|
||||
opts = {
|
||||
workspaces = {
|
||||
{
|
||||
name = "LifeOfPain",
|
||||
path = "~/Documents/Private/LifeOfPain",
|
||||
},
|
||||
},
|
||||
|
||||
-- see below for full list of options 👇
|
||||
},
|
||||
}
|
||||
23
lua/custom/plugins/statuscol.lua
Normal file
23
lua/custom/plugins/statuscol.lua
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
return {
|
||||
{
|
||||
"luukvbaal/statuscol.nvim", config = function()
|
||||
-- local builtin = require("statuscol.builtin")
|
||||
require("statuscol").setup({
|
||||
-- configuration goes here, for example:
|
||||
relculright = true,
|
||||
-- segments = {
|
||||
-- { text = { builtin.foldfunc }, click = "v:lua.ScFa" },
|
||||
-- {
|
||||
-- sign = { name = { "Diagnostic" }, maxwidth = 2, auto = true },
|
||||
-- click = "v:lua.ScSa"
|
||||
-- },
|
||||
-- { text = { builtin.lnumfunc }, click = "v:lua.ScLa", },
|
||||
-- {
|
||||
-- sign = { name = { ".*" }, maxwidth = 2, colwidth = 1, auto = true, wrap = true },
|
||||
-- click = "v:lua.ScSa"
|
||||
-- },
|
||||
-- }
|
||||
})
|
||||
end,
|
||||
}
|
||||
}
|
||||
17
lua/custom/plugins/theme.lua
Normal file
17
lua/custom/plugins/theme.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
return {
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
opts = {
|
||||
flavour = "mocha",
|
||||
}
|
||||
-- require("catppuccin").setup({
|
||||
-- })
|
||||
},
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
opts = {
|
||||
colorscheme = "catppuccin",
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue