2021-03-08 19:19:01 +07:00
|
|
|
set rtp +=.
|
2021-04-16 11:37:59 +07:00
|
|
|
set rtp +=../plenary.nvim/
|
2023-04-28 01:19:09 +03:00
|
|
|
set rtp +=../nvim-treesitter/
|
2021-04-16 11:37:59 +07:00
|
|
|
set rtp +=../playground/
|
2023-04-28 01:19:09 +03:00
|
|
|
set rtp +=../nvim-treesitter-rescript/
|
|
|
|
|
2021-03-08 19:19:01 +07:00
|
|
|
|
2021-04-19 18:50:38 +07:00
|
|
|
|
2021-03-08 19:19:01 +07:00
|
|
|
runtime! plugin/plenary.vim
|
2023-04-28 01:19:09 +03:00
|
|
|
runtime! plugin/nvim-treesitter.lua
|
|
|
|
runtime! plugin/nvim-treesitter-playground.lua
|
|
|
|
runtime! plugin/nvim-treesitter-rescript.vim
|
2021-04-19 18:50:38 +07:00
|
|
|
|
2021-03-08 19:19:01 +07:00
|
|
|
|
|
|
|
set noswapfile
|
|
|
|
set nobackup
|
|
|
|
|
|
|
|
filetype indent off
|
|
|
|
set nowritebackup
|
|
|
|
set noautoindent
|
|
|
|
set nocindent
|
|
|
|
set nosmartindent
|
|
|
|
set indentexpr=
|
2023-03-17 09:19:45 +07:00
|
|
|
set foldlevel=9999
|
2021-03-08 19:19:01 +07:00
|
|
|
|
2021-03-13 07:52:51 +07:00
|
|
|
|
2021-03-08 19:19:01 +07:00
|
|
|
lua << EOF
|
2021-04-19 18:50:38 +07:00
|
|
|
_G.__is_log=true
|
2023-03-17 09:19:45 +07:00
|
|
|
_G.ts_filetypes = {
|
2023-04-28 01:19:09 +03:00
|
|
|
'html', 'javascript', 'typescript', 'svelte', 'vue', 'tsx', 'php', 'glimmer', 'rescript', 'embedded_template'
|
2023-03-17 09:19:45 +07:00
|
|
|
}
|
2021-03-08 19:19:01 +07:00
|
|
|
require("plenary/busted")
|
2023-03-17 09:19:45 +07:00
|
|
|
vim.cmd[[luafile ./tests/test-utils.lua]]
|
2023-12-10 15:01:33 +07:00
|
|
|
require("nvim-ts-autotag").setup({
|
|
|
|
enable = true,
|
|
|
|
enable_rename = true,
|
|
|
|
enable_close = true,
|
|
|
|
enable_close_on_slash = true,
|
|
|
|
})
|
2021-03-08 19:19:01 +07:00
|
|
|
EOF
|
2021-03-13 07:52:51 +07:00
|
|
|
|