Commit Graph

97 Commits

Author SHA1 Message Date
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
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
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
zztrieuzz
a8f4a3246a fix: check parser nil #29 2021-10-08 19:34:40 +07:00
windwp
16871594e4 add xml 2021-07-08 19:22:04 +07:00
windwp
0d7f288dae add php 2021-06-09 20:43:17 +07:00
windwp
07e607f0a9 fix svelte bug 2021-05-08 07:34:31 +07:00
windwp
bc0dd54675 add hbs 2021-04-26 21:31:20 +07:00
windwp
586eedce4b add log utils 2021-04-20 15:52:30 +07:00
windwp
6c4f0ffbcf fix #14 2021-04-19 18:50:38 +07:00
windwp
3a7fc1c5dd reformat 2021-04-19 17:04:29 +07:00
windwp
a2955233d7 refactor function 2021-04-16 11:42:04 +07:00
windwp
2b407d6925 updat treesitter and add rename jsx nested_identifier 2021-04-16 11:37:59 +07:00
Francisco Silva
00b79b593a
including typescript.tsx and javascript.jsx filetypes (#12) 2021-03-26 22:06:21 +07:00
windwp
36f1422bfe add option to enable close and rename 2021-03-14 18:14:28 +07:00
windwp
20c76f93fc update use with tsx,jsx 2021-03-14 17:05:09 +07:00
windwp
7cbfeecc53 Remove xml because treesitter don't support it 2021-03-14 07:33:13 +07:00
windwp
1e1c4ce4d9 add some case rename tag 2021-03-13 19:57:34 +07:00
windwp
be64636cfb skip replace on special char < > 2021-03-13 09:37:36 +07:00
windwp
50410bf1d3 fix some case on closetag 2021-03-11 09:24:35 +07:00
windwp
3d868c766e change to use <c-c> and fix file type javascript 2021-03-10 19:05:22 +07:00
elianiva
18d8356524
fix: remove debug statement 2021-03-10 14:47:20 +07:00
windwp
bad9525f0b refactor to ts module 2021-03-10 13:09:41 +07:00
windwp
3662cba503 move file to use in treesitter module 2021-03-10 12:26:30 +07:00
windwp
f0265b2f6e fix: jsx #3 2021-03-10 12:05:05 +07:00
windwp
e623320172 refactor use option on func 2021-03-10 12:05:05 +07:00
windwp
f4417a71f5 fix vue file and improve tsx 2021-03-10 12:05:05 +07:00
windwp
5bd6b70563 improve a bit 2021-03-10 12:05:05 +07:00
windwp
77647177ae add autorename 2021-03-08 21:14:32 +07:00
windwp
03c6e57013 Init 2021-03-08 10:49:04 +07:00