tree-sitter-tiger/scripts/minimal_init.lua
Bruno BELANYI d253cca017 Add script for neovim tests
This will be used to check the indentation queries.
2022-06-13 10:03:58 +02:00

14 lines
340 B
Lua

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 },
})