lots of nonsense, neorg and autosave now in a usable state

This commit is contained in:
2026-02-17 17:15:37 +00:00
parent eee5b39eb1
commit de48076947
6 changed files with 89 additions and 12 deletions

View File

@@ -2,12 +2,17 @@ return {
"nvim-neorg/neorg",
lazy = false,
version = "*",
dependencies = { { "nvim-lua/plenary.nvim" }, { "nvim-neorg/neorg-telescope" } },
dependencies = { { "nvim-lua/plenary.nvim" }, { "nvim-neorg/neorg-telescope" }, { "benlubas/neorg-interim-ls" } },
config = function()
require("neorg").setup({
load = {
["core.defaults"] = {},
["core.concealer"] = {},
["core.integrations.treesitter"] = {},
["core.looking-glass"] = {},
["core.completion"] = {
config = { engine = { module_name = "external.lsp-completion" } },
},
["core.dirman"] = {
config = {
workspaces = {
@@ -25,6 +30,24 @@ return {
},
},
},
["external.interim-ls"] = {
config = {
-- default config shown
completion_provider = {
-- Enable or disable the completion provider
enable = true,
-- Show file contents as documentation when you complete a file name
documentation = true,
-- Try to complete categories provided by Neorg Query. Requires `benlubas/neorg-query`
categories = false,
-- suggest heading completions from the given file for `{@x|}` where `|` is your cursor
-- and `x` is an alphanumeric character. `{@name}` expands to `[name]{:$/people:# name}`
},
},
},
},
})
vim.wo.foldlevel = 99