Skip to content

Commit

Permalink
perf(vscode): improve vscode lookup table building
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Mar 1, 2024
1 parent 9586e3f commit be03a6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion lua/astrocommunity/editing-support/nvim-devdocs/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ return {
},
{
"luckasRanarison/nvim-devdocs",
cond = not vim.g.vscode,
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim",
Expand Down
6 changes: 3 additions & 3 deletions lua/astrocommunity/recipes/vscode/init.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if not vim.g.vscode then return {} end -- don't do anything in non-vscode instances

-- a list of known working plugins with vscode-neovim
local enabled = vim.tbl_add_reverse_lookup {
local enabled = {}
vim.tbl_map(function(plugin) enabled[plugin] = true end, {
-- core plugins
"lazy.nvim",
"AstroNvim",
Expand All @@ -24,7 +24,7 @@ local enabled = vim.tbl_add_reverse_lookup {
"vim-repeat",
"vim-sandwich",
-- feel free to open PRs to add more support!
}
})

local Config = require "lazy.core.config"
-- disable plugin update checking
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/scrolling/mini-animate/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ return {
{
"echasnovski/mini.animate",
event = "VeryLazy",
cond = not vim.g.neovide,
cond = not (vim.g.neovide or vim.g.vscode),
-- enabled = false,
opts = function()
-- don't use animate when scrolling with the mouse
Expand Down

0 comments on commit be03a6b

Please sign in to comment.