base neorg seems to be working

This commit is contained in:
Solomon Laing 2023-09-13 08:37:11 +09:30
parent 8fdec0bea8
commit e9b0ab5c8d
2 changed files with 31 additions and 31 deletions

View File

@ -3,7 +3,9 @@ return {
ft = "norg",
cmd = "Neorg",
build = ":Neorg sync-parsers",
dependencies = { { "nvim-lua/plenary.nvim" } },
dependencies = {
{ "nvim-lua/plenary.nvim" },
},
opts = {
load = {
["core.defaults"] = {},

View File

@ -1,34 +1,32 @@
return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
opts = {
matchup = { enable = true },
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
autopairs = { enable = true },
indent = { enable = true },
context_commentstring = { enable = true, enable_autocmd = false },
ensure_installed = {
"c_sharp",
"lua",
"c",
"vim",
"help",
"javascript",
"regex",
"markdown_inline",
"typescript",
"html",
"jsonc",
"go",
},
auto_install = true,
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
opts = {
matchup = { enable = true },
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
config = function(_, opts)
require("nvim-treesitter.configs").setup(opts)
end,
autopairs = { enable = true },
indent = { enable = true },
context_commentstring = { enable = true, enable_autocmd = false },
ensure_installed = {
"c_sharp",
"lua",
"c",
"vim",
"help",
"javascript",
"regex",
"markdown_inline",
"typescript",
"html",
"jsonc",
"go",
},
auto_install = true,
},
config = function(_, opts)
require("nvim-treesitter.configs").setup(opts)
end,
}