-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docgen): this should work now i think (after 20 tries)
- Loading branch information
Showing
1 changed file
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
" Copied from: https://github.com/ThePrimeagen/refactoring.nvim/blob/master/scripts/minimal.vim | ||
|
||
" Current neorg code | ||
set rtp+=.. | ||
set rtp+=. | ||
|
||
" For test suites | ||
set rtp+=./plenary.nvim | ||
set rtp+=./nvim-treesitter | ||
|
||
set noswapfile | ||
|
||
runtime! plugin/plenary.vim | ||
runtime! plugin/nvim-treesitter.vim | ||
|
||
lua << EOF | ||
P = function(...) | ||
print(vim.inspect(...)) | ||
end | ||
require("nvim-treesitter").setup({}) | ||
|
||
local ok, module = pcall(require,'nvim-treesitter.configs') | ||
if ok then | ||
module.setup({}) | ||
end | ||
|
||
package.path = "../lua/?.lua;" .. package.path | ||
EOF | ||
package.path = "../plenary.nvim/lua/?.lua;" .. package.path | ||
package.path = "../nvim-treesitter/lua/?.lua;" .. package.path | ||
|
||
runtime! plugin/plenary.vim | ||
runtime! plugin/nvim-treesitter.vim | ||
vim.cmd.TSInstallSync({ | ||
bang = true, | ||
args = { "lua" }, | ||
}) | ||
EOF |