Skip to content

Update documentation for Windows install #1716

@apraga

Description

@apraga

Hi,

Installing natively on Windows is not hard ... but you need to know how to do it ! I encountered issues with treesitter and neorg. Here's the minimal steps to get it working

  1. install scoop package manager
  2. scoop install neovim mingw (folloming nvim treesitter advice
  3. use lazyvim and the minimal configuration. Mine is below
  4. Run TSInstallSync norg
  5. Enjoy

Lazyvim actually install luarocks so you don't need to install it (contrary to the README).
If the documentation could be updated, that would be great. I can offer a PR if needed

My minimal config in ~/.config/nvim/lua/plugins/neorg.lua :

return {
  "nvim-neorg/neorg",
  lazy = false,
  version = "*",
  config = function()
    require("neorg").setup({
      load = {
        ["core.defaults"] = {},
        ["core.concealer"] = {},
        ["core.completion"] = {
          config = {
            engine = "nvim-cmp",
          },
        },
        ["core.dirman"] = {
          config = {
            workspaces = {
              notes = "~/notes",
            },
            default_workspace = "notes",
          },
        },
      },
    })

    vim.wo.foldlevel = 99
    vim.wo.conceallevel = 2
  end,
}```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions