Sean Breckenridge
ced3f1c780
fix: update luadoc to allow for empty setup call
2024-06-01 14:52:28 -07:00
bcf3146864
test: add tests for the templ
filetype
...
Closes #179
2024-05-29 12:39:59 -05:00
e907a7ebe2
docs: add note about treesitter parsers
...
Closes #186
2024-05-29 12:28:08 -05:00
8ae54b90e3
Merge pull request #184 from cbochs/fix-183
...
fix: wrap vim.treesitter.get_parser in pcall
2024-05-22 18:20:40 -05:00
Calvin Bochulak
3d96e2c9f1
fix: add pcall to other uses of vim.treesitter.get_parser
2024-05-22 16:58:47 -06:00
Calvin Bochulak
5c93dfdfb3
fix: wrap vim.treesitter.get_parser in pcall
2024-05-22 16:47:43 -06:00
62db4b3054
ci: add nvim 0.9.5
to test against
...
Closes #176
2024-05-21 14:22:18 -05:00
57daea0208
docs: add section about lazy loading to README
...
Closes #178
2024-05-21 14:17:46 -05:00
796fbadfcf
chore: remove loose/unused file
2024-05-21 14:16:22 -05:00
axzilla
6f38e4231c
fix: auto renaming for Templ files
2024-05-21 09:46:34 -05:00
cb57b07803
Merge pull request #175 from PriceHiller/fix/0.9.5-funcs
...
fix: use `0.9.5` compatible vim funcs
2024-05-19 22:00:04 -05:00
5121204c85
fix: use 0.9.5
compatible vim funcs
2024-05-19 21:58:25 -05:00
windwp
eed5c76e33
update README
2024-05-20 08:35:32 +07:00
3c5f849ebd
Revert "docs: replace Sponsor in README with Fork Status"
...
This reverts commit 9b90325db1
.
2024-05-20 08:17:52 +07:00
aaf8135ba7
fix: remove hanging end
2024-05-20 08:17:52 +07:00
2e50d55b3e
ci: use nvim 0.10.0
2024-05-20 08:17:52 +07:00
3b57ed40bd
Revert 14e1f22
'ci: use self-hosted runner'
2024-05-20 08:17:52 +07:00
db79e81f2f
Revert 1aff7cb
'ci: add Lint
stage'
2024-05-20 08:17:52 +07:00
76aec98de7
ci: add Lint
stage
2024-05-20 08:17:52 +07:00
ca8539e5ef
docs!: require >= nvim 0.9.5
2024-05-20 08:17:52 +07:00
f489945bdd
refactor: private did_setup
opt in Setup
2024-05-20 08:17:52 +07:00
973f223d9c
docs: update README setup example
2024-05-20 08:17:52 +07:00
e674db4ca1
fix: correctly check for legacy setup
2024-05-20 08:17:52 +07:00
971547b9ac
refactor: pcall require on nvim-treesitter.configs
...
`nvim-treesitter.configs` is going to be removed soon -- directly requiring it will cause an error once it has been removed.
2024-05-20 08:17:52 +07:00
08e9ada208
feat!: overhaul the config setup
...
This deprecates the old setup layout
Closes https://github.com/PriceHiller/nvim-ts-autotag/issues/5
2024-05-20 08:17:52 +07:00
7a9843f469
fix: correctly attach to supported buffers
...
Closes https://github.com/PriceHiller/nvim-ts-autotag/issues/7
2024-05-20 08:17:52 +07:00
1550f128bd
refactor: simplify internal setup
2024-05-20 08:17:52 +07:00
6e9742a006
feat!: remove hard dependency on nvim-treesitter
...
This has deprecated `nvim-treesitter` setup. It has *not* been removed
yet.
I intend to tag the previous commit to this as `0.1.0` and then fully
remove `nvim-treesitter` setup support in `1.0.0` -- a breaking change.
TODO: We *must* have a way of detaching the plugin for a given buffer or even globally. Currently the plugin does not have it's own capabilities to do so.
2024-05-20 08:17:52 +07:00
78845cad7a
refactor: remove useless/empty function
2024-05-20 08:17:52 +07:00
8a38a3c8b9
refactor: use vim.keymap.set
for bindings
2024-05-20 08:17:52 +07:00
7430af61f3
style: remove stylua ignores
2024-05-20 08:17:52 +07:00
ddc8522ecc
ci: use self-hosted runner
2024-05-20 08:17:52 +07:00
0e9350d9f1
ci: update os to ubuntu-24.04
2024-05-20 08:17:52 +07:00
ad7f7b0f3b
ci: install tree-sitter-cli
2024-05-20 08:17:52 +07:00
1b2c0807cd
ci: remove old test cruft
2024-05-20 08:17:52 +07:00
b02430fa42
fix: force a full reparse of ts source
...
PERF: This will impact performance, something to keep an eye on.
Prior to this commit, some parsers like php were failing in tests. By
forcing a full reparse, the php parser among others get the correct
tree.
2024-05-20 08:17:52 +07:00
fb7393d0f5
test: improve treesitter setup
2024-05-20 08:17:52 +07:00
c1232f22b8
refactor: move .luarc.json
to toplevel
2024-05-20 08:17:52 +07:00
6f76b0e68e
test: actually call nvim-treesitter.configs
setup
2024-05-20 08:17:52 +07:00
69049f8e9a
test: use sync
install for ts parsers
2024-05-20 08:17:52 +07:00
43a07a028f
fix: reparse source if the node has changes
2024-05-20 08:17:52 +07:00
Yussef Dalton
bee717f49b
Add Blade filetype
...
The only thing that's missing is it doesn't indent properly when you
close a tag, but otherwise it closes properly.
2024-05-20 08:17:52 +07:00
2b8cfab1ac
ci: use neovim nightly
2024-05-20 08:17:52 +07:00
df93be4d2e
test: overhaul test setup and make
commands
2024-05-20 08:17:52 +07:00
802c28e08b
refactor: migrate plugin/
file to lua from vimscript
2024-05-20 08:17:52 +07:00
6693ec17b6
style: format with stylua
2024-05-20 08:17:52 +07:00
408a107ff2
fix(svelte): use correct close tag patterns
...
See https://github.com/windwp/nvim-ts-autotag/pull/167
Co-authored-by: "roy.crippen4" <roy.crippen4@archarithms.com>
2024-05-20 08:17:52 +07:00
Léo DEVILLE
5d6845d508
Add twig filetype
...
See https://github.com/windwp/nvim-ts-autotag/pull/169
Signed-off-by: Price Hiller <price@orion-technologies.io>
Co-authored-by: Ystri0n <164430108+Ystri0n@users.noreply.github.com>
2024-05-20 08:17:52 +07:00
d635afb546
docs: use correct option: skip_tags
-> skip_tag
...
See https://github.com/windwp/nvim-ts-autotag/pull/170
Co-authored-by: nicoqh <nicoqh@gmail.com>
2024-05-20 08:17:52 +07:00
54531e98c7
docs: replace Sponsor in README with Fork Status
2024-05-20 08:17:52 +07:00