mirror of
https://github.com/bgrolleman/dotfiles.git
synced 2025-12-06 05:45:24 +01:00
Merge changes
This commit is contained in:
7
nvim/lua/plugins/auto-session.lua
Normal file
7
nvim/lua/plugins/auto-session.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
"rmagatti/auto-session",
|
||||
lazy = false,
|
||||
opts = {
|
||||
suppressed_dirs = { "~/", "~/Projects", "~/Downloads", "/" },
|
||||
},
|
||||
}
|
||||
@@ -4,7 +4,7 @@ return {
|
||||
opts = {
|
||||
completion = {
|
||||
ghost_text = {
|
||||
enabled = false,
|
||||
enabled = true,
|
||||
},
|
||||
list = {
|
||||
selection = {
|
||||
@@ -13,7 +13,7 @@ return {
|
||||
},
|
||||
},
|
||||
menu = {
|
||||
auto_show = false,
|
||||
auto_show = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
return {
|
||||
"jghauser/follow-md-links.nvim",
|
||||
}
|
||||
11
nvim/lua/plugins/lspconfig.lua
Normal file
11
nvim/lua/plugins/lspconfig.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
config = function()
|
||||
require("lspconfig").lua_ls.setup({})
|
||||
require("lspconfig").marksman.setup({
|
||||
root_dir = require("lspconfig.util").root_pattern(".marksman.toml", ".git", "*.md"),
|
||||
})
|
||||
require("lspconfig").bashls.setup({})
|
||||
require("lspconfig").yamlls.setup({})
|
||||
end,
|
||||
}
|
||||
38
nvim/lua/plugins/mkdnflow.lua
Normal file
38
nvim/lua/plugins/mkdnflow.lua
Normal file
@@ -0,0 +1,38 @@
|
||||
-- Configuration Documentation https://github.com/jakewvincent/mkdnflow.nvim?tab=readme-ov-file#%EF%B8%8F-configuration
|
||||
return {
|
||||
"jakewvincent/mkdnflow.nvim",
|
||||
config = function()
|
||||
require("mkdnflow").setup({
|
||||
-- Config goes here; leave blank for defaults
|
||||
perspective = {
|
||||
priority = "first",
|
||||
root_tell = false,
|
||||
},
|
||||
new_file_template = {
|
||||
use_template = true,
|
||||
placeholders = {
|
||||
before = {
|
||||
title = "link_title",
|
||||
date = "os_date",
|
||||
},
|
||||
after = {},
|
||||
},
|
||||
template = "# {{ title }}",
|
||||
},
|
||||
links = {
|
||||
style = "markdown",
|
||||
name_is_source = false,
|
||||
conceal = false,
|
||||
context = 0,
|
||||
implicit_extension = nil,
|
||||
transform_implicit = false,
|
||||
transform_explicit = function(text)
|
||||
text = text:gsub(" ", "-")
|
||||
text = text:lower()
|
||||
return text
|
||||
end,
|
||||
create_on_follow_failure = true,
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
return {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
config = function()
|
||||
|
||||
end,
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,9 @@ return {
|
||||
checkbox = {
|
||||
enabled = true,
|
||||
},
|
||||
wikilinks = {
|
||||
enabled = true,
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
return {
|
||||
"akinsho/toggleterm.nvim",
|
||||
tag = "*",
|
||||
keys = {
|
||||
{ "<leader>td", "<cmd>ToggleTerm size=40 dir=~ direction=horizontal<cr>", "Open Horizontal terminal in home directory"}
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
return {
|
||||
"folke/twilight.nvim",
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user