Skip to content

Commit

Permalink
feat: Update plugin conditions for Neovim
Browse files Browse the repository at this point in the history
This commit updates the conditions for loading plugins in Neovim.
The condition for loading the 'dropbar.nvim' and 'oil' plugins has been
changed to not load when in VSCode. This is to ensure that these plugins
do not interfere with the VSCode Neovim extension.
  • Loading branch information
ryoppippi committed May 17, 2024
1 parent 222d7f3 commit 6229ad7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/lua/plugin/dropbar.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
return {
"Bekaboo/dropbar.nvim",
event = "VeryLazy",
cond = tb(vim.fn.has("nvim-0.10")),
cond = not is_vscode(),
dependencies = {
"nvim-tree/nvim-web-devicons",
},
Expand Down
1 change: 1 addition & 0 deletions nvim/lua/plugin/oil/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ return {
"nvim-tree/nvim-web-devicons",
"refractalize/oil-git-status.nvim",
},
cond = not is_vscode(),
keys = {
{
"<leader>e",
Expand Down

0 comments on commit 6229ad7

Please sign in to comment.