nvim-ts-autotag/tests/minimal.vim

32 lines
558 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
runtime! plugin/plenary.vim
runtime! plugin/nvim-treesitter.vim
2021-03-09 17:41:24 -06:00
runtime! plugin/playground.vim
runtime! plugin/nvim-ts-autotag.vim
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=
2021-03-12 18:52:51 -06:00
2021-03-08 06:19:01 -06:00
lua << EOF
2021-03-12 18:52:51 -06:00
2021-03-08 06:19:01 -06:00
local _, ts_utils = pcall(require, 'nvim-treesitter.ts_utils')
_G.T=ts_utils
2021-03-14 06:16:50 -05:00
_G.test_rename = true
_G.test_close = true
2021-03-08 06:19:01 -06:00
require("plenary/busted")
require("nvim-ts-autotag").setup()
EOF
2021-03-12 18:52:51 -06:00