Add script for neovim tests
This will be used to check the indentation queries.
This commit is contained in:
parent
c90d9d8212
commit
d253cca017
2 changed files with 29 additions and 0 deletions
13
scripts/minimal_init.lua
Normal file
13
scripts/minimal_init.lua
Normal 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 },
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue