Skip to content

Commit

Permalink
nvim: only open the sln once per client
Browse files Browse the repository at this point in the history
  • Loading branch information
chris468 committed Jun 18, 2024
1 parent ea327c7 commit c98ae54
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ return {
end,
},
on_attach = function(client, bufnr)
find_and_open_solution(client)
register_user_commands(client, bufnr)
end,
on_init = function()
on_init = function(client)
find_and_open_solution(client)

-- Ideally this would just set up the command in the comands table, but in lspconfig
-- that currently sets up autocmds. see neovim/nvim-lspconfig/issues/2632.
configure_client_commands()
Expand Down

0 comments on commit c98ae54

Please sign in to comment.