Skip to content

Commit

Permalink
Update lua/astrocommunity/pack/typescript/init.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter authored Dec 15, 2023
1 parent f36a1d9 commit a92bdaa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/astrocommunity/pack/typescript/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ return {
{
"williamboman/mason-lspconfig.nvim",
opts = function(_, opts)
opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "tsserver", "eslint")
opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, { "tsserver", "eslint" })

vim.api.nvim_create_autocmd("LspAttach", {
group = vim.api.nvim_create_augroup("eslint_fix_creator", { clear = true }),
desc = "Create autocommand in buffers where eslint attaches",
Expand Down

0 comments on commit a92bdaa

Please sign in to comment.