a4d19476c8
refactor: use vim.keymap.set
for bindings
2024-05-19 07:02:10 -05:00
ef6f6e0d48
style: remove stylua ignores
2024-05-19 07:02:10 -05:00
7f91215f15
ci: use self-hosted runner
2024-05-19 07:02:10 -05:00
3925ec3f34
ci: update os to ubuntu-24.04
2024-05-19 07:02:10 -05:00
9d9d0a812e
ci: install tree-sitter-cli
2024-05-19 07:02:09 -05:00
03cc1b52ff
ci: remove old test cruft
2024-05-19 07:02:07 -05:00
9191009088
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-19 07:01:59 -05:00
1299cbc639
test: improve treesitter setup
2024-05-19 07:01:47 -05:00
8c1895066c
refactor: move .luarc.json
to toplevel
2024-05-19 07:01:46 -05:00
fe3dbcc277
test: actually call nvim-treesitter.configs
setup
2024-05-19 07:01:46 -05:00
c16ff16926
test: use sync
install for ts parsers
2024-05-19 07:01:46 -05:00
20491dc57e
fix: reparse source if the node has changes
2024-05-19 07:01:46 -05:00
Yussef Dalton
99af6de7cd
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-19 07:01:46 -05:00
a33dc74d47
ci: use neovim nightly
2024-05-19 07:01:42 -05:00
ee56a21770
test: overhaul test setup and make
commands
2024-05-19 07:01:20 -05:00
a6728af239
refactor: migrate plugin/
file to lua from vimscript
2024-05-19 07:01:03 -05:00
4466bdcfeb
style: format with stylua
2024-05-19 07:01:00 -05:00
ae27db72e4
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-19 07:00:45 -05:00
Léo DEVILLE
42c89e163b
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-19 07:00:45 -05:00
0121209f76
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-19 07:00:45 -05:00
9b90325db1
docs: replace Sponsor in README with Fork Status
2024-05-19 07:00:45 -05:00
8ff2824168
fix: update tag patterns to support new XML TS tags
2024-05-19 07:00:45 -05:00
Folke Lemaitre
aeb7090098
feat: remove dependency on nvim-treesitter
. Needed for nvim-treesitter
rewrite. Requires Neovim >= 0.9.4 ( #171 )
2024-05-18 20:18:45 +07:00
Anthony Poschen
531f48334c
Templ tag completion ( #154 )
...
* feat: added support for templ
* chore: try this?
* chore: maybe this
* feat: added templ tag closing for html tags
* chore: change quotations back
2024-02-07 07:29:49 +07:00
Sergey Slipchenko
a65b202cfd
Make sure close can be actually disabled
2024-01-25 16:19:58 +07:00
soufiane nassih
8619a63750
Detach affected buffer only. ( #144 )
2024-01-25 16:17:01 +07:00
windwp
8515e48a27
fix bug and update
2023-12-10 15:01:33 +07:00
zztrieuzz
6be1192965
fix: allow disable
2023-06-16 09:48:52 +07:00
Gungun974
e254b306fb
feat: Add close tag after inputting / ( #116 )
...
* Add close tag on slash
* Add tests for close tag on slash
* Simplify "find_start_tag" function with reusing existing "find_child_match"
2023-06-14 13:59:43 +07:00
Slotos
40615e9607
Add eruby defaults ( #104 )
...
* Fix minimal test setup
Inclusion of any config with `-u` also adds `~/.config/nvim/pack/*/start/*`
to rtp, which is probably the reason for tests passing on developers'
machines. This "problem" remains, and can in fact break tests through
interference with other plugins.
* Add eruby to default list of filetypes
This merely adds tests and one line of data to default setup values.
2023-04-28 05:19:09 +07:00
zztrieuzz
26761ba684
format
2023-04-20 20:40:35 +07:00
zztrieuzz
59840f6f2f
fix #103
2023-04-20 20:26:02 +07:00
Simon Ward
cac97f3b47
Add astro filetype ( #89 )
...
* Add astro filetype to internal
* Remove autoformatting, update README
- Revert formatting to original
- Update supported filetypes in README
2023-04-13 19:06:12 +07:00
Alex
0716740e00
Fix conflict with coq_nvim
...
* fix coq_nvim conflict... using gpt3.5turbo
* delete unnecessary comment
2023-04-12 19:12:16 +07:00
Benny Powers
b525525b6a
feat: embed template tags ( #78 )
...
* refactor: use lua apis to bind keys
* refactor: use nvim lua api for rename aucmd
* fix: callback for autoclose use nvim_win_set_cursor
* feat: support html in js template tags
fix: add default bufnr when creating bindings
test: lit templates
fix: template strings
2023-04-10 14:53:39 +07:00
TheSafdarAwan
7a1c677985
fix: vim.treesitter.query.get_node_text
deprecated
2023-04-08 09:44:09 +07:00
zztrieuzz
25698e4033
fix: not rename and close tag on some case
2023-03-17 09:19:45 +07:00
zztrieuzz
1062700edf
update ci
2023-03-17 09:19:39 +07:00
windwp
fdefe46c68
update FUNDING
2022-08-11 19:06:19 +07:00
zztrieuzz
044a05c4c5
fix #60
2022-04-22 08:46:34 +07:00
shiwei
0339338316
fix: ts_utils.get_node_text function deprecated
2022-04-22 06:14:22 +07:00
Edwar Martinez Vale
57035b5814
Fix JSX autotag inside nested elements
2022-03-04 16:22:58 +07:00
William Vandervalk
887fcd9e45
Add htmldjango filetype
2022-03-01 17:18:27 +07:00
Dave Lage
178e40a213
Update filetypes defaults in README
2022-02-24 08:23:22 +07:00
Dave Lage
cfe8018b10
Check if there is a parser before renaming tag
...
Make sure a parser is available before trying to rename tag.
2022-02-24 08:23:03 +07:00
Pedro Castro
5149f0c655
add rescript
2022-02-09 09:26:31 +07:00
Karl Wang
5bbdfdaa30
Detach the currently effective buffer number
2022-02-06 22:20:39 +07:00
gamoutatsumi
32bc46ee8b
Fix broken argument of nvim_win_get_cursor
2022-01-04 15:42:54 +07:00
Andrew
0ceb4ef342
feat: added markdown support
2021-12-20 04:46:06 +07:00
zztrieuzz
80d427af7b
fix: make function detach working fix #29 #25
...
require('nvim-ts-autotag.internal').detach()
2021-10-09 12:06:16 +07:00