diff options
| author | ache <ache@ache.one> | 2024-10-21 02:31:40 +0200 |
|---|---|---|
| committer | ache <ache@ache.one> | 2024-10-21 02:31:40 +0200 |
| commit | a4188ceb3756928e3db5ba0e4111c82b614acbcc (patch) | |
| tree | 5123a0ddc987e836cd3749dbc1aeb37954328da5 /lua/ache/plugins | |
| parent | Remove tailwindcss support, slow and bad (diff) | |
Add svelte support. Experimental ! ⚠️
Diffstat (limited to 'lua/ache/plugins')
| -rw-r--r-- | lua/ache/plugins/lsp/lspconfig.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/ache/plugins/lsp/lspconfig.lua b/lua/ache/plugins/lsp/lspconfig.lua index 0e496e0..35098f1 100644 --- a/lua/ache/plugins/lsp/lspconfig.lua +++ b/lua/ache/plugins/lsp/lspconfig.lua @@ -127,7 +127,7 @@ return { capabilities = capabilities, on_attach = function(client, _) vim.api.nvim_create_autocmd("BufWritePost", { - pattern = { "*.js", "*.ts" }, + pattern = { "*.js", "*.mjs", "*.svelte" }, callback = function(ctx) -- Here use ctx.match instead of ctx.file client.notify("$/onDidChangeTsOrJsFile", { uri = ctx.match }) |