Compare commits

..

No commits in common. "20abfd7ad7a56d7a73d83f6443bb7fe9a72f6b1a" and "6f0048ce70cc3c6f0f7a7ad44fe0aafde5006bad" have entirely different histories.

2 changed files with 40 additions and 11 deletions

View file

@ -60,12 +60,12 @@ return {
local servers = { local servers = {
bashls = { bashls = {
bashIde = { bashIde = {
globPattern = "*@(.sh|.inc|.bash|.command)", globPattern = "*@(.sh|.inc|.bash|.command)"
}, }
}, },
lua_ls = { lua_ls = {
Lua = { Lua = {
diagnostics = { globals = { "vim" } }, diagnostics = { globals = { 'vim' } },
workspace = { checkThirdParty = false }, workspace = { checkThirdParty = false },
telemetry = { enable = false }, telemetry = { enable = false },
}, },
@ -79,16 +79,11 @@ return {
analysis = { analysis = {
autoSearchPaths = true, autoSearchPaths = true,
diagnosticMode = "openFilesOnly", diagnosticMode = "openFilesOnly",
useLibraryCodeForTypes = true, useLibraryCodeForTypes = true
}, }
}, }
}, },
rnix = {}, rnix = {},
rust_analyzer = {
diagnostics = {
enable = true,
},
},
tsserver = {}, tsserver = {},
yamlls = {}, yamlls = {},
} }

34
lua/plugins/neorg.lua Normal file
View file

@ -0,0 +1,34 @@
return {
"nvim-neorg/neorg",
lazy = false,
build = ":Neorg sync-parsers",
dependencies = { "nvim-lua/plenary.nvim" },
keys = {
{ "<leader>ni", "<cmd>Neorg index<cr>", desc = "Neorg index" },
{ "<leader>nw", "<cmd>Neorg generate-workspace-summary<cr>", desc = "Neorg generate Workspace Summary" },
{ "<leader>njt", "<cmd>Neorg journal today<cr>", desc = "Neorg Journal Today" },
{ "<leader>njT", "<cmd>Neorg journal template<cr>", desc = "Neorg Journal Template" },
},
config = function()
require("neorg").setup {
load = {
["core.defaults"] = {},
["core.summary"] = {},
["core.concealer"] = {
config = {
icon_preset = "diamond",
},
},
["core.dirman"] = {
config = {
workspaces = {
notes = "~/notes",
til = "~/til",
},
default_workspace = "notes",
},
},
},
}
end,
}