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.
1 parent cf8b8e8 commit f47cd68Copy full SHA for f47cd68
lsp/svelte.lua
@@ -25,7 +25,7 @@ return {
25
-- See https://github.com/sveltejs/language-tools/issues/2008
26
vim.api.nvim_create_autocmd('BufWritePost', {
27
pattern = { '*.js', '*.ts' },
28
- buffer = bufnr,
+ group = vim.api.nvim_create_augroup('svelte_js_ts_file_watch', {}),
29
callback = function(ctx)
30
-- internal API to sync changes that have not yet been saved to the file system
31
client:notify('$/onDidChangeTsOrJsFile', { uri = ctx.match })
0 commit comments