Add custom plugins and lock files

This commit is contained in:
alvinlollo
2026-08-10 21:36:48 +10:00
parent b468cbf4f0
commit 63c938bf3b
5 changed files with 180 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
return {
"neovim/nvim-lspconfig",
opts = {
servers = {
harper_ls = {
settings = {
["harper-ls"] = {
userDictPath = {
"~/.config/obsidian/Custom Dictionary.txt",
-- "/usr/share/dict/words",
-- "$HOME/.local/share/harper-ls/file_dictionaries",
},
workspaceDictPath = "",
fileDictPath = "",
linters = {
SpellCheck = true,
SpelledNumbers = false,
AnA = true,
SentenceCapitalization = true,
UnclosedQuotes = true,
WrongApostrophe = false,
LongSentences = true,
RepeatedWords = true,
Spaces = true,
CorrectNumberSuffix = true,
},
codeActions = {
ForceStable = false,
},
markdown = {
IgnoreLinkTitle = false,
},
diagnosticSeverity = "hint",
isolateEnglish = false,
dialect = "Australian",
maxFileLength = 120000,
ignoredLintsPath = "",
excludePatterns = {},
},
},
},
},
},
}
+53
View File
@@ -0,0 +1,53 @@
return {
"epwalsh/obsidian.nvim",
version = "*",
lazy = true,
ft = "markdown",
dependencies = {
"nvim-lua/plenary.nvim",
"hrsh7th/nvim-cmp",
"nvim-telescope/telescope.nvim",
"nvim-treesitter/nvim-treesitter",
},
opts = {
workspaces = {
{
name = "Personal",
path = "~/Obsidian/Personal/",
},
{
name = "School-Obsidian",
path = "~/Obsidian/School-Obsidian/",
},
},
log_level = vim.log.levels.INFO,
daily_notes = {
folder = "notes/dailies",
date_format = "%Y-%m-%d",
alias_format = "%B %-d, %Y",
default_tags = { "daily-notes" },
template = nil,
},
new_notes_location = "1Projects",
completion = {
nvim_cmp = true,
min_chars = 2,
},
mappings = {
-- Toggle check-boxes
["<leader>ch"] = {
action = function()
return require("obsidian").util.toggle_checkbox()
end,
opts = { buffer = true },
},
-- Smart action (smart enter)
["<cr>"] = {
action = function()
return require("obsidian").util.smart_action()
end,
opts = { buffer = true, expr = true },
},
},
},
}