We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7af8f9e + e24ee72 commit 1cf359eCopy full SHA for 1cf359e
plugin/inline_edit.vim
@@ -161,6 +161,22 @@ call add(g:inline_edit_patterns, {
161
\ 'end': '"""',
162
\ })
163
164
+call add(g:inline_edit_patterns, {
165
+ \ 'main_filetype': 'templ',
166
+ \ 'sub_filetype': 'javascript',
167
+ \ 'indent_adjustment': 1,
168
+ \ 'start': '<script\>[^>]*>',
169
+ \ 'end': '</script>',
170
+ \ })
171
+
172
173
174
+ \ 'sub_filetype': 'typescript',
175
176
+ \ 'start': '<script[^>]*lang=["'']ts["''][^>]*>',
177
178
179
180
command! -range=0 -nargs=* -complete=filetype
181
\ InlineEdit call s:InlineEdit(<count>, <q-args>)
182
0 commit comments