Skip to content

Commit

Permalink
Workaround for vscode loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Jendker committed Nov 30, 2024
1 parent cff1618 commit 855a926
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion stow/common/dot-config/nvim/lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,10 @@ local plugins = {
},
},
config = function(_, opts)
-- FIXME workaround the conform loading in package.preload somewhere when using vscode
if vscode then
return
end
local conform = require('conform')
conform.setup(opts)
vim.api.nvim_create_user_command("Format", function(args)
Expand Down Expand Up @@ -685,7 +689,8 @@ local plugins = {
conform.format({ async = true, lsp_fallback = true })
end, { desc = "Run [b]uffer [f]ormatting" })
end,
cond = not_vscode
-- FIXME workaround the conform loading in package.preload somewhere when using vscode
-- cond = not_vscode
},
{
'Bekaboo/dropbar.nvim',
Expand Down

0 comments on commit 855a926

Please sign in to comment.