nvim-ts-autotag/tests/minimal.vim

37 lines
678 B
VimL
Raw Normal View History

2021-03-08 06:19:01 -06:00
set rtp +=.
set rtp +=../plenary.nvim/
set rtp +=../nvim-treesitter
set rtp +=../playground/
2021-03-08 06:19:01 -06:00
2021-04-19 06:50:38 -05:00
2021-03-08 06:19:01 -06:00
runtime! plugin/plenary.vim
runtime! plugin/nvim-treesitter.vim
2021-03-09 17:41:24 -06:00
runtime! plugin/playground.vim
runtime! plugin/nvim-treesitter-rescript
2021-04-19 06:50:38 -05:00
2021-03-08 06:19:01 -06:00
set noswapfile
set nobackup
filetype indent off
set nowritebackup
set noautoindent
set nocindent
set nosmartindent
set indentexpr=
set foldlevel=9999
2021-03-08 06:19:01 -06:00
2021-03-12 18:52:51 -06:00
2021-03-08 06:19:01 -06:00
lua << EOF
2021-04-19 06:50:38 -05:00
_G.__is_log=true
2021-03-14 06:16:50 -05:00
_G.test_rename = true
_G.test_close = true
_G.ts_filetypes = {
'html', 'javascript', 'typescript', 'svelte', 'vue', 'tsx', 'php', 'glimmer', 'rescript'
}
2021-03-08 06:19:01 -06:00
require("plenary/busted")
vim.cmd[[luafile ./tests/test-utils.lua]]
2021-03-08 06:19:01 -06:00
require("nvim-ts-autotag").setup()
EOF
2021-03-12 18:52:51 -06:00