Add script for neovim tests

This will be used to check the indentation queries.
This commit is contained in:
Bruno BELANYI 2022-06-13 10:03:40 +02:00
parent c90d9d8212
commit d253cca017
2 changed files with 29 additions and 0 deletions

13
scripts/minimal_init.lua Normal file
View file

@ -0,0 +1,13 @@
vim.cmd([[set runtimepath+=$NVIM_PLENARY]])
vim.cmd([[set runtimepath+=$NVIM_TREESITTER]])
vim.cmd([[runtime! plugin/plenary.vim]])
vim.cmd([[runtime! plugin/nvim-treesitter.lua]])
vim.o.swapfile = false
vim.bo.swapfile = false
require("nvim-treesitter.configs").setup({
indent = { enable = true },
highlight = { enable = true },
})